openfoam/tutorials/multiphase/compressibleInterFoam/laminar/waterCooler/fluid/system/setFieldsDict
2020-12-09 15:17:45 +00:00

53 lines
1.5 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alpha.water 0
volScalarFieldValue p_rgh 1e5
volScalarFieldValue p 1e5
volScalarFieldValue T 300
);
regions
(
//sphereToCell
//{
// origin (0.5 0.5 0);
// radius 0.1;
//
// fieldValues
// (
// volScalarFieldValue alpha.water 0
// volScalarFieldValue p_rgh 1e6
// volScalarFieldValue p 1e6
// volScalarFieldValue T 578
// );
//}
boxToCell
{
box (-10 -10 -1) (0.5 1 1);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
);
// ************************************************************************* //