Hi All
I am trying to define a 2-dimensional geometry in ElmerGrid as described in detail here http://cfd.mace.manchester.ac.uk/ercoft ... es:case010 and generate a computational mesh for Elmer. The commands I am using can be found in the attached file. The issue I am facing is that the bottom boundary is not flat but curved and it actually follows the curvature of the top boundary surface. I have tried to define the bottom surface using a linear interpolation between two points but it did not work out.
Do you have any suggestion?
Thanks
Evangelos
ElmerGrid generating wrong geometry
ElmerGrid generating wrong geometry
- Attachments
-
- CouetteFlowFixedWavyWall.grd
- ElmerGrid input file
- (684 Bytes) Downloaded 40 times
Re: ElmerGrid generating wrong geometry
Hello,
The Elmergrid manual includes an example of a sinusoidal mapping. The attached file is taken from the manual, with a slight modification to have a flat lower boundary. I haven't tried to modify the upper boundary, that is something that will take some work.
Rich.
The Elmergrid manual includes an example of a sinusoidal mapping. The attached file is taken from the manual, with a slight modification to have a flat lower boundary. I haven't tried to modify the upper boundary, that is something that will take some work.
Rich.
- Attachments
-
- tube-sine.grd
- (738 Bytes) Downloaded 36 times
-
- Posts: 2237
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: ElmerGrid generating wrong geometry
ElmerGrid for mesh definition is very confusing for me. It is a great translator, but with powerful easy to use mesh generators, like gmsh and Salome. I would never go to ElmerGrid to generate a mesh. Attached is a gmsh file to generate the mesh.
Re: ElmerGrid generating wrong geometry
I agree with Kevin, you are much better off using gmsh for your case.
Rich.
Rich.
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: ElmerGrid generating wrong geometry
Hi, I also agree. Do not use ElmerGrid native format except for simple rectangular forms. Many tests favor ElmerGrid format since the tests are very simple usually and also the code always comes with Elmer installation. There are a few mapping possibilities to go from rectangular to curved but I think you should avoid those because of their obscurity. -Peter