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
Remove trailing whitespace systematically
[foam-extend-3.2.git]
/
applications
/
solvers
/
solidMechanics
/
elasticNonLinTLSolidFoam
/
calculateEpsilonSigma.H
blob
50c9ecab96d6aea699db0e943f5c4b88a94dbf99
1
//- Green finite strain tensor
2
epsilon = symm(gradU) + 0.5*symm(gradU & gradU.T());
3
4
//- second Piola-Kirchhoff stress tensor
5
sigma = 2*mu*epsilon + lambda*(I*tr(epsilon));