70 lines
1.7 KiB
C++
70 lines
1.7 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 (1 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
oversetFaces
|
|
{
|
|
type overset;
|
|
value uniform (0 0 0);
|
|
coupledFringe yes;
|
|
|
|
setHoleCellValue yes;
|
|
holeCellValue (0 0 0);
|
|
}
|
|
in
|
|
{
|
|
type fixedValue;
|
|
value uniform (1 0 0);
|
|
}
|
|
out
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform (0 0 0);
|
|
value uniform (1 0 0);
|
|
}
|
|
top
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
bottom
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
cylinder
|
|
{
|
|
type movingWallVelocity;
|
|
value uniform (0 0 0);
|
|
}
|
|
outerCylinder
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|