Dear Gergö,

AFAIK noncorming VTK data is simply disconnected elements. Since the 
connectivity information is missing this is not enough information to construct 
a grid.
It’s not actually a grid, just a bunch of disconnected unstructured grids 
consisting of one element each.

Both ALUGrid and UGGrid support non-conforming refinement (where you get 
hanging nodes). But to my knowledge there is no way to read a non-conforming 
grid directly.
There is no grid format supported that can describe such grids. (Expect corner 
point grids via the opm module).

Both msh and DGF can carry cell values like porosity. And you can also always 
attach user data based on the element index. (Note here that the element index 
in the file might not be the same as in the grid instance, but the 
gridFactory.insertionIndex() function provides the mapping between them.)

If you explain your use case more, maybe there is some other information I can 
provide.


Best wishes
Timo

——
__________________________________________________________

Jun.-Prof. Dr.-Ing. Timo Koch

Department for Hydromechanics and Modelling of Hydrosystems (LH2)
Institute for Modeling Hydraulic and Environmental Systems (IWS)
University of Stuttgart, Germany

Institute webpage:   https://www.iws.uni-stuttgart.de/en/lh2/
Personal webpage: https://timokoch.github.io/
Phone:                    +49 711 685 60461
___________________________________________________________

On 18 Nov 2025, at 14:54, Gergely Schmidt <[email protected]> 
wrote:

Dear DuMuX team,

is it possible to use a nonconforming vtk grid?

So far I've used UG with conforming vtu files inluding cell values like 
heterogeneous Porosity, Kx etc., but nonconforming cell transitions are 
identified as boundaries by makeElementGeometries in fvelementgeometry.hh.

(ALUGrid supposedly supports nonconforming grids, but no vtk, only msh and dgf, 
which cannot carry cell values like Porosity to my knowledge.)

Many thanks. Best regards,
Gergö

--
***********************************************************
Gergely Schmidt Dr.-Ing.
Wissenschaftlicher Mitarbeiter
Institut für Strömungsmechanik und Umweltphysik im Bauwesen
Leibniz Universität Hannover
Appelstr. 9 a
30167 Hannover
Tel +49 (0) 511 / 762 4205
***********************************************************

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to