35 namespace phaseTransferModels
57 interface_(interface),
94 tResult.
ref().internalFieldRef() =
95 coeffs[0]*(
p - pSat1) - coeffs[1]*(
p - pSat2);
96 tResult.
ref().correctBoundaryConditions();
116 tResult.
ref().internalFieldRef() = coeffs[0] - coeffs[1];
117 tResult.
ref().correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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)
An ordered pair of two objects of type <T> with first() and second() elements.
Abstract base class for cavitation models.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
A phase transfer model which represents cavitation.
virtual bool mixture() const
Whether or not there is a mass transfer rate for the mixture.
virtual ~cavitation()
Destructor.
virtual tmp< volScalarField > d2mdtdpf() const
The derivative of mass transfer w.r.t. pressure.
virtual tmp< volScalarField > dmdtf() const
The mass transfer rate for the mixture.
cavitation(const dictionary &dict, const phaseInterface &interface)
Construct from components.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
defineTypeNameAndDebug(cavitation, 0)
addToRunTimeSelectionTable(phaseTransferModel, cavitation, dictionary)
const dimensionSet dimPressure
const dimensionSet dimTime
const dimensionSet dimDensity
word typedName(Name name)
Return the name of the object within the given type.