Singularity Problem
Asked by
Houdong Hu
I have a term 1/r (r is the distance from origin) in pde.
1. If I set the origin as (0,0,0) and also origin is a vertex of mesh, it takes forever to get the result. I think that is because the default numerical integration method use the function value of vertex during the calculation. Is this true? How can I change to other numerical interation method?
2. Then I move the origin from (0,0,0) to (0.001,0.001,0.001) to avoid the calculation at singularity. But as the mesh goes finer and finer, it is working fine but at some point it suddently takes forever. I am thinking whether in FEniCS, where you define DOLFIN_EPS, and when r is smaller than DOLFIN_EPS and FEniCS will treat r as zero, and cause the problem?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Houdong Hu
- Solved:
- Last query:
- Last reply:
To post a message you must log in.