Docs › Physics API reference › onesim.physics.plasma
A.15 onesim.physics.plasma
AbsorbingPlasmaWall class
AbsorbingPlasmaWall(*, boundary: object, physics: object, secondary_electron_yield: float = 0.0, secondary_electron_energy: object | None = None, provider: object | None = None) -> None
Declare the absorbing wall particle and energy fluxes, with optional secondary emission.
Selected methods.
bind_wall(*, geometry)
semantic_conditions(condition_id)
ChargedParticle class
ChargedParticle(*, domain: object, model_id: str = <factory>, mass: float, charge: float, electric: tuple[float | None, float | None, float | None] = (0.0, 0.0, 0.0), magnetic: tuple[float | None, float | None, float | None] = (0.0, 0.0, 0.0)) -> None
Integrate position and velocity under the Lorentz force from prescribed or coupled fields.
Declared fields. x (m, differential), y (m, differential), z (m, differential), velocity_x (m/s, differential), velocity_y (m/s, differential), velocity_z (m/s, differential), electric_x (V/m, input), electric_y (V/m, input), electric_z (V/m, input), magnetic_x (T, input), magnetic_y (T, input), magnetic_z (T, input). Selected methods.
electric_input(axis)
magnetic_input(axis)
ColdPlasmaOscillation class
ColdPlasmaOscillation(*, domain: object, model_id: str = <factory>, density: float, electron_mass: float, elementary_charge: float, permittivity: float, collision_frequency: float, external_current: float | None = 0.0) -> None
Integrate homogeneous electron velocity, electric field and thermal energy with collisions and applied current.
Declared fields. velocity (m/s, differential), electric_field (V/m, differential), thermal_energy (J/m^3, differential), imposed_current (A/m^2, input).
create_plasma_factories function
create_plasma_factories(*, physics_registry=None, coupling_registry=None)
Construct independently owned plasma and microwave factory adapters.
create_plasma_runtime function
create_plasma_runtime(*, physics_registry=None, coupling_registry=None, **dependencies)
Select the existing plasma bundle explicitly within the common runtime.
DriftDiffusionPlasma class
DriftDiffusionPlasma(*, domain: object, model_id: str = <factory>, gas: object, chemistry: object, electron_energy: object, electron_transport: object, ion_transport: object, electron_species: str = 'electron', prescribed_inputs: object = <factory>) -> None
Declare the transported species and mean electron energy system with explicit gas, chemistry and transport collaborators.
Selected methods.
field(name)
fields()
density(species)
initialization_targets(reference)
lower_initial_conditions(initials)
EcrExcitation class
EcrExcitation(*, frequency: float, power: float, impressed_current_density: object | None = None, port: object | None = None, absorption: float = 1.0) -> None
Set microwave frequency and power with an explicit current or port excitation as supported.
ElectronCollisionModel class
ElectronCollisionModel(*, gas: object, chemistry: object, energy_distribution: object, provider: object | None = None) -> None
Specify how the gas, chemistry and electron energy distribution determine electron collisions.
Selected methods.
to_mapping()
collision_frequency(*, mean_electron_energy, points=None, time=0.0)
derivative(*, mean_electron_energy, points=None, time=0.0)
spatial_degree(energy_degree)
FreeStreamingWaterbag class
FreeStreamingWaterbag(*, domain: object, model_id: str = <factory>, phase_density: float, particle_mass: float) -> None
f(x,v)=phase_density between lower/upper contours, zero outside.
Declared fields. lower_velocity (m/s, differential), upper_velocity (m/s, differential), number_density (1/m^3, derived), bulk_velocity (m/s, derived), kinetic_energy_density (J/m^3, derived). Selected methods.
reflect_boundary_state(interior, *, normal)
reflect_boundary_state_jacobian(interior, *, normal)
IonMobilityModel class
IonMobilityModel(*, gas: object, chemistry: object, provider: object | None = None) -> None
Select ion mobility using the gas and chemistry contracts.
Selected methods.
to_mapping()
coefficients(*, species, points=None, time=0.0)
IsothermalElectronWaterbag class
IsothermalElectronWaterbag(*, domain: object, model_id: str = <factory>, phase_density: float, particle_mass: float, electron_temperature: float) -> None
Advance an electron waterbag with explicit particle mass and electron temperature.
Declared fields. lower_velocity (m/s, differential), upper_velocity (m/s, differential), number_density (1/m^3, derived), bulk_velocity (m/s, derived), kinetic_energy_density (J/m^3, derived).
MagnetizedColdPlasma class
MagnetizedColdPlasma(*, collision_model: object, model_id: str = <factory>, property_service: object | None = None) -> None
Compose the cold-plasma material response using a collision model and optional property service.
Declared fields. electron_density (1/m^3, input), mean_electron_energy (J, input), magnetic_field (T, input, x/y/z). Selected methods.
fields()
integration_power_degree(*, electric_degree, input_degrees)
integration_response_degree(input_degrees)
port(name)
evaluate(*, electron_density, mean_electron_energy, magnetic_field, frequency, phasor_convention, amplitude_convention, points=None, time=0.0)
MagnetizedElectronTransport class
MagnetizedElectronTransport(*, collisions: object, provider: object | None = None) -> None
Select an electron transport model with an explicit collision collaborator.
Selected methods.
to_mapping()
coefficients(*, mean_electron_energy, magnetic_field, points=None, time=0.0, linearize=True)
magnetic_direction(*, mean_electron_energy, magnetic_field, direction, points=None, time=0.0)
Maxwellian class
Maxwellian(*, relative_tolerance: float = 1e-08) -> None
Use a Maxwellian electron energy distribution with an explicit numerical tolerance.
MeanElectronEnergyEquation class
MeanElectronEnergyEquation(*, enthalpy_factor: float = 1.6666666666666667, provider: object | None = None) -> None
Declare the electron-energy balance and enthalpy factor for a fluid plasma.
Selected methods.
to_mapping()
bind(*, geometry, model)
NativeEcrDiscretization class
NativeEcrDiscretization(*, maxwell: object, numerical_service: object | None = None, maxwell_registry: object | None = None) -> None
Select native FV transport/Poisson and an explicit Maxwell discretization.
Selected methods.
validate(model, mesh, numerics)
bind_operator(*, model, mesh, numerics, backend, dependencies, boundary_conditions=(), inputs=None, initial_conditions=(), constraints=(), **kwargs)
preflight(*, composition, model)
bind_transient_subsystem(composition, model, *, start, adaptive)
NativeEcrPlasma class
NativeEcrPlasma(*, domain: object, model_id: str = <factory>, chemistry: object, transport_model: object, excitation: EcrExcitation, walls: tuple, plasma_parameters: object = <factory>, potential_gauge: NativeEcrPotentialGauge | None = None, wall_registry: object | None = None) -> None
Existing native species/energy/Poisson/Maxwell physical composition.
Selected methods.
public_name(name)
floating_potential(boundary_id)
density(species)
to_mapping()
NativeEcrPotentialGauge class
NativeEcrPotentialGauge(*, mean_potential: float = 0.0, absolute_charge_tolerance: float = 0.0, relative_charge_tolerance: float = 1e-08) -> None
Volume-mean potential in V and a checked zero charge multiplier.
NativeEcrStateTransfer class
NativeEcrStateTransfer(*, cell_projection: object, maxwell_projection: object, history_policy: str = 'reset', physical_history_transfer: object | None = None, terminal_projection: object | None = None) -> None
Transfer all species, energy, potential and complex Maxwell moments.
Selected methods.
with_history_policy(policy)
bind(*, source, source_simulation, target_simulation)
NoParticleFlux class
NoParticleFlux(*, boundary: object, physics: object, provider: object | None = None) -> None
Declare the zero particle-flux wall for the owned plasma model.
Selected methods.
bind_wall(*, geometry)
semantic_conditions(condition_id)
operators namespace
Plasma / operators.
PlasmaTransportCoefficients class
PlasmaTransportCoefficients(mobility: object, diffusivity: object, mobility_energy_derivative: object, diffusivity_energy_derivative: object) -> None
Carry mobilities, diffusivities and their energy derivatives for a bound plasma transport model.
PlasmaWallFlux class
PlasmaWallFlux(particles: object, electron_energy: object) -> None
Carry the wall particle and electron energy flux values returned by a wall law.
UniformGuidingCenter class
UniformGuidingCenter(*, domain: object, model_id: str = <factory>, mass: float, magnetic_field: float | None, magnetic_moment: float, electric_x: float | None = 0.0, electric_y: float | None = 0.0) -> None
Integrate reduced particle motion in a spatially uniform field model.
Declared fields. x (m, differential), y (m, differential), z (m, differential), parallel_velocity (m/s, differential), field_x (V/m, input), field_y (V/m, input), field_b (T, input). Selected methods.
electric_input(axis)