CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

How can I add a source term

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

LinkBack Thread Tools Display Modes
Old   February 29, 2008, 08:31
Default Hi, I use twoPhaseEulerFoam,
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 10
danielle is on a distinguished road
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
Senior Member
Join Date: Mar 2009
Location: Nantes, France
Posts: 188
Rep Power: 10
cedric_duprat is on a distinguished road
Hi Danielle

I propose you to have a look there :
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_duprat is offline   Reply With Quote


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

All times are GMT -4. The time now is 22:52.