Go to the documentation of this file. 1 Info<<
"Reading velocity field U\n" <<
endl;
33 U.correctBoundaryConditions();
49 U.boundaryField().size(),
50 fixedValueFvPatchScalarField::typeName
55 if (
U.boundaryField()[
patchi].fixesValue())
57 pBCTypes[
patchi] = zeroGradientFvPatchScalarField::typeName;
64 Info<<
"Constructing pressure field " << pName <<
nl <<
endl;
72 IOobject::READ_IF_PRESENT,
98 p.boundaryField().size(),
99 zeroGradientFvPatchScalarField::typeName
104 if (
p.boundaryField()[
patchi].fixesValue())
106 PhiBCTypes[
patchi] = fixedValueFvPatchScalarField::typeName;
112 Info<<
"Constructing velocity potential field Phi\n" <<
endl;
120 IOobject::READ_IF_PRESENT,
130 label PhiRefCell = 0;
131 scalar PhiRefValue = 0;
135 potentialFlow.dict(),
139 mesh.setFluxRequired(Phi.name());
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionSet dimVelocity
setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool optionFound(const word &opt) const
Return true if the named option is found.
Foam::argList args(argc, argv)
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), Urel+SRF->U())
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.