|
[Sponsors] |
February 20, 2014, 17:33 |
question about createMesh.H
|
#1 |
Senior Member
Join Date: Nov 2009
Location: Michigan
Posts: 135
Rep Power: 16 |
In file createMesh.H, an instance 'mesh' of type 'fvMesh' is created
Code:
Foam::fvMesh mesh ( Foam::IOobject ( Foam::fvMesh::defaultRegion, runTime.timeName(), runTime, Foam::IOobject::MUST_READ ) ); Code:
explicit fvMesh(const IOobject& io); I found following information about 'defaultRegion' in polyMesh.H and polyMesh.C Code:
//- Return the default region name static word defaultRegion; Code:
namespace Foam { defineTypeNameAndDebug(polyMesh, 0); word polyMesh::defaultRegion = "region0"; word polyMesh::meshSubDir = "polyMesh"; } Code:
const Foam::fileName& Foam::polyMesh::dbDir() const { if (objectRegistry::dbDir() == defaultRegion) { return parent().dbDir(); } else { return objectRegistry::dbDir(); } } |
|
June 13, 2016, 04:34 |
Sorry to write below this post
|
#2 |
Member
Akr
Join Date: Apr 2015
Location: India
Posts: 53
Rep Power: 11 |
I too have the same doubt regarding createMesh.H
What does defaultRegion refer to? Any suggestions? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
small question about the functionalities of topological changes in OpenFoam | ngj | OpenFOAM Running, Solving & CFD | 2 | February 28, 2013 10:02 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 13:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 15:26 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 04:37 |
Philosophical CFD question | Richard Howe | Main CFD Forum | 14 | June 17, 2001 14:41 |