CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

How can i modify the temparature and pressure

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 25, 2007, 08:48
Default How can i modify the temparature and pressure
Juby Abraham
Posts: n/a
Hi I need to change the temperature and pressure of my primary phase at each time strep. VOF method is used for the simulation. The UDF which is used to adjust theses variables is given below:

DEFINE_ADJUST(adjust_fcn,domain) { cell_t c; Thread *t; domain_id = Get_Domain(2); thread_loop_c(t,domain) {



C_P(c,t) = 18298675.0;

C_T(c,t) = 1660.0;


end_c_loop_all(c,t) } }

Is there any mistake in this UDF? Is there any other method to do so?


  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 06:11.