CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Construct2D mesh in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2022, 12:05
Smile Construct2D mesh in OpenFoam
  #1
New Member
 
Stefano Segneri
Join Date: Jun 2021
Posts: 4
Rep Power: 4
Stefano Segneri is on a distinguished road
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 (WAKE) 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.

Does anyone knows how to fix this?

Thanks to everyone who have had the patience to read this post.
Attached Images
File Type: jpg Campo velocità.jpg (72.2 KB, 7 views)
Stefano Segneri is offline   Reply With Quote

Reply

Tags
openfoam mesh construct2d


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) Combas SU2 44 March 12, 2024 00:35
[Salome] Script for converting a mesh from Salome-Platform to OpenFOAM nsf OpenFOAM Meshing & Mesh Conversion 86 February 8, 2023 10:30
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
[Salome] Mesh conversion Salome to OpenFOAM VMartinez OpenFOAM Meshing & Mesh Conversion 11 April 21, 2014 02:54


All times are GMT -4. The time now is 03:25.