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

Error in execution of this script on a local computer #85

Closed mpvanderschelling closed 10 months ago

mpvanderschelling commented 10 months ago

Problem

Whenever you run f3dasm on your local machine, the variable f3dasm.HPC_JOBID will be None. The inequality less-than (<) operator will not work with NoneType. Therefore the main.py script fails

Possible solution

Add this condition:

if f3dasm.HPC_JOBID is None:
    ...

Assignees: Labels:

https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/studies/cddm_data_generation/main.py#L223-L233