-
Notifications
You must be signed in to change notification settings - Fork 5
Adding technology demonstration guide example #21 #21
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
Conversation
|
Hi @pmaroneh I just saw that the code-style checks where failing due to a missing "ignored" word (i.e. |
|
Hi @RobPasMue, thanks a lot for correcting this. |
|
Hi again @RobPasMue , sorry, another question, related to the one above. This examples requires a .cdb file to be read. Where should I place this .cdb file? Thanks |
|
Hi again again @RobPasMue , I can't figure out what the code style check is failing at now, would you mind helping me out? Many thanks. |
|
Hi @pmaroneh! Sorry, I was focused on other topics =)
--- a/doc/source/technology_showcase_examples/techdemo-21/21-example-technology-showcase-buckling.py
+++ b/doc/source/technology_showcase_examples/techdemo-21/21-example-technology-showcase-buckling.py
@@ -2[70](https://github.com/pyansys/pymapdl-techdemos/actions/runs/3591741195/jobs/6046635959#step:5:71),7 +270,7 @@ mapdl.nsubst(100, 10000, 10)
mapdl.rescontrol("define", "all", 1)
mapdl.outres("all", "all")
mapdl.ncnv(2) # Do not terminate the program execution if the solution diverges
-mapdl.ignore_errors = True # in order for PyMAPDL to not raise an error
+mapdl.ignore_errors = True # in order for PyMAPDL to not raise an error
output = mapdl.solve()
print(output)
mapdl.finish()You just need to add a space in |
|
I'm taking steps to fix some issues here @pmaroneh. Wait for my input please. |
…ansys/pymapdl-techdemos into doc/tech_demos_21buckling_pmh
pmaroneh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Taken into account
clatapie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @pmaroneh for submitting this example!
I left you some comments about the organization of that repository that need to be followed because of the model size presented in the TechDemos.
Feel free to contact us for any question that you may have.
|
I do remember to have said to Camille we will only accepts RST files for the repos. However, because this example is already finished and we do not have any guidance on how to do the RST files, let's gonna skip this one. So yeah @clatapie , let's merge this one when ready. Apologies for keep changing the directives! |
doc/source/technology_showcase_examples/techdemo-21/21-example-technology-showcase-buckling.rst
Outdated
Show resolved
Hide resolved
clatapie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you @pmaroneh for this example 👍
germa89
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But let's see once deployed.
This PR was originally created for the pymapdl repo but I'm moving it here as the tech demos have been moved to another repo.
Link to initial PR.
In this PR, I would like to add a new example, taken from Chapter 21 of the Mechanical APDL Technology Showcase Manual. This examples shows how to use PyMAPDL to import an existing FE model and to perform a nonlinear buckling and postbuckling analysis using nonlinear stabilization. The problem uses a stiffened cylinder subjected to uniform external pressure to show how to find the nonlinear buckling loads, achieve convergence at the post-buckling stage, and interpret the results.