54 preAlphaExp_(coeffDict_.lookup<scalar>(
"preAlphaExp")),
55 expMax_(coeffDict_.lookup<scalar>(
"expMax")),
60 coeffDict_.lookup(
"g0")
88 coeffDict().lookup(
"preAlphaExp") >> preAlphaExp_;
89 coeffDict().lookup(
"expMax") >> expMax_;
90 g0_.readIfPresent(coeffDict());
146 Foam::RASModels::phasePressureModel::pPrime()
const
156 exp(preAlphaExp_*(alpha_ - phase_.alphaMax())),
163 tpPrime.ref().boundaryFieldRef();
167 if (!bpPrime[
patchi].coupled())
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricBoundaryField class.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
static word groupName(Name name, const word &group)
Templated abstract base class for RAS turbulence models.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate.
virtual void correct()
Solve the kinetic theory equations and correct the viscosity.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
phasePressureModel(const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual ~phasePressureModel()
Destructor.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
virtual tmp< volSymmTensorField > sigma() const
Return the stress tensor [m^2/s^2].
virtual tmp< volScalarField > omega() const
Return the turbulence specific dissipation rate.
virtual bool read()
Re-read model coefficients if they have changed.
Dimension set for the base types.
Generic dimensioned Type class.
Eddy viscosity turbulence model base class.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Abstract base class for turbulence models (RAS, LES and laminar).
A class for managing temporary objects.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensionedScalar exp(const dimensionedScalar &ds)
bool read(const char *, int32_t &)
To & refCast(From &r)
Reference type cast template function.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.