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: 100

Offline

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

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

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: 68

Offline

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

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

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: 46

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: 41

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: 110

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: 55

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: 87

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: 110

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: 87

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: 87

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

#14 2019-05-27 07:14:45

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

Re: Mesh a model

Hello,

As I promise last week I tried to prepare ellipsoidal shape with hexa element. Attachment is python file prepared in salome 8.5.0. I hope it will help. I used Nicolas 's procedure and some sub-meshing to obtain better mesh.
Before using of this mesh please check double elements and nodes.


Attachments:
elipsoid.py, Size: 4.83 KiB, Downloads: 36

Offline

#15 2019-05-28 08:15:44

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

Re: Mesh a model

mecour wrote

As I promise last week I tried to prepare ellipsoidal shape with hexa element.

Dear Mecour,

Thank you so much for your file. I would try to understand it. However, unlike the file given by Nicolas, I am unable to see the mesh in your file.
I am using the latest Salome-meca (2018.0.1) which uses Salome 8.5.0.

Do I need to do something else to activate the mesh?

Thank you very much again for your kind gesture.

Regards.

Sukumar

Offline

#16 2019-07-03 13:43:08

ib-guder
Member
From: Leipzig, Germany
Registered: 2013-01-08
Posts: 43
Website

Re: Mesh a model

hi!

maybe this one helps. Its a bit messy, because i played around a bit.

tom

ps: its made with salome18


Attachments:
Study1.hdf, Size: 964.75 KiB, Downloads: 20

Offline

#17 2019-07-03 14:25:23

ib-guder
Member
From: Leipzig, Germany
Registered: 2013-01-08
Posts: 43
Website

Re: Mesh a model

or this one. Its about mapping a cube into and onto a sphere for getting a hexaedral mesh of a sphere.

Last edited by ib-guder (2019-07-03 14:29:31)


Attachments:
Study2.hdf, Size: 888.97 KiB, Downloads: 18

Offline

#18 2019-07-03 14:27:09

ib-guder
Member
From: Leipzig, Germany
Registered: 2013-01-08
Posts: 43
Website

Re: Mesh a model

here a picture of the geometry.


Attachments:
geom.png, Size: 88.63 KiB, Downloads: 34

Offline

#19 2019-07-03 14:28:22

ib-guder
Member
From: Leipzig, Germany
Registered: 2013-01-08
Posts: 43
Website

Re: Mesh a model

and of the mesh. I deleted some elements to reveal the mesh-quality.


Attachments:
mesh.png, Size: 73.14 KiB, Downloads: 31

Offline

Board footer