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

12 lines
169 B
C
Raw Normal View History

// Momentum equation
2015-10-29 09:43:53 +00:00
tmp<fvVectorMatrix> UEqn
(
2015-04-07 12:54:25 +00:00
fvm::ddt(U)
+ fvm::div(phi, U)
+ turbulence->divDevReff(U)
);
2015-10-29 09:43:53 +00:00
UEqn().relax();
2015-10-29 09:43:53 +00:00
UpEqn.insertEquation(0, UEqn());