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

rhoCentralFoam with Chemistry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2020, 11:49
Default rhoCentralFoam with Chemistry
  #1
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 7
TommyM is on a distinguished road
Hi All,
I am trying to implement chemistry in rhoCentralFoam. I have included the YEqn in the source code (mass fraction Y is based on central-upwind schemes, just like the other variables).
Anyway, when I run the solver an error appears telling that I have not defined the chemical species in fvSolution (O2, CO2, ...), but I have defined a "for" cycle including all the species in Y(i), just like reactingFoam do.
My YEqn.H file is attached, if someone would help me in understand this issue.
Thanks,


Tommy
Attached Files
File Type: h YEqn.H (1.8 KB, 35 views)
TommyM is offline   Reply With Quote

Old   January 23, 2021, 05:46
Default
  #2
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
It seems that there is similar development from http://blog.nus.edu.sg/huangwei/nus-...alfoam-solver/. Some validations and verification are also provided.



Quote:
Originally Posted by TommyM View Post
Hi All,
I am trying to implement chemistry in rhoCentralFoam. I have included the YEqn in the source code (mass fraction Y is based on central-upwind schemes, just like the other variables).
Anyway, when I run the solver an error appears telling that I have not defined the chemical species in fvSolution (O2, CO2, ...), but I have defined a "for" cycle including all the species in Y(i), just like reactingFoam do.
My YEqn.H file is attached, if someone would help me in understand this issue.
Thanks,


Tommy
openfoammaofnepo is offline   Reply With Quote

Reply

Tags
reactingfoam, rhocentralfoam, yeqn.h


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
Modify rhoCentralFoam: other equations of state fivos OpenFOAM Programming & Development 5 July 29, 2020 13:17
Decoupled detailed chemistry for coal NOx mj2malik ANSYS 0 September 7, 2018 11:22
Non-equilibrium chemistry RocketGuy Main CFD Forum 2 May 10, 2017 18:57
The problem of Stiff Chemistry Solver in Multiphase model shenzhou1987 FLUENT 1 January 11, 2016 02:52
dynamic mesh refinement and rhoCentralFoam ChrisA OpenFOAM Running, Solving & CFD 1 March 21, 2013 08:00


All times are GMT -4. The time now is 12:35.