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/incompressible/shallowWaterFoam/squareBump/system/setFieldsDict
2010-09-23 14:04:10 +01:00

38 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue h0 0
volScalarFieldValue h 0.01
volVectorFieldValue U (0.1 0 0)
);
regions
(
boxToCell
{
box (0.45 0.45 0) (0.55 0.55 0.1);
fieldValues
(
volScalarFieldValue h0 0.001
volScalarFieldValue h 0.009
);
}
);
// ************************************************************************* //