本文へ移動
cccskills
無料GitHub で公開

reacnetgenerator

Extract and visualize reaction networks from reactive MD trajectories using ReacNetGenerator. Use after ReaxFF or ab initio MD simulations to identify reaction pathways, species, and kinetics.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRGスター 208(GitHub 208 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

ReacNetGenerator — Reaction Network Analysis

When to Use

  • User has completed a reactive MD simulation (ReaxFF or AIMD) and wants to extract reactions
  • User wants to identify all chemical species formed during a simulation
  • User needs a reaction network diagram showing pathways and frequencies
  • User wants to track species concentrations over time
  • User is studying combustion, pyrolysis, or other reactive processes

Prerequisites

  1. ReacNetGenerator installed (reacnetgenerator --version or python -c "import reacnetgenerator")
  2. MD trajectory file (LAMMPS dump with bond info, or XYZ with bond detection)
  3. Bond order file from ReaxFF (bonds.reax from fix reaxff/bonds)

Workflow Steps

1. Run after ReaxFF MD

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "reacnet_analyze",
  "command": "reacnetgenerator -i traj.lammpstrj --type lammpsbondfile -b bonds.reax -a C H O",
  "depends_on": ["reaxff_md"],
  "system_name": "reaction_network"
})

CLI Usage

From LAMMPS dump + bond file

reacnetgenerator \
  -i traj.lammpstrj \
  --type lammpsbondfile \
  -b bonds.reax \
  -a C H O \
  --stepinterval 10 \
  --split 200

From XYZ trajectory (bond detection by distance)

reacnetgenerator \
  -i trajectory.xyz \
  --type xyz \
  -a C H O \
  --stepinterval 10

Python API

from reacnetgenerator import ReacNetGenerator

rng = ReacNetGenerator(
    inputfilename="traj.lammpstrj",
    inputfiletype="lammpsbondfile",
    bondfilename="bonds.reax",
    atomname=["C", "H", "O"],
    stepinterval=10,
    split=200,
)

rng.runanddraw()
# Outputs: reaction network SVG/HTML, species list, reaction matrix

Output Files

FileContent
*.svg / *.htmlReaction network visualization
species.csvAll detected species with SMILES and counts
reactionmatrix.csvReaction frequency matrix
*.pngSpecies concentration over time plots

Parameter Guidance

ParameterTypical valueNotes
-itrajectory fileLAMMPS dump or XYZ
--typelammpsbondfile / xyzInput type
-bbonds.reaxBond order file (ReaxFF only)
-aC H OElement names in order of LAMMPS type
--stepinterval10-100Analyze every Nth frame (speeds up)
--split100-500Split trajectory into N chunks for statistics
--cutoff0.3Bond order cutoff (default 0.3 for ReaxFF)
--nproc4Parallel workers

Interpreting Results

Reaction Network Graph

  • Nodes = chemical species (labeled with molecular formula or SMILES)
  • Edges = reactions (thickness proportional to frequency)
  • Hub species = key intermediates (many connections)
  • Isolated nodes = stable products or rare species

Species Time Evolution

  • Monotonically decreasing = reactant being consumed
  • Monotonically increasing = product being formed
  • Rise then fall = intermediate species
  • Oscillating = reversible reaction or equilibrium

Integration with CatGo Workflow

Typical reactive MD analysis pipeline:

1. Build mixture box        → data/packmol/SKILL.md
2. Run ReaxFF MD            → lammps/reaxff/SKILL.md
3. Extract reaction network → analysis/reacnetgen/SKILL.md (this skill)

Common Pitfalls

  1. Wrong atom order — -a C H O must match LAMMPS atom type indices (1=C, 2=H, 3=O). Check the data file.
  2. Bond file not generated — ensure fix reaxff/bonds was included in the LAMMPS input. Without it, no bond information exists.
  3. Too few frames — need at least 1000+ frames for statistically meaningful reaction counts.
  4. stepinterval too large — skipping too many frames misses short-lived intermediates. Start with 10.
  5. Cutoff too high/low — bond order cutoff of 0.3 works for most ReaxFF simulations. Adjust if species look wrong.
  6. Memory for large trajectories — very long MD trajectories can exhaust memory. Use --stepinterval to reduce.
  7. No reactions observed — temperature may be too low, or simulation too short. Check the ReaxFF MD conditions.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

abinit

無料

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

atom-ops

無料

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRG2082026年10月23日 更新

Hello-QM のスキルをすべて見る

このスキルの問題を報告する