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 dimensionSet dimPressure
const word & name() const
Return reference to name.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const char *const group
Group name for atomic constants.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
const dimensionSet dimArea(sqr(dimLength))
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
const GeometricField::PatchFieldType & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
Foam::fvPatchFieldMapper.
dimensionedScalar sign(const dimensionedScalar &ds)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const dimensionSet dimDensity
bool updated() const
Return true if the boundary condition has already been updated.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return name.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
Abstract base class for cyclic coupled interfaces.
static word groupName(Name name, const word &group)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
const dimensionSet & dimensions() const
Return dimensions.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
This boundary condition provides a jump condition, using the cyclic condition as a base...
Abstract base class for turbulence models (RAS, LES and laminar).
Field< scalar > jump_
"jump" field
const fvMesh & mesh() const
Return the mesh reference.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Type gAverage(const FieldField< Field, Type > &f)
porousBafflePressureFvPatchField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const objectRegistry & db() const
Return local objectRegistry.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const word propertiesName
Default name of the turbulence properties dictionary.
const DimensionedField< Type, volMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
const fvPatch & patch() const
Return patch.
const dimensionSet dimVelocity
virtual void write(Ostream &) const
Write.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...