CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Adding an explicit source term in the UEqn() (

Anne Lincke June 25, 2013 12:19

Adding an explicit source term in the UEqn()
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

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