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 2018-11-20 11:40:42

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 281

problem opening vtk (precision)

Dear all,

I had a problem in opening a vtk results file with paraview and I found out that it was related to the precision of the vtk.

In fact, in the first few lines there was an improbable -3.643557e-40 among the coordinates (it was a z coordinate of a point), which was causing troubles. To solve the problem, I substitute it with 0.

I suggest to put a threshold in the output, i.e. if the level is below say 1e-14 it should become automatically 0.

Cheers,

Matteo

Offline

Board footer

Powered by FluxBB