167 void correctDensity();
197 void fluxPredictor();
199 void clearTemporaryFields();
Generic GeometricField class.
const word & name() const
Return name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh data needed to do the Finite Volume discretisation.
Base-class for fluid thermodynamic properties based on compressibility.
const fvMesh & mesh
Region mesh.
Base solver module for fluid solvers.
Solver module for density-based solution of compressible flow.
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
volScalarField rho_
The continuity density field.
tmp< surfaceVectorField > U_neg
tmp< surfaceVectorField > U_pos
const surfaceScalarField & phi
Reference to the mass-flux field.
volVectorField U_
Velocity field.
tmp< surfaceVectorField > devTau
virtual void prePredictor()
Called at the start of the PIMPLE loop.
shockFluid(fvMesh &mesh)
Construct from region mesh.
tmp< surfaceScalarField > p_neg
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
tmp< surfaceScalarField > aphiv_pos
tmp< surfaceScalarField > neg
virtual ~shockFluid()
Destructor.
const psiThermo & thermo
Reference to the fluid thermophysical properties.
tmp< volScalarField > trDeltaT
Optional LTS reciprocal time-step field.
tmp< surfaceVectorField > rhoU_pos
volScalarField K
Kinetic energy field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
psiThermo & thermo_
Reference to the fluid thermophysical properties.
const volVectorField & U
Reference to the velocity field.
tmp< surfaceScalarField > p_pos
void operator=(const shockFluid &)=delete
Disallow default bitwise assignment.
virtual void motionCorrector()
Corrections that follow mesh motion.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
tmp< surfaceScalarField > rho_neg
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
tmp< surfaceScalarField > pos
tmp< surfaceScalarField > aSf
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
volScalarField & p_
Reference to the pressure field.
tmp< surfaceScalarField > a_pos
surfaceScalarField phi_
Mass-flux field.
autoPtr< fluidThermoThermophysicalTransportModel > thermophysicalTransport
const volScalarField & rho
Reference to the continuity density field.
tmp< surfaceScalarField > a_neg
tmp< surfaceVectorField > rhoU_neg
tmp< surfaceScalarField > rho_pos
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
tmp< surfaceScalarField > aphiv_neg
const volScalarField & p
Reference to the pressure field.
TypeName("shockFluid")
Runtime type information.
autoPtr< compressible::momentumTransportModel > momentumTransport
Pointer to the momentum transport model.
autoPtr< psiThermo > thermoPtr_
Pointer to the fluid thermophysical properties.
A class for managing temporary objects.
A class for handling words, derived from string.
static const word null
An empty word.
volScalarField sf(fieldObject, mesh)
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.