mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus
This commit is contained in:
@ -38,7 +38,23 @@ volVectorField U
|
||||
);
|
||||
|
||||
Info<< "Calculating wall distance field" << endl;
|
||||
const volScalarField& y(wallDist::New(mesh).y());
|
||||
volScalarField y
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"y",
|
||||
runTime.timeName(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar("zero", dimLength, 0.0),
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
);
|
||||
y.internalField() = wallDist::New(mesh).y().internalField();
|
||||
y.correctBoundaryConditions();
|
||||
|
||||
|
||||
// Set the mean boundary-layer thickness
|
||||
dimensionedScalar ybl("ybl", dimLength, 0);
|
||||
|
||||
Reference in New Issue
Block a user