CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for transient boundary condition? (https://www.cfd-online.com/Forums/fluent/32572-udf-transient-boundary-condition.html)

 Shankar November 20, 2003 23:06

UDF for transient boundary condition?

Hello everybody,

If I treat the flow through U-tube as a transient problem, can I have a boundary condition (pressure inlet at the left handside and H left > H right) which will be a transient boundary condition, because as water level in the right hand limb keeps increasing there is a drop in the pressure as time progresses and flow would stop at delta H =0.

This boundary condition I have formulated needs to calculate the volume of the water entering the inlet. Is it possible to write an UDF for this which would need the volume of water entering to be read from FLUENT.

Or do you have any suggestions?

Best Regards, Shankar.

 ccc November 22, 2003 09:10

Re: UDF for transient boundary condition?

hi Shankar,

I am not very clear about your problem, but only for the caculation fo the volume of water entering the inlet, it is possible to do it with udf.

first you can get the flux on the inlet by multiplying the velocity and the aera and then integrating the flux along the time gives you the volume.

good luck.

btw, the following macros can be helpful,

F_U, F_V, F_W, F_AERA, NV_DOT,

 All times are GMT -4. The time now is 14:32.