repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
incompressible
/
channelFoam
/
createGradP.H
blob
643509c46f980f765062daba334d7343792081ac
1
dimensionedScalar gradP
2
(
3
"gradP",
4
dimensionSet(0, 1, -2, 0, 0),
5
0.0
6
);
7
8
9
IFstream gradPFile
10
(
11
runTime.path()/runTime.timeName()/"uniform"/"gradP.raw"
12
);
13
14
if (gradPFile.good())
15
{
16
gradPFile >> gradP;
17
Info<< "Reading average pressure gradient" <<endl
18
<< endl;
19
}
20
else
21
{
22
Info<< "Initializing with 0 pressure gradient" <<endl
23
<< endl;
24
};