|
[Sponsors] |
[Gmsh] Serious problem with mesh strategy????? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2015, 06:15 |
Serious problem with mesh strategy?????
|
#1 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Hello Fomers,
I am studying flow over a C-D with a flange. The reason of this study is to do gird convergence and a validations at the same time. I have made the mesh using Gmsh. The dimensions of the problem is as follows: The domain and dimensions Attachment 41213 Attachment 41214 As I mentioned, I have made the mesh and set up the required patches for the boundary conditions. However, when I exported the mesh and did gmshTofoam, I got an empty patch around the (Shroud), even though I defined it. I do not know whether this comes from the mesh strategy that I did or from not selecting the right patches. I have tried so many times, but no progress so far. I was wondering if somebody had faced the same problem before could guide me to resolve this issue. I am attaching the geo file of the problem. Attachment 41215 Thanks in advance, Last edited by tareqkh; August 3, 2015 at 08:28. |
|
August 3, 2015, 03:11 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Hello Tareqkh,
thanks for your mail. This problem looks interesting. I'll have a look at your file later today. Please note that I am not able to respond to your message via Mail. I think this has to do sth. with your cfd-online settings. Best regards, Kate |
|
August 3, 2015, 03:18 |
Hello Kate
|
#3 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
I would like to express my gratitude for you kind reply and hospitality. I have recognized that I have to add thickness to the problem to get the patch, but the problem gets more messy and unable to manage it. I can send the update file if you want.
Kind regards, |
|
August 3, 2015, 03:20 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
You're welcome. Yes, please upload it!
Kate |
|
August 3, 2015, 03:29 |
Updated File
|
#5 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Here is and an updated file of the shrouded diffuser by adding thickness.
Thanks again, Last edited by tareqkh; August 3, 2015 at 08:28. |
|
August 3, 2015, 05:54 |
|
#6 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Quote:
I had a look at your file. First, I have a few questions? How did you create your geometry? Did you enter your points and lines by hand? Am I right that you want to define a 2D domain? Please note that OpenFoam is not capable of solving 2D problems. Your domain should have a thickness of one cell, than you have to assign empty patches. I have never worked with OpenFoam in 2D, but I guess this is the way to do it. Furtheron I am getting two errors when loading the file. This is because you defined spline 9 and spline 10 two times. And I am not able to create a 2D mesh with this setup. Also you have to create physical entities when you want to export your mesh (look at the official user guide for this). So please explain the problem a bit more. If I am able I would be glad to help you. Best regards, Kate |
||
August 3, 2015, 06:12 |
|
#7 | |||
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Quote:
Quote:
Quote:
Kind regards, Last edited by tareqkh; August 3, 2015 at 08:27. |
||||
August 3, 2015, 06:26 |
|
#8 | |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Quote:
now I got two unknown lines and a physical surface which is defined two times. It is a bit annoying to stumble over the same mistakes again. Please open the *.geo file and check if gmsh reports any problems before uploading the file again. Best regards, Kate P. s.: Is it possible you get these errors because you are working with GUI? If this is the case, please double-click on the saved geo file. Than gmsh should load the file and tells you at the bottom of the window if there are any errors. You can than click on the report and see the exact line numbers. You can than open the geo file in any text editor and correct them. |
||
August 3, 2015, 06:36 |
|
#9 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Thanks again for your kind reply. I have fixed all errors, but I a little bit concern on how to mesh it properly. Do you have any idea how to start?
Best, Tareq |
|
August 3, 2015, 06:48 |
|
#10 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Yes, in the 2D case, I highly recommend the attached example which you can adapt for your use case. It was posted and probably created by Prof. Geuzaine, the creator of gmsh. I can't find the original source right now.
All the best, Kate |
|
August 3, 2015, 06:58 |
|
#11 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
What is the relationship between my case and the case that you sent?
Best, Tareq |
|
August 3, 2015, 07:56 |
|
#12 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Of course, the mesh you are creating always depends on the results you are looking for. I chose this example because it shows how you can create a nice boundary layer with transfinite entities.
But it is all useless, unless you tell us what you want to calculate. Best regards, Kate |
|
August 3, 2015, 08:00 |
|
#13 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Your case that you sent was not relevant to my case. I want to plot the velocity along the line and compare my results to the literature.
Thanks again, Tareq |
|
August 3, 2015, 08:07 |
|
#14 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Okay, my first question would be: Why do you need this large wind tunnel setup around your geometry?
|
|
August 3, 2015, 08:08 |
|
#15 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Because this case is in the literature.
Best, Tarq |
|
August 3, 2015, 08:17 |
|
#16 |
Senior Member
Join Date: Mar 2015
Posts: 250
Rep Power: 12 |
Is it possible to provide a link to this source?
|
|
August 3, 2015, 08:19 |
|
#17 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
After finishing this case, I will provide you the link.
Best, Tareq |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
mesh quality problem for displacementSBRStress motion solver | zhaozhenkai | OpenFOAM | 0 | January 22, 2017 12:02 |
Mesh is doing some problem | prwl120 | FLUENT | 2 | May 21, 2015 15:05 |
[ICEM] problem in mesh output | mehrzad | ANSYS Meshing & Geometry | 2 | December 10, 2014 19:07 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |