Hi all,
I'm facing a problem in a static analysis. I need to export from a global model .op2 node displacement and rotation in order to built a bdf file with SPCD.
These SPCD are then used to run a non linear analysis with a reduced model by imposing displacement and rotation on interface nodes.
I'm not able to get SPCD directly from Hyperview (without passing through excel), so I made a script on compose that uses readcae command.
At the end of the script, there is a csvwrite command that write down a bdf file.
The problem is I can't choose for each column the needed figure precision. I try to be a bit clearer.
In a SPCD command the first colum is the SPCD string (string, the the SPCD ID (integer), the third is the NodeID (integer), the fourth the disp component (integer 1,2,3,4,5,6) and then the value of the corresponding displacement (floting point number).
I'm not able to have 8 figures for each field (Nastran type) and the precision for each field.
Furthermore, I would like to export a bdf file with the string SPCD as first column, then the SPCD ID and so on.
The command cswrite, export only numbers and not strings so I can't introduce a column string SPCD.
I hope it is clear what is my problem.
Any ideas?
Thanks