diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf82e8c..525651f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,8 +36,9 @@ canteraTest: - cd ${CI_PROJECT_DIR} - wmake diffusivityModel - wmake testApp - - ./testApp/canteraTest -case testApp/gri + - cd testApp + - ./Alltest artifacts: paths: - - ./testApp/*/canteraTest.log + - testApp/cases/*/canteraTest.log when: always diff --git a/testApp/Alltest b/testApp/Alltest new file mode 100755 index 0000000..a82ea0d --- /dev/null +++ b/testApp/Alltest @@ -0,0 +1,16 @@ +#!/bin/bash +mkdir cases + +for sp in H2 H O O2 OH H2O HO2 H2O2 \ +C CH CH2 CH2\(S\) CH3 CH4 CO CO2 \ +HCO CH2O CH2OH CH3O CH3OH C2H C2H2 C2H3 \ +C2H4 C2H5 C2H6 HCCO CH2CO HCCOH N NH \ +NH2 NH3 NNH NO NO2 N2O HNO CN \ +HCN H2CN HCNN HCNO HOCN HNCO NCO N2 \ +AR C3H7 C3H8 CH2CHO CH3CHO +do + cp -r gri cases/$sp + foamDictionary -entry fractions -set '{}' cases/$sp/constant/initialConditions + foamDictionary -entry fractions.$sp -set 1 cases/$sp/constant/initialConditions + ./canteraTest -case cases/$sp +done diff --git a/testApp/readInitialConditions.H b/testApp/readInitialConditions.H index 0a3d485..8e340a7 100644 --- a/testApp/readInitialConditions.H +++ b/testApp/readInitialConditions.H @@ -106,5 +106,3 @@ << " T = " << thermo.T()[0] << " [K] " << nl << " rho = " << rho[0] << " [kg/m3]" << nl << endl; - - Info << "Mass Fractions" << Y0 << endl;