Go to the documentation of this file.
44 Foam::wordList Foam::relativeVelocityModel::UdmPatchFieldTypes()
const
50 U.boundaryField().size(),
51 calculatedFvPatchScalarField::typeName
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)
A class for managing temporary objects.
static constexpr const zero Zero
const dimensionSet dimVelocity
const volScalarField & alpha2
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
tmp< volScalarField > rho() const
Ostream & endl(Ostream &os)
const volScalarField & alpha1
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
List< word > wordList
A List of words.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
errorManip< error > abort(error &err)
const volVectorField & U() const
GeometricField< vector, fvPatchField, volMesh > volVectorField
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const incompressibleTwoPhaseInteractingMixture & mixture_
static autoPtr< relativeVelocityModel > New(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture)
defineTypeNameAndDebug(combustionModel, 0)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
tmp< volSymmTensorField > tauDm() const
virtual ~relativeVelocityModel()