Dear SimVascular team,
I installed the sv1DSolver package for my Mac 10.12.6, but I could not find it on my computer. Searching the whole Mac does not give me any results except the installation file or past SimVascular projects. I attached the basic system overview of my mac below. Could you help me solve this problem? Thank you very much!
Best,
HmuUCSD
Cannot Find sv1DSolver Package after successful Installation
Cannot Find sv1DSolver Package after successful Installation
- Attachments
-
- Basic system information
- System Info.png (16.29 KiB) Viewed 362 times
- David Parker
- Posts: 1716
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Cannot Find sv1DSolver Package after successful Installation
Hi HmuUCSD,
The 1D solver is installed in /usr/local/sv/oneDSolver.
Cheers,
Dave
The 1D solver is installed in /usr/local/sv/oneDSolver.
Cheers,
Dave
Re: Cannot Find sv1DSolver Package after successful Installation
I found the file. Thank you!
Could you show me how to use the sv1DSolver? I have the input file ready.
Could you show me how to use the sv1DSolver? I have the input file ready.
- Martin Pfaller
- Posts: 60
- Joined: Tue Oct 01, 2019 10:23 am
Re: Cannot Find sv1DSolver Package after successful Installation
Execute the command
Code: Select all
/usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver path_to_your_input_file
Re: Cannot Find sv1DSolver Package after successful Installation
Thank you for the help! The solver works, but it gives me an error message shown below. I double-checked my input file but could not find the source of this error. Can you help me with that? I also attached my input file as a reference.
Thank you very much!
>>>>>>>>>>>>>>>>>>
(base) MuHaodeMBP:~ muhao$ /usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver /Users/muhao/Desktop/svOneDSolver_build
---------------------------------
oneDSolver
1D Finite Element Hemodynamics
---------------------------------
Reading file: /Users/muhao/Desktop/svOneDSolver_build ...
Printing Model Echo ...
Creating and Running Model ...
Creating Nodes ...
Creating Joints ...
Creating Materials ...
Creating Data Tables ...
Creating Segments ...
Solving Model ...
ERROR: Cannot find data table entry from string key: .
Terminated.
Thank you very much!
>>>>>>>>>>>>>>>>>>
(base) MuHaodeMBP:~ muhao$ /usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver /Users/muhao/Desktop/svOneDSolver_build
---------------------------------
oneDSolver
1D Finite Element Hemodynamics
---------------------------------
Reading file: /Users/muhao/Desktop/svOneDSolver_build ...
Printing Model Echo ...
Creating and Running Model ...
Creating Nodes ...
Creating Joints ...
Creating Materials ...
Creating Data Tables ...
Creating Segments ...
Solving Model ...
ERROR: Cannot find data table entry from string key: .
Terminated.
- Attachments
-
- solver.in.rtf
- Input file (converted to text)
- (7.49 KiB) Downloaded 3 times
- Martin Pfaller
- Posts: 60
- Joined: Tue Oct 01, 2019 10:23 am
Re: Cannot Find sv1DSolver Package after successful Installation
Hi Hao,
It seems like your command doesn't use your input file. It should be something like
Always save your input file as pure text (e.g. .txt). The .rtf file format contains additional information that the solver can't read.
I replaced the tabs in your input file with spaces and the solver can now read the file (attached). However, the first time step doesn't converge. Please check that all your parameters have the correct unit (inflow, boundary conditions, material).
For reference, I attached one of my input files (aorta). You can also have a look at the test cases here:
https://github.com/SimVascular/svOneDSo ... aster/test
Best
Martin
It seems like your command doesn't use your input file. It should be something like
Code: Select all
/usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver solver_hao.in
I replaced the tabs in your input file with spaces and the solver can now read the file (attached). However, the first time step doesn't converge. Please check that all your parameters have the correct unit (inflow, boundary conditions, material).
For reference, I attached one of my input files (aorta). You can also have a look at the test cases here:
https://github.com/SimVascular/svOneDSo ... aster/test
Best
Martin
- Attachments
-
- Archive.zip
- (8.5 KiB) Downloaded 10 times
Re: Cannot Find sv1DSolver Package after successful Installation
Thank you very much!
Do I need to put my input file and the solver in the same folder?
Do I need to put my input file and the solver in the same folder?
- Martin Pfaller
- Posts: 60
- Joined: Tue Oct 01, 2019 10:23 am
Re: Cannot Find sv1DSolver Package after successful Installation
No. You can provide the absolute path to your solver input file.
Re: Cannot Find sv1DSolver Package after successful Installation
Hi Martin,
I double-checked all data in my input file, but I still got NaN soon after start of simulation. Do you have any suggestions? Thank you very much!
>>>>>>>>>>>>>>>
(base) MuHaodeMacBook-Pro:~ muhao$ /usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver /Users/muhao/Desktop/svOneDSolver_build/solver_Mar4.in
---------------------------------
oneDSolver
1D Finite Element Hemodynamics
---------------------------------
Reading file: /Users/muhao/Desktop/svOneDSolver_build/solver_Mar4.in ...
Printing Model Echo ...
Creating and Running Model ...
Creating Nodes ...
Creating Joints ...
Creating Materials ...
Creating Data Tables ...
Creating Segments ...
Solving Model ...
Inlet Condition Type: FLOW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of Joints: 0
Number of Segments: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this that set ehr =73738.000000 p1_=16599.000000
subdomain cpp setupMaterial matID=0
RCR boundary condition
Subdomain No. 1
Joint No. 0
Outlet No. 1
Number of equations 202
Using Conservative Form ...
maxStep/stepSize: 10000
Total Solution is: 10000 x 202
**** Time cycle 1
iter: 0 normf: 29624.3 norms: 0.841068 time: 0.000228
iter: 1 normf: 267086 norms: 2.41793 time: 0.000131
iter: 2 normf: 80491.8 norms: 0.839291 time: 0.000147
Calculated a NaN for the residual.
Terminated.
I double-checked all data in my input file, but I still got NaN soon after start of simulation. Do you have any suggestions? Thank you very much!
>>>>>>>>>>>>>>>
(base) MuHaodeMacBook-Pro:~ muhao$ /usr/local/sv/oneDSolver/2019-07-09/bin/OneDSolver /Users/muhao/Desktop/svOneDSolver_build/solver_Mar4.in
---------------------------------
oneDSolver
1D Finite Element Hemodynamics
---------------------------------
Reading file: /Users/muhao/Desktop/svOneDSolver_build/solver_Mar4.in ...
Printing Model Echo ...
Creating and Running Model ...
Creating Nodes ...
Creating Joints ...
Creating Materials ...
Creating Data Tables ...
Creating Segments ...
Solving Model ...
Inlet Condition Type: FLOW
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Number of Joints: 0
Number of Segments: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this that set ehr =73738.000000 p1_=16599.000000
subdomain cpp setupMaterial matID=0
RCR boundary condition
Subdomain No. 1
Joint No. 0
Outlet No. 1
Number of equations 202
Using Conservative Form ...
maxStep/stepSize: 10000
Total Solution is: 10000 x 202
**** Time cycle 1
iter: 0 normf: 29624.3 norms: 0.841068 time: 0.000228
iter: 1 normf: 267086 norms: 2.41793 time: 0.000131
iter: 2 normf: 80491.8 norms: 0.839291 time: 0.000147
Calculated a NaN for the residual.
Terminated.
- Attachments
-
- solver_Mar4.in copy.txt
- Input file that creates NaN
- (6.99 KiB) Downloaded 3 times