Question: Write a C++ program to solve a Laplace's Equation using finite element method! Physics 800 Assignment 1 Given: January 10, 2019 Due: January 25, 201S

 Write a C++ program to solve a Laplace's Equation using finite

Write a C++ program to solve a Laplace's Equation using finite element method!

Physics 800 Assignment 1 Given: January 10, 2019 Due: January 25, 201S Problems: 1: 5, 12, 13. 4. A rectangular trough of infinite length and cross sectional dimensions of 1.0 em, b-2.0 cm, is shown in the figure. Three sides are grounded, and the top side is held at 100 V V-V gap V=0 (a) Write a Fortran, C++, or Python program to solve Laplace's equation using the finite element method. Divide the region into 50 equally sized triangles. (b) Modify your program to divide the region into 500 equally sized triangles (if you did your coding in an intelligent manner, the modification should be straight- forward). Comment on the improvement in obtained precision of the solution. Marks will be given for the insight displayed in your discussion, as well as the validity of your numerical answer (c) Compare the finite element solution to the exact solution (found via separation of variables in rectangular co-ordinates) of 4o inT sinh , n- 2k +1 ko sinh

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!