44 Foam::wordList Foam::relativeVelocityModel::UdmPatchFieldTypes()
const 50 U.boundaryField().size(),
58 isA<fixedValueFvPatchVectorField>(
U.boundaryField()[i])
59 || isA<slipFvPatchVectorField>(
U.boundaryField()[i])
60 || isA<partialSlipFvPatchVectorField>(
U.boundaryField()[i])
63 UdmTypes[i] = fixedValueFvPatchVectorField::typeName;
73 Foam::relativeVelocityModel::relativeVelocityModel
75 const dictionary&
dict,
76 const incompressibleTwoPhaseInteractingMixture&
mixture 92 IOobject::READ_IF_PRESENT,
106 const dictionary&
dict,
107 const incompressibleTwoPhaseInteractingMixture&
mixture 110 const word modelType(
dict.get<word>(typeName));
112 Info<<
"Selecting relative velocity model " << modelType <<
endl;
114 auto* ctorPtr = dictionaryConstructorTable(modelType);
123 *dictionaryConstructorTablePtr_
128 autoPtr<relativeVelocityModel>
132 dict.optionalSubDict(modelType +
"Coeffs"),
149 return alphac_*rhoc_ + alphad_*rhod_;
161 return tmp<volSymmTensorField>
166 betad*
sqr(Udm_) + betac*
sqr(Ucm)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const incompressibleTwoPhaseInteractingMixture & mixture_
Mixture properties.
const volScalarField & alpha2
static autoPtr< relativeVelocityModel > New(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture)
GeometricField< vector, fvPatchField, volMesh > volVectorField
const volVectorField & U() const
Return const-access to the mixture velocity.
#define forAll(list, i)
Loop across all elements in list.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~relativeVelocityModel()
Destructor.
tmp< volSymmTensorField > tauDm() const
Return the stress tensor due to the phase transport.
errorManip< error > abort(error &err)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
List< word > wordList
List of word.
tmp< volScalarField > rho() const
Return the mixture mean density.
static const word & calculatedType() noexcept
The type name for calculated patch fields.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVelocity
const volScalarField & alpha1