I am working on an LS-DYNA project using SPH, where I need to simulate a flow under a heat source deposition. The heat source has been previously calculated and stored in a .txt file containing the x, y, z coordinates and Q, the power density at each point.
How can I implement this in my model?
Starting with a simple model, I created an ICFD model of the same geometry. However, I am still facing issues when using ICFD_DEFINE_HEATSOURCE.
I attempted to define a function using DEFINE_FUNCTION to interpolate the heat map and then use it within ICFD_DEFINE_HEATSOURCE.
Although the LS-DYNA guide indicates that I should be able to insert a DEFINE_FUNCTION into the LCID parameter of ICFD_DEFINE_HEATSOURCE, I am unable to do so for some reason.
Could anyone provide guidance on how to correctly implement this?