1
Fork 0
internship/olaflow/of/system/setFieldsDict

54 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2022-03-28 10:15:36 +02:00
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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
{
2022-03-28 10:27:38 +02:00
box (-200 -100 -100) (100 100 4.5);
2022-03-28 10:15:36 +02:00
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
surfaceToCell
{
2022-03-28 10:27:38 +02:00
file "./constant/triSurface/poro.stl";
outsidePoints ((-100 0 0)); // definition of outside
2022-03-28 10:15:36 +02:00
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
);
}
);