Page 1 of 1

Applying spatially varying load

Posted: Mon Jul 17, 2023 9:06 am
by adibantwal
Hi,

In the svFI_master.inp file, it says a spatially varying load can be applied.
intetl.PNG
intetl.PNG (7.6 KiB) Viewed 102 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

Re: Applying spatially varying load

Posted: Tue Jul 18, 2023 12:21 pm
by davep
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