openfoam/applications/utilities/preProcessing/setAlphaField/setAlphaFieldDict
2024-12-24 11:17:31 +00:00

49 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2412 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
field "alpha.water";
type composedFunction;
mode add;
composedFunctions
{
plane
{
type plane;
centre (0 1. 0);
normal (0 1 0);
}
sphere
{
type sphere;
radius 0.4;
centre (0.5 0.8 0.5);
scale 1;
}
sphere2
{
type sphere;
radius 0.4;
centre (0.5 0.5 0.5);
}
}
// ************************************************************************* //