Search found 60 matches

by Martin Pfaller
Fri Jul 12, 2024 2:38 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Errors and questions with ROMSimulations in SimVascular
Replies: 1
Views: 465

Re: Errors and questions with ROMSimulations in SimVascular

Hi Lina, I removed a couple of zeros from your "Material Parameter 1," and it runs nicely now. Regarding your questions: 1) The STENOSIS detection is performed automatically and indicates variations in your branch's cross-sectional area. This doesn't necessarily mean that there is an anatomical sten...
by Martin Pfaller
Tue Feb 27, 2024 6:25 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Units of shear constant in cgs
Replies: 2
Views: 504

Re: Units of shear constant in cgs

The shear correction factor of 0.833=5/6 is dimensionless and explained in this paper: https://doi.org/10.1016/j.cma.2005.11.011
by Martin Pfaller
Tue Feb 27, 2024 6:22 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: How to get branch outflows from svzerodsolver
Replies: 5
Views: 660

Re: How to get branch outflows from svzerodsolver

Can you open an issue for the seg fault (uploading the input file on GitHub)? Thank you!

For the outlets, you can use keys like "flow:branch18_seg2:RESISTANCE_10" or "flow:branch17_seg0:RESISTANCE_9". Make sure the branch/segment is connected to the respective outlet.
by Martin Pfaller
Mon Feb 26, 2024 10:20 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Pressures are additive over multiple cycles error
Replies: 2
Views: 530

Re: Pressures are additive over multiple cycles error

You probably have RCR boundary conditions. Since they include a capacitor, it can take several cardiac cycles to be "charged." This means that when you initialize your simulation from zero velocity and pressure, you will see the pressure building up over several cardiac cycles as you did. The time c...
by Martin Pfaller
Mon Feb 26, 2024 10:13 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: How to get branch outflows from svzerodsolver
Replies: 5
Views: 660

Re: How to get branch outflows from svzerodsolver

Have a look at the documentation: https://simvascular.github.io/svZeroDSolver/ You could call solver.get_full_result(), which returns a pandas dataframe from which you can pick the results you'd like. You can see some post-processing in use when looking at the test framework: https://github.com/SimV...
by Martin Pfaller
Wed Jan 17, 2024 6:17 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: svzerodsolver Input File Error
Replies: 2
Views: 426

Re: svzerodsolver Input File Error

This is now fixed in SimVascular. You should be able to extract your 0D models and run them in svZeroDSolver without issues. Thank you for reporting this, Ricardo!
by Martin Pfaller
Wed Jan 17, 2024 5:45 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: svzerodsolver Input File Error
Replies: 2
Views: 426

Re: svzerodsolver Input File Error

Hi Ricardo, The first error looks like a bug in SimVascular. I'll have a look at it. To fix it, you can replace all occurrences of internal_junction with NORMAL_JUNCTION in your input file. The BloodVesselJunction element has additional parameters for 0D elements inside the junction and is not usefu...
by Martin Pfaller
Tue Dec 12, 2023 1:39 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: SimVascular arrays
Replies: 1
Views: 282

Re: SimVascular arrays

Hi, Please find the explanations below and let me know if you have more questions! Martin BifurcationId : 1,..,n in all n junctions of the model, -1 in branches BifurcationIdTmp : Internal parameter used during junction/branch detection BranchId : 1,..,n in all branches of the model, -1 in junctions...
by Martin Pfaller
Tue Oct 31, 2023 1:57 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Initial conditions in ROM 1D simulations
Replies: 1
Views: 354

Re: Initial conditions in ROM 1D simulations

I think the 1D solver will start from the pressure you set as "reference pressure" for the material.
by Martin Pfaller
Thu Aug 17, 2023 12:35 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Material exponent 1D simulation
Replies: 1
Views: 298

Re: Material exponent 1D simulation

Hi Wojciech,

It's a bit misleading that "exponent" refers to the material. That parameter controls the polynomial order of the flow profile. For Poiseuille flow with a parabolic flow profile you would have a material exponent of two.

Hope this helps!

Martin