1Info<<
"Reading velocity field U\n" << endl;
16U = dimensionedVector(
U.dimensions(), Zero);
33 U.correctBoundaryConditions();
48 U.boundaryField().size(),
54 if (
U.boundaryField()[patchi].fixesValue())
63Info<<
"Constructing pressure field " << pName <<
nl <<
endl;
71 IOobject::READ_IF_PRESENT,
83 p.boundaryField().size(),
87forAll(
p.boundaryField(), patchi)
89 if (
p.boundaryField()[patchi].fixesValue())
95Info<<
"Constructing velocity potential field Phi\n" <<
endl;
103 IOobject::READ_IF_PRESENT,
112scalar PhiRefValue = 0;
120mesh.setFluxRequired(Phi.name());
122#include "createMRF.H"
130 nonInt.insert(
"interpolatedCells");
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
bool found(const word &optName) const
Return true if the named option is found.
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
Creates mask for blocked out cells.
Creates mask for interpolated cells.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
List< word > wordList
A List of words.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
constexpr char nl
The newline '\n' character (0x0a)
Foam::argList args(argc, argv)
const dictionary & potentialFlow(mesh.solutionDict().subDict("potentialFlow"))
wordList pBCTypes(U.boundaryField().size(), fixedValueFvPatchScalarField::typeName)
setRefCell(p, pimple.dict(), pRefCell, pRefValue)
#define forAll(list, i)
Loop across all elements in list.
static const char *const typeName
The type name used in ensight case files.