-
Notifications
You must be signed in to change notification settings - Fork 57
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
xbeam/sharpy load ramping in nonlinearstatic solver #191
base: develop
Are you sure you want to change the base?
Conversation
…ing (with test files)
Many thanks Kelvin, This will be a nice feature for the code, but at a first glance, a few changes I think are needed:
Hope this helps! Once the PRs are split I will have a more thorough review. Thanks, |
Thanks Norberto, that's absolutely right. There is two main features on this pull: 1) the solution of a highly nonlinear structural problem with composite materials, which had not been tested before and therefore will be added as a new test; 2) the feature for load-ramping in the structural static solver, which was actually needed to solve 1). In terms of merging we should do the The jobs to the HPC should be removed and the .ipynb added as a demonstration in the example_notebooks, thus keeping in the test folder just the files for unittesting. |
Thank you so much for the comments! They are absolutely on point. Model generators/ routines are not required for the feature, but is utilised in the test case to run the structure with various loads to confirm a nonlinear trend. Hence I could pull a (high) load case from the script and rewrite into a simple unittest by confirming just the deflections at that point, potentially bypassing the model generator and routines that way, or we could wait until those are merged then perhaps use this as a test for those too. Will incorporate the comments regarding housekeeping once we have a decision. Thank you very much again! |
To be reviewed in conjunction with related xbeam pull request here. Changes below require related pull request on xbeam to be merged before it will compile without issues.
sharpy/solvers/nonlinearstatic.py -> added support for load ramping via optional flag ['load_ramping'] = 'bool' to maintain backwards compatibility, additional output-only parameter ['load_ramping_conv'] = 'bool' to receive convergence information from xbeam fortran scripts.
sharpy/routines/static.py -> added optional parameter l_ramp for load ramping
sharpy/structure/utils/xbeamlib.py -> added relevant support for ramping information passing to/from xbeam fortran scripts
tests/xbeam/generate_minguet_loadramping.py -> test case for load ramping functionality (load ramping required once in minguet_c450_4)
tests/xbeam/job, tests/xbeam/job.o5486816, tests/xbeam/job.e5486816 -> job file for the Imperial HPC system, and the runtime output/error log
tests/xbeam/Generate_plots.ipynb -> to visualise the output of generate_minguet_loadramping.py