43 Foam::wordList Foam::relativeVelocityModel::UdmPatchFieldTypes()
const
49 U.boundaryField().size(),
57 isA<fixedValueFvPatchVectorField>(
U.boundaryField()[i])
58 || isA<slipFvPatchVectorField>(
U.boundaryField()[i])
59 || isA<partialSlipFvPatchVectorField>(
U.boundaryField()[i])
76 const uniformDimensionedVectorField& g
104 const uniformDimensionedVectorField& g
110 <<
"Selecting relative velocity model " << modelType <<
endl;
112 dictionaryConstructorTable::iterator cstrIter =
113 dictionaryConstructorTablePtr_->find(modelType);
115 if (cstrIter == dictionaryConstructorTablePtr_->end())
118 <<
"Unknown time scale model type " << modelType
119 <<
", constructor not in hash table" <<
nl <<
nl
120 <<
" Valid time scale model types are:" <<
nl
121 << dictionaryConstructorTablePtr_->sortedToc()
179 betad*
sqr(Udm_) + betac*
sqr(Ucm)
#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 & optionalTypeDict(const word &typeName) const
Find and return an optional type sub-dictionary.
Class to represent a mixture of two constant density phases.
const volVectorField & U() const
Return the mixture velocity field.
Enables the printing of a dictionary and subsequently looked-up defaulted entries.
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.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
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.
const dimensionSet acceleration
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
Ostream & endl(Ostream &os)
Add newline and flush stream.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
errorManip< error > abort(error &err)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimVelocity
defineRunTimeSelectionTable(fvConstraint, dictionary)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)