UEqnRhoSimpleC.H
Go to the documentation of this file.
1 // Solve the Momentum equation
2 
3 tmp<fvVectorMatrix> tUEqn(
4  fvm::div(phi, U)
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 DAUtility::primalResidualControl(solverU, printToScreen_, "U", daGlobalVarPtr_->primalMaxRes);
15 
16 // bound U
17 DAUtility::boundVar(allOptions, U, printToScreen_);
U
volVectorField & U
Definition: createRefsPimpleDyM.H:7
solve
nuTilda1Eqn solve(solverDictNuTilda)
UEqn
fvVectorMatrix & UEqn
Definition: UEqnRhoSimpleC.H:6
tUEqn
tmp< fvVectorMatrix > tUEqn(fvm::div(phi, U)+turbulencePtr_->divDevRhoReff(U))
p
volScalarField & p
Definition: createRefsPimpleDyM.H:6
phi
surfaceScalarField & phi
Definition: createRefsPimpleDyM.H:8
allOptions
const dictionary & allOptions
Definition: createRefsPimpleDyM.H:14
solverU
SolverPerformance< vector > solverU
Definition: UEqnRhoSimpleC.H:12