chemkinToFoam: Increase the precision of the thermophysical coefficient written

This commit is contained in:
Henry Weller
2017-02-21 11:59:49 +00:00
parent a06cd912d8
commit bec7091e21

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -42,6 +42,9 @@ using namespace Foam;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
// Increase the precision of the output for JANAF coefficients
Ostream::defaultPrecision(10);
argList::validArgs.append("CHEMKINFile"); argList::validArgs.append("CHEMKINFile");
argList::validArgs.append("CHEMKINThermodynamicsFile"); argList::validArgs.append("CHEMKINThermodynamicsFile");
argList::validArgs.append("CHEMKINTransport"); argList::validArgs.append("CHEMKINTransport");