42 mixedFvPatchVectorField(
p, iF,
dict, false),
43 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
44 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho"))
49 valueFraction() = 0.0;
62 mixedFvPatchVectorField(ptf,
p, iF, mapper),
63 phiName_(ptf.phiName_),
64 rhoName_(ptf.rhoName_)
75 mixedFvPatchVectorField(pivpvf, iF),
76 phiName_(pivpvf.phiName_),
77 rhoName_(pivpvf.rhoName_)
101 refValue() =
n*phip/magS;
108 refValue() =
n*phip/(rhop*magS);
113 <<
"dimensions of phi are not correct"
114 <<
"\n on patch " << this->patch().name()
115 <<
" of field " << this->internalField().name()
116 <<
" in file " << this->internalField().objectPath()
120 valueFraction() =
neg(phip);
122 mixedFvPatchVectorField::updateCoeffs();
140 void Foam::pressureNormalInletOutletVelocityFvPatchVectorField::operator=
147 valueFraction()*(patch().nf()*(patch().nf() & pvf))
148 + (1 - valueFraction())*pvf
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...
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
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 any number of values (e....
Foam::fvPatchFieldMapper.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
This velocity inlet/outlet boundary condition is applied to patches where the pressure is specified....
virtual void write(Ostream &) const
Write.
pressureNormalInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet dimMassFlux
SurfaceField< scalar > surfaceScalarField
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
VolField< scalar > volScalarField
Field< vector > vectorField
Specialisation of Field<T> for vector.
dimensionedScalar neg(const dimensionedScalar &ds)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const dimensionSet dimFlux