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

Explicit Source Term

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2009, 10:22
Default Explicit Source Term
  #1
Member
 
Primoz Ternik
Join Date: Apr 2009
Location: Maribor, Slovenia
Posts: 65
Rep Power: 17
ternik is on a distinguished road
hi,

I would like to model fluid flow with additional EXPLICIT SOURCE TERM appearing in a momentum equation - here I would like to be able to define this source term as a function of time ("switch it on and of") as well as geometry (small region inside the fluid domain).Can this can be done by timeActivatedExplicitSource.C? If so, can anyone explain me "how and what"!

I am still (satisfied) with OF-1.5!

Thanks,
Primoz.
ternik is offline   Reply With Quote

Old   October 25, 2009, 20:32
Default
  #2
New Member
 
Kurt Pudniks
Join Date: Sep 2009
Location: Australia
Posts: 6
Rep Power: 16
skinduptruk is on a distinguished road
i'm only new but i think...

groovyBC has stuff being turned on and off with time. i saw a wiki page.
skinduptruk is offline   Reply With Quote

Old   October 27, 2009, 13:12
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by skinduptruk View Post
i'm only new but i think...

groovyBC has stuff being turned on and off with time. i saw a wiki page.
Yeah. But it only does boundary conditions. No source terms.

Bernhard
gschaider is offline   Reply With Quote

Old   January 13, 2011, 15:50
Default
  #4
Member
 
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 16
robingilbert is on a distinguished road
any ideas how to implement time varying source terms??
robingilbert is offline   Reply With Quote

Old   January 13, 2011, 16:05
Default
  #5
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Quote:
Originally Posted by robingilbert View Post
any ideas how to implement time varying source terms??
There was a thread started in june/july 2010 by Maddalena about adding a source term to the temperature equation.

She modified the solver by adding a source term. It worked well for a single region, but not for multiple regions. Still, it might be of some help.

Mirko
mirko is offline   Reply With Quote

Old   January 13, 2011, 16:08
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by robingilbert View Post
any ideas how to implement time varying source terms??
You'll have to add it to the the relevant transport equation. Just add a field and you're done. The question is how you get the values into the field. For that there are several optinos:
- Programing by hand
- Using the scalarTimeActivatedExplicitSourceList that comes with OF (I guess. Havn't worked with that)
- Swak4Foam has the possibility to have arbitrary source terms based on an expression. For a discussion see http://www.cfd-online.com/Forums/ope...ak4foam-4.html

Bernhard
gschaider is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03


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