Files
openfoam/applications/utilities/preProcessing/PDRsetFields/obstacles/ObstaclesDict
Mark Olesen a60fe9c7b0 ENH: PDRsetFields utility (#1216)
- the PDRsetFields utility processes a set of geometrical obstructions
  to determine the equivalent blockage effects.

  These fields are necessary inputs for PDRFoam calculations.

  After setting up the geometries, the -dry-run option can be used to
  generate a VTK file for diagnosis and post-processing purposes.

- this is an initial release, with improvements slated for the future.

NOTE
  - the field results may be less than fully reliable when run in
    single-precision. This howver does not represent a realistic
    restriction since the prepared fields target a combustion
    application which will invariably be double-precision.
2019-12-16 21:50:47 +01:00

180 lines
7.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object obstaclesDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
group1
{
positions
(
(0 0 0)
);
obstacles
(
box { point (0 0 0); span (0.05 0.05 2); porosity 0; }
box { point (1 0 0); span (0.05 0.05 2); porosity 0; }
box { point (1 0 0); span (0.05 0.05 2); porosity 0; }
box { point (2 0 0); span (0.05 0.05 2); porosity 0; }
box { point (3 0 0); span (0.05 0.05 2); porosity 0; }
box { point (0 1 0); span (0.05 0.05 2); porosity 0; }
box { point (1 1 0); span (0.05 0.05 2); porosity 0; }
box { point (2 1 0); span (0.05 0.05 2); porosity 0; }
box { point (3 1 0); span (0.05 0.05 2); porosity 0; }
box { point (0 2 0); span (0.05 0.05 2); porosity 0; }
box { point (1 2 0); span (0.05 0.05 2); porosity 0; }
box { point (2 2 0); span (0.05 0.05 2); porosity 0; }
box { point (3 2 0); span (0.05 0.05 2); porosity 0; }
box { point (0 3 0); span (0.05 0.05 2); porosity 0; }
box { point (1 3 0); span (0.05 0.05 2); porosity 0; }
box { point (2 3 0); span (0.05 0.05 2); porosity 0; }
box { point (3 3 0); span (0.05 0.05 2); porosity 0; }
box { point (0 0 0); span (0.05 3.05 0.05); }
box { point (1 0 0); span (0.05 3.05 0.05); }
box { point (2 0 0); span (0.05 3.05 0.05); }
box { point (3 0 0); span (0.05 3.05 0.05); }
box { point (0 0 1); span (0.05 3.05 0.05); }
box { point (1 0 1); span (0.05 3.05 0.05); }
box { point (2 0 1); span (0.05 3.05 0.05); }
box { point (3 0 1); span (0.05 3.05 0.05); }
box { point (0 0 2); span (0.05 3.05 0.05); }
box { point (1 0 2); span (0.05 3.05 0.05); }
box { point (2 0 2); span (0.05 3.05 0.05); }
box { point (3 0 2); span (0.05 3.05 0.05); }
box { point (0 0 0); span (3.05 0.05 0.05); }
box { point (0 1 0); span (3.05 0.05 0.05); }
box { point (0 2 0); span (3.05 0.05 0.05); }
box { point (0 3 0); span (3.05 0.05 0.05); }
box { point (0 0 1); span (3.05 0.05 0.05); }
box { point (0 1 1); span (3.05 0.05 0.05); }
box { point (0 2 1); span (3.05 0.05 0.05); }
box { point (0 3 1); span (3.05 0.05 0.05); }
box { point (0 0 2); span (3.05 0.05 0.05); }
box { point (0 1 2); span (3.05 0.05 0.05); }
box { point (0 2 2); span (3.05 0.05 0.05); }
box { point (0 3 2); span (3.05 0.05 0.05); }
patch { point (1 1 1); span (2 2 2); inlet x; outlet y; name xpatch; }
);
}
group11
{
positions
(
(0 0 0)
);
}
group14
{
positions
(
(0 0 0.15)
(0 0 0.45)
);
obstacles
(
box { point (0.05 0 1.05); span(0.006 3.05 0.05); }
box { point (0.997 0 1.05); span(0.006 3.05 0.05); }
box { point (1.05 0 1.05); span(0.006 3.05 0.05); }
box { point (1.997 0 1.05); span(0.006 3.05 0.05); }
box { point (2.05 0 1.05); span(0.006 3.05 0.05); }
box { point (2.997 0 1.05); span(0.006 3.05 0.05); }
cyl { point (0.05 0.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 0.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 0.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 0.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 1.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 1.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 1.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 1.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 2.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 2.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 2.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 2.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (0.05 3.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 0.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 0.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 0.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 0.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 1.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 1.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 1.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 1.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 2.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 2.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 2.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 2.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (1.05 3.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 0.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 0.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 0.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 0.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 1.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 1.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 1.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 1.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 2.025 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 2.275 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 2.525 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 2.775 1.075); length 0.947; diameter 0.026; direction x; }
cyl { point (2.05 3.025 1.075); length 0.947; diameter 0.026; direction x; }
);
}
group17
{
positions
(
(0 0 0)
(0 0 0.30)
);
}
group21
{
positions
(
(0 0 0)
);
}
group31
{
positions
(
(0 0 0)
);
}
group41
{
positions
(
(0 0 0)
);
}
// ************************************************************************* //