59 omega_(ptf.omega_.clone())
83 omega_(rtppsf.omega_.clone())
95 omega_(rtppsf.omega_.clone())
108 const scalar t = this->db().time().timeOutputValue();
112 tmp<vectorField> rotationVelocity =
117 patch().lookupPatchField<volVectorField>(
UName())
128 omega_->writeData(
os);
139 rotatingTotalPressureFvPatchScalarField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word & UName() const
Return the name of the velocity field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &) const
Write.
fvPatchField< scalar > fvPatchScalarField
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const scalarField & p0() const
Return the total pressure.
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
This boundary condition provides a total pressure condition for patches in a rotating frame...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
rotatingTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a total pressure condition. Four variants are possible: ...