HANDLING THE MIXTURE WITH CANTERA In this project, the program is modified and required steps were given in the program itself in form of comments. # handlig mixtures with cantera import cantera as ct gas=ct.Solution('gri30.yaml') #A=ct.Quantity(gas) # we can use general notation for understanding the programme…
Bhavin Patel
updated on 01 Mar 2022
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 Bhavin Patel (31)
Basics of ML & AL Week 2 Challenge
Solution 1: Random Variable number of toys X Probability of selling toys P(X) First Business Moment `Sigma(x)*P(x)` Second Business Moment `sigma^2=Sigma (x - mu)^2 *P(x)` Third Business Moment `S_k`=`Sigma ((x - mu )/sigma)^3 *P(x)` Fourth Business Moment `K_t = Sigma ((x - mu)/sigma)^4*P(x)…
27 Feb 2023 02:54 PM IST
Basics of Probability and Statistics Week 1 Challenge
Question: Why is there a difference in the formula of variance for population and sample? First of all, we need to understand what we call the population, sample, and variance. So first let's start with the population. What…
26 Jan 2023 07:07 AM IST
Week 10 - Simulating Combustion of Natural Gas.
Aim: To perform the combustion simulation of Methane+air on the combustor model and plot the variation of mass fraction of emissions. To study the effect of adding water to the fuel on emission concentration of species. Introduction: The combustion simulation can…
11 Apr 2022 12:20 PM IST
Week 9 - Parametric study on Gate valve.
Aim: To perform a parametric study on gate valve simulation by setting the opening from 10% to 80%. To obtain the mass flow rate for each design point. To calculate the flow coefficient and flow factor for each opening. Introduction:…
06 Apr 2022 11:00 AM IST
Week 8 - Simulating Cyclone separator with Discrete Phase Modelling
Aim: To perform analysis on cyclone separator and calculate the separation efficiency and pressure drop. Objective: To perform analysis on a given cyclone separator by varying the velocity from 1 m/s to 5 m/s with particle size 5 micrometer and calculate separation efficiency and pressure drop. To perform analysis…
01 Apr 2022 10:41 AM IST
Week 9 - Senstivity Analysis Assignment
Aim: To write a code that takes all the reactions from the gri30 mechanism file and gives top 10 most sensitive reaction with respect to temperature. PYTHON PROGRAMME import matplotlib.pyplot as plt import numpy as np import cantera as ct gas = ct.Solution('gri30.yaml') Temp=1500 pre=ct.one_atm gas.TPX=Temp,pre,{'CH4':1,'O2':2…
30 Mar 2022 11:27 AM IST
Week 6 - CHT Analysis on a Graphics card
Aim: To perform CHT analysis on a graphics card with velocity variation 1 m/s to 5 m/s with any three random values. To find the maximum temperature and heat transfer coefficient attained by the processor. prove that simulation has achieved convergence with relevant…
26 Mar 2022 03:20 AM IST
Week 7 - Auto ignition using Cantera
Objective -->>1: To observe the effect of pressure and temperature on the auto-ignition time. 1)plotting the auto ignition time for varying pressure from 1 to 5 atm at constant temperature 1250 K. 2)plotting…
17 Mar 2022 05:15 PM IST
Week 6 - Multivariate Newton Rhapson Solver
Objective: To solve the following coupled ordinary differential equation using python programming by Newton Raphson Method. `(dy_1)/(dt)=-0.04*y_1 + (10^4)*y_2*y_3` `dy_2/dt=0.04*y_1 - (10^4)*y_2*y_3 -3*(10^7)*y_2^2`…
17 Mar 2022 08:57 AM IST
Week 5.2 - Literature review: ODE Stability
Stability of the ode we can say that the ode is stable if small changes in the initial condition of the ode does not affect the final solution of the ode. 1)asymptotically stable from the figure we can see that no matter what is the value of y at t0 the solution is converging to the same value,than this…
15 Mar 2022 04:05 AM IST
Week 5 - Rayleigh Taylor Instability
Rayleigh Taylor instability "It is the instability of dense fluid above a lower density fluid in constant gravitational field is known as rayleigh taylor instability first observed by rayleigh" Examples of Rayleigh…
15 Mar 2022 03:46 AM IST
Week 5.1 - Compact Notation Derivation for a simple Mechanism
Aim: To derive the reaction rate ODE's and production rate ode for the given reaction with a compact notation so that it can be fed into the computer program easily. The four reaction are given as `CO + O2 iff CO2 + O` -------------------------------------------------------reaction 1…
04 Mar 2022 05:47 PM IST
Week 4.2 - Combustion Efficiency Calculation after Preheating
1:What is the effect of preheating temperature on the adiabatic flame temperature? Adiabatic flame temperature varies linearly with the preheating temperature. python file # heat recuparator efficieny calculation """ A furnace…
04 Mar 2022 11:36 AM IST
Week 4 - CHT Analysis on Exhaust port
WHAT DO YOU MEAN BY CONJUGATE HEAT TRANSFER?? HEAT TRANSFER IN SOLIDS There are basically three modes of heat transfer named conduction, convection, radiation. The conduction effect dominates in the heat transfer through solid which is usually due to free electrons…
04 Mar 2022 11:11 AM IST
Week 4.1- Handling Mixtures with Cantera
HANDLING THE MIXTURE WITH CANTERA In this project, the program is modified and required steps were given in the program itself in form of comments. # handlig mixtures with cantera import cantera as ct gas=ct.Solution('gri30.yaml') #A=ct.Quantity(gas) # we can use general notation for understanding the programme…
01 Mar 2022 04:03 PM IST
Week 3 - Adiabatic Flame Temperature calculation
Aim-1)Adiabatic flame temperature variation with equivalence ration (constant volume) 2)Adiabatic flame temperature variation with equivalence ration (constant pressure) 3)Adiabatic flame temperature variation with alkane,alkene,alkyne. Introduction Adiabatic Flame…
01 Mar 2022 10:02 AM IST
Week 3 - External flow simulation over an Ahmed body.
AHMED BODY The Ahmed body is the generic car body(a simplified vehicle model). The airflow around the Ahmed body captures the essential flow features around the automobile and was first defined and characterized in the experimental work of Ahmed. This model is used to describe the turbulent flow around the car like geometry…
23 Feb 2022 12:57 PM IST
Week 2 - Flow over a Cylinder.
Aim: To simulate the flow around the cylinder to capture the effect of the vortex shedding at the back of the cylinder. Introduction: The flow around the cylinder has opened the path for studying the flow…
08 Feb 2022 04:33 AM IST
Week 1- Mixing Tee
Aim -To study the effectiveness of the mixing tee. Simulation conditions steady-state simulation. Mixing effectiveness when hot inlet temperature 36 ° C and cold inlet temperature 19° C. The momentum ratio is equal to 2 and 4. `"Momentum ratio"="velocity of cold inlet"/"velocity of hot inlet"` There are four cases…
27 Jan 2022 12:04 PM IST
Week 12 - Validation studies of Symmetry BC vs Wedge BC in OpenFOAM vs Analytical H.P equation
Aim=Validation study between symmetric boundary condition, wedge boundary condition vs analytic H.P equation for the flow along the pipe using OPENFOAM. OBJECTIVES To simulate the flow with symmetry and wedge boundary condition for following angles 10,25,45 degrees. To validate hydrodynamic legth with the numerical results.…
26 Aug 2021 04:28 PM IST
Week 11 - Simulation of Flow through a pipe in OpenFoam
Aim-To simulates the flow through the pipe in OpenFOAM. The purpose of this project is to simulate axisymmetric flow by applying the wedge boundary condition. The flow is laminar and flows through a constant cross-section pipe. The Reynolds number is given as 2100. The laminar flow through a constant cross-sectional pipe…
15 Aug 2021 06:00 PM IST
Week 9 - FVM Literature Review
FINITE VOLUME METHOD finite volume method is the method for reducing the partial differential equation into the algebraic equation by dividing domain into finite sized subdomain through 3 properties conservativeness ,boundness and transportiveness . step1)divide the domain into finite sized subdomain,each subdomain…
08 Aug 2021 04:05 AM IST
Week 8 - Simulation of a backward facing step in OpenFOAM
Aim-To simulate flow through backward facing step. -measuring the velocity profile at 8.5m from the inlet. -To compare the velocity plot the the different grading factors. Steps- The geometry is than divided into 5 different blocks. Blockmeshdict in the tutorials…
22 Jul 2021 04:20 PM IST
Week 7 - Simulation of a 1D Super-sonic nozzle flow simulation using Macormack Method
Subsonic Supersonic Isentropic flow thorough convergent divergent nozzle. Consider the steady ,isentropic flow through convergent divergent nozzle as shown in the figure. The flow enters in the nozzle from the reservoir where the pressure and temperature is denoted by p0 and T0 The cross sectional area is assumed to…
12 Jul 2021 04:05 AM IST
Project 2 - Rankine cycle Simulator
Aim-To create rankine cycle simulator using Matlab. objective -we have three inputs 1)turbine inlet temperature 2)turbine inlet pressure …
27 Jun 2021 04:58 AM IST
Project 1 - Parsing NASA thermodynamic data
AIM: "To parse NASA thermodynamic data from the text file using matlab code" Objective: To write a code in Matlab that can extract the 14 coefficient from the text file and calculate enthalpy, entropy, specific heat for all the species in the text file. To…
23 Jun 2021 02:49 AM IST
Week 5.1 - Mid term project - Solving the steady and unsteady 2D heat conduction problem
Aim-To get the solution of the 2d heat conduction equation. 2d heat conduction equation of Cartesian co-ordinates. from the figure we can see that we want to compute the value of Tp and our differential equation is elliptic type so we have to take information from four points around the point Tp …
16 Jun 2021 02:32 PM IST
Week 4.1 - Genetic Algorithm
What is a genetic algorithm? Basically, it is the technique to optimize the objective function by iteration. starts with the initial generation of candidate solutions and that are tested against the objective function. The key idea is the “evolution is the optimization” It uses the concept of evolutionary biology,…
29 May 2021 05:43 PM IST
Week 3.5 - Deriving 4th order approximation of a 2nd order derivative using Taylor Table method
`(d^2f)/(dx^2)=f''(x)` the number of nodes required for the central difference scheme is=p+q-1 where p= order of derivative q= order of approximation so for the central difference approximation the number of node is =p+q-1 …
26 May 2021 11:56 AM IST
Week 3 - Solving second order ODEs
%solving the second order differential equation %the system is the damped pendulum clear all close all clc %geometric properties of pendulum b=0.05;%damping factor g=9.81;%gravitational acceleration l=1; %length of pendulum m=1; %mass of the pendulum %initial condition theta_0=[0;3]; %column matrix the first value is displacement…
22 May 2021 05:16 PM IST
otto cycle code using GNU octave
Aim: To write a programme in octave which can solve otto cycle,create a pv diagram and calculate the efficiency. Introduction to the otto cycle An Otto cycle is an idealized thermodynamic cycle that describes the functioning of a typical spark ignition piston engine. It is the thermodynamic…
17 May 2021 05:19 AM IST