Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / compressible / sonicDyMFoam / readFieldBounds.H
blob9628254e38cb13b301dba68b0eb477f1dee181d3
1     // Read field bounds
2     dictionary fieldBounds = mesh.solutionDict().subDict("fieldBounds");
4     // Pressure bounds
5     dimensionedScalar pMin("pMin", dimPressure, 0);
6     dimensionedScalar pMax("pMax", dimPressure, GREAT);
8     fieldBounds.lookup("p") >> pMin.value() >> pMax.value();
10     // Temperature bounds
11     dimensionedScalar TMin("TMin", dimTemperature, 0);
12     dimensionedScalar TMax("TMax", dimTemperature, GREAT);
14     fieldBounds.lookup("T") >> TMin.value() >> TMax.value();
16     // Velocity bound
17     dimensionedScalar UMax("UMax", dimVelocity, GREAT);
19     fieldBounds.lookup(U.name()) >> UMax.value();
20     dimensionedScalar smallU("smallU", dimVelocity, 1e-10);