multiphase (VoF): Added support for general turbulence models

Required the addition of the divDevRhoR function to all incompressible turbulence models
This commit is contained in:
Henry
2012-07-27 14:56:01 +01:00
parent ccba34694d
commit 1464c4ff5c
91 changed files with 774 additions and 146 deletions

View File

@ -66,14 +66,14 @@ Foam::tmp<Foam::volSymmTensorField> Foam::forces::devRhoReff() const
const compressible::LESModel& les =
obr_.lookupObject<compressible::LESModel>("LESProperties");
return les.devRhoBeff();
return les.devRhoReff();
}
else if (obr_.foundObject<incompressible::LESModel>("LESProperties"))
{
const incompressible::LESModel& les
= obr_.lookupObject<incompressible::LESModel>("LESProperties");
return rho()*les.devBeff();
return rho()*les.devReff();
}
else if (obr_.foundObject<basicThermo>("thermophysicalProperties"))
{