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!

More Lídia Martínez-Dalmau's questions See All
Similar questions and discussions