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
/
deprecatedSolvers
/
newStressedFoam
/
createFields.H
blob
2801d4b991f994a36a3861a2358f492ce5734d66
1
Info<< "Reading field U\n" << endl;
2
volVectorField U
3
(
4
IOobject
5
(
6
"U",
7
runTime.timeName(),
8
mesh,
9
IOobject::MUST_READ,
10
IOobject::AUTO_WRITE
11
),
12
mesh
13
);
14
15
volSymmTensorField sigma
16
(
17
IOobject
18
(
19
"sigma",
20
runTime.timeName(),
21
mesh,
22
IOobject::READ_IF_PRESENT,
23
IOobject::AUTO_WRITE
24
),
25
mesh,
26
dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
27
);
28
29
rheologyModel rheology(sigma);