Commit 7b5bff1a authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: avoid ambiguous construct from tmp - solvers/ DNS

parent 43ec00e5
......@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
for (int corr=1; corr<=1; corr++)
{
volScalarField rAU = 1.0/UEqn.A();
volScalarField rAU(1.0/UEqn.A());
U = rAU*UEqn.H();
phi = (fvc::interpolate(U) & mesh.Sf())
......
......@@ -12,8 +12,10 @@
)
);
volVectorField force =
U/dimensionedScalar("dt", dimTime, runTime.deltaTValue());
volVectorField force
(
U/dimensionedScalar("dt", dimTime, runTime.deltaTValue())
);
Kmesh K(mesh);
UOprocess forceGen(K, runTime.deltaTValue(), turbulenceProperties);
if (runTime.outputTime())
{
volVectorField gradT = fvc::grad(T);
volVectorField gradT(fvc::grad(T));
volScalarField gradTx
(
......
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