96 if (isA<pressureInletOutletVelocityFvPatchVectorField>(Up))
99 refCast<const pressureInletOutletVelocityFvPatchVectorField>(Up);
103 const scalar t = this->db().time().userTimeValue();
127 writeEntryIfDifferent<word>(os,
"U",
"U",
UName_);
128 writeEntryIfDifferent<word>(os,
"phi",
"phi",
phiName_);
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const autoPtr< Function1< vector > > & tangentialVelocity() const
Return the tangential velocity Function1.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
This boundary condition provides a dynamic pressure condition. It subtracts a kinetic energy term fro...
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
Velocity inlet/outlet boundary condition for patches where the pressure is specified in some manner...
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
scalarField p0_
Reference pressure.
void updateCoeffs(const scalarField &p0p, const scalarField &K0mKp)
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word phiName_
Name of the flux field.
totalPressureFvPatchScalarField(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,.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word UName_
Name of the velocity field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Inflow, outflow and entrainment pressure boundary condition based on a constant total pressure assump...