Search found 1727 matches

by David Parker
Thu Nov 21, 2024 11:35 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Keywords for svpost in .slurm files
Replies: 6
Views: 1420

Re: Keywords for svpost in .slurm files

Hi Alessandro, The --results-directory parameter is the directory containing the VTK files you converted from you simulation files using svpost. The Number of converted results files: 0 message means that the program could not find any VTK files. These files should be named like all_results_00100.vt...
by David Parker
Tue Nov 19, 2024 8:44 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Dynamic simulations
Replies: 1
Views: 148

Re: Dynamic simulations

Hi Matteo, I think you can use the Impose_on_state_variable_integral parameter in the svFSIplus solver for a Dirichlet boundary condition, something like <Add_BC name="solid_interface" > <Type> Dir </Type> <Time_dependence> General </Time_dependence> <Temporal_and_spatial_values_file_path> displacem...
by David Parker
Tue Nov 19, 2024 6:27 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Velocity and pressure units
Replies: 1
Views: 96

Re: Velocity and pressure units

Hi Gianmarco, The svSolver does not assume any units. The units of your mesh, boundary condition data and physical constants just need to be consistent. The Sim units cm option is used to write flow data to a text file, it does not affect the simulation results stored in VTK files. Pressure would be...
by David Parker
Thu Nov 14, 2024 1:02 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Writing input file for ROM with Python API not working
Replies: 4
Views: 151

Re: Writing input file for ROM with Python API not working

Hi Ione, Running a Python script in the SV Python panel needs to have an active project I think, not sure why it would crash though. It is difficult to see any errors in the Python script because the SV window pops up and then disappears. To test the script I started the SV Python interpreter and th...
by David Parker
Wed Nov 13, 2024 10:38 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Writing input file for ROM with Python API not working
Replies: 4
Views: 151

Re: Writing input file for ROM with Python API not working

Hello Ione, The Python code you posted looks fine. You do need to run the script within SimVascular, something like simvascular --python -- script.py where simvascular is the SimVascular shell script, not sure where this is on Windows. Are you running this script in a Power Shell? Windows may not wa...
by David Parker
Tue Nov 12, 2024 11:33 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Basic Information
Replies: 3
Views: 576

Re: Basic Information

Hello, It seems that the e3source.f file is the code that you would write to implement a custom body force. However, there is no documentation describing how to use this. I recommend using the svFSIplus solver (see https://simvascular.github.io/documentation/svfsiplus.html). It has a Add_BF paramete...
by David Parker
Tue Nov 12, 2024 10:38 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Keywords for svpost in .slurm files
Replies: 6
Views: 1420

Re: Keywords for svpost in .slurm files

Hi Alessandro,

The --results-directory argument is the directory of the simulation results converted to VTK .vtp and .vtu files typically in a <NAME>-converted-results directory (see https://github.com/ktbolt/cardiovascula ... flow-files).

Cheers,
Dave
by David Parker
Mon Nov 11, 2024 12:28 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Extracting NURBS surface data.
Replies: 2
Views: 109

Re: Extracting NURBS surface data.

Hello Hugo, The models in the repository are polygonal surfaces represented using VTK data structures. You will need to first convert the SV VTK VTP model file into STL format; you can do this using a VTK Python script. You can then read in the STL format into a CAD program that supports tessellatin...
by David Parker
Tue Nov 05, 2024 2:53 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Troubleshooting libgfortran.5.dylib Missing Error and Compatibility Issues on M3 MacBook
Replies: 1
Views: 177

Re: Troubleshooting libgfortran.5.dylib Missing Error and Compatibility Issues on M3 MacBook

Hi Yuri, The latest svSolver will not be able to find the Fortran libraries on the latest MacOS releases. I suggest using the svFSIplus solver since the svSolver is no longer supported and will soon be archived. However, the current release of SV does not support writing out svFSIplus XML files so y...
by David Parker
Mon Nov 04, 2024 12:22 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Cannot move control points when segmenting (ubuntu24 laptop
Replies: 1
Views: 140

Re: Cannot move control points when segmenting (ubuntu24 laptop

Hello, To modify control points you first select the segmentation from the SV 2D Segmentation Tool Contour List widget. Positioning the cursor over a control point should then change its color from green to red. The control point can then be moved using the left mouse key, holding it down and moving...