Go to the documentation of this file.
88 #ifndef porousBafflePressureFvPatchField_H
89 #define porousBafflePressureFvPatchField_H
103 class porousBafflePressureFvPatchField
105 public fixedJumpFvPatchField<scalar>
116 autoPtr<DataEntry<scalar> >
D_;
119 autoPtr<DataEntry<scalar> >
I_;
140 const DimensionedField<scalar, volMesh>&
147 const DimensionedField<scalar, volMesh>&,
157 const DimensionedField<scalar, volMesh>&,
158 const fvPatchFieldMapper&
virtual void write(Ostream &) const
Write.
autoPtr< DataEntry< scalar > > I_
Inertia pressure lost coefficient.
A class for handling words, derived from string.
A class for managing temporary objects.
const word phiName_
Name of flux field (default = phi)
const word rhoName_
Name of density field (default = rho)
scalar length_
Porous media length.
virtual tmp< fvPatchField< scalar > > clone() const
Construct and return a clone.
This boundary condition provides a jump condition, using the cyclic condition as a base.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a jump condition, using the cyclic condition as a base.
porousBafflePressureFvPatchField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
autoPtr< DataEntry< scalar > > D_
Darcy pressure loss coefficient.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
TypeName("porousBafflePressure")
Runtime type information.
bool uniformJump_
Aplies uniform pressure drop.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...