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

Adding an explicit source term in the UEqn()

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

LinkBack Thread Tools Display Modes
Old   June 25, 2013, 12:19
Default Adding an explicit source term in the UEqn()
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 9
Anne Lincke is on a distinguished road
Good evening,

I have added an explicit source term rhs in the momentum equation
HTML Code:
 tmp<fvVectorMatrix> UEqn 
(fvm::div(phi, U)              
+ turbulence->divDevReff(U)               
+rhs )
Is this source term automatically multiplied by the control volumes = integrated?
In my case I would like to add a face-based source term which includes the face magnitudes. Therefore I suppose that I need to divide my source term by the control volume, as I do not want it to be multiplied as the multiplication with the face magnitude symbols an integration over the face already.

Can someone please verify that the source term is automatically integrated if I insert it in the UEqn like stated above?

I am looking forward to your answers.

Kind Regards
Anne Lincke 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
Trouble adding a directional derivative source term cpro OpenFOAM Programming & Development 1 March 19, 2013 17:51
Adding a source term to concervation of species equation bernarde STAR-CCM+ 0 June 4, 2009 03:17
Adding volumetric Source Term mohanamuraly OpenFOAM 0 May 17, 2009 22:00
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDF Source Term Units? Brian FLUENT 1 October 24, 2005 09:15

All times are GMT -4. The time now is 03:40.