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

the udf for simulating the mean age of air

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2023, 09:52
Post the udf for simulating the mean age of air
  #1
New Member
 
Yanyan Huang
Join Date: Apr 2023
Posts: 1
Rep Power: 0
Yanyan Huang is on a distinguished road
Hi,

I'm new to Fluent, and I met some problems when I use Fluent to simulate the mean age of air.

I first simulate the solid and check the velocity, and then calculate the equation of MAA, but after I calculate the MAA, the velocity in the building became smaller than before, and it seems like the flow was not diffused much from the inlet.

The udf below is used to calculate the mean age of air.

Code:
#include "udf.h" 

DEFINE_DIFFUSIVITY(mean_age_diff, c, t, i) 
{ 
return C_R(c,t)*2.88e-05 + C_MU_EFF(c,t) / 0.7; 
} 
DEFINE_SOURCE(mean_age_source, c, t, dS, eqn) 
{
dS[eqn]=0; return C_R(c,t); 
}

All setup is according to the website below.
https://www.computationalfluiddynami...-air-with-cfd/

Thank you for any kind help
Yanyan Huang 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
Age of air calculation divergence e22rico FLUENT 0 September 20, 2021 13:08
Mean age of air SarahLee OpenFOAM Running, Solving & CFD 2 February 7, 2021 14:42
Mean Age of Air payam1362 Fluent UDF and Scheme Programming 5 May 7, 2018 07:27
Radiation interface hinca CFX 15 January 26, 2014 18:11
Mean Age of Air mradili FLUENT 0 July 3, 2013 07:05


All times are GMT -4. The time now is 18:16.