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/solidMechanics/elasticThermalSolidFoam/hotCylinder/system/setFieldsDict
2016-06-21 15:04:21 +02:00

48 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue materials 0
volVectorFieldValue U (0 0 0)
);
regions
(
boxToCell
{
box (0 0 -1) (1 0.8 1);
fieldValues
(
volScalarFieldValue materials 1
);
}
boxToCell
{
box (0 1.5 -1) (2 2 1);
fieldValues
(
volScalarFieldValue materials 2
);
}
);
// ************************************************************************* //