User Guide#
Comprehensive guides covering UCLCHEM’s features, physics models, and parameters.
Guide Sections#
Understanding UCLCHEM’s different physics modules
Complete reference for all model parameters
How UCLCHEM handles gas-grain chemistry
Creating and modifying chemical networks
Physics Models
Chemistry
Overview#
UCLCHEM is designed to model the time-dependent chemistry of astrophysical environments. It solves the ordinary differential equations (ODEs) describing the evolution of chemical abundances under various physical conditions.
Key Concepts#
Hybrid Architecture: UCLCHEM combines Python (user interface) with Fortran (numerical computation) for both ease of use and performance.
Gas-Grain Chemistry: Models both gas-phase reactions and surface chemistry on dust grains.
Flexible Physics: Multiple physics modules support different astrophysical scenarios (clouds, cores, shocks).
Customizable Networks: Create specialized chemical networks with the MakeRates tool.
Quick Reference#
Physics Models#
Model |
Function |
Use Case |
|---|---|---|
Cloud |
|
Static or collapsing spherical clouds |
Collapse |
|
Specific collapse profiles (BE, filament, etc.) |
C-Shock |
|
Magnetohydrodynamic shocks |
J-Shock |
|
Discontinuous shocks |
See Physics Models for details.
Common Parameters#
Parameter |
Type |
Description |
|---|---|---|
|
float |
Initial gas density (cm⁻³) |
|
float |
Initial temperature (K) |
|
float |
Simulation end time (years) |
|
bool |
Enable gravitational collapse |
|
float |
Cosmic ray ionization rate (s⁻¹) |
|
float |
UV radiation field (Habing units) |
See Parameters for the complete list.
Workflow Overview#
A typical UCLCHEM workflow:
Choose a physics model - Select the appropriate model for your scenario
Set parameters - Define initial conditions and physical parameters
Run the model - Execute the simulation
Analyze results - Extract abundances, reaction rates, etc.
Iterate - Refine parameters or try different conditions
Best Practices#
Tip
Start with defaults: All parameters have sensible defaults. Override only what you need.
Tip
Check convergence: Monitor the success flag and consider adjusting solver tolerances if needed.
Tip
Document your models: Keep track of parameter choices for reproducibility.
Warning
Network modifications require reinstallation: After running MakeRates, always pip install . to recompile.