43 fixedValueFvPatchVectorField(
p, iF),
59 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
60 phiName_(ptf.phiName_),
61 rhoName_(ptf.rhoName_),
62 deltafName_(ptf.deltafName_)
74 fixedValueFvPatchVectorField(
p, iF,
dict),
75 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
76 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
77 deltafName_(
dict.getOrDefault<
word>(
"deltaf",
"deltaf"))
87 fixedValueFvPatchVectorField(fhivpvf),
88 phiName_(fhivpvf.phiName_),
89 rhoName_(fhivpvf.rhoName_),
90 deltafName_(fhivpvf.deltafName_)
101 fixedValueFvPatchVectorField(fhivpvf, iF),
102 phiName_(fhivpvf.phiName_),
103 rhoName_(fhivpvf.rhoName_),
104 deltafName_(fhivpvf.deltafName_)
118 const auto& rhop = patch().lookupPatchField<
volScalarField>(rhoName_);
119 const auto& deltafp = patch().lookupPatchField<
volScalarField>(deltafName_);
124 operator==(
n*phip/(rhop*magSf*deltafp + ROOTVSMALL));
126 fixedValueFvPatchVectorField::updateCoeffs();
133 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
134 os.writeEntryIfDifferent<
word>(
"rho",
"rho", rhoName_);
135 os.writeEntryIfDifferent<
word>(
"deltaf",
"deltaf", deltafName_);
142void Foam::filmHeightInletVelocityFvPatchVectorField::operator=
158 filmHeightInletVelocityFvPatchVectorField
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...
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 is designed to be used in conjunction with surface film modelling....
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
filmHeightInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
fvPatchField< vector > fvPatchVectorField