CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Problem to run flow around a cylinder - LES case (https://www.cfd-online.com/Forums/openfoam-pre-processing/140927-problem-run-flow-around-cylinder-les-case.html)

valerio galluzzi August 26, 2014 07:55

Problem to run flow around a cylinder - LES case
 
Hi everyone,

I work on a LES case of a flow around a circular cylinder. I have already set all OpenFOAM files, but I have problems to run it.
The geometry is a 3D parallelogram which has inside a circular cylinder, so there is an input face, an output face, an up and a bottom faces and a left and a right faces. The "left&right" face has cyclic type.
I did the mesh by gmsh and I imported it using "gmshToFoam" command. I modified the patch inside the constant/polymesh/boundary file:

- left&right type cyclic;
- (body) Wall type wall

then I used "foamUpgradeCyclics" command that created new files inside the 0/ directory. The I used the "decomposePar" command to decompose the domain, but here it is the problem:

--> FOAM FATAL ERROR:
face 0 area does not match neighbour by 23.2157% -- possible face ordering problem.
patch:Left&Right_half0 my area:4.4218e-08 neighbour area:3.50202e-08 matching tolerance:0.0001
Mesh face:1027210 fc:(-0.00840603 -0.00188235 0.0005)
Neighbour fc:(0.0142184 0.00530556 0.0005)
If you are certain your matching is correct you can increase the 'matchTolerance' setting in the patch dictionary in the boundary file.
Rerun with cyclic debug flag set for more information

RodriguezFatz August 28, 2014 14:56

Ok this error comes if you want to create periodic patches but your mesh isn't conformal. This means the mesh on one patch "doesn't look like" the one the other patch. Grid points / cells need to be at excatly the same position on both patches.

valerio galluzzi August 29, 2014 05:05

I know that and i create a system/patchdict file, that is a solution i found in many different forums, but when i run createPatch it doesnt work and it gives me the same problem! :confused:


All times are GMT -4. The time now is 02:28.