152 rhoPhi = alphaRhoPhi1 + alphaRhoPhi2;
157 - (
fvModels().source(alpha1, rho1)&rho1)()
163 - (
fvModels().source(alpha2, rho2)&rho2)()
166 if (
pimple.predictTransport())
168 momentumTransport.predict();
171 if (
pimple.predictTransport())
180 if (
pimple.correctTransport())
182 momentumTransport.correct();
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Class to represent a mixture of two rhoThermo-based phases.
const word & name() const
Return const reference to name.
Mesh data needed to do the Finite Volume discretisation.
bool topoChanging() const
Does the mesh topology change?
Abstract base class for run-time selectable region solvers.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
autoPtr< volScalarField > rAU
Inverse momentum equation diagonal.
Solver module for for 2 compressible, non-isothermal immiscible fluids using a VOF (volume of fluid) ...
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
compressibleVoF(fvMesh &mesh)
Construct from region mesh.
virtual ~compressibleVoF()
Destructor.
bool correctPhi
Switch to correct the flux after mesh change.
void readControls()
Read controls.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
Solver module base-class for for 2 immiscible fluids using a VOF (volume of fluid) phase-fraction bas...
Class to represent a VoF mixture.
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
pimpleControl pimple(mesh)
Calculate the first temporal derivative.
Calculate the divergence of the given field.
Info<< "Creating thermophysical transport model\n"<< endl;turbulenceThermophysicalTransportModels::unityLewisEddyDiffusivity< RASThermophysicalTransportModel< ThermophysicalTransportModel< compressibleMomentumTransportModel, fluidThermo > >> thermophysicalTransport(turbulence(), thermo, true)
const char *const group
Group name for atomic constants.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< Type > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
addToRunTimeSelectionTable(solver, compressibleMultiphaseVoF, fvMesh)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
To & refCast(From &r)
Reference type cast template function.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimTime
const dimensionSet dimDensity
VolField< scalar > volScalarField
dimensioned< scalar > magSqr(const dimensioned< Type > &)