repo.or.cz
/
OpenFOAM-1.5.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
intersection with triangle plane for miss
[OpenFOAM-1.5.x.git]
/
applications
/
solvers
/
stressAnalysis
/
solidEquilibriumDisplacementFoam
/
calculateStress.H
blob
b7f35e10e80e0861a3b0810007a3ff8f3dacb503
1
if (runTime.outputTime())
2
{
3
volSymmTensorField sigma
4
(
5
IOobject
6
(
7
"sigma",
8
runTime.timeName(),
9
mesh,
10
IOobject::NO_READ,
11
IOobject::AUTO_WRITE
12
),
13
rho*sigmaD
14
);
15
16
volScalarField sigmaEq
17
(
18
IOobject
19
(
20
"sigmaEq",
21
runTime.timeName(),
22
mesh,
23
IOobject::NO_READ,
24
IOobject::AUTO_WRITE
25
),
26
sqrt((3.0/2.0)*magSqr(dev(sigma)))
27
);
28
29
Info<< "Max sigmaEq = " << max(sigmaEq).value()
30
<< endl;
31
32
runTime.write();
33
}