Project

Variation of solution with grid points in transient linear convection solution

Matlab code with the plots :

https://drive.google.com/drive/folders/1nWBkB-SD-kKBLgXLG0XvDikmbjGXan9P?usp=sharing

Explaination : The n denotes the mesh points in the grid. In the lower values of n, that is 20, the mesh is coarse which is the reason for a slanting rise and fall of pulse in the initial conditions. As the mesh becomes finer and finer, the transformation from trapezium-shaped pulse to rectangular-shaped pulse can be seen. As mesh becomes finer, more indexing points are obtained and the accuracy of the velocity at the points increases.

The equation is solved ignoring the diffusion effects. As the mesh becomes more and more finer, the diffusion phenomenon occurs.

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.