43Foam::betaMaxDarcy::betaMaxDarcy
52 dict.subDict(
type() +
"Coeffs").getOrDefault<scalar>(
"Da", 1.e-5)
54 length_(computeLength(
dict))
61 "transportProperties",
62 mesh.time().constant(),
72 <<
"Computed a betaMax value of " <<
value_
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ NO_REGISTER
Do not request registration (bool: false).
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Compute betaMax through the definition of the Darcy number, quantifying the viscous-to-porous forces ...
scalar DarcyNumber_
The Darcy number expressing the ratio of viscous to porous forces.
scalar length_
Characteristic length of the case.
Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term...
virtual scalar value() const
Get value.
scalar value_
betaMax value
scalar computeLength(const dictionary &dict) const
Compute the characteristic length.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Mesh data needed to do the Finite Volume discretisation.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
constexpr char nl
The newline '\n' character (0x0a).