openfoam/tutorials/multiphase/compressibleInterIsoFoam/laminar/depthCharge2D/system/setAlphaFieldDict
2024-06-24 09:58:36 +01:00

41 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2406 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
field alpha.water;
type composedFunction;
mode subtract;
composedFunction
{
plane
{
type plane;
origin (0 1. 0);
normal (0 -1 0);
}
sphere
{
type cylinder;
radius 0.1;
origin (0.5 0.5 0);
direction (0 0 1);
scale -1;
}
}
// ************************************************************************* //