Question: Grids will be created with Nx = 1 0 0 Nx = 1 0 0 and Ny = 5 0 Ny = 5 0 In
Grids will be created with NxNx and NyNyIn :import numpy as npimport matplotlib.pyplot as pltIn :xmin xmax ymin ymax px py px py px py theta nparctanpyIn :fig pltfigureax fig.addsubplotaxplotxminpxpxpxxmaxyminpypypyyminkaxplotxminxminyminymaxkaxplotxminxmaxymaxymaxkaxplotxmaxxmaxyminymaxkaxsetxlabel$x$axsetylabel$y$Out:Text$y$Algebraic GridCreate an algebraic grid with the following grid spacing requirementsyx,yxxxxxUniform xxxxDescribe how the grid was created ie what functions were used for the boundary points and interior pointsDescribe the clustering and why you chose that.Plot the gridPlot the contour of the grid Jacobian JJ Explain the JacobianPlot xijxijxi,jxij vs xx at jNyNyjNyNyPlot yijyijyijyij vs yy at jNxNxjNxNxPlot tanyijxijtanyijxij vs vs xx at jNyNyjNyNyElliptic GridCreate an elliptic grid solving a Laplace equation.xxyy xxyy using the Algebraic grid as the initial condition and boundary points.Describe the algorithm to solve the LaplacianWhat are the differences between the algebraic and elliptic gridsPlot the gridPlot the contour of the grid Jacobian JJ Explain the JacobianPlot xijxijxi,jxij vs xx at jNyNyjNyNyPlot yijyijyijyij vs yy at jNxNxjNxNxPlot tanyijxijtanyijxij vs vs xx at jNyNyjNyNy
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
