|
[Sponsors] |
May 14, 2010, 14:50 |
Newer Janaf Model
|
#1 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
The older janaf thermodynamic model is implemented in OpenFOAM. For my use i have implemented the newer Janaf model, which models Cp0 H0 S0 for most species from 200K to 20000K.
The current code is for OpenFOAM-1.5 ( ) but must not be too difficult to port to 1.6.x. (I will do that if i get some time for it). However if someone wants to use it, i am attaching the patch for thermophysicalModels. I would like to know if people find it useful. NOTE This code is hardly tested! I coded it just yesterday, and it seemed to work fine. Please test it for your purpose, and kindly let me know of any bugs. NOTE 2: use bzip2 to unzip the patch file |
|
May 18, 2010, 02:03 |
any problems?
|
#2 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
If people are finding any difficulty in applying the patch, I would be glad to mention the procedure to do that. 70 views and no replies is slightly discouraging !
|
|
May 18, 2010, 05:33 |
|
#3 |
Senior Member
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18 |
Hi,
Thank you for posting your work. I tried to run the script but it didn't work. I'm using OpenFoam1.6.x. Would it be possible to post the main files of the new Janaf Tables? Regards Christian |
|
May 18, 2010, 08:00 |
Arvind Iyer
|
#4 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Thanks for reponding. The patch is for OpenFOAM-1.5 (sorry to say) but I guess if i could give you the files you should ot find it difficult in implementing in OpenFOAM-1.6. Also i will try to spare some time this weekend and try and get it up for 1.6. However, I am unable to upload all the files here because they are beyond 100kb. Could you please let me know a mode of transfer? I would be glad to share it with you.
|
|
May 19, 2010, 08:04 |
Openfoam Wiki
|
#5 |
Senior Member
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18 |
Hi,
you could upload the new Janaf Tables onto the Openfoam Wiki homepage. That way, everybody who wants to use them can download them. Regards, Christian |
|
May 19, 2010, 08:19 |
|
#6 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
I think it would be better if i could get the 1.6.x version, and push to the OpenFOAM-extend project. However i will see if i can put the files in the wiki for now.
|
|
May 19, 2010, 11:44 |
|
#7 |
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 17 |
Thanks for your efforts Iyer! I have never used any Janaf model, but I have read on the forums that there are some problems with the current Janaf model in OpenFOAM so your contribution is appreciated!
|
|
May 19, 2010, 12:09 |
|
#8 |
Member
MSR CHANDRA MURTHY
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
good work arvind...when i go through this file, i found some things,
1) I guess it is trying to replace existing Janaf, can both(janaf-I and janf-II) simultaneously work? 2) any validation being done? |
|
May 20, 2010, 01:14 |
|
#9 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
The problem is that janaf (reader especially) is quite deeply coded. the reader appears in the same file which reads the chemkin data.
_____/thermophysicalModels/combustion/chemistryReaders/chemkinReader/chemkinLexer.L Also, _____/thermophysicalModels/specie/reaction/reactions/makeReactionJanaf.H: typedef sutherlandTransport<specieThermo<janafThermo<perfe ctGas> > > reactionThermo; As you can see janaf is quite deep embedded in the code. If it were abstracted to a generic thermophysical model interface (abstract class), and janaf being a child class with its own reader, it would have been much better, and easily we could have either models to work with. |
|
May 28, 2010, 20:05 |
Great work.
|
#10 |
New Member
yu
Join Date: Nov 2009
Posts: 26
Rep Power: 17 |
Good work !
Last edited by universez; May 28, 2010 at 21:58. |
|
May 29, 2010, 12:56 |
|
#11 |
Member
|
Thank you Iyer, good piece of work. I will probably need to test it in a couple of weeks. Will let you know of my results.
|
|
July 16, 2010, 02:09 |
|
#12 |
New Member
Sunny Karnani
Join Date: Apr 2010
Posts: 22
Rep Power: 16 |
Hello All.
I was curious about this new Janaf model. I'm currently running OpenFOAM 1.6.x. It would be an interesting exercise to try and port it over but, in all honesty, I wouldn't really be sure where to begin. To start, how would I go about applying a patch? Thanks. Sunny |
|
July 16, 2010, 08:34 |
Patch is for 1.5
|
#13 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
Sorry to say but the patch is only for 1.5. I am not getting the breathing space to implement for 1.7. I cannot comment on how easy it will be with 1.6x. If you are unlucky, you can at best take inspiration from it ;
|
|
October 6, 2010, 08:12 |
|
#14 |
Member
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
Can you give us the source code files for the new janaf model. I'm not able to extract them from the patch-file.
regards, christof |
|
April 2, 2011, 07:10 |
|
#15 |
New Member
T. Hoffmann
Join Date: Mar 2011
Posts: 6
Rep Power: 15 |
Thank you for your work. How does the thermo.dat file look like? I tried to implement your new janaf model to OF-1.7.1 an would like to test it. Maybe you can post it. If it works I would post the updated files here.
Thomas |
|
April 2, 2011, 07:42 |
Link
|
#16 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
||
April 2, 2011, 07:43 |
|
#17 |
New Member
Iyer Arvind Sundaram
Join Date: May 2009
Posts: 13
Rep Power: 17 |
If you require the source code, please mail me, i will send you the source code too
|
|
April 14, 2011, 22:36 |
Updated new janaf model
|
#18 |
New Member
T. Hoffmann
Join Date: Mar 2011
Posts: 6
Rep Power: 15 |
Hallo,
I have implemented Iyers newer janaf model to OpenFOAM 1.7.1. You can find and download it in the OpenFOAM wiki: http://openfoamwiki.net/index.php/Janaf. There you can also find a modificated test case, which should run if the installation was correct. Thomas |
|
June 24, 2011, 05:32 |
|
#19 |
Member
桂莹
Join Date: Apr 2011
Posts: 36
Rep Power: 15 |
Hi,Thomas
I try as you say,then Allwmake,and run my case,it seems doesn't work, it shows on the terminal: --> FOAM FATAL ERROR: attempt to use janafThermo<equationOfState> out of temperature range 0 -> 5000; T = 5014.46 why the temperature range doesn't change? may be there're something I missing? |
|
June 24, 2011, 11:47 |
|
#20 | |
New Member
T. Hoffmann
Join Date: Mar 2011
Posts: 6
Rep Power: 15 |
Quote:
there must be at least one species in the janaf table, which has only a temperature range between 0 and 5000 K. A quick and dirty solution would be to find these species in the table and set the temperature limit from 5000 K to 6000 K and look what happens. Maybe (or better hopefully) these species have such a low concentration, that it does not have a negative effect on your calculation. Hope this helps! Thomas |
||
Tags |
development, janaf, openfoam-1.5, thermophysicalproperties |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal Pump and Turbulence Model | Michiel | CFX | 12 | January 25, 2010 04:20 |
Problems bout CFD model of biomass gasification, Downdraft gasifier | wanglong | FLUENT | 2 | November 26, 2009 00:27 |
Reynolds Stress model in CFX vs Fluent | Tim | CFX | 1 | October 7, 2009 07:19 |
help for different between les model (subgrid-scale model) | liuyuxuan | FLUENT | 1 | October 2, 2009 16:25 |
Grid resolution for full-scale and down scaled model | gravis | Main CFD Forum | 0 | October 2, 2009 11:27 |