UDF VELOCITY INLET PROFILE WITH MULTIPHASE MIXTURE (ANSYS FLUENT)
We are two undergraduate students seeking for help!!!
We are trying to simulate a laminar flux through a 3D pipe (25 cm long, 2 cm of diameter) consisting of a multiphase flux (air and water). We want to implement a UDF for the velocity inlet consisting of several time-dependent square pulses.
In our ideal scenario, the pipe is initially full of air and water is injected from the inlet periodically (every injection is a square pulse) and the amount of water decreases with each interval. To do so, we have written the following code, but it does not seem to work:
COULD ANYONE HELP PELASE?? HOW CAN WE SOLVE IT?
THANK YOU VERY MUCH IN ADVANCE!
Answers
I suspect it's the first part of the IF statement. Simplify the set to get it working (eg 1-2 pulses) then extend to 40+s.
why not using just a transient table without any UDF or using Fluent Expression: why always getting the most complicated approach.
Regarding UDF: where are you hooking it?