# combustion modelin with SORSCA

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

 December 4, 2003, 05:02 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

 December 4, 2003, 10:08 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)?

 December 4, 2003, 10:53 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.

 December 5, 2003, 05:57 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.

 December 10, 2003, 04:02 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

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Kushagra FLUENT 0 June 27, 2008 19:01 Yashwant Ganti FLUENT 0 June 5, 2007 03:50 matt r. Main CFD Forum 2 August 17, 2005 08:57 stanta CD-adapco 4 July 18, 2005 08:01 july CD-adapco 1 May 31, 2002 02:55

All times are GMT -4. The time now is 02:15.