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

How can I add a source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2008, 08:31
Default Hi, I use twoPhaseEulerFoam,
  #1
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17
danielle is on a distinguished road
Hi,
I use twoPhaseEulerFoam, and I need to solve my fields (Ua and Ub) only in one zone. For this I think that I should add a source term which equal to zero in the zone of resolution and like 1.e+20*Ua in the others zones. but I don't know how to do this.
I count on your help
danielle is offline   Reply With Quote

Old   February 29, 2008, 12:52
Default Hi Danielle I propose you t
  #2
Senior Member
 
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17
cedric_duprat is on a distinguished road
Hi Danielle

I propose you to have a look there :
http://www.cfd-online.com/OpenFOAM_D...html#POST17277
what you need is called a mask function
in this threat, we add a source term on one part of the geometrie and not on the other part. so, the mask function is one on the first part and 0 near.

I hope it will help you

Cedric
cedric_duprat 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
Source term Jony FLUENT 3 January 17, 2009 18:44
Source term mayur FLUENT 0 August 10, 2004 14:23
source term zwdi FLUENT 2 May 26, 2004 11:34
the source term neil CFX 10 July 15, 2002 18:10
source term fouzi FLUENT 0 April 13, 2000 12:56


All times are GMT -4. The time now is 14:11.