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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2020, 12:49
Default rhoCentralFoam with Chemistry
  #1
Member
 
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 54
Rep Power: 5
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, 16 views)
TommyM is offline   Reply With Quote

Old   January 23, 2021, 06:46
Default
  #2
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 11
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:17
Decoupled detailed chemistry for coal NOx mj2malik ANSYS 0 September 7, 2018 12:22
Non-equilibrium chemistry RocketGuy Main CFD Forum 2 May 10, 2017 19:57
The problem of Stiff Chemistry Solver in Multiphase model shenzhou1987 FLUENT 1 January 11, 2016 03:52
dynamic mesh refinement and rhoCentralFoam ChrisA OpenFOAM Running, Solving & CFD 1 March 21, 2013 09:00


All times are GMT -4. The time now is 21:24.