45Foam::betaMaxReynoldsDarcy::betaMaxReynoldsDarcy
54 dict.subDict(
type() +
"Coeffs").getOrDefault<scalar>(
"ReDa", 1.e-5)
56 length_(computeLength(
dict)),
57 Uref_(
dict.subDict(
type() +
"Coeffs").get<scalar>(
"Uref"))
61 <<
"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.
Compute betaMax through the products of the Reynolds and Darcy numbers, quantifying the momentum-to-p...
scalar Uref_
Reference velocity.
scalar length_
Characteristic length of the case.
scalar ReynoldsDarcyNumber_
The Darcy number expressing the ratio of viscous to porous forces.
Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term...
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,...
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.
constexpr char nl
The newline '\n' character (0x0a).