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)
189 Udm_ = UdmCoeff()*acceleration();
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
virtual void correct()
Update the diffusion velocity.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
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)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
defineTypeNameAndDebug(combustionModel, 0)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimVelocity