Project

Linear Convection dippendent on grid size

Simulation time : Bar graph shows the simulation time taken by all the four cases

Grid size 80: Solution is completely unstable and looks like it blowned up.

Grid size 80:

* This solution looks stable from the graph we can see that there is not much difference in initial and final veloity profile

Grid size 40:

* This profile is more neater and sharper as compared to the 20 grid size profile.

* As the wave progress velocity drops and getting diffused.

Grid size 20:

this plot is for the solution of wave equation when grid size is 20.

* red line shows the initial velocity profile whereas blue one presents the final velocity profile and how is evolves.

* From the figure it is quite clear that as the wave progresses the peak velocity drops and diffuses.

%% Matlab code and plots of one dimensional linear convectiion
%% Google drive link

https://drive.google.com/open?id=14yuUXutr0F-vCWcvyztVavOXKXF_bLll
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.