/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
(
    volScalarFieldValue porosityIndex 0
);

regions
(
    surfaceToCell
    {
	file            "<constant>/triSurface/ibCylinder.stl";
        outsidePoints   ((0 -1 0));
        includeCut      false;
        includeInside   true;
        includeOutside  false;
        nearDistance    0.01;
	scale 		1.0;
        curvature       -100;
	useSurfaceOrientation true;
        fieldValues
        (
            volScalarFieldValue porosityIndex 1
        );
    }
);

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