openfoam/tutorials/preProcessing/PDRsetFields/simplePipeCage/system/PDRsetFieldsDict
Mark Olesen 7f17a71f9c ENH: make PDRsetField ground, outer patch names configurable
- previously hard-coded, now adjustable within PDRsetFieldsDict

    // Change some predefined patch names
    patchNames
    {
        ground      ground;
        outer       outer;
    }

ENH: additions to PDRutils, improve comments

- expose enumerated expansion names and gridControl (PDRblock).
  Not commonly needed, but useful to have access when defining
  other grid generators

TUT: update PDRsetFieldsDict and tutorials to use "ground"

- remove tutorial references to unused types and legacy obstacles

- use "ground" for the boundary conditions instead of "seaGround".
  Consistent with PDRblockMesh
2020-12-17 01:23:31 +01:00

52 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object PDRsetFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Data dictionary for PDRsetFields
// Replace by the relevant names
obsFileDir "<case>/geometry";
obsFileNames (obstaclesDict);
// ------------------
// PDRfitMesh
// ------------------
// Some parameters for PDRfitMesh are read from this file,
// including the following
// Mandatory (here or in PDRfitMeshDict)
cellWidth 0.22;
// Optional
cellWidthFactor 1.0;
// ------------------
// Advanced
// ------------------
// Change some predefined patch names
patchNames
{
ground ground;
outer outer;
}
// ************************************************************************* //