Skip to content

Conversation

@pmaroneh
Copy link
Contributor

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.

@github-actions
Copy link
Contributor

Please add one of the following labels to add this contribution to the Release Notes 👇

@pmaroneh pmaroneh marked this pull request as draft September 26, 2022 15:28
@pmaroneh pmaroneh self-assigned this Oct 5, 2022
@codecov
Copy link

codecov bot commented Oct 5, 2022

Codecov Report

Merging #1510 (47156d0) into main (0fee35e) will increase coverage by 2.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1510      +/-   ##
==========================================
+ Coverage   79.74%   82.12%   +2.37%     
==========================================
  Files          43       43              
  Lines        6799     6803       +4     
==========================================
+ Hits         5422     5587     +165     
+ Misses       1377     1216     -161     

@pmaroneh pmaroneh marked this pull request as ready for review October 5, 2022 13:50
@pmaroneh pmaroneh requested a review from germa89 October 6, 2022 08:10
@germa89
Copy link
Collaborator

germa89 commented Oct 26, 2022

For future references:

To install the docs libraries:

>>> pip install -r requirements/requirements_docs.txt 

To build the docs:

>> .\doc\make.bat html

The directory to locate the dynamic examples (.py):

pymapdl\examples

The directories for the static examples (.rst):

pymapdl\doc\source\examples\technology_showcase_examples
pymapdl\doc\source\examples\extended_examples

You will need to include the new rst files in the correspondent index.rst table. Remember that tables have very specific format.

rST - reStructured Text.
Format help: https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html

@pmaroneh
Copy link
Contributor Author

Hi @germa89 , I'm trying to follow instructions here but I'm getting stuck at the first line of code to install the doc librairies:
image

@pmaroneh
Copy link
Contributor Author

pip install -r requirements/requirements_docs.txt 

Solved this part, it's : pip install -r requirements/requirements_doc.txt (no s)

@germa89
Copy link
Collaborator

germa89 commented Nov 29, 2022

Solved this part, it's : pip install -r requirements/requirements_doc.txt (no s)

Because of the last changes in the repo #1635, next time you need to install any requirements, it will be:

pip install .[tests]

or

pip install .[doc]

You might need to update/sync the repo.

@germa89
Copy link
Collaborator

germa89 commented Dec 2, 2022

Closing this on favour of ansys/pymapdl-examples#21

@germa89 germa89 closed this Dec 2, 2022
@germa89 germa89 deleted the doc/tech_demos_21buckling_pmh branch December 2, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants