clear all close all clc %inputs b=0.05; l=1; g=9.81; m=1; theta_0 = [0;3]; t_span=linspace(0,20,600); %function [t,Results]=ode45(@(time,theta) ode_func(time,theta,b,g,l,m), t_span, theta_0); %for loop for i=1:length(Results(:,1)) %displacement & velocity plot subplot(5,4,[13,14,17,18]); plot(t,Results(:,1),\'color\',\'b\');…
Srinivasarao Kothara
updated on 30 Oct 2018
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 Srinivasarao Kothara (16)
Modelling and simulation of flow through a flowbench Parametric Study for varying positions of Lift of Valve - Flow Simulation using SolidWorks
The Assignment was uploaded to google drive at following link - https://drive.google.com/file/d/10wDAu3wUB3i69Ze5KWDYN25ukIKK33rp/view?usp=sharing It consists of three files: 1. Flow Bench - flow simulation (Modelling & velocity profile). 2. …
24 Jun 2019 12:38 PM IST
Flow over a NACA Airfoil at different Angles of Attack Flow Simulation using SolidWorks
The Assignment was uploaded to google drive at following link - https://drive.google.com/file/d/1TUB0L3eg4fpBAQmjNB4ENjcWkcNXzIsE/view?usp=sharing It consists of three files: File-1. Detailed steps at zero angle of attack and results (drag force, lift force & pressure) File-2. Files of other angle of attacks of airfoil.…
23 Apr 2019 12:05 PM IST
FLOW OVER CYLINDER - FLOW SIMULATION USING SOLIDWORKS
Assignment is uploaded to google drive at following Link: https://drive.google.com/file/d/1Pj-4MnerjYtsBy5Wd_JNcrMgWqhr8Fnk/view?usp=sharing
21 Mar 2019 12:41 PM IST
Centrifugal pump design and analysis of flow Simulation using SolidWorks
Assignment attached to google drive at following link: https://drive.google.com/file/d/1i4RimXDr4TrXqEvVNWQahjfjH-onAiZz/view?usp=sharing
21 Mar 2019 12:23 PM IST
Getting started with Flow SImulation in SolidWorks
PIPE FLOW SIMULATION & PARAMATRIC STUDY WITH LINE PROBES USING SOLIDWORKS1. Create a cylinder model: size -Dia=120mm, Length = 1meter.2. Convert to shell of thickness 2mm3. Draw line probes at 0.95m, 0.9m and at 0.85m from top / inflow.These line probes are created to check velocity, shear stress at this…
27 Feb 2019 10:06 AM IST
Getting started with Flow SImulation in SolidWorks
PIPE FLOW SIMULATION & PARAMATRIC STUDY WITH LINE PROBES USING SOLIDWORKS1. Create a cylinder model: size -Dia=120mm, Length = 1meter.2. Convert to shell of thickness 2mm3. Draw line probes at 0.95m, 0.9m and at 0.85m from top / inflow.These line probes are created to check velocity, shear stress at this…
27 Feb 2019 10:05 AM IST
DATA ANALYSIS DATA PARSING - THERMODYNAMIC PLOTS SI ENGINE USING PYTHON
\'\'\' Data analysis \'\'\' #Import Modules import matplotlib.pyplot as graph import numpy as np from numpy import trapz as trp #input the data data_file = \'engine_data.out\' n = 0 header_line = 0 column_name = [] col_units = [] for line in open(data_file,\'r\'): if \'#\' not in line: n = n + 1 cols = len(str.split(line))…
21 Jan 2019 10:13 AM IST
TEMPERATURE Vs SPECIFIC HEAT - LINEAR CUBIC CURVE FITTING USING PYTHON
1. What does popt and pcov mean? Answer: curve fit calculates coefficients and output as popt. popt contains coefficients a,b,c,d. pcov : 2d array. The estimated covariance of popt. 2. What does np.array(temperature) do? numpy array for passing all temperature values as an array to function. 3. What does the * in *popt…
18 Jan 2019 01:04 PM IST
Breaking Ice with Air cushion Vehicle - Finding minimum pressure with Newton-Raphson method in Python
# Breaking Ice with Air Cushion Vehicle .. # finding minimum pressure using Newton-Raphson Method import matplotlib.pyplot as pl import math import numpy as np # function f(x) = p^3(1-beta^2)+(0.4*h*beta^2-sigma*h^2/r^2)*p^2+sigma^2*h^4/(3*r^4)*p-(sigma^2*h^2/3*r^2)^3 = 0 def f(p,h): return (pow(p,3)*(1-pow(beta,2))) +…
17 Jan 2019 01:09 PM IST
PRESSURE-VOLUME DIAGRAM THERMAL EFFICIENCY OF OTTO CYCLE AIR STANDARD CYCLE USING PYTHON
\"\"\" AIR STANDARD CYCLE - OTTO CYCLE - PV DIAGRAM & THERMAL EFFICIENCY \"\"\" import math import matplotlib.pyplot as plt def engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): # file name - engine_kinematics.py \"\"\" Engine Kinematics \"\"\" import math # Geometric parameters bore = 0.10 stroke =…
17 Jan 2019 10:28 AM IST
Parsing NASA thermodynamic data creating plot coefficients
clear all close all clc %VALUE OF THE UNIVERSAL GAS CONSTANT R=8.314; %TO READ THE GIVEN FILE fid = fopen(\'nasa_thermo.txt\',\'rt\'); TITLE = fgetl(fid); A = fscanf(fid,\'%f\\n\',[1 3]); low_temp_limit = A(1); mid_temp_limit = A(2); high_temp_limit = A(3); skip1 = fgetl(fid); skip2 = fgetl(fid); skip3 = fgetl(fid); for…
21 Nov 2018 01:37 PM IST
GENETIC ALGORITHM - STALAGMITE FUNCTION OPTIMIZATION
%genetic algorithm close all clear all clc A = linspace(0,0.8,200); B = linspace(0,0.8,200); [AA, BB] = meshgrid(A,B); for m = 1:length(AA) for n = 1:length(BB) input_vector(1) = AA(m,n); input_vector(2) = BB(m,n); f(m,n) = stalagmite(input_vector); end end tic % Statical behaviar iterations = 50; for m=1:iterations [inputs,…
20 Nov 2018 12:27 PM IST
VAPOUR POWER CYCLE - ENTHALPY -ENTROPY TEMP-ENTROPY DIAGRAM
clear all close all clc disp(\'RANKINE CYCLE SIMULATOR\'); disp(\'PROCESS 1-2: Isentropic Expansion in the turbine\'); disp(\'PROCESS 2-3: Constant Pressure Heat Rejection by the Condenser\'); disp(\'PROCESS 3-4: Isentropic Compression in the Pump\'); disp(\'PROCESS 4-1: Constant Pressure Heat Addition by the Boiler\');…
20 Nov 2018 11:04 AM IST
Simple Pendulum Oscillations
clear allclose allclc%inputsb=0.05;l=1;g=9.81;m=1;theta_0 = [0;3];t_span=linspace(0,20,600);%function[t,Results]=ode45(@(time,theta) ode_func(time,theta,b,g,l,m), t_span, theta_0);%for loopfor i=1:length(Results(:,1))%displacement & velocity plotsubplot(5,4,[13,14,17,18]);plot(t,Results(:,1),'color','b');hold on;plot(t,Results(:,2),'color','r');hold…
20 Nov 2018 11:01 AM IST
Curve Fitting using Matlab
*********** Remarks of the Evaluator ************ Good Job You have not evaluated the goodness of fit There is no linear or cubic fit performed YOu have mererly reprodcued what was done in the video You havent answered the questions Also, you have not estimated errors, in curve fitting, the error is estimated in…
20 Nov 2018 11:00 AM IST
Oscillations of Pendulum using function for solving of Second Order Ordinary Differential Equations
clear all close all clc %inputs b=0.05; l=1; g=9.81; m=1; theta_0 = [0;3]; t_span=linspace(0,20,600); %function [t,Results]=ode45(@(time,theta) ode_func(time,theta,b,g,l,m), t_span, theta_0); %for loop for i=1:length(Results(:,1)) %displacement & velocity plot subplot(5,4,[13,14,17,18]); plot(t,Results(:,1),\'color\',\'b\');…
30 Oct 2018 10:51 AM IST