intro story D-Flow FM


D-Flow Flexible Mesh

D-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:

  • Easier 1D-2D-3D model coupling, intuitive setup of boundary conditions and meteorological forcings (amongst others).
  • More flexible 2D gridding in delta regions, river junctions, harbours, intertidal flats and more.
  • High performance by smart use of multicore architectures, and grid computing clusters.
An overview of the current developments can be found here.
The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions! 


We have launched a new website (still under construction so expect continuous improvements) and a new forum dedicated to Delft3D Flexible Mesh.

Please follow this link to the new forum: 

Post your questions, issues, suggestions, difficulties related to our Delft3D Flexible Mesh Suite on the new forum.





Sub groups
D-Flow Flexible Mesh
Cohesive sediments & muddy systems


Message Boards

Open a netcdf-4 with Python

Antoine Marié, modified 4 Years ago.

Open a netcdf-4 with Python

Youngling Posts: 3 Join Date: 11/3/15 Recent Posts
Hi Delft3D users,

I try to create a script with Python in delft3D FM. I need to read lot of netcdf file (netcdf-4 Classic), my script begin like that :

from DelftTools.Utils.NetCdf import NetCdfFile

# Download a netCdf file

file = NetCdfFile.OpenExisting("C:\\1_Etudes\\38081_Ajaccio-rejet\\mission\\Travail\\Recueil_donnees\\ifremer\\MARS3D\\")

but it doesn't managed to open my file. Whereas when I try with another file (netcdf-3 Classic), it works.

Someone can tell me how to read netcdf-4 Classic file with Python?

Thanks in advance,

Fernando Barreto, modified 4 Years ago.

RE: Open a netcdf-4 with Python (Answer)

Padawan Posts: 74 Join Date: 6/21/12 Recent Posts
You have to install netCDF4 in your machine.

I recommend you to use Acaconda. With Acaconda is much more simple to install netCDF4 and other python-related stuff.