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_)
117 const fvsPatchField<scalar>& phip =
120 const fvPatchField<scalar>& rhop =
123 const fvPatchField<scalar>& deltafp =
129 operator==(
n*phip/(rhop*magSf*deltafp + ROOTVSMALL));
131 fixedValueFvPatchVectorField::updateCoeffs();
141 writeEntry(
"value",
os);
147 void Foam::filmHeightInletVelocityFvPatchVectorField::operator=
163 filmHeightInletVelocityFvPatchVectorField
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write.
filmHeightInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
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 is designed to be used in conjunction with surface film modelling. It provides a velocity inlet boundary condition for patches where the film height is specified. The inflow velocity is obtained from the flux with a direction normal to the patch faces using:
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void operator=(const UList< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)