|
[Sponsors] |
June 25, 2013, 13:19 |
Adding an explicit source term in the UEqn()
|
#1 |
Senior Member
Anne Gerdes
Join Date: Aug 2010
Location: Hamburg
Posts: 168
Rep Power: 16 |
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 )
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 |
|
|
|
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 04:17 |
Adding volumetric Source Term | mohanamuraly | OpenFOAM | 0 | May 17, 2009 23:00 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
UDF Source Term Units? | Brian | FLUENT | 1 | October 24, 2005 10:15 |