Moving cfMesh into place. Updated contibutors list
[foam-extend-3.2.git] / applications / solvers / heatTransfer / boussinesqBuoyantFoam / readTransportProperties.H
blob571a66ee07ff2a7c633d6e0bf7299cd3b45deaf5
1     Info<< "Reading transportProperties\n" << endl;
3     IOdictionary transportProperties
4     (
5         IOobject
6         (
7             "transportProperties",
8             runTime.constant(),
9             mesh,
10             IOobject::MUST_READ,
11             IOobject::NO_WRITE
12         )
13     );
15     dimensionedScalar rho0
16     (
17         transportProperties.lookup("rho0")
18     );
20     dimensionedScalar T0
21     (
22         transportProperties.lookup("T0")
23     );
25     dimensionedScalar nu
26     (
27         dimensionedScalar(transportProperties.lookup("mu"))/rho0
28     );
30     dimensionedScalar DT
31     (
32         dimensionedScalar(transportProperties.lookup("k"))/
33         (rho0*dimensionedScalar(transportProperties.lookup("Cp")))
34     );
36     dimensionedScalar beta
37     (
38         transportProperties.lookup("beta")
39     );