CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Is it possible to modify Janaf Model in OpenFoam 2.1.1?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2012, 16:26
Default Is it possible to modify Janaf Model in OpenFoam 2.1.1?
  #1
New Member
 
Traib
Join Date: Sep 2012
Posts: 27
Rep Power: 14
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 (http://www.cfd-online.com/Forums/ope...naf-model.html) about this new Janaf model that uses 9 coefficients.
The thread by Karam (http://www.cfd-online.com/Forums/ope...your-time.html) 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
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: http://www.cfd-online.com/Forums/ope...ombustion.html

Best regards,
Bruno

PS: As for Ehsan's questions, I've moved them to another thread, namely this one: http://www.cfd-online.com/Forums/ope...incorrect.html
__________________
wyldckat is offline   Reply With Quote

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

I had some help from your earlier posts in this thread about compiling user libraries: http://www.cfd-online.com/Forums/ope...ing-wmake.html

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.

Regards,
Traib
Traib is offline   Reply With Quote

Reply

Tags
high mach number, rhoreactingfoam


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
OpenFoam implementation of Wilcox's latest k-omega model swetkyz OpenFOAM 3 June 19, 2017 12:05
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
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 07:25
Soot Model in OpenFOAM arun OpenFOAM Running, Solving & CFD 0 April 19, 2009 13:36


All times are GMT -4. The time now is 17:42.