- generally OK to miss for easily evaluated functions, but highly misleading with expressions (where the evaluate may be invalid during construction).
58 lines
1.5 KiB
C++
58 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2012 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ 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
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type uniformFixedValue;
|
|
value $internalField;
|
|
uniformValue table
|
|
(
|
|
(0 (0 0 0))
|
|
(0.01 (0 -15 0))
|
|
(100 (0 -15 0))
|
|
);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
inletValue uniform (0 0 0);
|
|
value uniform (0 0 0);
|
|
}
|
|
|
|
outerCylinder
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
"propeller.*"
|
|
{
|
|
type movingWallVelocity;
|
|
value uniform (0 0 0);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|