41 template<
class BasicMomentumTransportModel>
53 kEqn<BasicMomentumTransportModel>
64 gasTurbulencePtr_(nullptr),
98 this->printCoeffs(
type);
105 template<
class BasicMomentumTransportModel>
110 alphaInversion_.readIfPresent(this->coeffDict());
111 Cp_.readIfPresent(this->coeffDict());
112 Cmub_.readIfPresent(this->coeffDict());
123 template<
class BasicMomentumTransportModel>
127 if (!gasTurbulencePtr_)
132 refCast<const phaseModel>(this->properties());
144 momentumTransportModel::typeName,
150 return *gasTurbulencePtr_;
154 template<
class BasicMomentumTransportModel>
158 this->gasTurbulence();
166 + Cmub_*gas.
d()*gasTurbulence.
alpha()
167 *(
mag(this->U_ - gasTurbulence.
U()));
169 this->nut_.correctBoundaryConditions();
174 template<
class BasicMomentumTransportModel>
178 this->gasTurbulence();
199 template<
class BasicMomentumTransportModel>
211 max(alphaInversion_ -
alpha, scalar(0))
215 this->Ce_*
sqrt(gasTurbulence.
k())/this->delta(),
216 1.0/
U.time().deltaT()
222 template<
class BasicMomentumTransportModel>
229 this->gasTurbulence();
231 const volScalarField phaseTransferCoeff(this->phaseTransferCoeff());
235 + phaseTransferCoeff*gasTurbulence.
k()
236 -
fvm::Sp(phaseTransferCoeff, this->k_);
Generic GeometricField class.
static word groupName(Name name, const word &group)
One-equation SGS model for the continuous phase in a two-phase system including bubble-generated turb...
tmp< volScalarField > bubbleG() const
NicenoKEqn(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
tmp< volScalarField > phaseTransferCoeff() const
virtual void correctNut()
virtual tmp< fvScalarMatrix > kSource() const
virtual bool read()
Read model coefficients if they have changed.
One equation eddy-viscosity model.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Generic dimensioned Type class.
Class to represent a interface between phases where one phase is considered dispersed within the othe...
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
scalar rho(scalar p, scalar T) const
Liquid density [kg/m^3].
Abstract base class for turbulence models (RAS, LES and laminar).
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
const volVectorField & U() const
Access function to velocity field.
Templated abstract base class for multiphase compressible turbulence models.
const alphaField & alpha() const
Access function to phase fraction.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
const word & name() const
Return the name of this phase.
Class to represent a system of phases and model interfacial transfers between them.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument in a two-phase system.
const ModelType & lookupInterfacialModel(const phaseInterface &interface) const
Return a sub model for an interface.
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
Info<< "Reading strained laminar flame speed field Su\n"<< endl;volScalarField Su(IOobject("Su", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field betav\n"<< endl;volScalarField betav(IOobject("betav", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field Lobs\n"<< endl;volScalarField Lobs(IOobject("Lobs", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field CT\n"<< endl;volSymmTensorField CT(IOobject("CT", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field Nv\n"<< endl;volScalarField Nv(IOobject("Nv", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Reading field nsv\n"<< endl;volSymmTensorField nsv(IOobject("nsv", mesh.facesInstance(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);IOdictionary PDRProperties(IOobject("PDRProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));autoPtr< PDRDragModel > drag
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.