CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Using source terms

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 20, 2009, 05:05
Default Using source terms
  #1
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 155
Rep Power: 11
jsm is on a distinguished road
Hi,

I am currently doing one project in Fluent. In this I am giving mass (Kg) and energy (J/Kg) as input through source terms (UDF) to develop the flow inside the closed domain.

In source terms, i have one issue. In Fluent, generally source terms are given per unit volume. I calculated mass and energy source terms for my domain volume (where I am going to hook the source UDF) and ran the simulation. But temperature is going to very high value (4000K). However mass source is coming correctly in to the domain. I am sure that temperature can not go to this high value with given mass and energy source. I cross checked the energy value given through UDF. It is correct.

I consulted with technical support experts. But I did not get any proper way to solve this issue. Is Fluent can handle source terms correctly? Anybody faced similiar kind of issues in Fluent and other CFD softwares?

I appreciate your help and suggestions.
__________________
With regards,
JSM
jsm is offline   Reply With Quote

Old   August 20, 2009, 05:50
Default
  #2
SKK
Member
 
Join Date: Mar 2009
Posts: 55
Rep Power: 8
SKK is on a distinguished road
I have used STAR CD before where I used user subroutine in order to model some scalars. To justify the ability of any software in such situation is to model something very simple and check the solution against analytial values. In your case I would suggest modeling something like heat conduction through a rod to check the source terms are implemented/working how they should be.

It might just be the formulation you used. Generally these source terms are given per unit volume (in finite volume method). Google for some examples or look in the book by Versteeg & Malalasekera to see some example of how to formulate such equations.
SKK is offline   Reply With Quote

Old   August 20, 2009, 06:18
Default
  #3
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 155
Rep Power: 11
jsm is on a distinguished road
Hi SKK,

Yes. You are correct. Currently I am doing such kind of simple simulation to justify. However, my actual simulation is combustion phenomenon. Instead of simulating the combustion, I am giving source terms as input to develop the flow field. Is your simulation also similar kind?
__________________
With regards,
JSM
jsm is offline   Reply With Quote

Old   August 20, 2009, 06:28
Default
  #4
SKK
Member
 
Join Date: Mar 2009
Posts: 55
Rep Power: 8
SKK is on a distinguished road
Unfortunately nope, my simulation, which I did a few years back was modeling k-w SST turbulence equation and transition modeling. I just had a look at the above mentioned book and there is a bit on combustion modelling on chapter 10. Have a look in there, it might be of some help. Sorry for not being able to help much. Hopefully someone else with combustion modelling experience will be able to help you. Goodluck.
SKK is offline   Reply With Quote

Old   August 20, 2009, 06:44
Default
  #5
jsm
Senior Member
 
JSM
Join Date: Mar 2009
Location: India
Posts: 155
Rep Power: 11
jsm is on a distinguished road
Hi SKK,

Thanks for your suggestions. I will check that CFD book.
__________________
With regards,
JSM
jsm is offline   Reply With Quote

Reply

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
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 12:53.