Skip to content

Export shell thickness as unv #1

@theScriptingEngineer

Description

@theScriptingEngineer

I made a mistake: If data is present for all nodes, record15 needs to be repeated for each location.
so instead of adding the thickness 'number of nodes" times on one line, a line should be added for each node.

probably the record9 field6 needs to be 1 (but NX docs state that this field is not supported).

solution most likely:
ExportShellThicknessAsUnv line 120 change 2 to 1
ExportShellThicknessAsUnv line 146 add newline at end, so a line/record is created for each node
ExportShellThicknessAsUnv line 159 add newline at end, so a line/record is created for each node
ExportShellThicknessAsUnv line 163 add newline at end, so a line/record is created for each node
ExportShellThicknessAsUnv line 170 remove because already newline from last node

From the universal file documentation:

Dataset class: Data at nodes on elements

RECORD 14: FORMAT (4I10)
Field 1: -- Element number
Field 2: -- Data expansion code (IEXP)
1: Data present for all nodes
2: Data present for only 1st node -All other
nodes the same.
Field 3: -- Number of nodes on elements (NLOCS)
Field 4: -- Number of data values per node (NVLOC)

RECORD 15: FORMAT (6E13.5)

             Fields 1-N:   -- Data Values At Node 1 (NVLOC Real Or
                              Complex Values)

             Note:  Records 14 And 15 Are repeated For each Element.  

            
                    For Iexp = 1 Record 15 Is repeated NLOCS Times

                    For Iexp = 2 Record 15 appears once

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions