shorten stdout log, added Alltest script for all binary diffusivity test and according update of ci yaml
This commit is contained in:
parent
838d425235
commit
ea5fcbadde
3 changed files with 19 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
16
testApp/Alltest
Executable file
16
testApp/Alltest
Executable file
|
|
@ -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
|
||||
|
|
@ -106,5 +106,3 @@
|
|||
<< " T = " << thermo.T()[0] << " [K] " << nl
|
||||
<< " rho = " << rho[0] << " [kg/m3]" << nl
|
||||
<< endl;
|
||||
|
||||
Info << "Mass Fractions" << Y0 << endl;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue