Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

table of results

Status
Not open for further replies.

benjimain

Aerospace
Joined
Jun 16, 2015
Messages
9
Location
GB
Hi everyone !

I would like to create a table in a journal that contain all the displacement and stresses of each elements of my part.
I have managed to create a table with the displacement but when I when to put stresses like Xx or Von Mises the program fail.

there is my code join


Thanks for your help

Regards
Ben

 
 http://files.engineering.com/getfile.aspx?folder=f704bf58-4b9d-4572-9a79-384172e37f37&file=_journal_asknodalresult.vb
How does the program fail? What is the error message? stress result missing?
 
It respond :

It is not a Nodal result
( the same with element " this is not an element result " )
 
displacement = nodal value
stress = elemental value

Starter for 10 from the NX examples

Dim nNodes As Integer = results.AskNumNodes()

Dim comps(0) As NXOpen.CAE.Result.Component
resultAccess.AskResultComponents(comps)
Dim nComps As Integer = comps.Length
Dim iComp As Integer
Dim iNode As Integer = 1

Do Until (iNode = nNodes + 1)
Dim iNodeLabel As Integer = results.AskNodeLabel(iNode)
Dim iNodes(0) As Integer
iNodes(0) = iNode

Dim values(0) As Double
resultAccess.AskNodalResultAllComponents(iNode, values)
Loop
 
I have finish my program

thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top