Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Student Reviews



More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Solving 2nd order ODE in Python using ODEINT

OBJECTIVE: Solving differential equation using ODEINT and simulating motion of pendulum using solution from ODE. Given ODE of 2nd order.   PROGRAMMING EXPLAINED: 1.To solve ODE of 2nd order, we have to convert above equation into two, single order ODE. `(d(theta1))/(dt)=(theta2)`---->1 `(d(theta2))/(dt)+(b/m)*(theta2)+gsin(theta1)/(l)=0`------2…

    Project Details

    Loading...

    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.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by LUV KUMAR (20)

    NEON BIW SIDE CRASH ANALYSIS USING RADIOSS AS SOLVER

    Objective:

    OBJECTIVE: To simulate the side crash analysis of the given neon model. STEPS: UNIT SYSTEM: During whole analysis, Kg KN mm ms was followed. INTERFACES: Deleted already defined interfaces and created Type 7 global interface. The properties for the Type 7 interface are: Istf=4 Igap=3 Idel=2 Fscale= 0.8 Inacti = 6 Iform…

    calendar

    03 Dec 2019 07:13 AM IST

      Read more

      FRONTAL CRASH ANALYSIS

      Objective:

      OBJECTIVE: To perform a frontal crash simulation using Radioss as a solver. STEPS: View components: In the NEON FRONT model there are 75 components. ASSIGNING MATERIAL ID, PROPERTY ID, AND CARD IMAGE: For rigid bodies, card image is none and prop id, mat id is unspecified. CONTACTS: Under groups, contact cards are defined.…

      calendar

      30 Oct 2019 10:35 PM IST

        Read more

        Comparing Interfaces in Radioss

        Objective:

        OBJECTIVE: Studying Interfaces and boundary condition in Hypercrash, Hypermesh and meshing bumper assembly MESHING OF BUMPER ASSEMBLY: Topological error like faces not connected was removed using extend option under surface edit option. Auto mesh under 2D option was used for meshing. Mesh size was  6mm with element…

        calendar

        22 Oct 2019 02:20 AM IST

          Read more

          COMPARING MATERIAL LAWS IN RADIOSS

          Objective:

          OBJECTIVE: Through this challenge, we will study different material laws in Radioss and will select the best material law for the given scenario by simulating and plotting graph. STEPS CASE1: Changing the model name from FAILURE_JOHNSON_0000 to Law2_epsmax_failure.Running the model as it is, without changing shell properties…

          calendar

          25 Sep 2019 06:17 AM IST

          • RADIOSS
          Read more

          Comparing default shell properties with recommended properties by plotting graph in HyperGraph

          Objective:

          OBJECTIVE:To compare the results with base simulation and improved shell elements properties by performing energy, mass error checks, plotting graph in HyperGraph and animating in HyperView. SIMULATION 1: With default Shell Properties. Imported Element_Formulation-Shell-3_assignment_0000.rad file. Property was not changed.…

          calendar

          21 Sep 2019 09:38 AM IST

            Read more

            Comparing default shell properties with recommended properties through simulation in HyperView and plotting in HyperGraph

            Objective:

            OBJECTIVE: To compare the results with base simulation and improved shell elements properties by performing energy, mass error checks, plotting graph in HyperGraph and animating in HyperView. SIMULATION 1: With default Shell Properties. Imported Element_Formulation-Shell-3_assignment_0000.rad file. The property was…

            calendar

            21 Sep 2019 09:37 AM IST

              Read more

              Cleaning Extracting Mid Surface and Meshing models in Hypermesh

              Objective:

              OBJECTIVE: To clean the geometry, extract mid surface, mesh the extracted surface and assign thickness to given models. LINK TO HYPERMESH FILES https://drive.google.com/file/d/1Op9RLc8y85U2qtlLyBNh5GYCglVHuNqN/view   PROCEDURE: Model was imported and to see errors in model, geometry color mode was set to mixed. …

              calendar

              19 Sep 2019 11:38 PM IST

                Read more

                2D 3D Mesh in HyperMesh and Performing animation using Radioss as solver

                Objective:

                OBJECTIVE: Surface mesh and volume mesh generation on given housing and arm bracket model. LINK TO HYPER MESH RADIOSS FILES: https://drive.google.com/file/d/1h0tOn4b9e9EDoVFqaGuKCjnWRgrHxUvL/view 3D MESHING: 3D Elements should be used when all dimensions are comparable. x~y~z Element shape: Tetra, Penta, Hex, Pyramid Element…

                calendar

                19 Sep 2019 11:35 PM IST

                Read more

                NEWTON RAPHSON METHOD

                Objective:

                OBJECTIVE: To find minimum pressure using Newton-Raphson method PROGRAMMING EXPLAINED: Two functions are defined. f and fprime. These function are defined to calculate next iteration value using NR method. To calculate pressure values for different thickness, for and while loop was used.In while loop absolute value of…

                calendar

                13 Sep 2019 01:41 AM IST

                  Read more

                  File Parsing in Python

                  Objective:

                  OBJECTIVE: To demonstate file parsing using Python. when we run the program, first thing appears is  to enter the filename,if we speicify correct name then we can see the rest output otherwise a message will show file not found. To store different properties like crank, pressure, density,etc empty array was created.…

                  calendar

                  13 Sep 2019 12:55 AM IST

                    Read more

                    SciPy Curve Fitting

                    Objective:

                    OBJECTIVE: To curve fit given data using linear and cubic polynomial. For curve fitting, we imported curve_fit from scipy library. Defined two function, func and func1 which are used for fitting curve. Defined another function read_file to read temperature and cp values. Values were split using (,) and values were append…

                    calendar

                    12 Sep 2019 09:02 AM IST

                      Read more

                      SciPy curve fitting

                      Objective:

                      OBJECTIVE: To curve fit given data using linear and cubic polynomial. For curve fitting, we imported curve_fit from scipy library. Defined two function, func and func1 which are used for fitting curve. Defined another function read_file to read temperature and cp values. Values were split using (,) and values were append…

                      calendar

                      12 Sep 2019 09:01 AM IST

                        Read more

                        Solving 2nd order ODE in Python using ODEINT

                        Objective:

                        OBJECTIVE: Solving differential equation using ODEINT and simulating motion of pendulum using solution from ODE. Given ODE of 2nd order.   PROGRAMMING EXPLAINED: 1.To solve ODE of 2nd order, we have to convert above equation into two, single order ODE. `(d(theta1))/(dt)=(theta2)`---->1 `(d(theta2))/(dt)+(b/m)*(theta2)+gsin(theta1)/(l)=0`------2…

                        calendar

                        11 Sep 2019 06:02 AM IST

                          Read more

                          Constrained Optimization

                          Objective:

                          OBJECTIVE: In this challenge, we will find minimum value of the given function which is constrained by other function. SOLUTION: Given: `f(x,y)=5-(x-2)^2-2(y-1)^2` constrained to `x+4y=3` Optimization: `g(x,y)=5-(x-2)^2 -2(y-1)^2+lamda(x+4y-3)` `(partialg)/(partialx)=0;` `implies -2(x-2)+lamda=0`----->(A) `(partialg)/(partialy)=0;`…

                          calendar

                          11 Sep 2019 04:04 AM IST

                            Read more

                            OTTO CYCLE SIMULATOR USING PYTHON

                            Objective:

                            OBJECTIVE: In this challenge, we will plot pressure-volume reationship for otto cycle by varying crank angle from 0-180degree. PROGRAMMING EXPLAINED: Initially we are provided with p1,t1 and t3. Rest values at state points are calculated using combined gas law formula and below formula.          …

                            calendar

                            10 Sep 2019 11:19 PM IST

                              Read more

                              Calculating drag force experienced by cyclist and plotting using PYTHON Programming.

                              Objective:

                              OBJECTIVE: In this challenge, we will calculate drag force experienced by cyclist and plot these values against velocity and drag coefficient. PROGRAMMMING EXPLAINED: Imported Matplotlib which is data visualization library for python. Defined INPUTS. For first plot coefficient of drag, frontal area and density of air are…

                              calendar

                              09 Sep 2019 12:07 AM IST

                                Read more

                                Hemming of Hood in ANSA

                                Objective:

                                OBJECTIVE: To remove all topological error and perform hemming operation for a given hood panel. METHODOLOGY: Geometry clean up Isolating inner panel and extracting the midplane. Isolating inner panel and extracting the midplane Assigning PID and thickness to both midplanes. Isolating Hemming region and assigning PID and…

                                calendar

                                04 Sep 2019 10:42 PM IST

                                  Read more

                                  MESHING BMW M6 AND CREATING A WIND TUNNEL USING ANSA

                                  Objective:

                                  OBJECTIVE: Perform surface mesh and create Wind Tunnel for flow analysis over BMW M6. PROCEDURE: GEOMETRY CLEANUP: Styling lines were left in the model. These were deleted by making them visible using macros and deleted using DELETE option. In cars body, various errors were removed like extra faces and overlapping geometry.…

                                  calendar

                                  03 Sep 2019 10:25 PM IST

                                    Read more

                                    Volumetric Meshing of Turbocharger in ANSA

                                    Objective:

                                    OBJECTIVE In this challenge, we tried to clean up the geometry and perform surface mesh and volume mesh for given mesh sizes for diferent PID. METHODOLOGY Removing all topological error. Renaming PID Combining volume Generating surface mesh. Generating volume mesh. PROCEDURE TOPOLOGICAL ERRORS As we open the model we can…

                                    calendar

                                    28 Aug 2019 10:09 PM IST

                                      Read more

                                      Meshing of the given cylinder model using ANSA

                                      Objective:

                                      OBJECTIVE The main obejctive of this challenge is to mesh the given cylinder model in ANSA with a given mesh size of one units. METHODOLOGY Import the model. Set-up the display. Make geometry error free by using check option present in ANSA. Setting PID for different surfaces. Generating mesh. PROCEDURE First we imported…

                                      calendar

                                      26 Aug 2019 09:07 AM IST

                                      Read more
                                      Showing 1 of 20 projects