diff --git a/openfoam/run/flowAroundCylinder/0/p b/openfoam/run/flowAroundCylinder/0/p index edf1413732d4f2d18e171b0ac9a7fdd93142aa38..c0d01c0312b7b699f6206ffdf56aba1f7abb856a 100644 --- a/openfoam/run/flowAroundCylinder/0/p +++ b/openfoam/run/flowAroundCylinder/0/p @@ -20,12 +20,20 @@ internalField uniform 0; boundaryField { - movingWall + // inlet as in channelInlet, outlet the same because "fixedFlux" sound fitting for a pipe where the same amount goes in as out + inlet { - type zeroGradient; + type fixedFluxPressure; + } + + outlet + { + type fixedFluxPressure; + /* type fixedValue; */ + /* value uniform 0; */ } - fixedWalls + wall // both walls (outer walls) and cylinder { type zeroGradient; } diff --git a/openfoam/run/flowAroundCylinder/system/blockMeshDict b/openfoam/run/flowAroundCylinder/system/blockMeshDict index 4ff22bc392c5224a3462cf04c832d7888840d654..668d2b99bb18360573ebfc794301c0326dc42906 100644 --- a/openfoam/run/flowAroundCylinder/system/blockMeshDict +++ b/openfoam/run/flowAroundCylinder/system/blockMeshDict @@ -77,20 +77,13 @@ edges boundary ( - bottomwall + walls { type wall; faces ( (Fbl Fbs Bbl Bbs) (Fbs Bbs Bbr Fbr) - ); - } - topwall - { - type wall; - faces - ( (Fts Bts Btl Ftl) (Ftr Btr Bts Fts) );