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/damBreak4phase/system/setFieldsDict

69 lines
1.9 KiB
Text
Raw Normal View History

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
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
);
}
);
// ************************************************************************* //