51 #ifndef multiphaseEuler_H
52 #define multiphaseEuler_H
165 virtual void setRDeltaT();
172 void compositionPredictor();
175 void energyPredictor();
178 void cellMomentumPredictor();
181 void faceMomentumPredictor();
184 void cellPressureCorrector();
187 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.
autoPtr< volScalarField > divU
Stored divU from the previous mesh so that it can be.
virtual void motionCorrector()
Corrections that follow mesh motion.
PtrList< fvVectorMatrix > UEqns
Temporary phase momentum matrices.
const phaseSystem::phaseModelPartialList & movingPhases
Reference to the moving phases.
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.
Switch predictMomentum
Momentum equation predictor switch.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
surfaceScalarField & phi_
Switch faceMomentum
Cell/face momentum equation switch.
Switch dragCorrection
Cell/face drag correction for cell momentum corrector.
autoPtr< phaseSystem > fluidPtr_
Foam::pressureReference pressureReference
Pressure reference.
tmp< surfaceScalarField > trDeltaTf
Optional LTS reciprocal face time-step field.
PtrList< volScalarField > rAs
Temporary storage for the reciprocal momentum equation diagonal.
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.
phaseSystem::phaseModelPartialList & movingPhases_
const volScalarField & p
Reference to the pressure field.
multiphaseEuler(fvMesh &mesh)
Construct from region mesh.
virtual bool read()
Read controls.
const phaseSystem & fluid
Reference to the multiphase fluid.
A class for managing temporary objects.