ogstools.meshlib.gmsh_meshing module#

ogstools.meshlib.gmsh_meshing.rect(lengths=1.0, n_edge_cells=1, structured_grid=True, order=1, out_name=Path('unit_square.msh'))[source]#
Parameters:
  • lengths (float | list[float]) –

  • n_edge_cells (int | list[int]) –

  • structured_grid (bool) –

  • order (int) –

  • out_name (Path) –

Return type:

None

ogstools.meshlib.gmsh_meshing.cuboid(lengths=1.0, n_edge_cells=1, structured_grid=True, order=1, out_name=Path('unit_cube.msh'))[source]#
Parameters:
  • lengths (float | list[float]) –

  • n_edge_cells (int | list[int]) –

  • structured_grid (bool) –

  • order (int) –

  • out_name (Path) –

Return type:

None

ogstools.meshlib.gmsh_meshing.bhe_mesh(width=10.0, length=10.0, depth=30.0, x_BHE=5, y_BHE=5, bhe_depth=20, order=1, out_name=Path('bhe_mesh.msh'))[source]#
Parameters:
  • width (float) –

  • length (float) –

  • depth (float) –

  • x_BHE (float) –

  • y_BHE (float) –

  • bhe_depth (float) –

  • order (int) –

  • out_name (Path) –

Return type:

None