Replies: 1 comment
-
Pinging @ansys/pydyna for visibility |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
As part of the preparation process of solver input files (.k-file) for LS-Dyna, I would like to use PyDyna to read out and modify existing solver input files. Some conspicuousness and questions have arisen. The import as a DynaSolution object works without any problems using the open_files method.
In a minimal example for a solver input file, *PART_SOLID keywords have been defined among others, which means that also the keyword *NODES exists. The model attribute oft the DynaSolution object is updated using the _sync_up_model method. The _parts attribute of the model object is described with values, but the _solids and _nodes attributes are not. What is the reason for this behaviour?
As far as I can see from the minimal example, keywords already defined in the solver input file such as *DEFINE_COORDINATE_SYSTEM, *DEFINE_CURVE or *SET_NODE_LIST cannot be read and processed using PyDyna. However, it is possible to define those keywords using suitable classes or methods such as the method create_general_keyword. Is there a way to read and process existing keywords from a solver input file? From my point of view, this is an essential function.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions