MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
UEqn.H
Go to the documentation of this file.
1
11
volTensorField gradU = fvc::grad(U);
13
fvVectorMatrix UEqn
14
(
15
fvm::ddt(rho, U)
16
+ fvm::div(rhoPhi, U)
17
- fvm::laplacian(muMixture, U)
18
// - (fvc::grad(U) & fvc::grad(muMixture))
19
);
20
21
UEqn.relax();
22
23
if
(pimple.momentumPredictor())
24
{
25
solve
26
(
27
UEqn
28
==
29
fvc::reconstruct
30
(
31
(
32
fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
33
- ghf*fvc::snGrad(rho)
34
- fvc::snGrad(p_rgh)
35
) * mesh.magSf()
36
)
37
);
38
39
K = 0.5*magSqr(U);
40
}
41
///@endcond
applications
PUfoam
MoDeNaModels
CFD_tool_3D
src
UEqn.H
Generated on Fri Jan 13 2017 16:47:18 for MoDeNa by
1.8.13