Skip to content

Refactor MODUL_finite to in-memory solver - #105

Open
chemiskyy wants to merge 4 commits into
masterfrom
example/modular
Open

Refactor MODUL_finite to in-memory solver#105
chemiskyy wants to merge 4 commits into
masterfrom
example/modular

Conversation

@chemiskyy

Copy link
Copy Markdown
Member

Delete the external path file and rewrite MODUL_finite.py to build the loading path and run the solver entirely in memory. Changes include: remove examples/data/MODUL_finite_path.txt; import and use simcoon.solver with Block/StepMeca and solver.solve; construct log-strain steps in Python; specify corate="logarithmic_R" and control_type="logarithmic"; drop filesystem and legacy numpy file I/O, read measures (LogStrain, Kirchhoff, Wm, Time) from the returned result dict; update plotting and docstrings accordingly; remove unused os/numpy imports. This keeps material and loading path in Python and avoids temporary path/result files on disk.

Delete the external path file and rewrite MODUL_finite.py to build the loading path and run the solver entirely in memory. Changes include: remove examples/data/MODUL_finite_path.txt; import and use simcoon.solver with Block/StepMeca and solver.solve; construct log-strain steps in Python; specify corate="logarithmic_R" and control_type="logarithmic"; drop filesystem and legacy numpy file I/O, read measures (LogStrain, Kirchhoff, Wm, Time) from the returned result dict; update plotting and docstrings accordingly; remove unused os/numpy imports. This keeps material and loading path in Python and avoids temporary path/result files on disk.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant