ct2foam/ofFormats.h

87 lines
2.2 KiB
C++

#ifndef OF_FORMATS_H
#define OF_FORMATS_H
#include <string>
std::string thermoFormat = std::string() +
"{}\n" + // 0 name
"{{\n" +
" specie\n" +
" {{\n" +
" nMoles 1;\n" +
" molWeight {};\n" + // 1 molecular weight
" nCharges {};\n" + // 2 number of elementary charges
" }}\n" +
" thermodynamics\n" +
" {{\n" +
" Tlow {};\n" + // 3 Cp fit low temperature end
" Thigh {};\n" + // 4 Cp fit high temperature end
" Tcommon {};\n" + // 5 Cp fit intermediate temperature
" highCpCoeffs ( {} );\n" + // 6 Cp fit coefficients in high temperature range
" lowCpCoeffs ( {} );\n" + // 7 Cp fit coefficients in low temperature range
" }}\n" +
" transport\n" +
" {{\n" +
" As {};\n" + // 8 As, Sutherland Coefficient
" Ts {};\n" + // 9 Ts, Sutherland Temperature
" }}\n" +
"}}\n"
;
std::string arrheniusFormat = std::string() +
" A {};\n" +
" beta {};\n" +
" Ta {};\n"
;
std::string falloffFormat = std::string() +
" k0\n" +
" {{\n" +
" A {};\n" +
" beta {};\n" +
" Ta {};\n" +
" }}\n" +
" kInf\n" +
" {{\n" +
" A {};\n" +
" beta {};\n" +
" Ta {};\n" +
" }}\n"
;
std::string lindemannFormat = std::string() +
" F\n" +
" {\n" +
" }\n"
;
std::string troeFormat = std::string() +
" F\n" +
" {{\n" +
" alpha {};\n" +
" Tsss {};\n" +
" Ts {};\n" +
" Tss {};\n" +
" }}\n"
;
std::string sriFormat = std::string() +
" F\n" +
" {{\n" +
" a {};\n" +
" b {};\n" +
" c {};\n" +
" d {};\n" +
" e {};\n" +
" }}\n"
;
std::string rxnTypeFormat = " type {};\n";
std::string rxnEqnFormat = " reaction \"{}\";\n";
#endif