db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
48 lines
1.3 KiB
C++
48 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object setFieldsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
defaultFieldValues
|
|
(
|
|
volScalarFieldValue alpha1 1
|
|
volScalarFieldValue pd 1e5
|
|
);
|
|
|
|
regions
|
|
(
|
|
sphereToCell
|
|
{
|
|
centre (0.5 0.5 0);
|
|
radius 0.1;
|
|
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha1 0
|
|
volScalarFieldValue pd 10e5
|
|
);
|
|
}
|
|
|
|
boxToCell
|
|
{
|
|
box (-10 1 -1) (10 10 1);
|
|
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha1 0
|
|
);
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|