Search found 110 matches

by Weiguang Yang
Wed May 15, 2019 11:44 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Specifying Initial Conditions
Replies: 2
Views: 323

Re: Specifying Initial Conditions

If you use (1) to do the initialization, the pressure and velocities in the domain will be uniform. Supplying a restart file, the initial pressure and velocity are the same as the pressure and velocity in the restart file. Generally, for rigid simulations, initial values are not important. The resul...
by Weiguang Yang
Wed May 08, 2019 1:15 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: svFSI residual definitions
Replies: 2
Views: 290

Re: svFSI residual definitions

Here is a part of histor.dat file. Eq N-i T dB Ri/R0 R/Ri lsIt dB %t ---------------------------------------------------------- FS 1-1 1.9970 [ 0 1.00000 6.53E-3] [ 6 -8 21] MS 1-1 2.1150 [ 0 1.00000 0.00000] [ 0 0 0] FS 1-2 3.8709 [ -15 1.59E-1 6.07E-3] [ 5 -9 10] MS 1-2 3.9870 [ 0 1.00000 0.00000]...
by Weiguang Yang
Mon Apr 15, 2019 1:01 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Prescribed velocities boundary
Replies: 5
Views: 396

Re: Prescribed velocities boundary

The inlet profile prescribed by bct.dat file should give zero velocity in the non-axial direction. In the domain, probably you won't get 0.0 exactly. 1e-4 doesn't seem too bad. If you want to further reduce it, you can consider extending the pipe. L~10D may not be sufficient.
by Weiguang Yang
Fri Apr 05, 2019 5:23 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: How do we scale the 'non-linear residual'????
Replies: 3
Views: 315

Re: How do we scale the 'non-linear residual'????

I think the residual value printed in histor.dat is not exactly the same. It is a root mean square residual i.e. residual norm/sqrt(number of nodes). If interested, you can find the calculation in subroutine rstatic. If you want to non-dimensionalize the residual, you can divide it by the value at t...
by Weiguang Yang
Wed Apr 03, 2019 10:29 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Solver blows up when applying inflation layers
Replies: 5
Views: 366

Re: Solver blows up when applying inflation layers

Thanks for your plots. Could you please clarify the "velocity in x-dir over centerline of tube"? Is it a time-averaged or instantaneous plot? How did you define the error for pressure. If the flow is fully developed, the velocity profile should be independent of the longitudinal coordinate assuming ...
by Weiguang Yang
Thu Mar 28, 2019 8:58 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Solver blows up when applying inflation layers
Replies: 5
Views: 366

Re: Solver blows up when applying inflation layers

Can you tell me your mesh size and upload a plot/figure that shows the changes in your quantities of interest vs your mesh size? What are the residuals printed in histor.dat? Do they look ok? Usually it is a very difficult quantity for WSS to reach satisfactory convergence with pulsatile flow with a...
by Weiguang Yang
Mon Mar 18, 2019 2:57 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: steady flow with GenBC
Replies: 6
Views: 712

Re: steady flow with GenBC

Yes, you can specify flow rates directly without integration. In user.f, the intent for x is INTENT(INOUT). You can directly update x and pass the value out and set the derivative f=0.
by Weiguang Yang
Mon Mar 18, 2019 9:45 am
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: steady flow with GenBC
Replies: 6
Views: 712

Re: steady flow with GenBC

I assume the circuit you drew in the upstream of the 3D model is a resistor and the pressure distal to the resistor is P_d. At the bifurcation, you have Q_in=Q_1+Q_2, where Q_1 and Q_2 are the flow to the upstream resistor and the 3D model respectively. The pressure at the bifurcation is equal to th...
by Weiguang Yang
Mon Mar 11, 2019 9:56 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: Question about how the program uses IC
Replies: 2
Views: 218

Re: Question about how the program uses IC

If your simulation is interrupted, generally the solver will check numstart.dat file and restart the simulation from the time step shown in numstart.dat. For example, if you start a simulation with 8 processors with restart files saved every 50 time steps and the simulation is interrupted at t=120 t...
by Weiguang Yang
Tue Mar 05, 2019 10:23 pm
Forum: SimVascular: Cardiovascular Modeling and Simulation Application
Topic: RLC Boundary Conditions
Replies: 4
Views: 692

Re: RLC Boundary Conditions

If I understand correctly, you plan to use an RLC model to represent the domain between the CFD model outlets and the point with a known pressure. You need to implement a user-defined lumped parameter model linked to the 3D domain using GenBC in Simvascular. I am not sure if it is better than an RCR...