-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic input file (.in) generation #111
Comments
@Jamie790, have a look at our ROM Simulation Tool in the SimVascular GUI. It's made exactly for this purpose. You can turn a vascular surface into a centerline and that into a 0D or 1D model automatically. This is the paper behind these methods. You can also run this process with the SimVascular Python API. |
Oh wow, that is quite a detailed model! SimVascular also calculates the centerline using VMTK but then does some additional processing. This processing gets a more accurate cross-sectional area and branch/junction splitting than directly from VMTK. This is where it takes a very long time. In our pulmonary models, we reached a "reasonable" processing time (which could still be ~1 hour) using an adaptive coarser mesh size. If you can import the surface geometry, you could experiment with radius-based meshing (finer mesh on smaller branches) and coarser mesh size. However, if the mesh is too coarse, VMTK might skip some branches and SimVacsular will throw an error. With a geometry that detailed, that still might not work. Another option involving more programming would be to bypass the additional processing and try using the information from VMTK directly (what you were proposing at the top). These Python functions extract the 0D/1D segments and write them to 0D/1D input files. |
Hi, Please ignore the previous problem, I have solved it already. I am facing a new problem after successfully generating input file. The solver gave me error message below. I think the error meassage tells me that it have too many vessels (Number of Coupled Surfaces > MAXSURF ). Can you guild me how to release this limit (MAXSURF), so that i can run the simulation successfully. The process ID for myrank (0) is (32696). Solver Input Files listed as below:Local Config: solver.inp Parameter Values setup as below:Time Varying Boundary Conditions From File: True Regards, |
Problem
I have a larger vascular tree that contains thousands of small vessels. I am trying to use a 1D solver for this vascular tree but I could not generate an input file (.in).
I try to use VMTK to extract the network from the vascular tree and get the nodes of vascular networks. but for joints and segments, I don't know how to define them to be recognised in the 1D solver.
Please give me some advice. Many thanks.
Regards,
Jamie
Solution
Automatic input file (.in) generation from large surface file (.stl)
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: