51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 7
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volVectorField;
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value uniform (10 0 0);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
upperWall
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
lowerWall
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|