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

combustion modelin with SORSCA

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2003, 05:02
Default combustion modelin with SORSCA
  #1
roadracer
Guest
 
Posts: n/a
Hi everybody. I am writing a Weller-based combustion model by mean of sorsca.f. I have defined the various scalars in Prostar with relative heat of formation, and activated the chemico-thermal enthalpy. I am facing the following problem: if I define the source terms for every scalar except for the products (CO2 and H20), the latter being imposed on the value of the other scalars by changing tg(i,is-1), the results seems quite reasonable, but the info file gives me the warning "scalar equation "i" not converged" , where "i" refers to CO2 and H2O, and towards the end of the simulation the combustion "freezes".

If I define a sorce term for CO2 and H2O, nothing happens, except for an unrealistic temperature drop in the initial burnt zone. I have checked the source terms, and the total reactants souce is equal to the total products source, except for the sign.

Could anybody help me to understand what is happening? Any help really apreciated. Roadracer
  Reply With Quote

Old   December 4, 2003, 10:08
Default Re: combustion modelin with SORSCA
  #2
Richard
Guest
 
Posts: n/a
It's not clear how you are setting the values of the CO2 and H2O scalars. Are you writing directly to the T array (very bad practice) or using SCALFN (good practice)?
  Reply With Quote

Old   December 4, 2003, 10:53
Default Re: combustion modelin with SORSCA
  #3
roadracer
Guest
 
Posts: n/a
I have tried both. Defining the scalars CO2 and H2O changing directly T(ipstar,is+1) leads to reasonable results. Defining the scalars CO2 and H2O by mean of scalfn (i.e. defing s1p) leads to strange results. In the latter case the sum of s1p for the various reactants is equal to the sum of s1p for the products. s2p is always 0 in my calculation.
  Reply With Quote

Old   December 5, 2003, 05:57
Default Re: combustion modelin with SORSCA
  #4
Richard
Guest
 
Posts: n/a
My suggestion was to use SCALFN for the "algebraic" scalars. I think you read it as SORSCA, as you talk of setting S1P. SORSCA is for source terms, whereas SCALFN explicitly sets the scalar value by returning it in PHI. That's a better way to set an algebraic scalar through user coding.
  Reply With Quote

Old   December 10, 2003, 04:02
Default Re: combustion modelin with SORSCA
  #5
roadracer
Guest
 
Posts: n/a
Hi thank you for the suggestions, but I found the error. I didnīt save a variable. Now it works fine (at least fo homogeneous fuel distribution) using sorsca. Cheers Marco
  Reply With Quote

Reply


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
Viscosity for solid dispersed phase in E-E modelin Kushagra FLUENT 0 June 27, 2008 20:01
Modelin Multi Element Airfoils Yashwant Ganti FLUENT 0 June 5, 2007 04:50
modelin fluid and highly flexible solid interfaces matt r. Main CFD Forum 2 August 17, 2005 09:57
about sorsca.f stanta Siemens 4 July 18, 2005 09:01
INITIALIZATION & SORSCA july Siemens 1 May 31, 2002 03:55


All times are GMT -4. The time now is 03:40.