Skip to content

Instantly share code, notes, and snippets.

@Tea-Ayataka
Created October 27, 2019 19:43
Show Gist options
  • Save Tea-Ayataka/e3155f91aa700f59377bd43cf1d37dcb to your computer and use it in GitHub Desktop.
Save Tea-Ayataka/e3155f91aa700f59377bd43cf1d37dcb to your computer and use it in GitHub Desktop.
The Answer to Perfect Coil Builds for Vaping
var inner_diameter = 2.5; // 2.5mm
var wrap_count = 9; // 9 wraps
var wrap_spacing = 0.01; // the default value for micro coil wrapping
var wire_width = ; // the diameter of the coil (mm) (https://www.steam-engine.org/wirewiz)
var coil_heat_capacity = ; // the heat capacity of the coil (mJ/K)
var coil_width = wire_width * wrap_count + wrap_spacing * (wrap_count - 1);
var inner_heat_capacity = Math.pow(inner_diameter / 10 / 2, 2) * Math.PI * coil_width / 10 * 2285.6225;
var result = inner_heat_capacity / coil_heat_capacity;
// The result should be between 0.9 - 1.0 for good coil builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment