|
[Sponsors] |
fireFoam pyrolysisModel bug: phiGas is always zero (OF v1706) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 5, 2017, 09:05 |
fireFoam pyrolysisModel bug: phiGas is always zero (OF v1706)
|
#1 |
New Member
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
In $FOAM_SRC/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C, there is the following function:
Code:
void reactingOneDim::updateFields() { if (qrHSource_) { updateqr(); } //Note: Commented out as the sensible gas energy is included in energy eq. //updatePhiGas(); } As a consequence, for example in the combustion/fireFoam/LES/oppositeBurningPanels tutorial, there is no convective transport from the pyrolysis regions to region0. In this tutorial, the field 0/U contains: Code:
"(region0_to.*)" { type mappedFlowRate; nbrPhi phiGas; value uniform (0 0 0); } Which OpenFoam version is recommended to work with fireFoam? |
|
July 24, 2017, 19:33 |
|
#2 |
Member
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11 |
You need to uncomment updatePhiGas() since that is responsible for computing the gas release at the face.
If you don't want to use the enthalpy computation from updatePhiGas, you can comment that out instead within the function. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to setup a proper "heatFlux" boundary for fireFoam? | Jumping | OpenFOAM Pre-Processing | 0 | March 27, 2013 09:27 |