executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces rhoCentralFoam and all the corresponding
tutorials have been updated and moved to tutorials/modules/shockFluid.
Unlike rhoCentralFoam shockFluid supports mesh refinement/unrefinement, topology
change, run-time mesh-to-mesh mapping, load-balancing in addition to general
mesh-motion.
The tutorials/modules/shockFluid/movingCone case has been updated to demonstrate
run-time mesh-to-mesh mapping mesh topology change based on the
tutorials/modules/incompressibleFluid/movingCone. shockFluid s
Description
Solver module for density-based solution of compressible flow
Based on central-upwind schemes of Kurganov and Tadmor with support for
mesh-motion and topology change.
Reference:
\verbatim
Greenshields, C. J., Weller, H. G., Gasparini, L.,
& Reese, J. M. (2010).
Implementation of semi‐discrete, non‐staggered central schemes
in a colocated, polyhedral, finite volume framework,
for high‐speed viscous flows.
International journal for numerical methods in fluids, 63(1), 1-21.
\endverbatim
SourceFiles
shockFluid.C
See also
Foam::solvers::fluidSolver
Foam::solvers::incompressibleFluid
51 lines
1.3 KiB
C++
51 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object physicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type hePsiThermo;
|
|
mixture pureMixture;
|
|
transport const;
|
|
thermo hConst;
|
|
equationOfState perfectGas;
|
|
specie specie;
|
|
energy sensibleInternalEnergy;
|
|
}
|
|
|
|
// Note: these are the properties for a "normalised" inviscid gas
|
|
// for which the speed of sound is 1 m/s at a temperature of 1K
|
|
// and gamma = 7/5
|
|
mixture
|
|
{
|
|
specie
|
|
{
|
|
molWeight 11640.3;
|
|
}
|
|
thermodynamics
|
|
{
|
|
Cp 2.5;
|
|
Hf 0;
|
|
}
|
|
transport
|
|
{
|
|
mu 0;
|
|
Pr 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|