Search found 110 matches

by Weiguang Yang
Tue Feb 26, 2019 11:34 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Pressure inlet condition
Replies: 4
Views: 826

Re: Pressure inlet condition

Technically, you can prescribe a pressure waveform for an inlet using a GenBC boundary condition. The GenBC tutorial shows how to prescribe an RCR BC for an outlet by providing dp/dt=f(Q,R,C,Rd) at each time step. Similarly, you can prescribe a pre-defined pressure waveform by providing dp/dt at any...
by Weiguang Yang
Mon Feb 11, 2019 5:04 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Mass conservation
Replies: 3
Views: 370

Re: Mass conservation

Generally, there are two things you can try. 1. You can consider reducing your mesh size for the coronary artery to improve mass conservation. 2. If I remember correctly, the solver adds the squares of continuity and momentum residuals for each node and then calculates the root of mean squared resid...
by Weiguang Yang
Wed Jan 30, 2019 11:41 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Simulations without GUI
Replies: 4
Views: 439

Re: Simulations without GUI

You can run presolver, flowsolver and postsolver from the command line. For the presolver, you need to have a .svpre file, say cylinder.svpre and type % svpre cylinder.svpre or % your-simvascular-dir/Bin/svpre cylinder.svpre The presolver generates geombc.dat.1 and restart.0.1 files for simulations....
by Weiguang Yang
Thu Jan 24, 2019 11:05 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Angular Velocity as an inlet condition
Replies: 2
Views: 189

Re: Angular Velocity as an inlet condition

You can try to modify bct.dat to set up velocity components for each inlet node. The first line in bct.dat tells you how many nodes on inlet faces. Starting from the second line, for each node i, nodal coordinates, velocity components and time are listed as follows, x_i, y_i, z_i, n u1_i, v1_i, w1_i...
by Weiguang Yang
Fri Dec 21, 2018 6:02 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Resistance value for boundary conditions and 4D Video
Replies: 6
Views: 937

Re: Resistance value for boundary conditions and 4D Video

1) How can i obtain a plot of flow (ml/s --> t) at the inlet face? With other software i suppose, software with which i can get quantitative data about 4D Flow in MRI sequence (like, for example, magnitudo of velocity). Can you cite some software that does this? I know there is a software segment th...
by Weiguang Yang
Thu Dec 20, 2018 1:41 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Convergence problem
Replies: 3
Views: 499

Re: Convergence problem

You can change the following parameters in solver.inp to see if there is any improvement. 1. reduce your time step dt, say 0.005 2. decrease residual criteria, say 0.001 3. increase nonlinear iterations, add "Step Construction 0 1 0 1 0 1 0 1 0 1 0 1 0 1" to solver.inp I am not sure how many iterati...
by Weiguang Yang
Tue Nov 27, 2018 2:14 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: ERROR CREATING MODEL
Replies: 1
Views: 195

Re: ERROR CREATING MODEL

It seems the 4th-7th segmentations are not well created causing segmentation intersection In the rc1. If you delete the 5th and 6th segmentations in the rc1, you should be able to create a model. Or recreate them without intersection. Generally, a rapid change in segmentation orientation should be a...
by Weiguang Yang
Sun Nov 25, 2018 10:42 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: prescribed displacement ?
Replies: 1
Views: 161

Re: prescribed displacement ?

I am afraid that you cannot do that from the GUI. Technically it is possible to do that by adding a subroutine to read displacements.
by Weiguang Yang
Sun Nov 25, 2018 10:34 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Simvascular and GPU
Replies: 1
Views: 192

Re: Simvascular and GPU

Unfortunately, there is no GPU acceleration available for simulations unless the solver is modified.
by Weiguang Yang
Sun Nov 25, 2018 10:31 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Resistance value for boundary conditions and 4D Video
Replies: 6
Views: 937

Re: Resistance value for boundary conditions and 4D Video

The resistance boundary condition models the downstream vasculature (beyond the 3D model) as a resistor. Using a circuit analogy and Ohm's law, the pressure drop across a resistor (downstream vasculature) is equal to flow times resistance (Q*R). If a ground pressure of 0 mmHg is used, at the outlet ...