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 fvPatch & patch() const
Return patch.
const char *const group
Group name for atomic constants.
dimensionedScalar sign(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
const word & name() const
Return name.
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...
const fvMesh & mesh() const
Return the mesh reference.
Abstract base class for turbulence models (RAS, LES and laminar).
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
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
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.
bool updated() const
Return true if the boundary condition has already been updated.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
const dimensionSet dimPressure
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionSet dimDensity
const objectRegistry & db() const
Return local objectRegistry.
This boundary condition provides a jump condition, using the cyclic condition as a base...
Type gAverage(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const GeometricField::Patch & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const word & name() const
Return reference to name.
const dimensionSet dimArea(sqr(dimLength))
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dimensionSet dimVelocity
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.