Applying spatially varying load

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Aditya Bantwal
Posts: 60
Joined: Sat Mar 26, 2022 2:59 am

Applying spatially varying load

Post by Aditya Bantwal » Mon Jul 17, 2023 9:06 am

Hi,

In the svFI_master.inp file, it says a spatially varying load can be applied.
intetl.PNG
intetl.PNG (7.6 KiB) Viewed 97 times
I'm assuming this means that I can apply pressure at a specific location of my choosing.

Is there an example or tutorial on how to create the VTP file where I would like to apply the pressure?


Thanks
Aditya

User avatar
David Parker
Posts: 1677
Joined: Tue Aug 23, 2005 2:43 pm

Re: Applying spatially varying load

Post by David Parker » Tue Jul 18, 2023 12:21 pm

Hi Aditya.

You can apply a pressure/traction value at nodes. I have not seen any example about how to do this.

The easiest way to create this file would be to use a Python script:
1) Read in a face file
2) Create a PointData Array
3) Write the VTP file

There are a bunch of Python scripts here https://github.com/ktbolt/cardiovascular/tree/master that should give you an idea about how to do this.

Cheers,
Dave

POST REPLY