39 mixedFvPatchVectorField(
p, iF)
50 mixedFvPatchVectorField(
p, iF)
57 if (!this->readValueEntry(
dict))
66 const freestreamVelocityFvPatchVectorField& ptf,
68 const DimensionedField<vector, volMesh>& iF,
69 const fvPatchFieldMapper& mapper
72 mixedFvPatchVectorField(ptf,
p, iF, mapper)
81 mixedFvPatchVectorField(wbppsf)
91 mixedFvPatchVectorField(wbppsf, iF)
104 const Field<vector>& Up = *
this;
106 valueFraction() = 0.5 - 0.5*(Up &
patch().nf())/
mag(Up);
115 freestreamValue().writeEntry(
"freestreamValue",
os);
127 freestreamVelocityFvPatchVectorField
fvPatchField< vector > fvPatchVectorField
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...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const vectorField & freestreamValue() const
Same as refValue()
virtual void write(Ostream &) const
Write.
This boundary condition provides a free-stream condition for velocity.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void assign(const entry &e, const label len)
Assign from a primitive dictionary entry with the following behaviour:
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void operator=(const UList< vector > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
freestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const std::string patch
OpenFOAM patch number as a std::string.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static constexpr const zero Zero
Global zero (0)