58 D_(dict.
lookup<scalar>(
"D")),
59 I_(dict.
lookup<scalar>(
"I")),
60 length_(dict.
lookup<scalar>(
"length"))
78 phiName_(ptf.phiName_),
79 rhoName_(ptf.rhoName_),
93 phiName_(ptf.phiName_),
94 rhoName_(ptf.rhoName_),
130 momentumTransportModel::typeName,
138 D_*turbModel.
nu(
patch().index())
149 scalar avePressureJump =
gAverage(jump_);
154 <<
" Average pressure drop :" << avePressureJump
155 <<
" Average velocity :" << aveVelocity
166 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
167 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const char *const group
Group name for atomic constants.
dimensionedScalar sign(const dimensionedScalar &ds)
const GeometricField::Patch & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool updated() const
Return true if the boundary condition has already been updated.
const dimensionSet dimPressure
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Field< scalar > jump_
"jump" field
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet & dimensions() const
Return dimensions.
const fvMesh & mesh() const
Return the mesh reference.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const GeometricField::Patch & lookupPatchField(const word &name) const
Lookup and return the patchField of the named field from the.
Abstract base class for turbulence models (RAS, LES and laminar).
This boundary condition provides a jump condition, using the cyclic condition as a base...
const dimensionSet dimMassFlux
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const word & name() const
Return reference to name.
Type gAverage(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const
Return local objectRegistry.
porousBafflePressureFvPatchField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual const word & name() const
Return name.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.