51 #ifndef multiphaseEuler_H
52 #define multiphaseEuler_H
167 virtual void setRDeltaT();
174 void compositionPredictor();
177 void energyPredictor();
180 void cellMomentumPredictor();
183 void faceMomentumPredictor();
186 void cellPressureCorrector();
189 void facePressureCorrector();
Generic GeometricField class.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
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.
Class to represent a system of phases and model interfacial transfers between them.
Provides controls for the pressure reference in closed-volume simulations.
const fvMesh & mesh
Region mesh.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
Base solver module for fluid solvers.
Solver module for a system of any number of compressible fluid phases with a common pressure,...
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
const surfaceScalarField & phi
Reference to the mass-flux field.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
solvers::buoyancy buoyancy
Buoyancy force.
int nEnergyCorrectors
Number of energy correctors.
tmp< volScalarField > trDeltaT
Optional LTS reciprocal time-step field.
phaseSystem::phaseModelList & phases_
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
TypeName("multiphaseEuler")
Runtime type information.
Switch partialElimination
Partial elimination drag contribution optimisation.
autoPtr< volScalarField > divU
Stored divU from the previous mesh so that it can be.
PtrList< fvVectorMatrix > UEqns
Temporary phase momentum matrices.
const IOMRFZoneList & MRF
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
surfaceScalarField & phi_
void readControls()
Read controls.
Switch faceMomentum
Cell/face momentum equation switch.
Switch dragCorrection
Cell/face drag correction for cell momentum corrector.
PtrList< surfaceScalarField > rAUfs
Temporary storage for the reciprocal momentum equation diagonal.
PtrList< volScalarField > rAUs
Temporary storage for the reciprocal momentum equation diagonal.
autoPtr< phaseSystem > fluidPtr_
Foam::pressureReference pressureReference
Pressure reference.
tmp< surfaceScalarField > trDeltaTf
Optional LTS reciprocal face time-step field.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
const phaseSystem::phaseModelList & phases
Reference to the phases.
void operator=(const multiphaseEuler &)=delete
Disallow default bitwise assignment.
virtual ~multiphaseEuler()
Destructor.
const volScalarField & p
Reference to the pressure field.
multiphaseEuler(fvMesh &mesh)
Construct from region mesh.
const phaseSystem & fluid
Reference to the multiphase fluid.
A class for managing temporary objects.