UEqnRhoSimpleC.H
Go to the documentation of this file.
1 // Solve the Momentum equation
2 
3 tmp<fvVectorMatrix> tUEqn(
4  fvm::div(phi, U, divUScheme)
5  + turbulencePtr_->divDevRhoReff(U));
6 fvVectorMatrix& UEqn = tUEqn.ref();
7 
8 UEqn.relax();
9 
10 // get the solver performance info such as initial
11 // and final residuals
12 SolverPerformance<vector> solverU = solve(UEqn == -fvc::grad(p));
13 
14 this->primalResidualControl<vector>(solverU, printToScreen, printInterval, "U");
15 
16 // bound U
17 DAUtility::boundVar(allOptions, U, printToScreen);
allOptions
const dictionary & allOptions
Definition: createRefsRhoSimpleC.H:15
U
U
Definition: pEqnPimpleDyM.H:60
UEqn
fvVectorMatrix & UEqn
Definition: UEqnRhoSimpleC.H:6
p
volScalarField & p
Definition: createRefsPimple.H:6
phi
surfaceScalarField & phi
Definition: createRefsPimple.H:8
primalResidualControl< vector >
this primalResidualControl< vector >(solverU, printToScreen, printInterval, "U")
solve
pseudoPEqn solve(solverDictP_)
solverU
SolverPerformance< vector > solverU
Definition: UEqnRhoSimpleC.H:12
tUEqn
tmp< fvVectorMatrix > tUEqn(fvm::div(phi, U, divUScheme)+turbulencePtr_->divDevRhoReff(U))