mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wallDist: separate the meshWaveWallDist from the wallDist interface
In preparation for run-time selectable methods
This commit is contained in:
@ -47,8 +47,6 @@ const Foam::volScalarField& Foam::wallDependentModel::yWall() const
|
||||
{
|
||||
if (!mesh_.foundObject<volScalarField>("yWall"))
|
||||
{
|
||||
wallDist w(mesh_);
|
||||
|
||||
volScalarField* yPtr
|
||||
(
|
||||
new volScalarField
|
||||
@ -62,7 +60,7 @@ const Foam::volScalarField& Foam::wallDependentModel::yWall() const
|
||||
IOobject::NO_WRITE,
|
||||
true
|
||||
),
|
||||
w.y()
|
||||
wallDist(mesh_).y()
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user