A number of fixes have been made in order to make non-conformal cyclic patches compatible with run-time distribution. A tutorial case, incompressibleVoF/rotatingCube, has been added which demonstrates simultaneous usage of motion, non-conformal couplings, adaptive refinement and load-balancing.
54 lines
1.3 KiB
C++
54 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class volVectorField;
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
UMean 1;
|
|
|
|
internalField uniform ($UMean 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
wall
|
|
{
|
|
type movingWallVelocity;
|
|
value $internalField;
|
|
}
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type outletPhaseMeanVelocity;
|
|
alpha alpha.water;
|
|
UnMean $UMean;
|
|
value $internalField;
|
|
}
|
|
|
|
atmosphere
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value $internalField;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|