repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git]
/
applications
/
solvers
/
solidMechanics
/
elasticPlasticSolidFoam
/
calculatePlasticResidual.H
blob
6ac73b35b70646a56fabf8213888386da0945750
1
{
2
scalar magDEp = gMax(mag(DEpsilonP.internalField()));
3
4
if (magDEp < SMALL)
5
{
6
magDEp = SMALL;
7
}
8
9
plasticResidual =
10
gMax
11
(
12
mag
13
(
14
DEpsilonP.internalField()
15
- DEpsilonP.prevIter().internalField()
16
)
17
/magDEp
18
);
19
}