Go to the documentation of this file.00001 dimensionedScalar gradP
00002 (
00003 "gradP",
00004 dimensionSet(0, 1, -2, 0, 0),
00005 0.0
00006 );
00007
00008
00009 IFstream gradPFile
00010 (
00011 runTime.path()/runTime.timeName()/"uniform"/"gradP.raw"
00012 );
00013
00014 if(gradPFile.good())
00015 {
00016 gradPFile >> gradP;
00017 Info<< "Reading average pressure gradient" <<endl
00018 << endl;
00019 }
00020 else
00021 {
00022 Info<< "Initializing with 0 pressure gradient" <<endl
00023 << endl;
00024 };
00025
00026