Skip to content
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

Provide analysis completion rate #3780

Open
iazehaf opened this issue Mar 3, 2025 · 3 comments
Open

Provide analysis completion rate #3780

iazehaf opened this issue Mar 3, 2025 · 3 comments
Labels
enhancement Improve any current implemented feature

Comments

@iazehaf
Copy link

iazehaf commented Mar 3, 2025

Description of the feature

As a developer, I want to assess the progress of an analysis, so that I can display it in a progress bar in a user interface. Given a running analysis, it would be great to interrogate the MAPDL server to get the percentage of completion. A get_completion_rate method could return a value between 0 and 1.

Steps for implementing the feature

mapdl.solution()
mapdl.antype("STATIC")
mapdl.solve()
rate = mapdl.get_completion_rate()

Useful links and references

No response

@iazehaf iazehaf added the enhancement Improve any current implemented feature label Mar 3, 2025
@germa89
Copy link
Collaborator

germa89 commented Mar 3, 2025

Very related with #3779

@mikerife
Copy link

mikerife commented Mar 5, 2025

@iazehaf why not just pick the data off the nlhist file? nlhist

A while back I created a convergence plotter for PyMAPDL; could use the same idea but for a progress. And nlhist file should be easier to pick out the current load step time than the gst file parsing I did origianlly.
https://github.com/mikerife/Convergence-Plotter

Mike

@iazehaf
Copy link
Author

iazehaf commented Mar 6, 2025

Thank you @mikerife. I am not familiar with MAPDL and PyMAPDL. This enhancement request is about enabling a method developer, who is not necessarily a Mechanical expert, to easily get a completion rate without having to write a logic for that. I will check nlhist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve any current implemented feature
Projects
None yet
Development

No branches or pull requests

3 participants