Initial commit of NavalHydro package from Wikki to the ShipHydroSIG
[ShipHydroSIG.git] / src / navalFoam / readControls.H
blob5d42e764000c4b7feb4b8ee64e1dc247655f7546
1 #   include "readTimeControls.H"
2 #   include "readPIMPLEControls.H"
4     bool implicitAlpha = true;
5     if (pimple.found("implicitAlpha"))
6     {
7         implicitAlpha = Switch(pimple.lookup("implicitAlpha"));
8     }
10     bool implicitP = true;
11     if (pimple.found("implicitP"))
12     {
13         implicitP = Switch(pimple.lookup("implicitP"));
14     }
16     bool correctPhi = false;
17     if (pimple.found("correctPhi"))
18     {
19         correctPhi = Switch(pimple.lookup("correctPhi"));
20     }
22     bool checkMeshCourantNo = false;
23     if (pimple.found("checkMeshCourantNo"))
24     {
25         checkMeshCourantNo = Switch(pimple.lookup("checkMeshCourantNo"));
26     }
28     scalar startMotionTime(readScalar(pimple.lookup("startMotionTime")));