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

64 lines
2 KiB
Text
Raw 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
volVectorFieldValue U (0 0 0)
2022-03-28 10:15:36 +02:00
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
);
}
boxToCell
{
2022-04-12 10:39:11 +02:00
box (-110 -100 0) (-100 100 1);
fieldValues
(
volVectorFieldValue U (1 0 0)
);
}
2022-03-28 10:15:36 +02:00
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
);
}
);