jacob
Thank you for the model.
I tried to run the first beam example on my computer but I have some difficulties.
I have no experience with Linux and WSL and Python that's why I used AI wherever I was in trouble.
Now I have an issue with Line 37 of run.sh. I get this error:
smeca-user@DESKTOP-6FMARRN:~/optim/STUDY/beam$ bash run.sh
time_start: 1
time_end: 200
removed 'Stage_0_PreProcess.comm'
removed 'Stage_1_Iteration_1.comm'
removed 'Stage_1_Iteration.comm'
removed 'Stage_0_PreProcess.export'
removed 'Stage_1_Iteration_1.export'
removed 'Stage_1_Iteration.export'
removed 'MESH.med'
removed 'Postprocess_run.py'
removed 'Topology_Optimization_run.py'
/home/smeca-user/optim/STUDY/beam/temporary
aim_volume_fraction: 0.4
Iteration: 1
FATAL: While checking container encryption: could not open image /home/smeca-user/salome_meca.sif: failed to retrieve path for /home/smeca-user/salome_meca.sif: lstat /home/smeca-user/salome_meca.sif: no such file or directory
This is how I have changed Line 37 from your original code:

I guess it is probably something wrong with my wsl, singularity (apptainer) settings. But I couldn't figure out how to fix it.
Any suggestion?