Rarefied Atmosphere Drag

class loas.RAD(sat_mesh, model, part_per_iteration=100, nb_workers=1, max_simultaneous_part=0)

Inherits form loas.Torque, defines the algorithms to compute Sparse Atmospheric drag.

join()

Same effect Thread api : waits until every worker returns

runSim(sat_W, sat_Q, sat_speed=7000, sat_temp=300, part_density=1e-11, part_mol_mass=0.016, part_temp=1800, with_drag_coef=False)

Run the simulation The arguments can be either a single element of a list. If a list is given, the simulation will be ran over each value of this list. If several arguments are given as lists, the simulation will be ran for each combination possible.

Parameters
  • sat_W (loas.Vec) – Rotation vector of the satellite

  • sat_Q (loas.Quat) – Attitude quaternion of the satellite

  • sat_speed – Speed vector of the satellite, relative to the atmosphere

  • sat_speed – loas.Vec

  • sat_temp (float) – Temperature of the satellite

  • part_density (float) – Density of the particles. Note: It only has a linear effect on the result. By design, the simulation does not depends on the density.

  • part_mol_mass (float) – Molar mass of the atmospheric particles.

  • part_temp (float) – Temperature of the atmospheric particles.

  • with_drag_coef (boolean) – Set this to True if you want the simulation to returns the drag coefficient computed with the satellite’s projected area. /!: it might slows down the simulation.

start()

Starts the workers

stop()

Stops the workers

loas.rad._sparse_drag_worker(*args, **kwargs)