Existing case did not properly converge and suffered slow convergence with the water level failing to reach an equilibrium. A slight rise in the channel appears to help the water level reach an equlibrium when the flow rate over the rise matches the inlet flow rate.
38 lines
1.1 KiB
C++
38 lines
1.1 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 ascii;
|
|
class dictionary;
|
|
object extrudeProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
constructFrom mesh;
|
|
sourceCase "$FOAM_CASE";
|
|
sourcePatches (outlet);
|
|
|
|
flipNormals false;
|
|
|
|
extrudeModel linearDirection;
|
|
|
|
nLayers 60;
|
|
expansionRatio 1.0;
|
|
|
|
linearDirectionCoeffs
|
|
{
|
|
axisPt (0 0 0);
|
|
direction (1 0.2 0.02);
|
|
thickness 60;
|
|
}
|
|
|
|
mergeFaces false;
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|