CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   transportProperties chemkin to openFoam (https://www.cfd-online.com/Forums/openfoam-solving/227895-transportproperties-chemkin-openfoam.html)

ayu12 June 13, 2020 10:17

transportProperties chemkin to openFoam
 
Hi All,

I am trying to convert San Diego USCD Mechanism to OpenFOAM, but while trying to use chemkimToFoam it gives an error

Code:

ill-defined primitiveEntry starting at keyword 'CHCHO'
I also tried the same method to GRIMech3.0, I get the same error

Code:

ill-defined primitiveEntry starting at keyword 'AR'
While checking the chemFoam files for proper understanding, transport Properties are default, as follows:

Code:

".*"
{
    transport
    {
        As 0;
        Ts 0;
    }
}

As and Ts are based on sutherland coeff, their value as 0, doesn't seem accurate.

Can anyone let me know how can we convert transport files from Chemkin to foam?

Nandu K April 29, 2022 06:05

Hi ayu12,


Were you able to convert the mechanism?
I am facing the same problem.
Kindly share the solution if available


Regards

Navaneeth

dkaddar May 2, 2022 18:23

The integrated chemkin converter / reader is really sensitive to formatting of the input files and for transport files in chemkin format it does not even work at all.

So to use chemkinToFoam, issue the command as follows:
Code:

chemkinToFoam [options] <ck mech file> <ck thermo file> <OF transport file> <output reactions file> <output thermo file>

Contrary to what the manual page suggests, the third input file has to be an empty transportProperties file in OF format and not the transport file in chemkin format. Check out the chemFoam examples or use the lines of ayu12 for the transportProperties file.


All times are GMT -4. The time now is 15:31.