Commit d7912675 authored by Stefan's avatar Stefan
Browse files

enforce stressFormulation for RANSktau

parent ecf4e39e
......@@ -93,7 +93,6 @@ occa::memory pressureSolve(nrs_t* nrs, dfloat time)
nrs->o_div,
nrs->o_wrk0);
//if (nrs->options.compareArgs("VARIABLE VISCOSITY", "TRUE"))
if(nrs->options.compareArgs("STRESSFORMULATION", "TRUE"))
nrs->pressureStressKernel(
mesh->Nelements,
......
......@@ -83,7 +83,7 @@ void RANSktau::buildKernel(nrs_t* nrs)
if(mesh->rank == 0) cout << "RANSktau: Nscalar needs to be >= 2!\n";
ABORT(1);
}
nrs->options.setArgs("VARIABLE VISCOSITY", "TRUE");
nrs->options.setArgs("STRESSFORMULATION", "TRUE");
}
void RANSktau::updateProperties()
......
Markdown is supported
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