You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading a dynain with import_file the *INITIAL_STRAIN_SHELL is not read correctly. It is missing the strain cards (Card 2). It only reads the first card. But when NPLANE and NTHICK is empty or 0, then it will not read the Card 2.
From the Volume I Keyword we have following description:
When NPLANE and NTHICK are not defined or when the SET option is used, define
two cards below, one for the inner integration point and the other for the outer
integration point, respectively. Otherwise define NPLANE × NTHICK cards, one card
for each integration point.
Please run following python code with the input from above:
from ansys.dyna.core.lib.deck import Deck
from ansys.dyna.core.keywords import keywords
my_dynain = Deck()
my_dynain.import_file('01_DRAW_shell_quad_no_adaptivity_ip4_mini.txt')
# Print *INITIAL_STRAIN_SHELL
# Reads only the first card of the Keywords. This is a special keywords:
# When NPLANE and NTHICK are not defined or when the SET option is used, define
# two cards below, one for the inner integration point and the other for the outer
# integration point, respectively. Otherwise define NPLANE × NTHICK cards, one card
# for each integration point.
len(my_dynain.keywords)
my_dynain.keywords[2]
🔍 Before submitting the issue
🐞 Description of the bug
When reading a dynain with import_file the *INITIAL_STRAIN_SHELL is not read correctly. It is missing the strain cards (Card 2). It only reads the first card. But when NPLANE and NTHICK is empty or 0, then it will not read the Card 2.
From the Volume I Keyword we have following description:
When NPLANE and NTHICK are not defined or when the SET option is used, define
two cards below, one for the inner integration point and the other for the outer
integration point, respectively. Otherwise define NPLANE × NTHICK cards, one card
for each integration point.
📝 Steps to reproduce
01_DRAW_shell_quad_no_adaptivity_ip4_mini.txt
Please run following python code with the input from above:
It outputs following:
But I would expect also the the Strain values of the keyword:
💻 Which operating system are you using?
Linux
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.12
📦 Installed packages
The text was updated successfully, but these errors were encountered: