Question: The Finite Element Method for Problems in Physics Coding Assignment 2 Solve the steady state problem of heat conduction PDE Constitutive relation Neumann b.c.

The Finite Element Method for Problems in Physics Coding Assignment 2 Solve

The Finite Element Method for Problems in Physics Coding Assignment 2 Solve the steady state problem of heat conduction PDE Constitutive relation Neumann b.c. Dirichlet b.c. -V-j-f j = -kVu -j-n=hon n u=g on with the following boundary conditions using the specified meshes and linear basis functions. Use = 385 watt.mK-1, where = Roy. Assume j = 0 watt.m2 on all edges/surfaces where no temperature/flux conditions are specified. 1. (2D Quadrilateral Mesh): ( [0,0.03], y = [0,0.08], use a 15 x 40 element mesh.) u(x) = 300(1+r) K along y = 0 m (bottom nodeset) and u(x) = 310(1 + r) K along y = 0.08 m (top nodeset) where co K.m1, 0 = 8K.m-2. = 2. (3D Hexahedral Mesh): (r = [0,0.04], y = [0,0.08], [0,0.02], use a 8 x 16 x 4 element mesh) u(y, z) = 300(1+co(y + z)) K along x = 0 m (left nodeset) and u(y, z) = 310(1+co(y + z)) K along I=0.04 m (right nodeset) where co=K.m, o = 8K.m. Coding Instructions: You will receive the following files: main2a.cc (the source file for the 2D problem) FEM2a.h (the template header file for the 2D problem) main2b.ce (the source file for the 3D problem) FEM2b.h (the template header file for the 3D problem) writeSolutions.h CMakeLists.txt You will also receive the .vtk solution files for a 5 x 13 mesh (2D problem) and a 4 x 8 x 2 mesh (3D problem) to help you debug your code. As before, most of your coding will be done in FEM2a.h and FEM2b.h. Do not modify any function names or the names of any class data structure. The only parts of main2s.cc and main2b.ce that should be modified are the function inputs that define the number of elements in the mesh. Your FEM2a.h and FEM2b.h files must run with the given main2a.ce and main2b.ce files, respectively. Nothing should be changed in writeSolutions.h or CMakeLists.txt. Submission Instructions: You should submit (through the Coursera website) a .zip file (name it CA2.zip) containing your FEM2a.h and FEM2b.h files and the .h5 solution files. You will have a total of two .h5 solution files (one from the 2D problema and one from the 3D problem). Each .h5 file will contain the solution vector. Do not submit any files other than those listed here.

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 Mechanical Engineering Questions!