|
[Sponsors] |
Which grid formats should our solvers support? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 15, 2022, 09:23 |
Which grid formats should our solvers support?
|
#1 |
Senior Member
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8 |
Hello everyone,
Which grid formats should our solvers support for maximum support, user friendliness, and performance? Obviously no perfect answer might exist, so I'm just looking for your personal views. Different answer for each criteria is acceptable, as we'll support multiple formats for the need of different users. Metrics:
PS : Cool project with many mesh converters : https://github.com/victorsndvg/FEconv Mesh formats supported by them : https://victorsndvg.github.io/FEconv/formats.xhtml |
|
August 15, 2022, 12:54 |
|
#2 |
Senior Member
Join Date: May 2012
Posts: 546
Rep Power: 15 |
||
August 15, 2022, 14:50 |
|
#3 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
"Which grid formats should our solvers support for maximum support, user friendliness, and performance?"
There shall be one neutral format that shall be very easy to read or write by a simple C or C++ or Fortran code. Then there shall be converters to it and from it. That would make everyone's life easy. The project shall be easily available and easy to compile so that it is painless to use by any average joe. PS: I created bmsh format for wildkatze based on this idea. Bmsh format is nothing but fluent file written without all those markers. Its basically, like (anyone can load this) -------------------------------------------- Number of reagions For each region Number of nodes x y z . . x y z of nodes Number of faces groups For each group for 1 to Nfaces number of nodes in this face n1, n2, ... n_nn left cell and right cell. ----------------------------------------- |
|
August 15, 2022, 14:55 |
|
#4 |
Senior Member
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8 |
By "Number of faces groups", do you mean it supports partitioned meshes, or faces belonging to some boundaries like Inlet, outlet, wall, etc? I partitioned a GMSH mesh using METIS and tried to export it to Su2's format, but it didn't work.
|
|
August 15, 2022, 15:18 |
|
#5 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
No no. I meant say for a pipe with 3 boundaries (all tetra mesh) Number of face groups = 4 4 interior Interior 2 (number of cv faces) 3 n1 n2 n3 cl cr 3 n1 n2 n3 cl cr inflow Inlet 2 3 n1 n2 n3 cl cr 3 n1 n2 n3 cl cr out Outlet 3 n1 n2 n3 cl cr 3 n1 n2 n3 cl cr sidewall Wall 3 n1 n2 n3 cl cr 3 n1 n2 n3 cl cr simple to read and write |
||
August 15, 2022, 15:20 |
|
#6 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Bmsh is divided into two files
.info.bmsh This contains only the mesh information like number of regions and their names and then their boundaries etc BUT no heavy data .bmsh Heavy data -------------------- The advantage of this in Wildkatze is that you can do the whole set up without loading the heavy data. so if you have a billion cell mesh you can set up the case on laptop since the mesh won't be loaded at all. Now once it is set up, you can put the whole thing on cluster and run the case. |
|
August 17, 2022, 10:12 |
|
#7 |
Senior Member
andy
Join Date: May 2009
Posts: 270
Rep Power: 17 |
The important format to get right is your own internal one. Then support whichever external ones your clients need and/or want. There are usually one or two widely used ones plus a few that are used less. It doesn't take long to write converters to/form you own format once you have done it a few times. Then when you find 3rd party converters are failing to function adequately (and you will) you have a viable way to fix things without having to trawl through some peculiar code written by a student learning to write computer software.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Control function in Poisson eqtion grid generation? | dinhanh | Main CFD Forum | 0 | January 8, 2017 01:53 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
Grid Adaptation | Suresh | FLUENT | 0 | October 15, 2003 13:18 |
GRID TO GRID INTERPOLATION in FLUENT | calogero | FLUENT | 3 | June 4, 2003 08:32 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 11:18 |