Export mesh with regions and properties of materials
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Export mesh with regions and properties of materials
Was the last message an information everything is ok, or a question because something deos not work for your workflow? If the later could you describe it a bit better or even better post an example FreeCAD file.
- Adel Chepkunov
- Posts: 12
- Joined: Mon Oct 07, 2019 1:03 pm
Re: Export mesh with regions and properties of materials
Previous post was about inconvenience. If FreeCAD will set name of group as user-given name for materials (and constraints) it will be better.
If these groups will be also added to the file exported from NetGEN-mesh it will be wonderful
I've created minimal freecad project and exported several meshes
https://drive.google.com/file/d/1Qe8Ohz ... sp=sharing
In this archive
- project
groups_for_material.FCStd
- meshes, exported from this project
mesh_by_netgen.unv
mesh_by_gmesh.unv
- preferred meshes (difference in section "2467"):
mesh_by_netgen_preferred.unv
mesh_by_gmesh_preferred.unv
key difference for mesh_by_gmesh_preferred:
-SolidMaterial_Volumes
+upCubeSolidMaterial_Volumes
second difference: records according to face-constraint
Additional note
- Mesh, exported for gmesh's-mesh if regions is not defined.
mesh_by_gmesh_wo_regions.unv
This mesh not contains any groups.
Re: Export mesh with regions and properties of materials
The group names of auto constraint group meshing are the names of the FreeCAD objects. They can not be changed. Only the label can be changed. But on creation the name could be given. Means if you create material and constraints by python you have your own group name. SeeAdel Chepkunov wrote: ↑Tue Oct 15, 2019 2:27 pm If FreeCAD will set name of group as user-given name for materials (and constraints) it will be better.
FEM_Tutorial_Python