Skip to content

Commit

Permalink
Added outer radius option for shell mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlhicks committed Sep 29, 2023
1 parent 8915d6b commit 1bf7f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mymesh/meshes.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import gmsh

def CreateShellMesh(inner_center=[0,0,0], inner_radius=0.8, mesh_size=0.02, path='mesh.msh'):
def CreateShellMesh(inner_center=[0,0,0], inner_radius=0.8, outer_radius=1.0, mesh_size=0.02, path='mesh.msh'):
# inner and outer radius
r1 = inner_radius
r0 = 1
r0 = outer_radius

# center of outer circle
x0 = 0
Expand Down

0 comments on commit 1bf7f07

Please sign in to comment.