- for example, defaultFieldValues ( areaScalarFieldValue h 0.00014 ); regions ( clipPlaneToFace { point (0 0 0); normal (1 0 0); fieldValues ( areaScalarFieldValue h 0.00015 ); } ); ENH: additional clipPlaneTo{Cell,Face,Point} topo sets - less cumbersome than defining a semi-infinite bounding box
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2206 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object setFieldsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
defaultFieldValues
|
|
(
|
|
volScalarFieldValue alpha.air 1
|
|
volScalarFieldValue alpha.particles 0
|
|
// areaScalarFieldValue h 1e-3
|
|
);
|
|
|
|
regions
|
|
(
|
|
boxToCell
|
|
{
|
|
box (0 0 -0.1) (0.15 0.5 0.1);
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha.air 0.45
|
|
volScalarFieldValue alpha.particles 0.55
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|