How to export SolverDeck as .inp within tcl script
Answers
-
is it abaqus ;inp file?
Just perform the operation manually in HM, and after that open the command.tcl file in the 'documents' folder and you will have the commands for that.
sometimes you need to adjust a couple paths or '\'
0 -
Hello Adriano, thank's for the reply. Your suggestions seems to be a perfect way for learning coding in Hypermesh.
Yes, .inp is for Abaqus. I'm exporting the geometry from abaqus to do mesh refinements in Hypermesh and exproting it back to abaqus for applying loads and initializing a job.
I'm using the student version, which will change hopefully next week. Until then I can't manually export to abaqus. From documentation I guess it might be the
*exportshapes
function. Is it also exporting information about the mesh?
Thank's for any advice
0 -
Maybe you can not export INP from Hypermesh student release.
0 -
That's correct I can't. I will be able in a couple of weeks though. Regarding the situation we have limited workplaces in our universities institue, where a full licence is availble. Until then I'd like to prepare everything as far as I can in the student version.
0 -
Is *exportshapes the correct function to export geometry and mesh to .inp file?
0 -
Altair Forum User said:
Is *exportshapes the correct function to export geometry and mesh to .inp file?
INP can have geometry inside (I don't know) but from Hypermesh you can only export FEM entities into INP for Abaqus.
0 -
only mesh will be exported:
something like this
*feoutputmergeincludefiles 0
*createstringarray 4 'EXPORTIDS_SKIP' 'HMBOMCOMMENTS_XML' 'HMSUBSYSTEMCOMMENTS_XML' \
'HMMATCOMMENTS_XML'
*feoutputwithdata 'D:/Program Files/Altair/2020/hwdesktop/templates/feoutput/abaqus/standard.3d' 'C:/Users/adriano/Desktop/model.inp' 0 0 2 1 4
*clearmarkall 10 -
Perfect, thank you for your help.
0 -
Altair Forum User said:
INP can have geometry inside (I don't know) but from Hypermesh you can only export FEM entities into INP for Abaqus.
In the inp file you have only two tables : connectivity and coordinate table.
0 -
Thank you very much, Farouk.
0