Skip to content

About /notebooks/mesh/mesh_tutorial.ipynb  #2

Description

@cedr1c

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions