CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Is it possible to modify Janaf Model in OpenFoam 2.1.1?

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

LinkBack Thread Tools Display Modes
Old   November 13, 2012, 16:26
Default Is it possible to modify Janaf Model in OpenFoam 2.1.1?
New Member
Join Date: Sep 2012
Posts: 27
Rep Power: 6
Traib is on a distinguished road
Hello there,

I am a new member and this is first post here so I am trying not to sound too stupid though I think my title itself betrays me.

I have been working on supersonic combustion simulation and I think it has become quite obvious that I am destined to face the Janaf problem. I give some details below:
The simulation is related to high-Mach number reacting flows so I am trying to use rhoReactingFoam since this seems like the best choice to me. Normally the temperature should reach around 3-4000K but there are some jumps before convergence and once the Janaf problem appears its hopeless. I have worked at lower Mach numbers in fluent and had not many problems but it fails at higher Machs.
I have read several threads related to this problem here and I found this interesting thread by iyer.arvind (Newer Janaf Model) about this new Janaf model that uses 9 coefficients.
The thread by Karam (Do not spend your time) is very dicouraging but I think there are ways to modify the codes to suit my problem.
Now the iyer.arvind's thread is old and the patch he provides is for older OF. So I tried to modify the janafThermo files but now I am confused. Is it even right to work that way? Is it possible to simply modify the source codes using newer models? I thought I should ask for suggestion before I start putting my efforts into it because earlier efforts by others appear very discouraging.

Please reply if you have ideas about this.
Traib is offline   Reply With Quote

Old   December 26, 2012, 18:10
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,747
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings Traib,

Sorry for the late reply. I have no clue if you've found an answer to your question, but you might find some answers on this thread: sprayFoam aachenBomb FATAL ERROR when running combustion

Best regards,

PS: As for Ehsan's questions, I've moved them to another thread, namely this one: Janaf coefficients seems incorrect!
wyldckat is offline   Reply With Quote

Old   December 28, 2012, 06:35
New Member
Join Date: Sep 2012
Posts: 27
Rep Power: 6
Traib is on a distinguished road
Hi Bruno,

I had some help from your earlier posts in this thread about compiling user libraries: Question regarding building/compiling OF codes, using wmake

I have since compiled solvers and thermo libraries but janafThermo is still a unresolved issue for me that I am currently working on. Using new 9-coeffs janafTable does not really solve the problem. For cases of high speed combustion, I am doing validation tests for a new solver based on experimental results and the old janafThermo data currently works on several cases but not without problems. One strange problem I am facing is that a case which runs well in serial computation stops in parallel computation using mpirun. This error still seems to be related to janafThermo calculations. Tmin drops way below 200 K as the flow from the subdomain containing the inlet passes into the following subdomain, and thats when the solution stops, without providing any reason for error.

I will go on to try checking if the problems discussed in the thread you have shared above affect my cases as well and see what I can get. Thanks for the reply.

Traib is offline   Reply With Quote


high mach number, rhoreactingfoam

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
OpenFoam implementation of Wilcox's latest k-omega model swetkyz OpenFOAM 2 September 14, 2011 08:12
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Soot Model in OpenFOAM arun OpenFOAM Running, Solving & CFD 0 April 19, 2009 12:36

All times are GMT -4. The time now is 14:38.