The FOAM file format has not changed from version 2.0 in many years and so there is no longer a need for the 'version' entry in the FoamFile header to be required and to reduce unnecessary clutter it is now optional, defaulting to the current file format 2.0.
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object selectCellsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Whether to use surface. If false no surface will be read and only
|
|
// outsidePoints/selectOutside will be used to determine cells to keep.
|
|
useSurface false;
|
|
|
|
// Surface to keep to
|
|
surface "plexi.obj";
|
|
|
|
// What is outside
|
|
outsidePoints ((-1 -1 -1));
|
|
|
|
//
|
|
// Selection of final set
|
|
//
|
|
|
|
// Select based on side of surface. Usually select inside cells and project
|
|
// outwards or select outside cells and project inwards.
|
|
selectCut false;
|
|
selectInside false;
|
|
selectOutside true;
|
|
// Leave out cell closer than nearDistance to the surface. Usually
|
|
// 0.5*of the cell size. Set to <0 to disable.
|
|
nearDistance -1;
|
|
|
|
// ************************************************************************* //
|