|
[Sponsors] |
October 23, 2009, 11:22 |
Explicit Source Term
|
#1 |
Member
Primoz Ternik
Join Date: Apr 2009
Location: Maribor, Slovenia
Posts: 65
Rep Power: 17 |
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. |
|
October 25, 2009, 21:32 |
|
#2 |
New Member
Kurt Pudniks
Join Date: Sep 2009
Location: Australia
Posts: 6
Rep Power: 17 |
i'm only new but i think...
groovyBC has stuff being turned on and off with time. i saw a wiki page. |
|
October 27, 2009, 14:12 |
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
||
January 13, 2011, 16:50 |
|
#4 |
Member
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 16 |
any ideas how to implement time varying source terms??
|
|
January 13, 2011, 17:05 |
|
#5 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
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 |
|
January 13, 2011, 17:08 |
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
momentum source term | zwdi | FLUENT | 14 | June 27, 2017 16:40 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |