Skip to content

Commit 767d5f9

Browse files
committed
cantherm examples input files fixed
input files had old LennardJones tranport attribute which now crashes cantherm. also fixed typo in cantherm/input.py
1 parent 1791364 commit 767d5f9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/cantherm/networks/acetyl+O2/input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
spinMultiplicity = 2,
2929
opticalIsomers = 1,
3030
molecularWeight = (75.04,"g/mol"),
31-
collisionModel = LennardJones(sigma=(5.09,'angstrom'), epsilon=(473,'K')),
31+
collisionModel = TransportData(sigma=(5.09,'angstrom'), epsilon=(473,'K')),
3232
energyTransferModel = SingleExponentialDown(
3333
alpha0 = (0.5718,'kcal/mol'),
3434
T0 = (300,'K'),
@@ -51,7 +51,7 @@
5151
spinMultiplicity = 2,
5252
opticalIsomers = 1,
5353
molecularWeight = (75.04,"g/mol"),
54-
collisionModel = LennardJones(sigma=(5.09,'angstrom'), epsilon=(473,'K')),
54+
collisionModel = TransportData(sigma=(5.09,'angstrom'), epsilon=(473,'K')),
5555
energyTransferModel = SingleExponentialDown(
5656
alpha0 = (0.5718,'kcal/mol'),
5757
T0 = (300,'K'),
@@ -144,7 +144,7 @@
144144
label = 'nitrogen',
145145
structure = SMILES('N#N'),
146146
molecularWeight = (28.04,"g/mol"),
147-
collisionModel = LennardJones(sigma=(3.70,'angstrom'), epsilon=(94.9,'K')),
147+
collisionModel = TransportData(sigma=(3.70,'angstrom'), epsilon=(94.9,'K')),
148148
)
149149

150150
################################################################################

examples/cantherm/networks/n-butanol/input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
spinMultiplicity = 1,
3030
opticalIsomers = 1,
3131
molecularWeight = (74.07,"g/mol"),
32-
collisionModel = LennardJones(sigma=(5.94,'angstrom'), epsilon=(559,'K')),
32+
collisionModel = TransportData(sigma=(5.94,'angstrom'), epsilon=(559,'K')),
3333
energyTransferModel = SingleExponentialDown(alpha0=(447.5*0.011962,"kJ/mol"), T0=(300,"K"), n=0.85),
3434
)
3535

@@ -65,7 +65,7 @@
6565
label = "bath_gas",
6666
E0 = (0,'kJ/mol'),
6767
molecularWeight = (28.04,"g/mol"),
68-
collisionModel = LennardJones(sigma=(3.41,"angstrom"), epsilon=(124,"K")),
68+
collisionModel = TransportData(sigma=(3.41,"angstrom"), epsilon=(124,"K")),
6969
energyTransferModel = None,
7070
)
7171

rmgpy/cantherm/input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def species(label, *args, **kwargs):
113113
if structure: spec.molecule = [structure]
114114
spec.conformer = Conformer(E0=E0, modes=modes, spinMultiplicity=spinMultiplicity, opticalIsomers=opticalIsomers)
115115
spec.molecularWeight = molecularWeight
116-
spec.transportData = collisionModel
116+
spec.TransportData = collisionModel
117117
spec.energyTransferModel = energyTransferModel
118118
spec.thermo = thermo
119119

0 commit comments

Comments
 (0)