39 mixedFvPatchScalarField(p, iF),
53 mixedFvPatchScalarField(p, iF),
62 if (dict.
found(
"value"))
64 fvPatchScalarField::operator=
71 fvPatchScalarField::operator=(freestreamValue());
88 mixedFvPatchScalarField(psf, p, iF, mapper),
90 supersonic_(psf.supersonic_)
101 mixedFvPatchScalarField(psf, iF),
103 supersonic_(psf.supersonic_)
117 patch().template lookupPatchField<volVectorField, vector>
132 if (magUp[i] > vSmall)
134 vf[i] = 0.5 - 0.5*(Up[i] & nf[i])/magUp[i];
146 if (magUp[i] > vSmall)
148 vf[i] = 0.5 + 0.5*(Up[i] & nf[i])/magUp[i];
164 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
freestreamPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
virtual label size() const
Return size.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
volScalarField scalarField(fieldObject, mesh)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensioned< scalar > mag(const dimensioned< Type > &)
This boundary condition provides a free-stream condition for pressure.
const scalarField & freestreamValue() const
virtual void write(Ostream &) const
Write.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)