This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/system/setFieldsDict
2018-06-01 18:11:37 +02:00

65 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alphaAir 1
volScalarFieldValue alphaWater 0
volScalarFieldValue alphaOil 0
volScalarFieldValue alphaMercury 0
volVectorFieldValue U ( 0 0 0 )
);
regions
(
boxToCell
{
box ( 0 0 -1 ) ( 0.1461 0.292 1 );
fieldValues
(
volScalarFieldValue alphaWater 1
volScalarFieldValue alphaOil 0
volScalarFieldValue alphaMercury 0
volScalarFieldValue alphaAir 0
);
}
boxToCell
{
box ( 0.1461 0 -1 ) ( 0.2922 0.292 1 );
fieldValues
(
volScalarFieldValue alphaWater 0
volScalarFieldValue alphaOil 1
volScalarFieldValue alphaMercury 0
volScalarFieldValue alphaAir 0
);
}
boxToCell
{
box ( 0 0 -1 ) ( 0.1461 0.1 1 );
fieldValues
(
volScalarFieldValue alphaWater 0
volScalarFieldValue alphaOil 0
volScalarFieldValue alphaMercury 1
volScalarFieldValue alphaAir 0
);
}
);
// ************************************************************************* //