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

Age of air calculation divergence

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2021, 12:08
Default Age of air calculation divergence
  #1
New Member
 
Join Date: Sep 2021
Posts: 1
Rep Power: 0
e22rico is on a distinguished road
Hello, I have ran a few different HVAC simulation models with the inclusion of S2S radiation model, and with air density as "incompressible-ideal-gas".



I am using the following UDF to calculate 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);
}
I run the uds in transient after my models have converged with all other equations turned off. It converges perfectly for one of my models which was run with a constant density instead of "incompressible-ideal-gas". Otherwise it diverges. The age of air (volume average) jumps between really high positive and negative numbers.



Any idea on how to calculate it for the incompressible-ideal-gas cases?
e22rico is offline   Reply With Quote

Reply

Tags
aoa, fluent, hvac, udf

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Age of Air Function Object b.simpson OpenFOAM Post-Processing 4 August 13, 2021 01:38
viscosity udf don't use correct temperature and strain rate rezvani Fluent UDF and Scheme Programming 8 May 27, 2021 05:40
Fail to converge when solving with a fabricated solution zizhou FLUENT 0 March 22, 2021 06:33
Two Phase Flow In Vertical Pipe stonepreston FLUENT 2 October 31, 2017 08:35
Mean Age of Air Convergence msmith Main CFD Forum 1 December 16, 2013 22:59


All times are GMT -4. The time now is 21:28.