How to Implement FEM with a Discontinuity in the Exact Solution?

  • Thread starter Thread starter ageralo
  • Start date Start date
  • Tags Tags
    Discontinuity Fem
ageralo
Messages
4
Reaction score
0

Homework Statement



Use FEM to solve this problem. The difficulty lies in the fact that the exact solution has a discontinuity in it. From x=[0,0.6) the exact solution u is x5/20 - x/20 and from x =(0.6,1] u is sin(x). The problem I'm having is I'm not sure what to do at the jump in my code. I have already set up my matrices Au = f, and it solves it fine given no discontinuity.

uxx = f

Homework Equations



u(0) = u0
u(1) = u1
 
Physics news on Phys.org
ageralo said:

Homework Statement



Use FEM to solve this problem. The difficulty lies in the fact that the exact solution has a discontinuity in it. From x=[0,0.6) the exact solution u is x5/20 - x/20 and from x =(0.6,1] u is sin(x). The problem I'm having is I'm not sure what to do at the jump in my code. I have already set up my matrices Au = f, and it solves it fine given no discontinuity.

uxx = f

Homework Equations



u(0) = u0
u(1) = u1

What is FEM?

RGV
 
Back
Top