gdtk-uq / gdtk

The Gas Dynamics Toolkit (GDTk) is a set of software tools for simulating high speed fluid flow, maintained at The University of Queensland and the University of Southern Queensland, Australia.
https://gdtk.uqcloud.net/
Other
59 stars 15 forks source link

Import su2 mesh issue #54

Closed KulaLAForU closed 6 months ago

KulaLAForU commented 6 months ago

Hi again,

Sorry for this but I don't imagine this will come out and I cannot find how to fix it... With import file

Screenshot 2024-03-09 at 17 03 44

but

Screenshot 2024-03-09 at 17 00 28

And here is the mesh and input file: mesh_and_input.zip

And I have a question: can Eilmer4 import su2 mesh with structure mesh?

Thanks very much for everything Jianshu Wu

rjgollan-on-github commented 6 months ago

Hi Jianshu, I took a look at your input script and there look to be some incompatibilities with what you're requesting of the program. It looks like you have shock-fitting requested. This only works with structured grids.

Here's some suggestions.

  1. For getting the unstructured grid to work, just try a simple gas model (like ideal air). Check very carefully that the MARKER_TAG entries in your SU2 file have boundary conditions listed in the Eilmer file. For example, your SU2 lists "wall" but in Eilmer you put this in ALL CAPS as "WALL". You also have some MARKER_TAGs in the SU2 that are not set.
  2. If you are interested in the Nonaka sphere case, I suggest using the Eilmer-native structured grids and following that example.

To answer your question: we cannot import an unstructured mesh and convert to a structured block even if all elements are quads. We don't have the information about its regular structure. We can go the other direction: structured --> unstructured.

KulaLAForU commented 6 months ago

Thank you! It's really helping me a lot!! I used the native mesh generator and it worked well. Thanks again for details and suggests!! Have a good day!!!