|
[Sponsors] |
December 2, 2013, 08:28 |
Exporting Mesh
|
#1 |
Member
Join Date: Nov 2013
Posts: 43
Rep Power: 12 |
Hello everyone,
I generated 2 .dbs-files with 180.000 and 160.000 elements. I export them as .msh for later use with fluent. But first when importing both back into Gambit to rearange them a bit, they both increase in element numbers to 179.000 and 202.000 why does that happen? Is that just the difference between .dbs and .msh? My first guess was, that it should keep the number of elements it has as .dbs |
|
December 3, 2013, 00:30 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
why don't you re-open the dbs file, and re-export another msh file.
I am also septic with msh import from Gambit
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
December 3, 2013, 03:12 |
|
#3 |
Member
Join Date: Nov 2013
Posts: 43
Rep Power: 12 |
I don't see the difference between your mentioned re-opening and the things I did...
there are 2 dbs-files, I export a mesh each then open a new file and import both meshes separetely, create groups, rearange them and then export 1 mesh-file... works fine, except the differences in the amount of elements, which I have no explanation for |
|
December 3, 2013, 03:39 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
why are you using 2 dbs files?
At the end you get 2 msh files which won't be connected. If you are working with sliding mesh, I can understand the use of both dbs file. ... Are your both mesh files connected? ... what kind of group operations are you using, and for what? ... As I said mesh import in Gambit isn't comfortable, and I am not surprised of your issue. I had also some issues on surfaces which are merged, etc...
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
December 3, 2013, 05:00 |
|
#5 |
Member
Join Date: Nov 2013
Posts: 43
Rep Power: 12 |
I use 2 dbs files because 1 is a blade and 1 a vane, which I will need later on... right now I want to combine them to 1 stage to get 1 mesh-file for the whole stage, do you see a better way to generate this mesh?
after importing the 2 mesh-files, each becomes a group and then I align them, via translating and rotating... no connected geometry enabled later in fluent I will create mixing planes between the vane and blade... |
|
December 3, 2013, 07:01 |
|
#6 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
build all your geometry and mesh all within one dbs file
If you still have real geometries (no virtual entities), you may export the geometry with step file (the splits etc SHOULD remain). Then you can use the .jou of the dbs to remesh the geometry (in the new dbs) But if you have a nice hexa mesh with lots of splits, I am not sure you want to remesh all your stuff (if the journal file failed) Else you can keep your method: just note the translations and rotations vector, then open one dbs and adjust the position of the mesh (with vectors you noticed). In that way you can import both mesh in fluent, and they shlould be aligned.
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
December 3, 2013, 08:25 |
|
#7 |
Member
Join Date: Nov 2013
Posts: 43
Rep Power: 12 |
Using just 1 dbs-file does not seem possible for me in this case, because those 2 files are just the beginning... in the end it will be 10 dbs-files with a mesh each
I may try to align the meshes in fluent... although I don't know if I can apply the translation/rotation that easily, because in Gambit I did it from vertex to vertex but back to my original question: is that increase in elements when importing mesh in gambit just an unexplainable error? or do you know what Gambit is doing at that point? |
|
December 3, 2013, 08:38 |
|
#8 | |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Quote:
Check if it doesn't create other kind of element (tetra-pyramid, etc...) Check also number of surfaces Don't you see any difference on your mesh? Check also number of cells once imported in Fluent (check Mesh)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
||
December 3, 2013, 09:02 |
|
#9 |
Member
Join Date: Nov 2013
Posts: 43
Rep Power: 12 |
there are no changes concerning topology or even element type, all elements behave and stay hexahedral
the funny thing is, that even though when importing the mesh Gambit displays that there are 202.000 elements... but when checking the grid, the original element amount is shown (see attachment)... where do those non-existing 20.000 elements come from and are they even there? |
|
December 4, 2013, 00:49 |
|
#10 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Gambit reads 202.000 elements while importing, but it doesn't mean it writes those 202.000 elements. You can see also it creates some nodes, edges and faces, which mean it modifies the grid (the question is why)
Try to import this mesh in Fluent and run a check mesh (and compare the numbers you get)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
December 6, 2013, 03:51 |
|
#11 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26 |
If you have 2 msh files you can use tgrid to open the first mesh and then add the second one, and finally export one total msh file.
Daniele |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Hexa mesh, curve mesh setup, bunching law | Anorky | ANSYS Meshing & Geometry | 4 | November 12, 2014 00:27 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 06:42 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 04:24 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 19:43 |
Gambit error in exporting mesh in 3D modeling | Mazyar | FLUENT | 5 | March 31, 2004 10:50 |