CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   coalChemistryFoam (

karam November 6, 2009 21:50

1 Attachment(s)
Hi Foamers~

I want to simulate coal combustion simulation in a furnace.

So, I decided to use coalChemistryFoam.
Before I simulate real furnace, I tested some cases.
coalChemistryFoam tutorial just contains closed chamber case.

My combustion furnace has 1 inlet & 1 outlet. (Simple geometry - cylinder)
I made furnace mesh file by star-CD ver.4

There are 2-type of mesh.
1. tetrahedral ~ 30,000 cells
2. polyhedral ~ 10,000 cells

However, OpenFOAM(coalChemistryFoam) does not work for this mesh!!
(I mean "janaf-thermo error")

checkMesh utility says "mesh is ok"

my boundary conditions like this ( Attachment )

For Hexahedral mesh, coalChemistryFoam is always OK.........

HOW CAN I USE coalChemistryFoam in tetrahedral or polyhedral mesh......

kalle November 6, 2009 23:48

I've never used coalChemistryFoam, but you should maybe have a look at your pressure boundary conditions. Typically you can start with putting a fixed pressure at the outlet and zero gradient on walls and inlets.


dimensions      [1 -1 -2 0 0 0 0];

internalField  uniform 100000;


        type            zeroGradient;
        type            zeroGradient;
        type            fixedValue;
        value          uniform 100000;

Your velocity data file is named 'Untitled', usually you would name it 'U'

Good luck,

yingkun June 13, 2011 22:59

I am using coalChemistryFoam too,and I have two inlets/one outlet,and I met the problem of "attempt to use janafThermo<equationOfState> out of temperature range...",have you ever encounter with it?

schmidt_d December 4, 2012 09:58

Usually, this error occurs when low temperatures (below room temperature) occur in the solver. The solver can't look up properties and throws an error.

All times are GMT -4. The time now is 03:29.