42 mixedFvPatchVectorField(p, iF),
48 valueFraction() = 0.0;
60 mixedFvPatchVectorField(p, iF),
67 valueFraction() = 0.0;
80 mixedFvPatchVectorField(ptf, p, iF, mapper),
81 phiName_(ptf.phiName_),
82 rhoName_(ptf.rhoName_)
93 mixedFvPatchVectorField(pivpvf, iF),
94 phiName_(pivpvf.phiName_),
95 rhoName_(pivpvf.rhoName_)
119 refValue() = n*phip/magS;
126 refValue() = n*phip/(rhop*magS);
131 <<
"dimensions of phi are not correct" 132 <<
"\n on patch " << this->patch().name()
133 <<
" of field " << this->internalField().name()
134 <<
" in file " << this->internalField().objectPath()
138 valueFraction() =
neg(phip);
140 mixedFvPatchVectorField::updateCoeffs();
158 void Foam::pressureNormalInletOutletVelocityFvPatchVectorField::operator=
165 valueFraction()*(patch().nf()*(patch().nf() & pvf))
166 + (1 - valueFraction())*pvf
This velocity inlet/outlet boundary condition is applied to patches where the pressure is specified...
pressureNormalInletOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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...
volVectorField vectorField(fieldObject, mesh)
virtual void write(Ostream &) const
Write.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet & dimensions() const
Return dimensions.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
const dimensionSet dimFlux
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const dimensionSet dimMassFlux
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void write(Ostream &) const
Write.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...