Update nodes coordinates with LS-PrePost

238 views
Skip to first unread message

Corentin Blanchard

unread,
Feb 4, 2021, 2:40:30 AM2/4/21
to LS-DYNA2
Hello everybody,

I am looking for a way to update my model's nodes using LS-PrePost. I have a main file (say main.k) which  contains the model (nodes, elements,  etc.) and I have a separate file (new.k) with new coordinates for some of the nodes in the main file.

Typically, I would like to open main.k with LS-PrePost and, using a specific option, open new.k and let LS-PrePost find which nodes  from new.k are in  main.k and update their coordinates accordingly. Pretty much like the option "Replace" in "PartData" for the parts.

I see that there is a "Replace" option in "Node editing", but this does not seem to meet my need, so if you know a way to do this, please let me know.

Thank you in advance for your help,

Corentin.

Arthur Shapiro

unread,
Feb 8, 2021, 9:53:33 PM2/8/21
to LS-DYNA2

I don’t know if this should be considered a LSPP bug or a hidden feature. Copy the *NODE data from new.k after the *NODE data in main.k. LSPP will execute with a pop-up window with error message saying you have duplicate node numbers. Ignore the message and close the window. Then, go to the top menu bar and click on file -> save as -> save keyword as and enter a new file name. Click save. The first set of node numbers will be overwritten with x,y,z data from the second set.

Corentin Blanchard

unread,
Feb 9, 2021, 9:37:45 AM2/9/21
to LS-DYNA2
Hi Arthur, thanks for the reply!

I actually found a similar workaround! I made a copy of main.k without any *NODE card and then copied the *NODE cards from new.k to main.k. I then oppened it with LSPP and used the delete option "Node Editing" to delete the unreferenced nodes (i.e. the nodes from new.k that were not used in main.k). Then I saved the file to keep only the desired *NODE cards with updated coordinates.

It has worked and I'm sure that your method would have too, but I think such feature would be great for future releases of LSPP.

Thanks again for the reply!
Reply all
Reply to author
Forward
0 new messages