PDRMesh

From OpenFOAMWiki
Revision as of 19:24, 24 September 2012 by Fcollonv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Name

PDRMesh - Mesh and field preparation utility for PDR (porosity/distributed resistance) type simulations.

Valid versions: OF Version 21.png

2 Synopsis

PDRMesh [OPTIONS]

3 Description

Mesh and field preparation utility for PDR (porosity/distributed resistance) type simulations. The parameters must be specified in system/PDFMeshDict. The example shipped with the source code (in $FOAM_UTILITIES/mesh/advanced/PDRMesh/PDRMeshDict) is reproduced below.

-overwrite

Overwrite the existing mesh files

-parallel

Run the utility in parallel

-roots "(DIR1 [...DIRN])"

Directories through which the data are distributed

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit

This utility is used in the following tutorials:

  • combustion/PDRFoam/flamePropagationWithObstacles

4 PDFMeshDict description

FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      PDRMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

//- Per faceSet the patch the faces should go into blocked baffles
blockedFaces ((blockedFacesSet blockedFaces));

//- Per faceSet the patch the faces should go into coupled baffles
coupledFaces
{
    coupledFacesSet
    {   
        wallPatchName               baffleWall;
        cyclicMasterPatchName       baffleCyclic_half0;
    }   
}

//- Name of cellSet that holds the cells to fully remove
blockedCells blockedCellsSet;

//- All exposed faces that are not specified in blockedFaces go into
//  this patch
defaultPatch outer;

// ************************************************************************* //