UEqnPiso.H
Go to the documentation of this file.
1 // Solve the Momentum equation
2 
3 if (hasFvSource_)
4 {
5  // update the actuator source term
6  daFvSourcePtr_->calcFvSource(fvSource);
7 }
8 
9 fvVectorMatrix UEqn(
10  fvm::ddt(U)
11  + fvm::div(phi, U)
12  + turbulencePtr_->divDevReff(U)
13  - fvSource);
14 
15 UEqn.relax();
16 
17 if (piso.momentumPredictor())
18 {
19  // get the solver performance info such as initial
20  // and final residuals
21  SolverPerformance<vector> solverU = solve(UEqn == -fvc::grad(p));
22 
23  this->primalResidualControl<vector>(solverU, printToScreen, printInterval, "U");
24 }
U
U
Definition: pEqnPimpleDyM.H:60
UEqn
fvVectorMatrix UEqn(fvm::ddt(U)+fvm::div(phi, U)+turbulencePtr_->divDevReff(U) - fvSource)
fvSource
volScalarField & fvSource
Definition: createRefsHeatTransfer.H:7
piso
pisoControl & piso
Definition: createRefsPiso.H:5
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