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

Adding mass source term to reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Bahram
  • 1 Post By dkxls

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2014, 10:21
Default Adding mass source term to reactingFoam
  #1
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
Hi Foamers

I would like to add a mass source term to the reactingFoam. I defined my_source in the createFields.
I edited my equations like this:
rhoEqn == my_source

YEqn == my_source

PEqn == my_source

how should I modify my energy and momentum equations(EEqn, UEqn)?

Any help would be greatly appreciated.

Regards

Bahram
mmartin likes this.
Bahram is offline   Reply With Quote

Old   April 30, 2014, 12:21
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
Isn't anybody interested in this topic?
Bahram is offline   Reply With Quote

Old   May 2, 2014, 05:58
Default
  #3
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
can anybody help??????????????
Bahram is offline   Reply With Quote

Old   May 2, 2014, 06:18
Default
  #4
Senior Member
 
dkxls's Avatar
 
Armin
Join Date: Feb 2011
Location: Helsinki, Finland
Posts: 156
Rep Power: 19
dkxls will become famous soon enough
Take a look at the reactingParcelFoam or sprayFoam solvers. These solvers have source terms in the conservation equations from the Lagrangian phase.
BlnPhoenix likes this.
dkxls is offline   Reply With Quote

Old   May 2, 2014, 08:15
Smile
  #5
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
Thanks for your help, I'll check them...
Bahram is offline   Reply With Quote

Reply

Tags
mass source term, reactingfoam


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
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 13:14
Adding an explicit source term in the UEqn() Anne Lincke OpenFOAM Running, Solving & CFD 0 June 25, 2013 12:19
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57


All times are GMT -4. The time now is 20:49.