|
[Sponsors] |
August 8, 2008, 06:33 |
Help with ADJUST FUNCTION
|
#1 |
Guest
Posts: n/a
|
Hi!
I have two sections of porous media with different porosity and same fluid flowing through both section. I am assuming reactions in fluid phase and heat source in one of the sections. Now I want that temperature of both the fluid phase and solid phase to be the same in this section. So, I'm using the adjust fuctions to adjust the temperature of the solid to be equal to fluid but the temperatures are not coming to be equal. I am trying this; #include "udf.h" DEFINE_ADJUST(temp_temp,d) { cell_t c; Thread *t; face_t f; Node *v; int n; thread_loop_c(t,d) { begin_c_loop(c,t) { c_node_loop(c,t,n) { v=C_NODE(c,t,n); if(NODE_X(v)<1.e-5) { C_UDSI(c,t,0)=C_UDSI(c,t,1); } } } end_c_loop(c,t) } } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adjust the parameter of the geometry | Susan | CFX | 2 | November 9, 2007 07:42 |
ADJUST udf | Jubs | FLUENT | 3 | February 12, 2007 06:00 |
how to adjust continuity equation in vof??? | Asghari | FLUENT | 0 | October 11, 2006 04:43 |
Help with----- ADJUST | Mech | FLUENT | 0 | March 30, 2006 04:16 |
ADJUST - function | Michal | FLUENT | 0 | October 9, 2001 06:07 |