BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich | ![]() |
You are not logged in.
Pages: 1
Hi everyone,
in older versions of BASEMENT (2.x), there was a tool in BASEmesh that, from a line shapefile overlaid on the computational mesh, returned the mesh's nodeID to a text file, thus implementing boundary conditions in the model. In BASEMENT version 4.1 - MD module - needs to be implemented in the same way. Is there a specific tool for this purpose in the current BASEmesh version?
I think it is not described in the preprocessing part of the manual.
Regards,
Giampietro
Last edited by Giampietro (2025-09-16 10:17:42)
Offline
Hi Giampietro,
This is possible by selecting the option "Write to sidecar file (BASEMENT 2.8)" when generating the quality mesh.
Notice: Starting with the next release (version>4.1), specifying node IDs in the model.json will no longer be required for BASEMD simulations, as nodestrings will be read directly from the mesh file, consistent with the current behavior of BASEHPC simulations.
Best regards,
Matthias
Offline
Thank you very much Matthias,
I have another question: how do I display the number of nodes (example on page 86 of the file: BMdoc_Tutorials_v4-1-0)? Please, what is the procedure? I can't find it in the tutorial.
Thank you very much.
Giampietro
Offline
One way to display node IDs in QGIS is:
1. Import the Mesh Layer
2. "Export mesh vertices" from the "Mesh" Processing Toolbox
3. Open attribute table of vertices vector layer and select id (see screenshot below)
4. Add the ID as a "single label" in the "Label" properties of the layer
Offline
Pages: 1