|
[Sponsors] |
How to add species source term through fvOptions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 19, 2019, 03:49 |
How to add species source term through fvOptions
|
#1 |
Member
Join Date: Oct 2015
Location: Finland
Posts: 39
Rep Power: 11 |
Hey,
I use the scalarCodedSource to add source terms to my rho, U and h equations. But I can't seem to find the correct syntax for adding source terms to species equations. In YEqn.H fvOptions(rho,Yi) is present, but if I use Y or Yi keyword as a field I get the following: Code:
Source motored_pressure_mass defined for field Yi but never used Best, Bulut Edit: Maybe I should've been clearer. I CAN add source term to a specific specie if I give it by name : Code:
fields (rho U h CH4); But is there a shorthand for doing this all the species in the chemical mechanism I use? Last edited by blttkgl; February 19, 2019 at 03:54. Reason: Added information |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 17:18 |
How to add a source term on the nodes of the cells | amina.yacoubi | Fluent UDF and Scheme Programming | 4 | February 19, 2019 19:25 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |