70 lines
1.6 KiB
C++
70 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2506 |
|
|
| \\ / 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;
|
|
|
|
// Here or in PDRfitMeshDict. Largely pass-through to PDRblockMesh
|
|
|
|
// Copy for PDRblockMeshDict
|
|
outer
|
|
{
|
|
type sphere;
|
|
onGround true;
|
|
expansion relative;
|
|
|
|
ratios 1.1;
|
|
|
|
size 3;
|
|
nCells 10;
|
|
|
|
// For PDRfitMesh only:
|
|
zmin 0;
|
|
}
|
|
|
|
|
|
// ------------------
|
|
// Advanced
|
|
// ------------------
|
|
|
|
// Change some predefined patch names
|
|
patchNames
|
|
{
|
|
ground ground;
|
|
outer outer;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|