54 lines
1.3 KiB
C++
54 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volVectorField;
|
|
location "0";
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (6 0 0);
|
|
|
|
referenceLevel (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
walls
|
|
{
|
|
type slip;
|
|
}
|
|
|
|
freeSurface
|
|
{
|
|
type fixedGradient;
|
|
gradient uniform (0 0 0);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value uniform (6 0 0);
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|