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

createSolidMeshes.H

Go to the documentation of this file.
00001     PtrList<fvMesh> solidRegions(rp.solidRegionNames().size());
00002 
00003     forAll(rp.solidRegionNames(), i)
00004     {
00005         Info<< "Create solid mesh for region " << rp.solidRegionNames()[i]
00006             << " for time = " << runTime.timeName() << nl << endl;
00007 
00008         solidRegions.set
00009         (
00010             i,
00011             new fvMesh
00012             (
00013                 IOobject
00014                 (
00015                     rp.solidRegionNames()[i],
00016                     runTime.timeName(),
00017                     runTime,
00018                     IOobject::MUST_READ
00019                 )
00020             )
00021         );
00022 
00023         // Force calculation of geometric properties to prevent it being done
00024         // later in e.g. some boundary evaluation
00025         //(void)solidRegions[i].weights();
00026         //(void)solidRegions[i].deltaCoeffs();
00027     }
00028 
00029 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines