FreeFOAM The Cross-Platform CFD Toolkit
UEqn.H
Go to the documentation of this file.
2  (
3  "muEff",
6  );
7 
9  (
10  fvm::ddt(rho, U)
11  + fvm::div(rhoPhi, U)
13  - (fvc::grad(U) & fvc::grad(muEff))
14  //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf()))
15  );
16 
17  if (finalIter)
18  {
19  UEqn.relax(1);
20  }
21  else
22  {
23  UEqn.relax();
24  }
25 
27  {
28  solve
29  (
30  UEqn
31  ==
33  (
34  (
37  ) * mesh.magSf()
38  ),
39  mesh.solver(U.select(finalIter))
40  );
41  }
42 
43 // ************************ vim: set sw=4 sts=4 et: ************************ //