Skip to content
Snippets Groups Projects
Commit e5f5ccf3 authored by Henry's avatar Henry
Browse files

TurbulenceModels: Do not register temporaries

parent ca11efa3
Branches
Tags
No related merge requests found
......@@ -94,7 +94,8 @@ Foam::eddyViscosity<BasicTurbulenceModel>::R() const
this->runTime_.timeName(),
this->mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
((2.0/3.0)*I)*tk() - (nut_)*dev(twoSymm(fvc::grad(this->U_))),
tk().boundaryField().types()
......
......@@ -120,7 +120,8 @@ Foam::laminar<BasicTurbulenceModel>::nut() const
this->runTime_.timeName(),
this->mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
this->mesh_,
dimensionedScalar("nut", dimViscosity, 0.0)
......@@ -182,7 +183,8 @@ Foam::laminar<BasicTurbulenceModel>::k() const
this->runTime_.timeName(),
this->mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
this->mesh_,
dimensionedScalar("k", sqr(this->U_.dimensions()), 0.0)
......@@ -205,7 +207,8 @@ Foam::laminar<BasicTurbulenceModel>::epsilon() const
this->runTime_.timeName(),
this->mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
this->mesh_,
dimensionedScalar
......@@ -231,7 +234,8 @@ Foam::laminar<BasicTurbulenceModel>::R() const
this->runTime_.timeName(),
this->mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
this->mesh_,
dimensionedSymmTensor
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment