mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: avoid ambiguous construct from tmp - solvers/ DNS
This commit is contained in:
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
for (int corr=1; corr<=1; corr++)
|
for (int corr=1; corr<=1; corr++)
|
||||||
{
|
{
|
||||||
volScalarField rAU = 1.0/UEqn.A();
|
volScalarField rAU(1.0/UEqn.A());
|
||||||
|
|
||||||
U = rAU*UEqn.H();
|
U = rAU*UEqn.H();
|
||||||
phi = (fvc::interpolate(U) & mesh.Sf())
|
phi = (fvc::interpolate(U) & mesh.Sf())
|
||||||
|
|||||||
@ -12,8 +12,10 @@
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
volVectorField force =
|
volVectorField force
|
||||||
U/dimensionedScalar("dt", dimTime, runTime.deltaTValue());
|
(
|
||||||
|
U/dimensionedScalar("dt", dimTime, runTime.deltaTValue())
|
||||||
|
);
|
||||||
|
|
||||||
Kmesh K(mesh);
|
Kmesh K(mesh);
|
||||||
UOprocess forceGen(K, runTime.deltaTValue(), turbulenceProperties);
|
UOprocess forceGen(K, runTime.deltaTValue(), turbulenceProperties);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
if (runTime.outputTime())
|
if (runTime.outputTime())
|
||||||
{
|
{
|
||||||
volVectorField gradT = fvc::grad(T);
|
volVectorField gradT(fvc::grad(T));
|
||||||
|
|
||||||
volScalarField gradTx
|
volScalarField gradTx
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user