CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for C_VOF variation with time and space (https://www.cfd-online.com/Forums/fluent/38961-udf-c_vof-variation-time-space.html)

Frederik December 16, 2005 05:36

UDF for C_VOF variation with time and space
 
Hi Dear all, I am using vof model with 2 phases .. my problem is writing a UDF which specify the varaition of the volume fraction of the prymary and/or secondary phase with time and space (say as a sinusoidal or gaussian varation law for example).. like a sinusoidal or a gaussian varaition of the Free interface between the 2 phase ...

when I try to use the C-VOF with this law , and introduce time ans spacial coordinates..I have error message..(Access violation..) can some body has deal with similar problem help me ...please!..any suggession ... thanks in advance

Frederik

Rucy December 16, 2005 20:41

Re: UDF for C_VOF variation with time and space
 
Dear Frederik,

I used the VOF method to simulate gas-liquid and liquid-liquid two-phase flow using my own fortran code since 1997.

Currently, I am also using the Fluent 6.2. You might forward me your UDF founction. I would like to find the bug for you.

Good luck!

Rucy

Rucy December 17, 2005 20:48

Re: UDF for C_VOF variation with time and space
 
Dear Sir,

You could use the VOF model and also use the translation reference frame. I simulated similar case in 1999 to 2000.

Good luck!

Rucy

Frederik December 18, 2005 04:40

Re: UDF for C_VOF variation with time and space
 
Dear Rucy..please could you send to me the case you have simulated ..please ..and how to use translation reference frame ... thanks, Frederik


Rucy December 19, 2005 01:53

Re: UDF for C_VOF variation with time and space
 
Dear Sir,

I finished the project at U of Toronto many years ago.

Sorry, The case file could not be found any more.

Good luck!

Rucy


All times are GMT -4. The time now is 01:21.