Stefano Segneri - 2022-11-08

Hello,

I am having problems trying to use the Construct2D C-mesh in OpenFoam.
I have already read all the threads about this topic but I am still having problems. This is the procedure I follow:
- C-mesh generation with Construct2D
- Conversion to .msh format using p3d2gmsh
- I use GmshToFoam to convert the .msh mesh in OpenFoam format
In this way in the file polyMesh/boundary there will be the following boundaries:
- b8-SYMMETRY-Y --> FRONT
- b9-SYMMETRY-Y --> BACK
- b6-FARFIELD --> OUTLET
- b7-FARFIELD --> OUTLET
- b5-FARFIELD --> INLET
- b4-VISCOUS --> AIRFOIL
- B2-to-stitch-a --> WAKE
- defaultFaces --> WAKE
defaultFaces and B2-to-stitch-a are exactly the same thing as I am able to see from Paraview. The boundary "WAKE" is a boundary that connect the airfoil trailing edge with the outlet. Obviously, it is an undesired boundary. Air should just flow freely and without constraints there. To remove this boundary I use the following command: "stitchMesh -overwrite WAKE defaultFaces". After that, in the polyMesh/boundary file, B2-to-stitch-a and defaultFaces has zero faces. Thus, I just remove them and run my simulation.
However, in that exact point, something very strange happens in the velocity field. I am attaching a picture of the flow field in that region.

Does anyone knows the reason?

Thanks in advance.!