integration of snappyhexmesh from cfd

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: 2 layer wall: temperature calculation

Post by makkemal »

Maybe see how you can use cfmesh from the CFD workbench
https://forum.freecadweb.org/viewtopic. ... 6&start=70
This mesher may be useful for FEM
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: 2 layer wall: temperature calculation

Post by thschrader »

makkemal wrote: Wed Dec 13, 2017 3:07 pm Maybe see how you can use cfmesh from the CFD workbench
https://forum.freecadweb.org/viewtopic. ... 6&start=70
This mesher may be useful for FEM
Hello makkemal,
at the moment only gmsh can mesh BooleanFragment-bodies (needed when using
different materials). cfmesh/snappyhexmesh detect only one part of the whole body.
regards Thomas
meshing_beam.FCStd
(518.85 KiB) Downloaded 100 times
meshes.JPG
meshes.JPG (58.11 KiB) Viewed 4310 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: 2 layer wall: temperature calculation

Post by bernd »

But it is interesting either because it is possible to make a hex mesh with snappyhexmesh !!!
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: 2 layer wall: temperature calculation

Post by makkemal »

They have mesh regions built in for cfmesh which creates hex mesh
cfmesh.PNG
cfmesh.PNG (171.7 KiB) Viewed 4274 times
They also have a nice selection filter for surfaces.
A feature I have been missing in FEM
selection.PNG
selection.PNG (10.99 KiB) Viewed 4274 times
The only problem I see for FEM is the Wedge elements
hex.PNG
hex.PNG (89.54 KiB) Viewed 4274 times
Attachments
meshregionCF.FCStd
(175.54 KiB) Downloaded 106 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

integration of snappyhexmesh from cfd

Post by bernd »

Posts above where moved from https://forum.freecadweb.org/viewtopic.php?f=18&t=25506 to this new topic
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: integration of snappyhexmesh from cfd

Post by bernd »

important information in this regard https://forum.freecadweb.org/viewtopic. ... 02#p179202
UR_
Veteran
Posts: 1354
Joined: Tue Jan 03, 2017 8:42 pm

Re: integration of snappyhexmesh from cfd

Post by UR_ »

HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: integration of snappyhexmesh from cfd

Post by HoWil »

UR_ wrote: Thu Dec 14, 2017 6:40 pm AFAIK, this is coming up for gmsh

https://gitlab.onelab.info/gmsh/gmsh/wi ... op2017.pdf
NIce. Thx for sharing.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: integration of snappyhexmesh from cfd

Post by bernd »

might be interesting in this regard as well.

https://www.youtube.com/watch?v=1O8eBuey2MQ

Since we use smesh this might be possible somehow too. I do not know what mesher was used in the video eventually.
Post Reply