View Issue Details

IDProjectCategoryView StatusLast Update
0002300FEMFeaturepublic2017-01-24 12:34
Reporterteobo Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionopen 
Summary0002300: imports hiddenly .unv data, exports the hidden data of this object as well hiddenly
Descriptionhttp://forum.freecadweb.org/viewtopic.php?f=18&t=12831
unv-in-export implementation support thread

http://forum.freecadweb.org/viewtopic.php?f=22&t=12800#p102575
study with bug reconstruction demo: imports hiddenly data, exports the hidden data of this object as well hiddenly

- Regarding Bug discussion:
At least one could support that unwanted, unknown data is exported in uncontrolled way, which the receiving prog might misinterpret.
- Regarding Priority:
fem-mesh processing workflow over Freecad blocked. Freecad can not be used for meshing with external solvers.


OS: Ubuntu 14.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5465 (Git)
Build type: None
Branch: master
Hash: 98e9dd08ac8598cf310508df68bcd05f395a8dd4
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Additional Information>>> import Fem
>>> Fem.insert(u"/path/salome_erste2D/Elmer_Mesh_tutoria150915.2D.unv","Unnamed")

>>> import Fem
>>> Fem.export(__objs__,u"/path/Elmer_Mesh_tutoria150915.2D_fc_reexported.unv")
freecad/src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:void SMESH_Mesh::ExportUNV
TagsFEM
FreeCAD Information

Activities

wmayer

2015-12-25 10:13

administrator  

ElmerGui_IMportUNV.png (85,936 bytes)   
ElmerGui_IMportUNV.png (85,936 bytes)   

wmayer

2015-12-25 10:14

administrator  

Kdevelop_IMportUNV.png (117,893 bytes)   
Kdevelop_IMportUNV.png (117,893 bytes)   

wmayer

2015-12-25 10:14

administrator  

wmayer

2015-12-25 11:02

administrator   ~0006636

Last edited: 2015-12-25 11:04

http://docs.salome-platform.org/latest/gui/SMESH/creating_groups_page.html
http://www.salome-platform.org/forum/forum_10/982903177
http://www.salome-platform.org/user-section/salome-tutorials/example-of-group

teobo

2015-12-25 13:29

reporter   ~0006637

Hi wmayer,
0)thanks for dealing with this issue.

1) the second link of the forum shows that there is a confusion about the word "groups" within salome's naming.

2) "Group" can be hold as container saying nothing about its contents.
Gmsh has got a name for one content in question: PE: additional "information needed for the solver": a) per element body information (material), b) per node boundary information (such as external temperature)
http://forum.freecadweb.org/viewtopic.php?f=18&t=13623

3)imho core is just to figure out where this boundary-body-info goes, to be able to manipulate it (at an UI) before export .unv or the like.

4) Even if the above can be seen as core functionality, having a look at link 3: "Group can be used for definition of boundary conditions, for selection of bad elements. " one sees that the groups(=container) mechanism in salome can be used for other things as well - beyond the core problem.

5) good luck in landing salome mesh to fc!

Kunda1

2017-01-15 13:55

administrator   ~0007786

downgraded severity to 'minor' from 'blocker'

berndhahnebach

2017-01-24 12:34

developer   ~0007953

The unv importer imports the group data and saves it in the FreeCAD FEM mesh structure. By python it can be extracted. The unv exporter exports this group data again to unv.

I do not really understand what is this bug report about. May be the problem was at the time when it was reported it was not possible to read the group data from inside FreeCAD. That is why it was spoken about hidden mesh data.

From my point the issue could be closed.

bernd

Issue History

Date Modified Username Field Change
2015-10-15 09:02 teobo New Issue
2015-12-25 10:13 wmayer File Added: ElmerGui_IMportUNV.png
2015-12-25 10:14 wmayer File Added: Kdevelop_IMportUNV.png
2015-12-25 10:14 wmayer File Added: Salome_mesh_preparation_IMportUNV1.png
2015-12-25 11:02 wmayer Note Added: 0006636
2015-12-25 11:03 wmayer Note Edited: 0006636
2015-12-25 11:04 wmayer Note Edited: 0006636
2015-12-25 13:29 teobo Note Added: 0006637
2015-12-26 16:44 wmayer Category Bug => Feature
2016-03-21 16:43 berndhahnebach Tag Attached: FEM
2016-03-22 10:49 berndhahnebach Project FreeCAD => FEM
2017-01-15 13:55 Kunda1 Note Added: 0007786
2017-01-15 13:55 Kunda1 Severity block => minor
2017-01-24 12:34 berndhahnebach Note Added: 0007953
2017-01-24 12:34 berndhahnebach Status new => closed