|
[Sponsors] |
April 17, 2023, 09:52 |
the udf for simulating the mean age of air
|
#1 |
New Member
Yanyan Huang
Join Date: Apr 2023
Posts: 1
Rep Power: 0 |
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 |
|
|
|
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 |