Search found 59 matches

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: 309

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: 323

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: 270

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: 323

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: 177

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: 177

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: 151

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: 172

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: 141

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
by Martin Pfaller
Wed Aug 02, 2023 9:56 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Generating Centerlines to Complete 0D Simulation
Replies: 4
Views: 254

Re: Generating Centerlines to Complete 0D Simulation

Hi Ricardo, Dave and I discussed another workaround yesterday: 1. Cut out a branch of the 3D geometry to remove the loop, generating two new outlets 2. Generate centerline and 0D model on the cut 3D geometry (with the two additional outlets) 3. Generate centerline and 0D model on the cut branch (wit...