32int main(
int argc,
char*argv[]) {
36 cout << endl <<
"ERROR: code needs caseName and shift arguments" << endl;
39 string caseName= argv[1];
41 int nShiftFileNumbers = 0;
44 ss1.clear(); ss1 << argv[2];
45 ss1 >> nShiftFileNumbers;
50 IdealGasPhase gas(
"../input/gas_mechanisms/"+pram.
chemMechFile);
51 Transport *tran = newTransportMgr(
"Mix", &gas);
63 if ( pram.
seed >= 0 ) pram.
seed += nShiftFileNumbers;
66 domn.
init(&io, &mesher, &strm, &gas, tran, mimx, &ed, &eddl, solv, &rand);
67 eddl.
init(NULL, NULL, NULL, NULL, NULL, NULL, NULL,NULL, NULL, NULL,
true);
71 time_t mytimeStart, mytimeEnd;
72 mytimeStart = time(0);
73 *io.
ostrm << endl <<
"#################################################################";
74 *io.
ostrm << endl <<
"# Start Time = " << ctime(&mytimeStart);
75 *io.
ostrm << endl <<
"#################################################################";
91 *io.
ostrm << endl <<
"#################################################################";
92 *io.
ostrm << endl <<
"# Start Time = " << ctime(&mytimeStart);
93 *io.
ostrm << endl <<
"# End Time = " << ctime(&mytimeEnd);
94 *io.
ostrm << endl <<
"#################################################################";
void init(inputoutput *p_io, meshManager *p_mesher, streams *p_strm, IdealGasPhase *p_gas, Transport *p_tran, micromixer *p_mimx, eddy *p_ed, domain *p_eddl, solver *p_solv, randomGenerator *p_rand, bool LisEddyDomain=false)
Header file for class domain.
int main(int argc, char *argv[])