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.

Notes.txt 1.2KB

12345678910111213141516171819202122232425262728293031
  1. Gmsh does not seem to import the group into exported VTK dataset. Therefore the following workflow seems to be
  2. needed.
  3. In Gmsh, make a seperate .geo file for each body. Then export the grid for each physical volume into VTK format.
  4. Then you load all of these in Paraview, Use Calculator to assign values, and then use AppendDatasets. Then you
  5. can save as a .vtu file.
  6. For just the grid, you can save the whole Gmsh grid as a VTK grid.
  7. =================================================================================================================
  8. Since we only want \nabla \cdot M on the calculation mesh do the following:
  9. I.
  10. 1: In Gmsh make .vtk files for Grid_merge
  11. 2: In Gmsh make .vtk files for BoreholeMagnetPlus (2D grid!)
  12. When doing this make sure you save all in the GUI. Or else no cells are exported.
  13. II. In Paraview
  14. 1. Open Grid_merge.vtk file
  15. 2. Open BoreholeMagnetPlus.vtk file
  16. ->Use Calculator assign 0 to everything
  17. ->Clip with normal
  18. Use Calculator to assign -1
  19. -> Clip with -normal
  20. Use Calculator to assign 1
  21. -> Clip of ends.
  22. 3. cntrl-click the three Calculator datasets. And use AppendDatasets Filter.
  23. 4. Save Data (Select Appended) as .vtu
  24. 5. Disco