bessagroup / rvesimulator

Automated representative volume element simulator via abaqus for material constitutive law discovery
https://bessagroup.github.io/rvesimulator/
MIT License
14 stars 2 forks source link

Suggestion: refrain from changing working directory #66

Open mpvanderschelling opened 10 months ago

mpvanderschelling commented 10 months ago

This is merely a suggestion, but I don't think that changing working directory is a good practice. It can lead to unexpected behavior and bugs. Instead, I suggest using absolute paths or pathlib.Path objects to specify file paths and run the ABAQUS script from a absolute path.

We can discuss this later if you want!

Assignees: Labels:

https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/benchmarks/asca_rve.py#L209