MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
checkGellingPoint.H
Go to the documentation of this file.
1
12
scalar foamCellCounter = 0.0;
14
scalar gelCellCounter = 0.0;
15
16
forAll(mesh.C(), celli)
17
{
18
if
(alpha2[celli] > 0.5)
19
{
20
foamCellCounter += 1;
21
}
22
if
(XOH[celli] >= XOH_Gel)
23
{
24
gelCellCounter += 1;
25
}
26
}
27
if
((gelCellCounter/foamCellCounter) > 0.5)
28
{
29
gellingPoint =
true
;
30
}
31
else
32
{
33
gellingPoint =
false
;
34
}
35
///@endcond
applications
PUfoam
MoDeNaModels
CFD_tool_3D
src
checkGellingPoint.H
Generated on Fri Jan 13 2017 16:47:18 for MoDeNa by
1.8.13