Go to the documentation of this file.
57 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
58 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho")),
62 uniformJump_(
dict.lookupOrDefault<
bool>(
"uniformJump",
false))
159 const scalar D =
D_->value(t);
160 const scalar
I =
I_->value(t);
165 D*turbModel.
nu(
patch().index())
181 <<
" Average pressure drop :" << avePressureJump
182 <<
" Average velocity :" << aveVelocity
193 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
194 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
scalar timeOutputValue() const
Return current time value.
const dimensionSet dimPressure
virtual void write(Ostream &) const
Write.
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
static word groupName(Name name, const word &group)
autoPtr< DataEntry< scalar > > I_
Inertia pressure lost coefficient.
A class for handling words, derived from string.
Type gAverage(const FieldField< Field, Type > &f)
const DimensionedField< Type, volMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
const Time & time() const
Return time.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
static const word propertiesName
Default name of the turbulence properties dictionary.
const word phiName_
Name of flux field (default = phi)
const char *const group
Group name for atomic constants.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
const fvMesh & mesh() const
Return the mesh reference.
dimensionedScalar sign(const dimensionedScalar &ds)
bool updated() const
Return true if the boundary condition has already been updated.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const word & name() const
Return name.
const word rhoName_
Name of density field (default = rho)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
scalar length_
Porous media length.
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a jump condition, using the cyclic condition as a base.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const sphericalTensor I(1)
porousBafflePressureFvPatchField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Abstract base class for turbulence models (RAS, LES and laminar).
const GeometricField::PatchFieldType & 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....
Macros for easy insertion into run-time selection tables.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
autoPtr< DataEntry< scalar > > D_
Darcy pressure loss coefficient.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Abstract base class for cyclic coupled interfaces.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const objectRegistry & db() const
Return local objectRegistry.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
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.
bool uniformJump_
Aplies uniform pressure drop.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const word & name() const
Return reference to name.
Field< scalar > jump_
"jump" field