Python script NX2RAD for NX / Simcenter that made a mesh for the SUBSET and the GROUPS of a .fem model. #3685
andprad74
started this conversation in
Contributors
Replies: 1 comment 4 replies
-
Hello |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear All,
first of all, thanks to Openradioss team.
I have made, with support of the AI, a Python script for export a mesh with the subset and the groups from a .fem model inside NX / Simcenter. The script iterate on the NX groups in order to create the Subset and the groups of elements and nodes. The number of the groups and the subset in the OpenRADIOSS are the same and it's made with the following Python function abs(hash(group_name). The final result is similar to the export made by GMSH but the file create will have an .inc extension.
Used with the script https://github.com/theScriptingEngineer/NXOpen-CAE-python/blob/master/pre_processing/add_related_nodes_and_elements.py it's possible to create parametric model with the powerfull of NX tool.
Before this script my workaroud was from NX to GSMH with an .unv file but the number of the subset / groups was always different, this was a problem and the alignement was handmade.
The script, for sure it's not perfect because i'm not a developper.
I hope that this script will help and with the support of the community will be improved.
by.
A.
nx2rad_rev_000.zip
Beta Was this translation helpful? Give feedback.
All reactions