Code to obtain the data from the Converge output file and plot the p-V relationship: import matplotlib.pyplot as plt import numpy as np import math #Assigning an empty array to all the engine parameters Crank = [] Pressure = [] Max_Pres = [] Min_Pres = [] Mean_Temp = [] Max_Temp = [] Min_Temp = [] Volume = [] Mass = []…
Hari Kiran
updated on 12 Jun 2019
Project Details
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Read more Projects by Hari Kiran (10)
Week 4 - Genetic Algorithm
24 Jun 2020 08:23 AM IST
Parsing NASA thermodynamic data
The thermodynamic data for various species is studied and the coefficients of temperature in the characteristic equations for entropy, enthalpy and specific heat are obtained using a matlab code. The equations are as follows: Specific heat equation: Cp = R*(a1 + (a2*T) + (a3*(T.^2)) + (a4*(T.^3)) + (a5*(T.^4)))…
02 Jan 2020 06:32 AM IST
Flow over a Tesla Cybertruck
The Tesla Cybertruck seamlessly blends together something 4 year old me would draw and something out of a dystopian future. From the design, it looked like the team at Tesla decided to turn off the wind tunnel and forgot about the CFD options available while designing the car. The opposite approach was taken and an external…
13 Dec 2019 08:53 AM IST
Data parsing using python
Code to obtain the data from the Converge output file and plot the p-V relationship: import matplotlib.pyplot as plt import numpy as np import math #Assigning an empty array to all the engine parameters Crank = [] Pressure = [] Max_Pres = [] Min_Pres = [] Mean_Temp = [] Max_Temp = [] Min_Temp = [] Volume = [] Mass = []…
12 Jun 2019 07:48 AM IST
Curve fit using python
Curve fitting is done in order to study the characteristic equation between a dependent and one or more independent variables. The fitting is done in order to find out which order of polynomial offers the best fit and how many regions the data can be split into in order to figure out the optimal fit for the given data…
11 Jun 2019 07:05 AM IST
Newton-Rhapson method
The Newton-Rhapson method is an iterative technique that is used to solve for the roots of a function. In this case, we use the Newton-Rhapson method to solve for the cushion pressure required to cut a certain thickness of ice using an air cushion vehicle. The thickess, denoted by h in the equation is varies from 0.6 to…
11 Jun 2019 04:10 AM IST
Motion of a pendulum using python
import numpy as np import math import matplotlib.pyplot as plt from scipy.integrate import odeint #defining the function to solve the ode def odes(theta, t, b, g, l, m): theta1 = theta[0] theta2 = theta[1] dtheta1dt = theta2 dtheta2dt = -(b/m)*theta2 - (g/l)*math.sin(theta1) dthetadt = [dtheta1dt, dtheta2dt] return dthetadt…
11 Jun 2019 01:31 AM IST
Otto cycle simulator using python
The otto cycle is an ideal cycle that refers to the functioning of a petrol or SI engine. The cycle is made up of 4 cycles that are made up of 4 salient points. From point 1-2 it is a reversible adiabatic compression process. From 2-3 it is a constant volume heat transfer into the system. From 3-4 it is a reversible…
10 Jun 2019 08:38 AM IST
Rankine cycle simulator
The goal of this challenge is to take in input conditions at the turbine inlet plot the characteristic Rankine cycle T-s and h-s plots using the XSteam function. A conventional Rankine cycle consists of 4 state points, with 1-2 being isentropic expansion in the turbine, 2-3 being isochoric heat removal in the condenser,…
10 Jun 2019 02:52 AM IST
Genetic algorithm study
The purpose of a genetic algorithm study is to find the global optimum value for a given population based on Darwin\'s theory of evolution. The hope is to achieve a population that allows the superior genes to pass on through to the next generation such that over successive generations, there is no increase in the superiority. …
06 Jun 2019 09:47 AM IST