pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Radiation and Net emission model #183

Closed dreamer2368 closed 1 year ago

dreamer2368 commented 2 years ago

Radiation base class and NetEmission derived class is implemented.

Minor:

How to use:

[plasma_models/radiation_model/net_emission]

currently only takes 'tabulated'.

coefficient = tabulated

Input for TableInterpolator

tabulated/filename = 'your_tabulated_file.h5' tabulated/x_log = False tabulated/f_log = True tabulated/order = 1



Minor issue:
- `Radiation::computeEnergySink` is not specified as `virtual`, though it must be. See the issue #184.

TODO:
- If a more sophisticated radiation model requires other than energy sink term, other objects need to have the pointer to `Radiation`. For example, if radiative diffusion is implemented, then `Fluxes` should include the radiative diffusion term in `computeViscousFluxes`.