Removed unnecessary return statement
[foam-extend-3.2.git] / applications / solvers / incompressible / channelFoam / readTransportProperties.H
blob87c93c9195880f243c7ac035020345c283fd2450
1     Info<< "\nReading transportProperties\n" << endl;
2     IOdictionary transportProperties
3     (
4         IOobject
5         (
6             "transportProperties",
7             runTime.constant(),
8             mesh,
9             IOobject::MUST_READ,
10             IOobject::NO_WRITE,
11             false
12         )
13     );
16     dimensionedScalar nu
17     (
18         transportProperties.lookup("nu")
19     );
22     //  Read centerline velocity for channel simulations
23     dimensionedVector Ubar
24     (
25         transportProperties.lookup("Ubar")
26     );
28     dimensionedScalar magUbar = mag(Ubar);
29     vector flowDirection = (Ubar/magUbar).value();