2 problems in this tutorial with my Windows 10 OS :
1- If "_workdir" doesn't exist, it fails :
I have added this in a cell at the beginning
workdir = "_workdir/"
if not os.path.exists(workdir):
_ os.makedirs(workdir)
2- (More critical) These lines of code are not correct (on my computer) :
!gmsh -2 ./_workdir/mesh.geo -algo 'delquad'
......"-algo '{0}'".format(algorithm)
To run gmsh without error, the signs ' must be removed before and after the algo type:
!gmsh -2 ./_workdir/mesh.geo -algo delquad
......"-algo {0}".format(algorithm)
2 problems in this tutorial with my Windows 10 OS :
1- If "_workdir" doesn't exist, it fails :
I have added this in a cell at the beginning
workdir = "_workdir/"
if not os.path.exists(workdir):
_ os.makedirs(workdir)
2- (More critical) These lines of code are not correct (on my computer) :
!gmsh -2 ./_workdir/mesh.geo -algo 'delquad'
......"-algo '{0}'".format(algorithm)
To run gmsh without error, the signs ' must be removed before and after the algo type:
!gmsh -2 ./_workdir/mesh.geo -algo delquad
......"-algo {0}".format(algorithm)