Go to the source code of this file.
|
| Info<< "Reading field U< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Calculating wall distance field"<< endl;volScalarField y(IOobject("y", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(dimLength, Zero), fvPatchFieldBase::zeroGradientType());y.primitiveFieldRef()=wallDist::New(mesh).y().primitiveField();y.correctBoundaryConditions();dimensionedScalar ybl("ybl", dimLength, Zero);if(args.found("ybl")){ ybl.value()=args.get< scalar > ("ybl") |
|
else | if (args.found("Cbl")) |
|
Original source file createFields.H
Definition in file createFields.H.
◆ Info<< "Reading field U< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Calculating wall distance field"<< endl;volScalarField y(IOobject("y", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(dimLength, Zero), fvPatchFieldBase::zeroGradientType());y.primitiveFieldRef()=wallDist::New(mesh).y().primitiveField();y.correctBoundaryConditions();dimensionedScalar ybl("ybl", dimLength, Zero);if(args.found("ybl")){ ybl.value()=args.get< scalar >()
Info<< "Reading field U\<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh);Info<< "Calculating wall distance field"<< endl;volScalarField y(IOobject("y", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(dimLength, Zero), fvPatchFieldBase::zeroGradientType());y.primitiveFieldRef()=wallDist::New(mesh).y().primitiveField();y.correctBoundaryConditions();dimensionedScalar ybl("ybl", dimLength, Zero);if(args.found("ybl")){ ybl.value()=args.get< scalar > |
( |
"ybl" |
| ) |
|
◆ if()
else if |
( |
args. |
found"Cbl" | ) |
|