MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
conversionCheck.H
Go to the documentation of this file.
1
6
forAll(mesh.C(), celli)
8
{
9
if
(XW[celli] < 0.0 || XOH[celli] > XOH_Gel || XW[celli] > 1.0)
10
{
11
XW[celli] = ROOTVSMALL;
12
}
13
if
(XOH[celli] < 0.0 || XOH[celli] > 1.0)
14
{
15
XOH[celli] = ROOTVSMALL;
16
}
17
if
(alpha2[celli] < 0.5)
18
{
19
XOH[celli] = ROOTVSMALL;
20
XW[celli] = ROOTVSMALL;
21
}
22
if
(XOH[celli] > XOH_Gel)
23
{
24
XOH[celli] = XOH_Gel;
25
}
26
}
27
///@endcond
applications
PUfoam
MoDeNaModels
CFD_tool_3D
src
conversionCheck.H
Generated on Fri Jan 13 2017 16:47:18 for MoDeNa by
1.8.13