Search found 12 matches
- Tue Jun 18, 2024 5:20 pm
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Mesh failing using python API.
- Replies: 7
- Views: 549
Re: Mesh failing using python API.
Hi Dave, how exactly do I need to do this? Do the following lines in the function 'create_mesh()' not do this?: caps = model.identify_caps() print("Cap ids: {}".format(caps)) wall_ids = [face_ids[i] for i in range(len(caps)) if not caps[i]] print("Wall ids are {}".format(wall_ids)) mesher.set_walls(...
- Mon Jun 17, 2024 5:36 pm
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Failed to generate and mesh model with Python API
- Replies: 1
- Views: 265
Failed to generate and mesh model with Python API
Hello, I would like to study the effect of small changes of vessel geometry using the Python API but face problems generating a model and mesh. For example, as a simple test case I tried the tetgen-set-model.py code on GitHub ( https://github.com/SimVascular/SimVascular-Tests/blob/master/new-api-tes...
- Fri Jun 07, 2024 5:50 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Mesh failing using python API.
- Replies: 7
- Views: 549
Re: Mesh failing using python API.
Hello, I have the same problem as described here. I'm trying to create a model from a contour group using the Python API. I tried with the 'sv.modeling.PolyData().create_vessel_model' function as well as with David's script above. In both cases, I can create and add a model to the GUI that looks nic...
- Thu May 30, 2024 8:46 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Deformable Wall Simulations
- Replies: 3
- Views: 1146
Re: Deformable Wall Simulations
Hi Weiguang, Thank you very much for your quick response and the link to the svFSI project! Performing the simulation with svSolver's CMM and then subtracting the initial displacements in the post-processing step is also a good idea, but I think the expanded geometry would also impact the fluid dyna...
- Wed May 29, 2024 11:24 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Deformable Wall Simulations
- Replies: 3
- Views: 1146
Deformable Wall Simulations
Dear Simvascular Team, I have a principle question regarding deformable wall simulations: Say I have an MRI image from which I extract a vessel's geometry and the image was taken during diastole. The geometry that we see on the image then corresponds to the geometry of the vessel when the vessel wal...
- Sat Apr 27, 2024 7:20 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Problem simulating simple geometries (negative pressures)
- Replies: 12
- Views: 3502
Re: Problem simulating simple geometries (negative pressures)
Hi Weiguang, thank you very much for your reply! You are absolutely right! I have come to a similar conclusion. I think the negative pressure values calculated by Simvascular might indeed be correct since the average flow velocity at the outlet is smaller than the inlet velocity due to the tube expa...
- Tue Apr 23, 2024 8:09 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Problem simulating simple geometries (negative pressures)
- Replies: 12
- Views: 3502
Re: Problem simulating simple geometries (negative pressures)
Hi Dave, indeed, if I switch the inlet and the outlet, I also obtain reasonable results with the default parameters, whereas the original problem with the tube expanding in flow direction still doesn't work. So, you also don't have any solution for the original problem, do you? I really don't get wh...
- Mon Apr 22, 2024 7:53 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Problem simulating simple geometries (negative pressures)
- Replies: 12
- Views: 3502
Re: Problem simulating simple geometries (negative pressures)
Hi Dave, Thanks a lot for trying out! That's strange, if I run the simulation with default parameters and a small time step size 0.001, I still get similar negative pressure values as posted above, and with a larger time step size 0.03 the simulation breaks up ("FATAL ERROR: Residual has exceeded to...
- Fri Apr 19, 2024 2:43 am
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Problem simulating simple geometries (negative pressures)
- Replies: 12
- Views: 3502
Re: Problem simulating simple geometries (negative pressures)
Hi Dave, that would be fantastic if you could have a look at it! Thank you very much in advance! I uploaded the project here: https://cloud.physik.lmu.de/index.php/s/tAgwZHsTgfBid89 The folder "Results" contains the output files of my simulation if I run it under macOS with SimVascular 2021.09. As I...
- Tue Apr 16, 2024 3:13 pm
- Forum: SimVascular: Cardiovascular Modeling and Simulation Application
- Topic: Problem simulating simple geometries (negative pressures)
- Replies: 12
- Views: 3502
Re: Problem simulating simple geometries (negative pressures)
Hallo Dave, I just think that if the fluid goes in at cap_1 and goes out at cap_2, the pressure at cap_1 must be larger than the pressure at cap_2. Otherwise the flow would go in the other direction, wouldn't it? Negative pressures would, in principle, be ok since the pressure is only determined up ...