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

SU2 stuck at 'Geometry Preprocessing'

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cg102

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2022, 17:39
Default SU2 stuck at 'Geometry Preprocessing'
  #1
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Hi,

I'm trying to run some simple simulations of an ogive in supersonic flow using SU2. I've created the mesh in Gmesh and modified the config file from the inviscid wedge tutorial (attached).

The simulation has worked when I tried a wedge as in the tutorial (and even with complex multi-element wedges) but doesn't work for the ogive or any shape with a curved surface - it gets stuck at the 'geometry preprocessing' step (screenshot attached). I can't see anything that should make a difference in the simulation between the wedge and ogive so not sure why it's not working.

If anyone could assist, that would be much appreciated. Let me know if i need to provide any more detail!

Many thanks in advance,
Costas
Attached Images
File Type: jpg Screenshot 2022-12-29 213356.jpg (89.1 KB, 24 views)
Attached Files
File Type: txt inv_wedge_HLLC.txt (7.4 KB, 5 views)
cg102 is offline   Reply With Quote

Old   December 30, 2022, 04:58
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
In gmsh you need to create physical groups for all surfaces and volumes, and then when you export do not click "export all".
Upload your mesh.
pcg is offline   Reply With Quote

Old   December 30, 2022, 07:07
Default
  #3
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Thank you for your response. I tried that but then I get other errors. And the mesh file doesn't look right if I don't click 'save all elements'? See attached (it's a .su2 file but been converted to text for upload)

Thanks,
Costas
Attached Images
File Type: jpg Screenshot 2022-12-30 110321.jpg (79.5 KB, 13 views)
Attached Files
File Type: txt Ogive_Test3.txt (40.3 KB, 7 views)
cg102 is offline   Reply With Quote

Old   December 30, 2022, 08:06
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
You have 0 elements, this typically happens when you forget to add the 2D domain/surface as a physical group. Please check this, if you have more issues then please post the .geo file.
bigfootedrockmidget is offline   Reply With Quote

Old   December 31, 2022, 10:30
Default
  #5
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Ok I've added a surface physical group and called it 'Surface'. The transfinite mesh seems to be fine? (the text file is too large to post and I don't think I can post a .geo file on here?).

But now because I have 'Surface', I get the error message 'config file has no marker definition for marker "Surface"'.

Do I need to change something in the config file (attached) to accommodate this?

Note, in the screenshot, the 'Wall' is the upper, lower and ogive lines. The 'Inlet' is the left line, and the 'Outlet' is the right hand line.

Thanks.
Attached Images
File Type: png Screenshot mesh.png (117.7 KB, 10 views)
Attached Files
File Type: txt inv_wedge_HLLC.txt (7.5 KB, 5 views)
cg102 is offline   Reply With Quote

Old   January 2, 2023, 07:58
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi, Please post the geo file as a .txt file so we can reproduce the issue. The surface should not be present as a marker, so there is still something wrong. Is the option 'save all elements' deselected?
bigfootedrockmidget is offline   Reply With Quote

Old   January 2, 2023, 10:05
Default
  #7
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Hi, ok I have attached it below. Yes the 'save all elements' is deselected when I export it to .su2.

Thanks
Attached Files
File Type: txt Ogive_Test4.txt (1.0 KB, 6 views)
cg102 is offline   Reply With Quote

Old   January 2, 2023, 15:35
Default
  #8
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
If I load this geo file in gmsh and export it to an su2 file, then SU2 runs for the config file that you've sent earlier. Maybe it's now a matter of making sure that you're using the right files.
bigfootedrockmidget is offline   Reply With Quote

Old   January 3, 2023, 07:14
Default
  #9
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Ok, I will check my files. When you say the surface shouldn't have a marker, how can you create the physical group without a marker? I tried to run the files I posted that you have just run and I get this error (attached).
Attached Images
File Type: jpg Screenshot 2023-01-03 110436.jpg (83.0 KB, 7 views)
cg102 is offline   Reply With Quote

Old   January 3, 2023, 09:12
Default
  #10
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
gmsh should not export the physical surface as a marker for 2D meshes. The only thing I did was load the geo mesh, click '2D Mesh' to generate the mesh, and then export to su2 format. When I inspect the su2 mesh, I only have 3 markers: inlet, outlet and wall.
bigfootedrockmidget is offline   Reply With Quote

Old   January 3, 2023, 09:27
Default
  #11
New Member
 
Costas
Join Date: Dec 2022
Posts: 9
Rep Power: 3
cg102 is on a distinguished road
Ok I have done that but it still has surface as a marker. However, I changed NMARK in the mesh file to 3 (from 4) so it doesn't count the last marker. It now works and I get results. Not sure why it still counts 4 markers but for the few simulations I'll be running, it won't be too onerous to change NMARK each time.

Thank you very much for your help!
Attached Images
File Type: jpg Ogive.jpg (21.3 KB, 11 views)
cg102 is offline   Reply With Quote

Old   January 4, 2023, 11:38
Default
  #12
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Nice to see that you figured out a way to produce the mesh! If you have some nice results for a validation case (comparison with literature values) or for a tutorial, then your contribution is more than welcome, just let me (us) know.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
geometry, ogive, stuck, su2, supersonic


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
Ahmed body simulation gives unexpected results in su2 6.0 anas651 SU2 0 March 28, 2018 04:42
Question about Geometry vs. Meshes EphemeralMemory ANSYS Meshing & Geometry 2 December 8, 2016 14:02
Pointwise-SU2 joint webinar (April 29th) and SU2 v3.1.0 new release fpalacios SU2 News & Announcements 1 April 30, 2014 03:40
Running CFD parallel. There is no geometry file! CrashLaker SU2 6 April 10, 2014 04:08
[CAD formats] translating geometry from Abaqus to OpenFOAM skuznet OpenFOAM Meshing & Mesh Conversion 3 January 10, 2014 14:49


All times are GMT -4. The time now is 13:19.