28Info<<
"Reading field U\n" << endl;
42Info<<
"Calculating wall distance field" << endl;
54 dimensionedScalar(dimLength, Zero),
57y.primitiveFieldRef() = wallDist::New(
mesh).y().primitiveField();
58y.correctBoundaryConditions();
62dimensionedScalar ybl(
"ybl", dimLength, Zero);
67 ybl.value() =
args.
get<scalar>(
"ybl");
72 ybl.value() = gAverage(
y)*
args.
get<scalar>(
"Cbl");
75Info<<
"\nCreating boundary-layer for U of thickness "
76 << ybl.value() <<
" m" <<
nl <<
endl;
T get(const label index) const
Get a value from the argument at index.
bool found(const word &optName) const
Return true if the named option is found.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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)
static const char *const typeName
The type name used in ensight case files.