51 #ifndef multiphaseEuler_H
52 #define multiphaseEuler_H
173 virtual void setRDeltaT();
180 void compositionPredictor();
183 void energyPredictor();
186 void cellMomentumPredictor();
189 void faceMomentumPredictor();
192 void cellPressureCorrector();
195 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 which provides interfacial momentum transfer between a number of phases. Drag,...
Class which provides interfacial momentum transfer between a number of phases. Drag,...
Class to represent a system of phases.
Class which provides population balance functionality. Holds a number of population balances and prov...
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,.
const surfaceScalarField & phi
Reference to the mass-flux field.
virtual void momentumTransportCorrector()
Correct the momentum transport.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
const volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
virtual void momentumTransportPredictor()
Predict the momentum transport.
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.
const heatTransferSystem & heatTransfer
Reference to the heat transfer system.
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.
Switch predictMomentum
Momentum equation predictor switch.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
momentumTransferSystem momentumTransferSystem_
surfaceScalarField & phi_
virtual void thermophysicalTransportCorrector()
Correct the thermophysical transport.
Switch faceMomentum
Cell/face momentum equation switch.
Switch dragCorrection
Cell/face drag correction for cell momentum corrector.
volScalarField & p_rgh_
Reference to the buoyant pressure for buoyant cases.
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.
phaseSystem::alphaControl alphaControls
virtual ~multiphaseEuler()
Destructor.
phaseSystem::phaseModelPartialList & movingPhases_
const volScalarField & p
Reference to the pressure field.
const momentumTransferSystem & momentumTransfer
Reference to the momentum transfer system.
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
multiphaseEuler(fvMesh &mesh)
Construct from region mesh.
populationBalanceSystem populationBalanceSystem_
virtual bool read()
Read controls.
const phaseSystem & fluid
Reference to the multiphase fluid.
heatTransferSystem heatTransferSystem_
A class for managing temporary objects.
alpha solution control structure