ansys / pymechanical-examples

Repository holding PyMechanical remote examples
https://examples.mechanical.docs.pyansys.com/
MIT License
1 stars 1 forks source link

LS-Dyna example #34

Closed ayush-kumar-423 closed 8 months ago

ayush-kumar-423 commented 1 year ago

LS-Dyna example

koubaa commented 1 year ago

@ayush-kumar-423 lgtm, still needs the CI to run. bonus points if this can be fully incorporated into the web documentation, but having this example herre as-is is better than nothing.

samigithub2022 commented 1 year ago

I could fix the code style issue. But the documentation generation took more than an hour and it was still running. Cancelled it. Will debug this locally. @ayush-kumar-423 @vnamdeo

vnamdeo commented 1 year ago

@koubaa @samigithub2022 Debug further this example and noticed that no issue observed in documentation creation locally. However, when we pushed to git, Documentation step took 1+ hour's and still shows "In Progress" mode as @samigithub2022 mentioned. Could you please look in to the issue at the documentation workflow level. Thanks !

11 13 12

koubaa commented 1 year ago

@RobPasMue any idea why the html doc build would time out? I don't see anything in the logs

RobPasMue commented 1 year ago

@RobPasMue any idea why the html doc build would time out? I don't see anything in the logs

No idea. I'd have to look into it. Let me try

samigithub2022 commented 1 year ago

@vnamdeo @koubaa @RobPasMue - I have noticed - if Mechanical crashed, doc. was hanging. I will debug this issue.

RobPasMue commented 1 year ago

I am doing some remote debugging just in case... but it looks like the Mechanical session crashed indeed

RobPasMue commented 1 year ago

@koubaa @samigithub2022 @vnamdeo @ayush-kumar-423 - Have a look at https://github.com/ansys/pymechanical-examples/actions/runs/5444683310/jobs/9902895691?pr=34

It looks like the script finishes successfully, but is not able to continue to the next example... something weird is happenning with the mechanical sessions IMO. But I can't really tell...

koubaa commented 1 year ago

@koubaa @samigithub2022 @vnamdeo @ayush-kumar-423 - Have a look at https://github.com/ansys/pymechanical-examples/actions/runs/5444683310/jobs/9902895691?pr=34

It looks like the script finishes successfully, but is not able to continue to the next example... something weird is happenning with the mechanical sessions IMO. But I can't really tell...

@samigithub2022 @RobPasMue probably worth trying to debug locally with docker compose (i.e. outside of github)

samigithub2022 commented 1 year ago

@RobPasMue - thanks for your remote debugging .

@ayush-kumar-423 @vnamdeo @koubaa @RobPasMue - I have debugged this.

FYI: We run our pipeline using 232 docker image.

It was hanging in analysis.Solver line.

For standalone - In 231 we had support for lsydnya and it stopped working in 232. In 241 also, it didn't work. I will file a defect on the development side to fix this issue.

We may not be able to support this example currently. We'll support it for 241. We'll file a defect on the github side to keep track of this issue.

When you create an example, if possible please test it also on Linux.

samigithub2022 commented 1 year ago

FYI: @ayush-kumar-423 @vnamdeo @koubaa @RobPasMue

An issue has been created to track this:

https://github.com/ansys/pymechanical-examples/issues/52

ayush-kumar-423 commented 1 year ago

In discussion with @vnamdeo we can let this PR open till #52 is fixed and revisit afterwards. cc: @koubaa @samigithub2022

dipinknair commented 11 months ago

In discussion with @vnamdeo we can let this PR open till #52 is fixed and revisit afterwards. cc: @koubaa @samigithub2022 @RobPasMue @ayush-kumar-423 @vnamdeo This will be fixed with 241 which will support full LSDyna functionalities. Please see below results generated in 241. image

dipinknair commented 8 months ago

@ayush-kumar-423 @vnamdeo

Updates in progress

GIF

taylor_bar

total deformation

image