Problem with cell removal in SHM
Hi,
Iam trying to create a mesh for an internal flow with SHM. Everything i tried ended up with the refined background mesh but with no removed cells. I tried different stl's because i wasnt sure if they might have holes. After that i found this tutorial: http://www.hydroniumion.de/general/s...mesh-tutorial/ I took his .stl file and tried to run SHM again with the same result: Code:
Removing mesh beyond surface intersections Code:
/*---------------------------------------------------------------------------*\ What is wrong with my Dict file? Iam wondering because the defined locationInMesh Vector points to an existing cell (58028) but doesnt remove any cells. Hope you can help me. |
A silly question but I made this mistake myself...
Is "Ofen" the name of the solid in the STL file? Assuming its an ascii STL file this should be in the top line of the file. |
Also... by looking at:
refinementBox { type searchableBox; min (-10000 -1000 -10000); max (10000 11000 10000); } I'm guess you think that this is in mm? I found out the hard way the units quoted are m, if the STL file is in mm then it may be way bigger than the blockmesh volume hence no cells are removed. An easy test for this is to open the mesh in parafoam then open the stl file at the same time and see if it is inside the mesh or not. |
Thank you so much... it works now. Yes, I thought that it is in mm. But i created my stl with Gmsh entering "mm" aswell so this is ok ;)
|
Now i have another problem. I created the stl with gmsh in which i can define physical groups which i can use as boundaries in OF. But am I right that i cant export those groups with an stl file made by Gmsh? Is it possible with another freeware software like Gmsh?
|
You could just export every region to a different ASCII stl file then open them with a text editor and append them all in an empty file which you'll then save as a .stl
|
All times are GMT -4. The time now is 08:58. |