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

trouble with Source Term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2010, 04:29
Default trouble with Source Term
  #1
New Member
 
andrianomena
Join Date: Mar 2009
Location: madagascar
Posts: 23
Rep Power: 17
sambatra is on a distinguished road
Hi there,
I would like to implement a Source Term.
The trouble is that it is calculated thanks to a lot of variables and the BC of that source term is not specified.I am a bit tempted to put a zerogradient everywhere when I implement it.Can anybody tell me what I should do?How can I specify the BC of that source term?
Best Regards.
sambatra is offline   Reply With Quote

Old   October 4, 2010, 03:22
Default
  #2
Senior Member
 
Stefan Herbert
Join Date: Dec 2009
Location: Darmstadt, Germany
Posts: 129
Rep Power: 17
herbert is on a distinguished road
Hi sambatra,

why do you need BC's for a source term? The choice of BC's is only important, if you want to solve an equation for that field. If it is only a source in an equation for another field you can use the default calculated BC. (BTW the boundaryField shouldn't be used when having a volumetric source. In fact it should make no difference which kind of BC you use.)

Regards,
Stefan
herbert is offline   Reply With Quote

Old   October 5, 2010, 03:28
Default
  #3
New Member
 
andrianomena
Join Date: Mar 2009
Location: madagascar
Posts: 23
Rep Power: 17
sambatra is on a distinguished road
Hi Hebert,
Thank you so much for your information!
the reason I was asking that question was that the sources are to be relaxed so I guess creating field is required!

BR,
sambatra is offline   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
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
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 00:14.