FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

createFields.H

Go to the documentation of this file.
00001     Info<< "Reading field T\n" << endl;
00002 
00003     volScalarField T
00004     (
00005         IOobject
00006         (
00007             "T",
00008             runTime.timeName(),
00009             mesh,
00010             IOobject::MUST_READ,
00011             IOobject::AUTO_WRITE
00012         ),
00013         mesh
00014     );
00015 
00016 
00017     Info<< "Reading field U\n" << endl;
00018 
00019     volVectorField U
00020     (
00021         IOobject
00022         (
00023             "U",
00024             runTime.timeName(),
00025             mesh,
00026             IOobject::MUST_READ,
00027             IOobject::AUTO_WRITE
00028         ),
00029         mesh
00030     );
00031 
00032 
00033     Info<< "Reading transportProperties\n" << endl;
00034 
00035     IOdictionary transportProperties
00036     (
00037         IOobject
00038         (
00039             "transportProperties",
00040             runTime.constant(),
00041             mesh,
00042             IOobject::MUST_READ,
00043             IOobject::NO_WRITE
00044         )
00045     );
00046 
00047 
00048     Info<< "Reading diffusivity D\n" << endl;
00049 
00050     dimensionedScalar DT
00051     (
00052         transportProperties.lookup("DT")
00053     );
00054 
00055 #   include <finiteVolume/createPhi.H>
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines