COMP: avoid ambiguous construct from tmp - solvers/ incompressible

This commit is contained in:
Mark Olesen
2010-12-21 09:51:32 +01:00
parent 1cd5659c45
commit fc2aeba9fc
15 changed files with 34 additions and 27 deletions

View File

@ -73,7 +73,7 @@ int main(int argc, char *argv[])
solve(UEqn() == -fvc::grad(p));
p.boundaryField().updateCoeffs();
volScalarField rAU = 1.0/UEqn().A();
volScalarField rAU(1.0/UEqn().A());
U = rAU*UEqn().H();
UEqn.clear();