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
Removed unneeded lib dependency from mdInitialise
[foam-extend-3.2.git]
/
applications
/
solvers
/
incompressible
/
channelFoam
/
writeGradP.H
blob
c82dd534740b6c8db6258f572768b5c081a7e735
1
if (runTime.outputTime())
2
{
3
OFstream gradPFile
4
(
5
runTime.path()/runTime.timeName()/"uniform"/"gradP.raw"
6
);
7
8
if(gradPFile.good())
9
{
10
gradPFile << gradP << endl;
11
}
12
else
13
{
14
FatalErrorIn(args.executable())
15
<< "Cannot open file "
16
<< runTime.path()/runTime.timeName()/"uniform"/"gradP.raw"
17
<< exit(FatalError);
18
};
19
};