39 mixedFvPatchVectorField(
p, iF)
50 mixedFvPatchVectorField(
p, iF)
57 if (!this->readValueEntry(
dict))
66 const freestreamVelocityFvPatchVectorField& ptf,
68 const DimensionedField<vector, volMesh>& iF,
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
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
void assign(const entry &e, const label len)
Assign from a primitive dictionary entry with the following behaviour:
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides a free-stream condition for velocity.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
freestreamVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const vectorField & freestreamValue() const
Same as refValue().
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void operator=(const UList< vector > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0).
fvPatchField< vector > fvPatchVectorField