Skip to content

SPARTA

Rarefied gas with the particle method DSMC, where the usual flow equations stop working. Experimental.

Install

export SPARTA_BINARY=/path/to/spa_serial

Built from source: https://sparta.github.io/. You do not need it to start.

Then check that openPASO sees it:

python check_install.py

What openPASO knows for SPARTA

10 kinds of problem. Ask for any of them in plain words; the names below are what the model uses internally.

Physics Description Dimensions Templates
adaptive_grid Static (adapt_grid) and dynamic (fix adapt) grid adaptation to resolve shocks, boundary layers and surface geometry 2-D, 3-D circle_2d
ambipolar_plasma Weakly ionized flow in the ambipolar approximation: each electron is carried with its parent ion instead of being moved on the electron timescale 2-D, 3-D circle_2d
axisymmetric 2d axisymmetric DSMC — the x axis is the symmetry axis, cells are revolved annuli, radial weighting available 2-D body_2d
chemistry Gas-phase chemical reactions (TCE / QK) evaluated during DSMC collisions 2-D, 3-D box_3d
collision_relaxation Particle-particle collisions with the VSS model plus rotational / vibrational energy relaxation 2-D, 3-D box_2d, internal_energy_2d
conjugate_heat_transfer DSMC gas <-> solid conjugate heat transfer: SPARTA tallies the surface heat flux and reads back a wall temperature, either through fix surf/temp in-code or through preCICE against an FEM solid 2-D, 3-D circle_2d
hypersonic_flow Hypersonic rarefied flow over a body: bow shock, surface pressure and heat flux, DSMC 2-D, 3-D circle_2d
particle_emission Particle injection / emission from box faces or surfaces — the DSMC inflow boundary condition 2-D, 3-D channel_2d
rarefied_flow Rarefied / free-molecular gas flow (high Knudsen number) solved with DSMC simulator particles 2-D, 3-D box_2d, channel_2d
surface_interaction Gas-surface interaction: diffuse / specular / CLL wall models, per-element surface tallies, surface reactions 2-D, 3-D circle_2d