hot_air_lifting_force_mass.py

Created by concretedog56

Created on January 04, 2023

682 Bytes

This script calculates the lifting force in Newtons and the lifting mass in Kg of a volume of hot air. You input the target air temperature of the canopy and it’s volume. The script currently presumes an ambient air temperature of 15 C with a standard air pressure value of 1.225Kg/M^3.


import math

def hot_air():
  Ht=float(input("Enter target temp in C "))
  V= float(input("Enter canopy volume in M^3 "))
  Dt=float(Ht-15) #The difference in temperature between target and ambient
  Pct=float(Dt/3) #For every 3 degrees C the density will decrease by 1%
  Dd=float((1.225/100)*Pct) #The density of the air once at target temperature
  hot_density=float(1.225-Dd) #the change in density
  
  Fi=round(float((V*Dd)*9.81),3) #calculating the lifting force in N, 9.81 is accelleration of gravity
  Lm=round(float(Fi/9.81),3) #calculating the lifting mass in Kg
  print("Lifting force = ",Fi ,"N")
  print("Lifting mass = ",Lm ,"Kg")
  

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.