Skip to content

mkali-weizmann/cavity-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cavity-design

Calculations to design a stable thin cavity

Code conventions:

  • The angle "t" represents the theta angles of spherical coordinates (the angle from the z-axis)
  • The angle "p" represents the phi angles of spherical coordinates (the angle from the x-axis of the projection of a vector onto the xy plane)
  • When the curvature sign of a spherical surface is +1 then the ray hits it from the inside, and when it is -1 then the ray hits the surface from the inside.
  • Given a cavity, the thermal_transformation method assumes the cavity is heated, and cools it down.
  • The geometry and thermal properties of a cavity is fully defined by a matrix params, where each row specifies the parameters of a surface, weather it is a mirror or a lens's inteface.
    • each column of the row specifies a different parameter of the surface, where the index is matched to the parameter according to this dictionary:
INDICES_DICT = {'x': 0, 'y': 1, 't': 2, 'p': 3, 'r': 4, 'n_1': 5, 'w': 6, 'n_2': 7, 'z': 8,
'curvature_sign': 9, 'alpha_thermal_expansion': 10, 'beta_power_absorption': 11,
'kappa_thermal_conductivity': 12, 'dn_dT': 13, 'nu_poisson_ratio': 14,
'alpha_volume_absorption': 15, 'surface_type': 16}
  • Where n_1 is the refractive index of the medium before the ray is crossing the surface, and n_2 is the refractive index of the medium after the ray is crossing the surface.

Formatting: python -m black -l 120 cavity.py

About

Calculations to design a stable thin cavity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published