78 phiName_(ptf.phiName_),
79 rhoName_(ptf.rhoName_),
93 phiName_(ptf.phiName_),
94 rhoName_(ptf.rhoName_),
108 phiName_(ptf.phiName_),
109 rhoName_(ptf.rhoName_),
152 D_*turbModel.
nu(
patch().index())
163 scalar avePressureJump =
gAverage(jump_);
168 <<
" Average pressure drop :" << avePressureJump
169 <<
" Average velocity :" << aveVelocity
180 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
181 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
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.
void size(const label)
Override size to be inconsistent with allocated storage.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
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.
Abstract base class for turbulence models (RAS, LES and laminar).
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const word & name() const
Return name.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
const dimensionSet & dimensions() const
Return dimensions.
const fvMesh & mesh() const
Return the mesh reference.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
Foam::fvPatchFieldMapper.
const dimensionSet dimPressure
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...
const dimensionSet dimDensity
This boundary condition provides a jump condition, using the cyclic condition as a base...
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.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
Lookup and return the patchField of the named field from the.
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 > &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Abstract base class for cyclic coupled interfaces.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const dimensionSet dimArea(sqr(dimLength))
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.
const dimensionSet dimVelocity