Using Salome for mesh generation
Can anyone give me some hints about the capability of any Salome version to mesh an imported geometry with a hexahedral mesh?
I am also looking for assistance regarding meshing in Salome.
I can't seem to find any information on implementing line/surface mesh sources. Is there any tutorial available regarding this?
I tried this site
but somehow my meshing process always fails.
=>4 Salome & OpenFOAM tutorial
maybe http://pythonflu.wikidot.com/hybridflu it is not 100% what you looking for (but at least salome and meshing)
One comment ideasUnvToFoam does not convert everything that is meshed in salome therefore some people use hybridflu
Thanks elvis. Will go and try it out.
Hi, I have tried following the pipe tutorial, but it actually does not have face sources. What it does is only uniform meshing applied across all the surfaces of the pipe.
I have tried exporting a simple cube using uniform mesh already, and it works in OpenFOAM. There shouldnt be any problem over there, but my real headache is finding any information on implementing mesh sources on geometrical faces. Any advice?
I am trying using this approach, but im not sure if it's right
new entity -> primitive -> box -> 10x10x10 -> Box_1
Box_1 -> Create Group -> Face Type -> left click one side -> Add -> Apply and Close -> Group_1
Box_1 -> Create Mesh -> Netgen 1D-2D-3D -> Netgen 3D Parameters -> Max 1 Min 0.05 Fineness Fine Optimize -> Mesh_1
mesh_1 -> Compute
mesh_1 -> Create Group -> Face type -> Group on geometry -> geometrical object -> direction selection -> Box_1 Group_1
mesh Group_1 -> edit Mesh -> Netgen 1D-2D -> Netgen 2D Parameters -> Max 0.5 Min 0.05 Fineness Fine Optimize -> Mesh_2
Right click Mesh_2 -> Compute
But it always hangs and fails.
did you try to define the Sub-Meshes before computing the whole mesh? And you don't have to define new groups of faces in the mesh module but you can use those defined in geo-module. So after defined the global mesh define the sub-meshes (refinement ...) on the desired groups and once you've finished just press compute.
hope this helps..
Create a box, explode into its 6 faces.
Created a group consisting of just one face (Face 6)
Switch to mesh module, create a mesh from box, 1D-2D-3D, max 1, min 0.02
Create sub-mesh on Group, 1D-2D, max 0.5 min 0.02
I tried to click on the global mesh and Compute, the system failed
I tried to click on the sub mesh and Compute, the system failed
by the way, I'm using the Windows version of Salome 6
Ok... i think the Windows Version may be the reason for your problem. I've had the same problem during testing the capabilities of Salome Meshing tools and when using Netgen for refining the meshing failed and Salome crashed. So try to use another algorithm or use a Linux distribution as working system.
Hmm.. it seems as if there's a bug. I managed to create the mesh you wanted this way:
1. Create Box and group of face as you already have done
2. Create Mesh on box: Assign set of hypotheses -> 3D automatic Tethraedalization with a desired length of 1
3. Create SubMesh of face: Assing set of hypotheses -> 2d automatic triangulation
4. Compute SubMesh: now you can see the fine mesh on the face 6
5. Click on Mesh1 and compute it. Now the process should be successful and you have a mesh with a specific number of edges, faces and voumes.
(5.a it also should work if you just define both your meshes and then click on Mesh1 and compute the whole mesh at once)
But if you want to modify your created mesh or make it once again, the process crashes...
I've managed to do the refined meshing on one side using Linux Salome. Thanks for your help, man! :) or else I'd still be floundering in murky waters for god knows how many days, trying to figure out which step I've taken wrongly.
Well, meshing the cube was successful since the geometry is quite straightforward.
I then proceeded to mesh my real case (which happens to be a car).
- Created a box and did subtraction to derive the fluid domain
- explode into faces and grouped all car surfaces under one group, as well as walls and inlet outlet
- created a mesh under the domain
- created a submesh under the car surfaces
Both the domain mesh and car surface mesh I used automatic tet and triangles. but it constantly gave me error message
NETGEN_3D failed on sub-shape #1 with error COMPERR_BAD_INPUT_MESH "Intersecting triangles"
Error: Invalid input mesh. Intersecting triangles
And don't know the exact meaning of this error message but i think your problem comes from the definintion of your geometry. Maybe you've some double faces or faces with intersections points. You can find those faces after computing the mesh with an error message by clicking on the appearing information panel at show sub-shapes. Now you can see the faces appending to the error colored in your mesh display.
Maybe this could help you too:
|All times are GMT -4. The time now is 07:20.|