Galerkin FEM for elliptic PDEs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sphere.sh 953B

1234567891011121314151617181920212223242526
  1. #gmsh -3 -format vtk -o sphere.vtk sphere.geo
  2. #../utVTKEdgeGsphere sphere.vtk .25 magnet sphereG.vtu
  3. #../utFEM4EllipticPDE_bhmag sphereG.vtu sphereG.vtu sphereOut.vtu
  4. # Gravity problem
  5. ../utVTKEdgeGsphere sphere.vtk .25 gravity sphereGrav.vtu
  6. ../utFEM4EllipticPDE_bhmag sphereGrav.vtu sphereGrav.vtu sphereOutGrav.vtu
  7. #paraview --state=sliceSphere.pvsm
  8. # --data=sphereOut.vtu
  9. # even finer meshing
  10. # radius = 4, u = \pm .9 analytic = \pm 1.33
  11. # Finer meshing
  12. # radius = 5, u = \pm 1.65 analytic = \pm 1.67
  13. # radius = 4, u = \pm 1.09 analytic = \pm 1.33
  14. # radius = 5, u = \pm 2.5 analytic = \pm 1.67
  15. # radius = 4, u = \pm 1.66 analytic = \pm 1.33
  16. # radius = 3, u= \pm .926 -.985 analytic = \pm 1
  17. # radius = 2, u = \pm.42 analytic = \pm .667
  18. # for radius=1, u = \pm .111 analytic = \pm .333
  19. # for radius=.5, u = \pm .0477 -.0462 analytic = \pm .167