47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format binary;
|
|
class volVectorField;
|
|
location "0";
|
|
object U.air;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value uniform (-10 0 0);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
phi phi.air;
|
|
inletValue uniform (0 0 0);
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
walls
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|