43 Foam::wordList Foam::relativeVelocityModel::UdmPatchFieldTypes()
const
49 U.boundaryField().size(),
50 calculatedFvPatchScalarField::typeName
57 isA<fixedValueFvPatchVectorField>(
U.boundaryField()[i])
58 || isA<slipFvPatchVectorField>(
U.boundaryField()[i])
59 || isA<partialSlipFvPatchVectorField>(
U.boundaryField()[i])
62 UdmTypes[i] = fixedValueFvPatchVectorField::typeName;
86 mixture_.time().
name(),
109 Info<<
"Selecting relative velocity model " << modelType <<
endl;
111 dictionaryConstructorTable::iterator cstrIter =
112 dictionaryConstructorTablePtr_->find(modelType);
114 if (cstrIter == dictionaryConstructorTablePtr_->end())
117 <<
"Unknown time scale model type " << modelType
118 <<
", constructor not in hash table" <<
nl <<
nl
119 <<
" Valid time scale model types are:" <<
nl
120 << dictionaryConstructorTablePtr_->sortedToc()
176 betad*
sqr(Udm_) + betac*
sqr(Ucm)
#define forAll(list, i)
Loop across all elements in list.
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,.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
Class to represent a mixture of two constant density phases.
const volVectorField & U() const
Return the mixture velocity field.
tmp< volSymmTensorField > tauDm() const
Return the stress tensor due to the phase transport.
virtual ~relativeVelocityModel()
Destructor.
tmp< volVectorField > acceleration() const
Return the dispersed phase acceleration.
static autoPtr< relativeVelocityModel > New(const dictionary &dict, const incompressibleDriftFluxMixture &mixture, const uniformDimensionedVectorField &g)
tmp< volVectorField > divDevTau() const
Return the div stress tensor due to the phase transport.
const incompressibleDriftFluxMixture & mixture_
Mixture properties.
relativeVelocityModel(const dictionary &dict, const incompressibleDriftFluxMixture &mixture, const uniformDimensionedVectorField &g)
Construct from components.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Calculate the divergence of the given field.
Calculate the gradient of the given field.
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
List< word > wordList
A List of words.
VolField< vector > volVectorField
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
defineTypeNameAndDebug(combustionModel, 0)
const dimensionSet dimVelocity