-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug located in enriched command output for prcint #2746
Comments
Hi @mikerife Thank you for opening this issue. I get the following ouput from the last two
What kind of output do you expect? Something like: >>> print(mapdl.prcint(1, 'tipp', 'G1').to_list())
[1,1,0.32585E-03] Meaning, a list of list, for each element: Regarding the dataframe output, I guess the best bet is to have each row (index) as the crack ID? >>> print(mapdl.prcint(1, 'tipp', 'G1').to_dataframe())
Crack Front node Energy Release Rate
1 1 0.000326
>>> # Same as:
>>> print(pd.DataFrame(columns=["Crack Front node", "Energy Release Rate"], data=[[1,0.32585E-03]], index=[1]))
Crack Front node Energy Release Rate
1 1 0.000326 |
Hi @germa89 yeah, those seem to follow the expectations comparing to other listing commands with enhanced output. On that example if you issue: mapdl.prcint(1) It will print the G1, G2, G3, and GSUM which could be a more useful post processing step. I had added G1 just to double check the enhanced output behavior. Mike |
Ok ... can we assume then that all the output from
Is |
@germa89 No, not in 3D. Then any of the nodes at the crack front can be used/reported. Let me get you an example or two of multiple cracks and multiple crack front node. |
I will wait for your input then. :) |
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
The three different enriched command outputs return empty for the prcint command.
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.10
📝 PyMAPDL Report
Show the Report!
📝 Installed packages
Show the installed packages!
📝 Logger output file
Show the logger output file.
The text was updated successfully, but these errors were encountered: