Negative pressure values in simulation output

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Joanne Sarsam
Posts: 34
Joined: Tue Oct 25, 2022 11:44 am

Negative pressure values in simulation output

Post by Joanne Sarsam » Thu Feb 01, 2024 6:01 am

Hello,

I am attempting to run a rigid wall simulation through SV GUI. I assign a pulsatile parabolic flow profile to my input, assigning the data points from one cardiac cycle of flow as the flow file. Values are negated to represent flow opposite the normal. My RCR values are similar ranges as those in the examples on the SV github. I'm curious what could be happening in my simulations to be causing an output of negative pressures?

Additionally, the velocity output is consistently low. i.e., the flow file maximal value is 22 mL/s, but the simualtion output shows 2.7 mL/s as the maximum velocity value. What could be the issue here?

Best,
Joanne Sarsam

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Negative pressure values in simulation output

Post by David Parker » Thu Feb 01, 2024 11:57 am

Hello Joanne Sarsam,

Which solver are you using?

Are the nonlinear solves within each time step converging (i.e., residuals are < 1e-3) ?

Is your mesh fine enough to correctly approximate the flow/pressure distribution?

Have you run the simulation for enough cycles that the results have converged (i.e., time-varying results don't changed from cycle-to-cycle).

Cheers,
Dave

User avatar
Joanne Sarsam
Posts: 34
Joined: Tue Oct 25, 2022 11:44 am

Re: Negative pressure values in simulation output

Post by Joanne Sarsam » Thu Feb 01, 2024 12:22 pm

Hi David,

I am using the NS solver, and the time steps are converging with proper residuals. I am running a rigid simulation with 5000 time steps, where each timestep is the length of a cardiac cycle (0.435 secs). My mesh is fine, with 249,000 elements. I ran the simulation for 5 cardiac cycles.

I am also getting odd results for my velocity outputs; I prescribed an inflow waveform, parabolic profile, in mL/s, to my inlet boundary condition, based off of Doppler velocity data. However, in the output of my results on paraview, the velocities do not oscillate like in the waveform. Instead, it ranges from 0 to the inflow velocity prescribed for time 0 secs, without ever oscillating. Im not sure if there's some sort of issue in my flow file.

Here is the velocity profile:
velocities.png
velocities.png (84.99 KiB) Viewed 406 times
Here is the pressure profile:
pressures.png
pressures.png (83.19 KiB) Viewed 406 times
Here are my RCR conditions:
Screenshot (13).png
Screenshot (13).png (11.69 KiB) Viewed 406 times
Attached is my histor.dat file, and my flow file.

Thanks so much for the help as as always.
Best, Joanne
Attachments
histor.txt
(267.4 KiB) Downloaded 31 times
patient1_flowfile.txt
(300 Bytes) Downloaded 11 times

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Negative pressure values in simulation output

Post by David Parker » Fri Feb 02, 2024 11:12 am

Hi Joanne,

I'm thinking that there must be a problem with the inlet flow. Try running a simulation for a steady flow using a flow file like this

Code: Select all

0.0 -100
1.0 -100
and see what the results look like, examine velocity vectors.

Cheers,
Dave

User avatar
Joanne Sarsam
Posts: 34
Joined: Tue Oct 25, 2022 11:44 am

Re: Negative pressure values in simulation output

Post by Joanne Sarsam » Tue Feb 06, 2024 2:06 pm

Hello David,

Thanks for the suggestion. I reran the simulation for 3 cardiac cycles, assigning a steady inflow. The velocities I get as output as not close to the flow file values of 100 cc/sec. The velocity vectors also look a bit odd. The pressures are also impractically high, but this is likely due to the fact that we prescribed a non-physiological flow field as input.
Images attached:
Attachments
velocity_vectors_steady.jpeg
velocity_vectors_steady.jpeg (109.08 KiB) Viewed 379 times
velocitiessteady.png
velocitiessteady.png (93.78 KiB) Viewed 379 times
pressure_steady.jpeg
pressure_steady.jpeg (47.46 KiB) Viewed 379 times

User avatar
Joanne Sarsam
Posts: 34
Joined: Tue Oct 25, 2022 11:44 am

Re: Negative pressure values in simulation output

Post by Joanne Sarsam » Tue Feb 06, 2024 2:38 pm

Another note -- i notice my pressure waveforms are additive over cycles, rather than stabilizing over multiple cycles. Any idea as to why this might be happening?

User avatar
David Parker
Posts: 1634
Joined: Tue Aug 23, 2005 2:43 pm

Re: Negative pressure values in simulation output

Post by David Parker » Thu Feb 08, 2024 11:56 am

Hi Joanne,

It is best to examine velocity using slice planes, easier to see the patterns and such.

The next thing to do is to use the simplest boundary conditions (i.e. resistance) and see if the results make sense.

Cheers,
Dave

POST REPLY