ποΈ Relaxation¶
π The Relaxation step propagates or optimizes cone point geometries on the lower electronic state to identify possible ground-state photoproducts.
Concept Overview¶
- Each cone point generated during cone sampling is used as a starting geometry.
- NANR provides three relaxation workflows:
- Optimization only (geometry minimization)
- No initial velocity MD + optimization
- Random initial velocity MD + optimization
- These methods emulate how molecules relax after nonadiabatic transitions, revealing accessible minima on the ground-state PES.
π Step-By-Step: Optimization Only¶
-
From each
cone_sampling/directory, create anopt.intemplate:coordinates start.xyz basis 6-31gs spinmult 1 charge 0 method wb97x run minimize dftd no purify no precision mixed scf diis+a -
Modify or reuse the submission script:
#!/bin/bash #SBATCH -p l40-gpu #SBATCH -N 1 #SBATCH -n 1 #SBATCH -J opt #SBATCH --mem=50G #SBATCH -t 10:00:00 #SBATCH --qos gpu_access #SBATCH --gres=gpu:1 #SBATCH -o slurm-%j.out #SBATCH -e slurm-%j.err module load tc/25.03 terachem opt.in > opt.out -
Prepare and run your jobs:
chmod +x submit.sh sbatch submit.sh -
The final geometry (bottom N+2 lines of
optim.xyz) corresponds to your optimized photoproduct.
πΆββοΈ + π Step-By-Step: No Initial Velocity MD + Optimization¶
-
Create an
md.infile:coordinates XXX basis 6-31gs charge 0 method wb97x spinmult 1 run md precision mixed nstep 100 -
Launch MD and follow with optimization:
sbatch submit.sh -
After the MD completes, extract the final coordinates from
scr.coords/coors.xyz, then run optimization as above.
πββοΈ + π Step-By-Step: Random Initial Velocity MD + Optimization¶
-
Generate random velocity files:
filenames: work_path: <molecule>/seam_sampling/clustering/ciopt#/cone_sampling/ velocity_sampling: samples_per_point: 5 added_energy: 1.8289 # in eVpython velocity_sampling.py -
For each velocity index (
V0,V1, ...), perform MD as in the previous workflow. -
After MD completion, extract the last coordinates to initialize optimization directories (
O0/,O1/, etc.). -
Submit optimization jobs for each set:
sbatch submit.sh
Outputs¶
opt.outβ TeraChem optimization logoptim.xyzβ converged geometryscr.start/optim.xyzβ final relaxed structure
Each relaxed structure corresponds to a photoproduct or intermediate accessible from a particular cone point direction.
Continue back to π Home β