Loading [MathJax]/extensions/TeX/AMSsymbols.js
MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
Main Page
Related Pages
Modules
+
Packages
Packages
+
Package Functions
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
Functions/Subroutines
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Data Types List
Data Types List
Data Types
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
e
f
g
i
l
m
n
o
p
s
t
u
v
w
+
Functions/Subroutines
_
a
b
c
e
f
g
i
l
m
n
o
p
t
u
v
w
Variables
+
Files
File List
+
Globals
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
+
Functions/Subroutines
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
+
Variables
a
b
c
d
e
i
k
l
m
n
o
p
r
s
t
w
x
Typedefs
Macros
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Macros
Modules
Pages
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