37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD |
|
|
| \\ / O peration | Version: 1.6-ext |
|
|
| \\ / A nd | Web: www.extend-project.de |
|
|
| \\/ 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 0) (1 0.5 1);
|
|
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue materials 1
|
|
);
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|