CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > AVL FIRE

Describe AVL FIRE formula

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2017, 12:58
Default Describe AVL FIRE formula
Join Date: Aug 2014
Posts: 31
Rep Power: 9
Fluent learner is on a distinguished road
If anyone can describe a little bit about the following code, i would be thankful:

double dens;
double temp;
Bind("ElementData:Flow:Temperature:K", temp);
Bind("ElementData:Flowensity:kg/m^3", dens);
print "computing average temperature...";
double weight = |n|;
if(weight <= 0.0) weight = vol;
divisor += weight * dens;
return weight * dens * temp;

Thanks a lot

Last edited by Fluent learner; September 24, 2017 at 10:29.
Fluent learner is offline   Reply With Quote

Old   January 20, 2018, 10:35
Default working of FIRE formula
New Member
Venkatesh V
Join Date: Sep 2009
Posts: 24
Rep Power: 14
cfdvenkatesh is on a distinguished road
The understand the working of FIRE formula, it shouldn't be viewed as separate script. Instead you have consider them as set if functions and some other program is going to them in specific order.

The first part (above $$init) will be called once to define the variables, the variables defined here are persistent ( meaning the values set for these variables in time = t) will be available for other time steps (but not in other formula).

The second part (between $$init and $$formula) would be called twice (when it is called first time you can check variable named "init" would be set to 0 i think).

The third part ( below $$formula) is called for each cell or face and program calling this part just added the values returned by this function and divides by value is divisor and send to 2D results or for printing.

Hope this help !!
cfdvenkatesh is offline   Reply With Quote


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
Exporting files from AVL fire to VisIT shashankvns AVL FIRE 0 September 13, 2013 12:57
Convert CHEMKIN file (.inp or .dat) to .f suffix for AVL FIRE amin_u50 AVL FIRE 3 May 3, 2013 04:00
New AVL FIRE Forum Opened pete Site News & Announcements 0 July 5, 2012 10:19
AVL Fire transonic simulation Ainil Main CFD Forum 1 August 24, 2010 15:53
AVL fire Exhaust manifold Simulation mohsenfjs Main CFD Forum 0 May 15, 2010 11:51

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