|
[Sponsors] |
Help on accessing volume fraction in mixture model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 20, 2009, 14:14 |
Help on accessing volume fraction in mixture model
|
#1 |
New Member
Aditya Chunekar
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
I am writing a UDF that involves volume fraction for Unsteady RANS simulation with cavitation model turned on.
I define a user defined memory variable and use the following snippet of code to access it. DEFINE_EXECUTE_AT_END(udf_name) { ........ /* All the definitions */ d=Get_Domain(3); /* Vapor Phase domain thread_loop_c(t,d) { begin_c_loop(c,t) { C_UDMI(c,t,1)=C_VOF(c,t); } } end_c_loop(c,t) } } (This is just to show how I access C_VOF.. I perform some other operations on it) I get the value of C_UDMI(c,t,1) as 0 everywhere when the volume fraction of phase 2 varies from 0 to 0.4. Can someone please help me on the same. Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf: volume fraction gradient in eulerian model | jwwang | FLUENT | 22 | April 15, 2015 06:27 |
Weighted average volume fraction | Yasser | FLUENT | 5 | April 11, 2015 08:25 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Volume Fraction in VOF model | Saima | Main CFD Forum | 2 | April 12, 2009 19:22 |
UDF for the mixture model | khar nab | FLUENT | 0 | July 31, 2008 06:29 |