ThirdParty packages: modification for calling make another compiler than gcc
[openfoam-extend-OpenFOAM-1.6-ext.git] / applications / solvers / incompressible / nonNewtonianIcoFoam / createFields.H
blobef08e58c7d1805473bf89a95dc3d49d54b0dcfd2
1     Info<< "Reading field p\n" << endl;
2     volScalarField p
3     (
4         IOobject
5         (
6             "p",
7             runTime.timeName(),
8             mesh,
9             IOobject::MUST_READ,
10             IOobject::AUTO_WRITE
11         ),
12         mesh
13     );
16     Info<< "Reading field U\n" << endl;
17     volVectorField U
18     (
19         IOobject
20         (
21             "U",
22             runTime.timeName(),
23             mesh,
24             IOobject::MUST_READ,
25             IOobject::AUTO_WRITE
26         ),
27         mesh
28     );
31 #   include "createPhi.H"
34     singlePhaseTransportModel fluid(U, phi);
37     label pRefCell = 0;
38     scalar pRefValue = 0.0;
39     setRefCell(p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue);