March 30, 2021 at 12:07 am
Subscriber
I did not check the link ... but Don't use define property to return the height. Just define it as static double ... #include "udf.h"nnstatic double the_height(double t, double x){nn CALCULATE y HERE .....return y;n}nnDEFINE_GRID_MOTION(.....)n{nn When you need y ...nny = the_height( t, x);nn USE ynn}nhttps://forum.ansys.com/discussion/comment/113164#Comment_113164
Okay, so then CALCULATE y HERE is just the function for interpolating the data.n