Generic GeometricField class.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Provides controls for the pressure reference in closed-volume simulations.
const fvMesh & mesh
Region mesh.
Base solver module base-class for the solution of immiscible fluids using a VOF (volume of fluid) pha...
const word divAlphaName
Name of the alpha convection scheme.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
const surfaceScalarField & phi
Reference to the mass-flux field.
surfaceScalarField rhoPhi
Mass flux field.
volVectorField U_
Velocity field.
virtual void thermophysicalPredictor()=0
Construct and solve the energy equation,.
tmp< fvVectorMatrix > tUEqn
Cached momentum matrix.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
autoPtr< VoFMixture > mixturePtr_
The compressible two-phase mixture.
solvers::buoyancy buoyancy
Buoyancy force.
const VoFMixture & mixture
Reference to the VoF mixture.
autoPtr< surfaceVectorField > Uf
Pointer to the surface momentum field.
tmp< volScalarField > trDeltaT
Optional LTS reciprocal time-step field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
virtual scalar maxDeltaT() const
Return the current maximum time-step for stable solution.
void operator=(const VoFSolver &)=delete
Disallow default bitwise assignment.
VoFSolver(fvMesh &mesh, autoPtr< VoFMixture >)
Construct from region mesh.
autoPtr< volScalarField > rAU
Inverse momentum equation diagonal.
autoPtr< volScalarField > divU
Pointer to the momentum divergence field.
const volVectorField & U
Reference to the velocity field.
virtual const Foam::pressureReference & pressureReference() const =0
Return the pressure reference.
virtual void setInterfaceRDeltaT(volScalarField &rDeltaT)=0
Adjust the rDeltaT in the vicinity of the interface.
virtual bool divergent() const =0
Is the flow divergent?
virtual void motionCorrector()
Corrections that follow mesh motion.
void clearrAU()
Clear the cached rAU is no longer needed.
virtual void pressureCorrector()=0
Construct and solve the pressure equation in the PISO loop.
virtual tmp< surfaceScalarField > surfaceTensionForce() const =0
Return the interface surface tension force for the momentum equation.
IOMRFZoneList MRF
MRF zone list.
virtual bool incompressible() const =0
Is the flow incompressible?
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
surfaceScalarField phi_
Volumetric flux field.
virtual tmp< volScalarField > psiByRho() const =0
Return the mixture compressibility/density.
virtual ~VoFSolver()
Destructor.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U)=0
Return the momentum equation stress term.
TypeName("VoFSolver")
Runtime type information.
const volScalarField & rho
Reference to the mixture continuity density field.
virtual void prePredictor()=0
Called at the start of the PIMPLE loop.
void continuityErrors()
Calculate and print the continuity errors.
scalar alphaCoNum
Phase-fraction flux Courant number.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
virtual void correctCoNum()=0
Correct the cached Courant numbers.
virtual void correctInterface()=0
Correct the interface properties following mesh-change.
void setrAU(const fvVectorMatrix &UEqn)
Set or update the cached rAU.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
Base solver module for fluid solvers.
A class for managing temporary objects.
A class for handling words, derived from string.