April 10, 2020 at 6:49 am
Subscriber
Sir, I just tried to print this.
#include "udf.h"
DEFINE_ON_DEMAND(demand)
{
Message("%gn", CURRENT_TIME);
}
It is just printing "0", two times, when I press Execute on Demand.
I could not understand how to print time as it is not provided as input.
Moreover, I checked Mesh preview motion without providing any UDF and it is printing this.
Updating mesh to time 1.00000e-03 (step = 00001)...
No mesh motion in domain!
done.
Updating mesh to time 2.00000e-03 (step = 00002)...
No mesh motion in domain!
done.
Updating mesh to time 3.00000e-03 (step = 00003)...
No mesh motion in domain!
done.
Updating mesh to time 4.00000e-03 (step = 00004)...
No mesh motion in domain!
done.
Updating mesh to time 5.00000e-03 (step = 00005)...
No mesh motion in domain!
done.