Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-05-15 04:17:46

tienbk95
Member
Registered: 2019-05-15
Posts: 4

Mesh a model

hello everyone. when I make a model is a hemisphere with hollow, I want to mesh it by C3D8R element type. But I can't do it in Salome Meca.
How can I do to mesh model like that image which I attached below.
I glad when receive a help.


Attachments:
Capture1.PNG, Size: 76.95 KiB, Downloads: 34

Offline

#2 2019-05-15 06:36:33

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 97

Re: Mesh a model

Hello,

meshing of such shapes with hexahedral elements is not its strength. Here you have only 2 circles as edges, it is necessary to add more. You can partition the shape with some planes in geom module to get more surface edges. Then the hexa mesh is possible.

Offline

#3 2019-05-15 10:51:11

tienbk95
Member
Registered: 2019-05-15
Posts: 4

Re: Mesh a model

Thanks Mecour very much. I try to partition but the model always has face with 3 sides, so I can't mesh with C3D8R element type.when I compute, the monitor has error: " unexpected geomery. Face must have 4 sides but not 3.
You can see the model which I partitioned below. and you can help me with this model?
I look forward your reply.


Attachments:
1.PNG, Size: 34.54 KiB, Downloads: 22

Offline

#4 2019-05-16 12:25:06

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 97

Re: Mesh a model

Hello,

I tried more strategies but unfortunately I am not able to create such mesh as you want. What I know about hexahedral meshing, there is no general algorithm as for example delauay for tetrahedral meshing. So every software (especially commercial) uses own internal algorithm to produce hexahedral mesh. There are only few opensource hexahedral mesh generators.
My strategy is using tetrahedral mesh in such curvilinear shapes and sometime is good to use the quadratic mesh to get better results.

Offline

#5 2019-05-17 09:11:09

tienbk95
Member
Registered: 2019-05-15
Posts: 4

Re: Mesh a model

Thanks for your reply. I hope you are always healthy and successful.

Offline

#6 2019-05-20 16:07:40

Nicolas
Member
From: EDF R&D Clamart
Registered: 2007-11-29
Posts: 83
Website

Re: Mesh a model

Here is one solution. The main difficulty is the edge that générâtes the sphères. It implies a translation for the partition.


Attachments:
hemisphere.py, Size: 5.21 KiB, Downloads: 10

Gérald NICOLAS
EDF R&D
Responsable du logiciel HOMARD

Offline

#7 2019-05-21 15:38:49

Nicolas
Member
From: EDF R&D Clamart
Registered: 2007-11-29
Posts: 83
Website

Re: Mesh a model

If you can rotate the spheres, the influence of the generatrices disappears.


Attachments:
hemisphere.py, Size: 5.2 KiB, Downloads: 8

Gérald NICOLAS
EDF R&D
Responsable du logiciel HOMARD

Offline

#8 2019-05-21 18:20:25

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 97

Re: Mesh a model

Hello,

thanks to Nicolas I also created quite similar mesh.  Thank you for this instructions. I always fight with hexahedral mesh at curvaceous shapes.


Attachments:
pic.png, Size: 341.41 KiB, Downloads: 16

Offline

#9 2019-05-23 03:59:46

tienbk95
Member
Registered: 2019-05-15
Posts: 4

Re: Mesh a model

Thanks to Nicolas. When I received your answer, I was very happy. I've just used Salome Meca, so I hard to do these problems. So, Thanks a lot.

Offline

#10 2019-05-23 20:44:11

sb1966
Member
Registered: 2015-03-16
Posts: 82

Re: Mesh a model

mecour wrote

thanks to Nicolas I also created quite similar mesh.

Hi,
Would you please share your python file? I need to do similar meshing for an ellipsoidal skin with thickness. I think your file would be helpful for me too.

BTW, another question to experts in gmsh:

How to do similar meshing in gmsh? I hope that it would be a lot easier in gmsh.

Thanks in advance.

Regards.

Sukumar

Offline

#11 2019-05-23 21:20:07

mecour
Member
From: Ostrava (Czech)
Registered: 2011-04-04
Posts: 97

Re: Mesh a model

Hello,

I will try prepare python file also for some ellpsoid, now i know how to start.

In gmsh is aslo possible create hexahedral mesh, but as in salome the meshing of curvaceous shape requires some geometrical operation

Offline

#12 2019-05-24 16:32:11

sb1966
Member
Registered: 2015-03-16
Posts: 82

Re: Mesh a model

mecour wrote:

I will try prepare python file also for some ellpsoid, now i know how to start.

Dear mecour,

Thanks a lot for your kind gesture. Would sincerely wait for your file(s).

In gmsh (it) is also possible create hexahedral mesh, but as in salome the meshing of curvaceous shape requires some geometrical operation

Thank you for your suggestion. I will try after about a week due to my other preoccupations.

With Best regards

Sukumar

Offline

#13 2019-05-24 17:41:03

sb1966
Member
Registered: 2015-03-16
Posts: 82

Re: Mesh a model

Hi,

While surfing, I got the following blog, which might be useful for hexahedral meshing using gmsh:

http:SLASH_SLASHmatveichev.blogspot.com/2013/12/building-hexagonal-meshes-with-gmsh.html

Thanks and regards.

Offline

Board footer