CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent Multiphase

transient boundary condition for counter current multiphase system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2017, 05:24
Default transient boundary condition for counter current multiphase system
  #1
New Member
 
Vaishali G
Join Date: Sep 2017
Posts: 2
Rep Power: 0
vgchem2017 is on a distinguished road
Hello all,

I am working on liquid-solid counter current system with liquid entering from bottom and solid entering at the top. Solid enters only after 10s of flow time. I wrote a udf for solid inlet velocity as follows:

#include "udf.h"
DEFINE_PROFILE(solid_y_velocity,mixture_thread,i)
{
int phase_domain_index;
real flow_time = CURRENT_TIME;
face_t f;
Thread *thread_s;
phase_domain_index = 1;
thread_s = THREAD_SUB_THREAD(mixture_thread, phase_domain_index) ;
{
if (flow_time <= 10.)
{
begin_f_loop(f,mixture_thread)
{
F_PROFILE(f,mixture_thread,i) = 0.;
}
end_f_loop(f,mixture_thread)
}
else
{
begin_f_loop(f,mixture_thread)
{
F_PROFILE(f,mixture_thread,i) = 0.001245;
}
end_f_loop(f,mixture_thread)
}
}
}

I don't face any issue in compiling the udf but after 10 seconds of simulation still velocity of solids is zero.

Kindly help me out with this.

Thank You
vgchem2017 is offline   Reply With Quote

Old   September 12, 2017, 06:04
Default
  #2
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
Have you tried supplying the solids thread instead of mixture?
CeesH is offline   Reply With Quote

Old   September 12, 2017, 06:25
Default
  #3
New Member
 
Vaishali G
Join Date: Sep 2017
Posts: 2
Rep Power: 0
vgchem2017 is on a distinguished road
Thank for your reply

Is this the way you are asking me to do?

#include "udf.h"
DEFINE_PROFILE(solid_y_velocity,mixture_thread,i)
{
int phase_domain_index;
real flow_time = CURRENT_TIME;
face_t f;
Thread *thread_s;
phase_domain_index = 1;
thread_s = THREAD_SUB_THREAD(mixture_thread,phase_domain_inde x);
{
if (flow_time <= 10.)
{
begin_f_loop(f,thread_s)
{
F_PROFILE(f,thread_s,i)= 0.;
}
end_f_loop(f,thread_s)
}
else
{
begin_f_loop(f,thread_s)
{
F_PROFILE(f,thread_s,i) = 0.001245;
}
end_f_loop(f,thread_s)
}
}
vgchem2017 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
transient pressure and temperature boundary condition profile inicialization Aurora23 FLUENT 2 April 21, 2015 17:01
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 05:13


All times are GMT -4. The time now is 19:49.