Search found 1615 matches

by David Parker
Fri Apr 19, 2024 3:55 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: error in the simulation
Replies: 12
Views: 2367

Re: error in the simulation

Hi Simon, It's not clear what is going on here, the nonlinear residuals look good and then you suddenly get a NaN, doesn't seem to be a time step problem. What do your results look like before the failure? Upload you SV Simulations directory someplace I can download it and I'll have a look. Cheers, ...
by David Parker
Fri Apr 19, 2024 3:25 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: error in the simulation
Replies: 12
Views: 2367

Re: error in the simulation

Hi Simon,

It's not clear what is going on here, the nonlinear residuals look good and then you suddenly get a NaN.

Upload you SV Simulations directory someplace I can download it and I'll have a look.

Cheers,
Dave
by David Parker
Fri Apr 19, 2024 3:19 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Problem simulating simple geometries (negative pressures)
Replies: 12
Views: 3037

Re: Problem simulating simple geometries (negative pressures)

Hi Flo, I reran a simulation with default solver parameters (e.g. Maximum Number of Iterations for svLS Momentum Loop=2 rather than what you had originally had Maximum Number of Iterations for svLS Momentum Loop=10) and the results were ok. I think the Maximum Number of Iterations for svLS -type par...
by David Parker
Thu Apr 18, 2024 11:42 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: "CTGR file modified after being imported into SV"
Replies: 7
Views: 3147

Re: "CTGR file modified after being imported into SV"

The path points match the segments fine.

What image data are you using? Maybe the image data is not scaled correctly.

What exactly are you trying to do here?

Cheers,
Dave
by David Parker
Wed Apr 17, 2024 6:18 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Problem simulating simple geometries (negative pressures)
Replies: 12
Views: 3037

Re: Problem simulating simple geometries (negative pressures)

Hi Flo, I did not read the details of your first post closely enough, just responded to negative pressures , sorry! Your flow results look fine but your pressure results do indeed look odd. And if the solver is failing with a singular matrix error then your simulation is not well-defined. Upload all...
by David Parker
Wed Apr 17, 2024 12:53 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: BC - pressure over time
Replies: 1
Views: 366

Re: BC - pressure over time

Hello,

You can define pressure BCs using GenBC (https://simvascular.github.io/documentation/genbc.html).

Cheers,
Dave
by David Parker
Wed Apr 17, 2024 12:44 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: "CTGR file modified after being imported into SV"
Replies: 7
Views: 3147

Re: "CTGR file modified after being imported into SV"

Hello,

You will need to upload your .pth file so I can reproduce what you are seeing.

Cheers,
Dave
by David Parker
Tue Apr 16, 2024 2:41 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Problem simulating simple geometries (negative pressures)
Replies: 12
Views: 3037

Re: Problem simulating simple geometries (negative pressures)

Hello,

Why do you think a negative pressure is incorrect?

Cheers,
Dave
by David Parker
Tue Apr 16, 2024 1:54 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: error in the simulation
Replies: 12
Views: 2367

Re: error in the simulation

Hi Simon,

Is your simulation starting at time step 1? Make sure that there are no simulation files left over from your previous simulations, otherwise the solver will restart the simulation from those files.

Cheers,
Dave
by David Parker
Tue Apr 16, 2024 10:41 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: "CTGR file modified after being imported into SV"
Replies: 7
Views: 3147

Re: "CTGR file modified after being imported into SV"

Hello, I looked at the two segmentations in SV and they appear to be geometrically identical. I seem to recall that the first two control points are not in fact used as control points, I think they are the contour center and a point on the contour, that are used to transform (e.g. scale) the contour...