44Foam::wordList Foam::relativeVelocityModel::UdmPatchFieldTypes()
const
50 U.boundaryField().size(),
63 UdmTypes[i] = fixedValueFvPatchVectorField::typeName;
73Foam::relativeVelocityModel::relativeVelocityModel
107 const incompressibleTwoPhaseInteractingMixture&
mixture
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_;
165 betad*
sqr(Udm_) + betac*
sqr(Ucm)
const volScalarField & alpha1
const volScalarField & alpha2
static tmp< GeometricField< symmTensor, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< symmTensor >::calculatedType())
@ NO_REGISTER
Do not request registration (bool: false).
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static const word & calculatedType() noexcept
The type name for calculated patch fields.
A two-phase incompressible transportModel for interacting phases requiring the direct evaluation of t...
virtual ~relativeVelocityModel()
Destructor.
static autoPtr< relativeVelocityModel > New(const dictionary &dict, const incompressibleTwoPhaseInteractingMixture &mixture)
tmp< volSymmTensorField > tauDm() const
Return the stress tensor due to the phase transport.
tmp< volScalarField > rho() const
Return the mixture mean density.
const incompressibleTwoPhaseInteractingMixture & mixture_
Mixture properties.
const incompressibleTwoPhaseInteractingMixture & mixture() const
Mixture properties.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
List< word > wordList
List of word.
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimVelocity
messageStream Info
Information stream (stdout output on master, null elsewhere).
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
errorManip< error > abort(error &err)
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).
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
#define forAll(list, i)
Loop across all elements in list.