User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2023-03-15 14:31:38

qtheiler
User
Registered: 2015-07-30
Posts: 60

Basement 4.0 xdmf problem

Hi,

I don't know if I'm doing somethign wrong with the new version, but after I have exported the xdmf file, when I uploading it with Qgis, I have the Error "Could not read mesh dataset" when I'm adding the value from the xdmf file. Have someone the same issue?

Cheers,

Quentin
Basement 4.0.0
Qgis 3.28

Last edited by qtheiler (2023-03-15 14:33:01)

Offline

#2 2023-03-20 11:58:48

hor_ch
User
From: Aarau
Registered: 2022-03-01
Posts: 2

Re: Basement 4.0 xdmf problem

Hi Quentin,

This is exactly what is happening to me as well. I'm running Basement v4 and the simulation is running without any error message, but QGIS gives the error message "Konnte Netzdatensatz nicht lesen / Could not read mesh dataset" (as you were observing) and is unable to display the results. In addition, I'm unable to display the results in Paraview, it takes very long to load and then crashes.

I'm using the same meshes as for Basement v3 where the visualization in both QGIS and Paraview worked.

Best,
Christoph

QGIS 3.24.1
Paraview 5.11.0 (tried also 5.10.0 and 5.10.1)
Basement 4.0.0

Offline

#3 2023-03-24 08:27:25

GBidraulica
User
From: Santa Giustina Bellunese
Registered: 2020-12-01
Posts: 4

Re: Basement 4.0 xdmf problem

Hi everyone,

I have the same problem.
I did a simulation with Basement v.3.2.0 and i wanted to try the same simulation with Basement v.4.0.0.
In model.json i changed "DOMAIN" to "BASEHPC" and run the simulation with GUI; everything worked.
Also the extraction to .xdmf file worked but i did not load the results.xdmf file into QGis. The error message is the same "Impossibile leggere il dataset mesh".

Basement v.4.0.0
QGis 3.26.0-Buenos Aires

Offline

#4 2023-04-06 06:31:05

qtheiler
User
Registered: 2015-07-30
Posts: 60

Re: Basement 4.0 xdmf problem

Hi everyone,

Thanks for your feedback. I hope that the developper will solve this problem, as it is impossible to use the new version of basement.

Cheers,

Quentin

Offline

#5 2023-04-08 17:33:11

marc h.
User
From: Aachen, Germany
Registered: 2023-03-01
Posts: 2

Re: Basement 4.0 xdmf problem

Hello everyone,

I observed the same Problem in Basement 4.0.0 and migrated back to 3.2.0. I tried to be a bit lazy and loaded the old szenario directory into 3.2.0. It worked and showed the old BASEHPC tree. The tree was of course unusable, but helped copyying the input as I deleted the old tree and set up a new one. The simulation ran smothly without error message like before in 4.0.0.

After extracting the xdmf-file, QGIS still showed the exact same error as in 4.0.0
Afterwards i set up a completely new directory in 3.2.0 to rule out problems with my input data. It worked.
So my conclusion would be, that the problem in 4.0.0 doesn't lay in the xdmf-file extraction itself or simulation data, but somewhere earlier in the setup data file.
(Or maybe it's just a coincidence and doesn't mean anything.)

Anyway I hope this information is somewhat usefull for locating the problem with 4.0.0


Best,
Marc


QGis 3.28.2
Basement 4.0.0

Offline

#6 2023-04-19 15:17:07

Matthias Bürgler
Developer
From: Zürich
Registered: 2019-04-04
Posts: 150

Re: Basement 4.0 xdmf problem

Dear all,

It seems that this issue is caused by an update of the XDMF format. We try to find a solution to this as soon as possible and apologize for the inconvenience!

Best,
Matthias

Offline

#7 2023-05-09 16:32:27

Matthias Bürgler
Developer
From: Zürich
Registered: 2019-04-04
Posts: 150

Re: Basement 4.0 xdmf problem

Dear all,

In the most recent release of BASEMENT version 4.0.1, this bug has been fixed and visualizing the results in ParaView should now work as with previous versions (e.g. v3.2).

Since the QGIS mesh layer does not yet support XDMF Version 3.0, it is still necessary to manually replace the line

<Xdmf Version="3.0">

at the top of the .xdmf output file by

<Xdmf Version="2.0">

(e.g. in a text-editor) in order to load the simulation results onto a mesh layer. We apologize for this inconvenience, but hope that the bug fix release 4.0.1 still provides an acceptable intermediate solution.

Best regards,
Matthias

Offline

#8 2023-05-26 09:56:10

Sabrina
User
Registered: 2023-05-04
Posts: 1

Re: Basement 4.0 xdmf problem

Hi everyone,
I've had the same problem. So, I tried to install the new Basement Version 4.0.1 and extract the result.xdmf file again from the results.h5 file created with the previous version 4.0.0, then manually changed the version from "3.0" to "2.0" , I tried to load the results.xdmf file in QGis but it still doesn't work...
Can someone help me? maybe i'm doing something wrong? I load result.xdmf into ParaView and it works with both versions.
Bests
Sabrina

Offline

#9 2023-07-05 13:03:34

Matthias Bürgler
Developer
From: Zürich
Registered: 2019-04-04
Posts: 150

Re: Basement 4.0 xdmf problem

Hi Sabrina

Are you using the BASEMD or BASEHPC module?

Best regards,
Matthias

Offline

#10 2023-12-19 22:19:47

ClaireGilder
User
From: Missoula, Montana, US
Registered: 2023-11-19
Posts: 4

Re: Basement 4.0 xdmf problem

I am having the same problem with the xdmf exported after running BASEMD.  I cannot add the mesh to QGIS, even after changing the header as noted above. The xdmf from the BASEHPC model I ran to double check does not have this issue.  That is, I can visualize the results from BASEHPC.

Offline

Board footer

Powered by FluxBB