/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.3 | | \\ / A nd | Web: http://www.openfoam.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue alpha.water 0 volScalarFieldValue porosityIndex 0 ); regions ( boxToCell { box (-200 -100 -100) (100 100 4.5); fieldValues ( volScalarFieldValue alpha.water 1 ); } surfaceToCell { file "./constant/triSurface/poro.stl"; outsidePoints ((-100 0 0)); // definition of outside includeCut true; // cells cut by surface includeInside true; // cells not on outside of surf includeOutside false; // cells on outside of surf nearDistance -1; // cells with centre near surf // (set to -1 if not used) curvature -100; // cells within nearDistance // and near surf curvature // (set to -100 if not used) fieldValues ( volScalarFieldValue porosityIndex 1 ); } );