Page 1 of 1

fail to run ROM demo project in the new SimVascular version

Posted: Mon Mar 06, 2023 5:39 am
by yanqing
Hello everyone:
I am using 2022-07 and 2022-02 versions of SimVascular, when I run the ROMsimulation as the demoproject http://simvascular.github.io/docsROMSimulation.html, I get the same errors on Windows 10.
1678095546383.png
1678095546383.png (6.43 KiB) Viewed 268 times
While I used 2019-08 version of SimVascular, it runs the demo successfully. I think it is the code of 'Create Files for Siumulation' changed, so I couldn't run the project on the new SimVascular version. Here is the different 'solver.in' files from different SimVascular version with the same BCs and model.
Version:2019-08:
solver.txt
(25.68 KiB) Downloaded 36 times
Vesion:2022-02:
solver_1d-202202.txt
(25.85 KiB) Downloaded 30 times
Version2022-07:
solver_1d.txt
(26.83 KiB) Downloaded 18 times
Thanks,
Yan

Re: fail to run ROM demo project in the new SimVascular version

Posted: Tue Mar 07, 2023 10:44 am
by davep
Hello Yan,

Running the oneDSolver you see the error

Code: Select all

ERROR: The area of segment 'branch1_seg1' is negative.
You probably need more elements for the simulation. Change the element size to 0.05.

Cheers,
Dave

Re: fail to run ROM demo project in the new SimVascular version

Posted: Tue Mar 07, 2023 8:39 pm
by yanqing
Hello Dave:
I have tried to change the element size and the time step size, however, I get the same errors. What else Can I do to run the project successfully.

I got different 'solver.in' files from different SimVascular version with the same settings, e.g."Number of segment, nodes and elements", I can run the project successfully only in the 2019-08 version, what can I do to fix the 'solver_.in' to run the project in the new Simvascular version.

Thanks,
Yan

Re: fail to run ROM demo project in the new SimVascular version

Posted: Thu Mar 09, 2023 12:07 pm
by davep
Hi Yan,

I just tested on Windows and the 1D simulation ran fine.

It's not clear what's going on here, maybe remove all SimVascular applications and reinstall them.

Cheers,
Dave