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
/
icoFsiElasticNonLinULSolidFoam
/
calculateStress.H
blob
e028a5572a73831bb1ea4f978d49914d8b308200
1
if (runTime.outputTime())
2
{
3
volScalarField sigmaEq
4
(
5
IOobject
6
(
7
"sigmaEq",
8
runTime.timeName(),
9
stressMesh,
10
IOobject::NO_READ,
11
IOobject::AUTO_WRITE
12
),
13
sqrt((3.0/2.0)*magSqr(dev(sigma)))
14
);
15
16
Info<< "Max sigmaEq = " << max(sigmaEq).value()
17
<< endl;
18
19
runTime.write();
20
}
21