|
[Sponsors] |
What does "fres" mean in the inhomogeneousMixture.C files? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2016, 05:36 |
What does "fres" mean in the inhomogeneousMixture.C files?
|
#1 |
New Member
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10 |
Hi All,
Do you know what does "fres" mean in the inhomogeneousMixture.C files? { if (ft < 0.0001) { return oxidant_; } else { scalar fu = b*ft + (1.0 - b)*fres(ft, stoicRatio().value()); scalar ox = 1 - ft - (ft - fu)*stoicRatio().value(); scalar pr = 1 - fu - ox; mixture_ = fu/fuel_.W()*fuel_; mixture_ += ox/oxidant_.W()*oxidant_; mixture_ += pr/products_.W()*products_; return mixture_; } } Furthermore after a complete combustion ft should go to zero but in openFOAM (inhomogeneousMixture) it does not! Any explanation? Thanks, Pierluigi |
|
September 26, 2016, 04:32 |
|
#2 |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10 |
Hello.
I found this in basicMultiComponentMixtureI.H Code:
inline Foam::scalar Foam::basicMultiComponentMixture::fres ( const scalar ft, const scalar stoicRatio ) const { return max(ft - (1.0 - ft)/stoicRatio, 0.0); } Have a nice day. sheaker |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem compiling with header files | jreiter164 | Fluent UDF and Scheme Programming | 2 | August 14, 2015 17:31 |
attaching trn files | hossein_sml | CFX | 1 | August 5, 2015 19:17 |
How to call FORTRAN files as UDF? | Ehsan-F | Fluent UDF and Scheme Programming | 6 | September 11, 2012 11:03 |
Writing Case and Data Files Using Journal/Scheme Files | svp | Fluent UDF and Scheme Programming | 0 | April 5, 2011 11:04 |
Problems with result files | Kasper | CFX | 5 | December 14, 2006 02:41 |