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

'make' error

Yi Lin Leong, modified 7 Years ago.

'make' error

Youngling Posts: 2 Join Date: 4/9/13 Recent Posts
I'm trying to compile on windows 7 with gcc by way of MinGW. The and configure both run to completion, but when I try 'make', it starts compiling, then crashes and returns with this:

In file included from util.cpp:37:0:
dol.h:50:0: warning: "errno" redefined [enabled by default]
In file included from dol.h:41:0,
from util.cpp:37:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/stdlib.h:138:0: note:
this is the location of the previous definition
util.cpp: In function 'bool DOL::LookupHostname(char*, sockaddr*)':
util.cpp:325:53: error: 'getaddrinfo' was not declared in this scope
util.cpp:329:25: error: 'freeaddrinfo' was not declared in this scope
make[5]: *** [util.lo] Error 1
make[5]: Leaving directory `/d/delft3d/src/utils_lgpl/delftonline/src/delftonlin
make[4]: *** [all] Error 2
make[4]: Leaving directory `/d/delft3d/src/utils_lgpl/delftonline/src/delftonlin
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/d/delft3d/src/utils_lgpl/delftonline'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/delft3d/src/utils_lgpl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/delft3d/src'
make: *** [all] Error 2

My version number is 5.01.002163. Any ideas or suggestions will be greatly appreciated.
Adri Mourits, modified 7 Years ago.

RE: 'make' error

Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts
Hi Yi Lin Leong,

'getaddrinfo' and 'freeaddrinfo' are default C++ methods. Your GCC compiler should be able to resolve them. Is your GCC version recent enough? Does MinGW break something?


Yi Lin Leong, modified 7 Years ago.

RE: 'make' error

Youngling Posts: 2 Join Date: 4/9/13 Recent Posts
Hi Adri,

Thanks for catching that. There is an apparent issue with MinGW and GCC... I'll look into it when I can.
Thanks again.

Best regards,
Yi Lin Leong