|
| 1 | +# Catalytic combustion of methane on Pt |
| 2 | +# Tests surface chemistry and linear scaling relations |
| 3 | +# original example put together by Katrin Blondal from https://github.com/ReactionMechanismGenerator/RMG-tests/pull/71/commits/1191dc1e5ea0485342e6cbf41b992c78ea74ebf0 |
| 4 | + |
| 5 | + |
| 6 | +#Data sources |
| 7 | +database( |
| 8 | + thermoLibraries=['surfaceThermoPt', 'primaryThermoLibrary', 'thermo_DFT_CCSDTF12_BAC','DFT_QCI_thermo'], |
| 9 | + reactionLibraries = [('Surface/CPOX_Pt/Deutschmann2006', False),('BurkeH2O2inN2',False),('FFCM1(-)',False)], |
| 10 | + seedMechanisms = [], |
| 11 | + kineticsDepositories = ['training'], |
| 12 | + kineticsFamilies =['surface','default'], |
| 13 | + kineticsEstimator = 'rate rules', |
| 14 | +) |
| 15 | + |
| 16 | +catalystProperties( |
| 17 | + bindingEnergies = { # For Pd(111) from DFT studies |
| 18 | + 'H': (-2.70, 'eV/molecule'), |
| 19 | + 'O': (-3.64, 'eV/molecule'), |
| 20 | + 'C': (-6.90, 'eV/molecule'), |
| 21 | + 'N': (-4.70, 'eV/molecule'), #Made up value |
| 22 | + }, |
| 23 | + surfaceSiteDensity=(2.72e-9, 'mol/cm^2'), |
| 24 | +) |
| 25 | + |
| 26 | +generatedSpeciesConstraints( |
| 27 | + allowed=['reaction libraries'], |
| 28 | +) |
| 29 | + |
| 30 | + |
| 31 | +# List of species |
| 32 | +species( |
| 33 | + label='X', |
| 34 | + reactive=True, |
| 35 | + structure=adjacencyList("1 X u0"), |
| 36 | +) |
| 37 | + |
| 38 | +species( |
| 39 | + label='CH4', |
| 40 | + reactive=True, |
| 41 | + structure=SMILES("[CH4]"), |
| 42 | +) |
| 43 | +species( |
| 44 | + label='O2', |
| 45 | + reactive=True, |
| 46 | + structure=adjacencyList( |
| 47 | + """ |
| 48 | +1 O u1 p2 c0 {2,S} |
| 49 | +2 O u1 p2 c0 {1,S} |
| 50 | +"""), |
| 51 | +) |
| 52 | + |
| 53 | +species( |
| 54 | + label='N2', |
| 55 | + reactive=False, |
| 56 | + structure=SMILES("N#N"), |
| 57 | +) |
| 58 | + |
| 59 | + |
| 60 | +#---------- |
| 61 | + |
| 62 | +surfaceReactor( |
| 63 | + temperature=(800,'K'), |
| 64 | + initialPressure=(1.0, 'bar'), |
| 65 | + initialGasMoleFractions={ |
| 66 | + "CH4": 0.0500, |
| 67 | + "O2": 0.1995, |
| 68 | + "N2": 0.7505, |
| 69 | + }, |
| 70 | + initialSurfaceCoverages={ |
| 71 | + "X": 1.0, |
| 72 | + }, |
| 73 | + surfaceVolumeRatio=(1.0e4, 'm^-1'), |
| 74 | + terminationConversion = { "CH4":0.9,} |
| 75 | +) |
| 76 | + |
| 77 | +surfaceReactor( |
| 78 | + temperature=(1500,'K'), |
| 79 | + initialPressure=(1.0, 'bar'), |
| 80 | + initialGasMoleFractions={ |
| 81 | + "CH4": 0.0500, |
| 82 | + "O2": 0.1995, |
| 83 | + "N2": 0.7505, |
| 84 | + }, |
| 85 | + initialSurfaceCoverages={ |
| 86 | + "X": 1.0, |
| 87 | + }, |
| 88 | + surfaceVolumeRatio=(1.0e4, 'm^-1'), |
| 89 | + terminationConversion = { "CH4":0.9,} |
| 90 | +) |
| 91 | + |
| 92 | + |
| 93 | +surfaceReactor( |
| 94 | + temperature=(1750,'K'), |
| 95 | + initialPressure=(1.0, 'bar'), |
| 96 | + initialGasMoleFractions={ |
| 97 | + "CH4": 0.0500, |
| 98 | + "O2": 0.1995, |
| 99 | + "N2": 0.7505, |
| 100 | + }, |
| 101 | + initialSurfaceCoverages={ |
| 102 | + "X": 1.0, |
| 103 | + }, |
| 104 | + surfaceVolumeRatio=(1.0e4, 'm^-1'), |
| 105 | + terminationConversion = { "CH4":0.9,} |
| 106 | +) |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | +simulator( |
| 111 | + atol=1e-18, |
| 112 | + rtol=1e-12, |
| 113 | +) |
| 114 | + |
| 115 | +model( |
| 116 | + toleranceMoveToCore=0.01, |
| 117 | + toleranceInterruptSimulation=0.1, |
| 118 | + maximumEdgeSpecies=100000 |
| 119 | +) |
| 120 | + |
| 121 | +options( |
| 122 | + units='si', |
| 123 | + saveRestartPeriod=None, |
| 124 | + generateOutputHTML=True, |
| 125 | + generatePlots=False, |
| 126 | + saveEdgeSpecies=True, |
| 127 | + saveSimulationProfiles=True, |
| 128 | +) |
| 129 | + |
0 commit comments