|
[Sponsors] |
Density based on Boussinesq approximation i.e. depend on temperature and concentratio |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 30, 2015, 10:41 |
Density based on Boussinesq approximation i.e. depend on temperature and concentratio
|
#1 |
New Member
Rahul Misal
Join Date: Jun 2015
Posts: 1
Rep Power: 0 |
#include "udf.h"
#define rho_ref 1001 #define T_ref 313 #define YI_ref 0.99 DEFINE_PROPERTY(boussinesq_density, c, t) { real rho; int i; real T,YI,dT ,dYI; real T_operating,YI_operating; T_operating = RP_Get_Real ("operating-temperature"); T = C_T(c,t) + T_operating; dT = T-T_ref; YI_operating = RP_Get_Real ("operating-species mass fraction"); YI = C_YI(c,t,i) + YI_operating; dYI = YI-YI_ref; rho = rho_ref * (1- 0.0005644 * dT - 0.9297 *dYI); return rho; } But above program shows error mass fraction in not defined ..........plzzz help!!!!!! |
|
|
|