Skip to content

add topo to mesh WORLD #645

Answered by halbmy
cecidip asked this question in Q&A
Jan 30, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

We refer to: https://www.pygimli.org/pygimliapi/_generated/pygimli.meshtools.html
createWorld is, as the short summary in says for

Create simple rectangular 2D or 3D world
For generating a mesh using the topography in a data file, one should use createParaMesh(data), which in turn calls createParaMeshPLC and then createMesh, e.g.:

import pygimli.meshtools as mt
plc = mt.createParaMeshPLC(data, boundary=0, paraDX=0.5, paraDepth=100, area=40)
mesh = mt.createMesh(plc, quality=30, )

The first takes refinement at sensors, depth, maximum cell size, boundary size etc. (see docstring), and the latter the mesh quality. One can add any objects like lines or anomalies to plc before meshing. Have…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cecidip
Comment options

Answer selected by halbmy
Comment options

You must be logged in to vote
1 reply
@cecidip
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants