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

mass source term in buoyantSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2010, 08:22
Default mass source term in buoyantSimpleFoam
  #1
OMN
New Member
 
Olivier Macchion
Join Date: Jun 2010
Posts: 12
Rep Power: 15
OMN is on a distinguished road
Hello

I would like to add a mass source term in buoyantSimpleFoam. I define msource in a dictionary.
The continuity equation looks like this in that case:

div(rho*U) = msource

And I have added source terms in
1) the momentum equation: + fvm::Sp(msource, U) on the RHS
2) the energy equation: +fvm::Sp(msource, h) on the RHS

Is it enough to modify the definition of p_rghEqn() in the pEqn.H file by adding the term -msource on the RHS?

Any help would be greatly appreciated.

Cheers

Olivier
OMN is offline   Reply With Quote

Old   April 30, 2014, 06:49
Default
  #2
New Member
 
Bahram's Avatar
 
Bahram Haddadi
Join Date: Feb 2014
Location: Vienna, Austria
Posts: 20
Rep Power: 12
Bahram is on a distinguished road
Hello Olivier

I have the same question, did you found the answer to your question?

Regards

Bahram
Bahram is offline   Reply With Quote

Reply

Tags
buoyantsimplefoam, mass source term, source terms


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 terms-convergence problem alanlove FLUENT 0 March 28, 2010 06:47
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
mass transfer by source panneerselvam.R CFX 0 July 8, 2005 08:31
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 07:30.