BUG: mantis #1365: switched to using wall reflection to calculate wall normals, and added caching of the wall values

This commit is contained in:
william
2014-08-14 12:45:57 +01:00
committed by Andrew Heather
parent 8cc4cab322
commit 4b30be42ff
13 changed files with 257 additions and 48 deletions

View File

@ -32,7 +32,6 @@ License
#include "liftModel.H"
#include "wallLubricationModel.H"
#include "turbulentDispersionModel.H"
#include "wallDist.H"
#include "fvMatrix.H"
#include "surfaceInterpolate.H"
#include "MULES.H"
@ -110,17 +109,6 @@ Foam::twoPhaseSystem::twoPhaseSystem
),
mesh,
dimensionedScalar("dgdt", dimless/dimTime, 0)
),
yWall_
(
IOobject
(
"yWall",
mesh.time().timeName(),
mesh
),
wallDist(mesh).y()
)
{
phase2_.volScalarField::operator=(scalar(1) - phase1_);