This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/coupled/pUCoupledFoam/UEqn.H
Hrvoje Jasak 1dd4632e20 Clean-up
2017-11-18 12:22:59 +00:00

15 lines
268 B
C

{
// Momentum equation
fvVectorMatrix UEqn
(
fvm::div(phi, U)
+ turbulence->divDevReff()
);
rAU = 1.0/UEqn.A();
// Under-relax momentum. Note this will destroy the H and A
UEqn.relax();
UpEqn.insertEquation(0, UEqn);
}