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())
60Info<<
"Constructing pressure field " << pName <<
nl <<
endl;
68 IOobject::READ_IF_PRESENT,
79 p.boundaryField().size(),
83forAll(
p.boundaryField(), patchi)
85 if (
p.boundaryField()[patchi].fixesValue())
91Info<<
"Constructing velocity potential field Phi\n" <<
endl;
99 IOobject::READ_IF_PRESENT,
108scalar PhiRefValue = 0;
116mesh.setFluxRequired(Phi.name());
118#include "createMRF.H"
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.
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.
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.