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

run quickplot without gui "properly"?

Timothy Smith, modified 5 Years ago.

run quickplot without gui "properly"?

Youngling Posts: 3 Join Date: 8/2/14 Recent Posts
Is there a way to run quickplot without a GUI, and have it behave like a proper command line application?

I am running on Linux and using a macro file. I can get quickpot to startup, run, create my plots, but it will not exit when done. It also won't exit when an error is encountered, for instance, if a specified file in the macro is missing or corrupted.

There does not seem to be any documentation for command line switches to pass to change the behavior of quickplot, but I do see that when it starts up, it seems to be aware that it is running in a non GUI environment from some of the screen output.

I've written a shell script as a work around to monitor quickplot and shut it down under some specific conditions (i.e. doesn't make any files, has an error, or is done making the last file), but it would be preferable for it to be able to do that itself.

Any advice would be greatly appreciated.

Roland Hesse, modified 5 Years ago.

RE: run quickplot without gui "properly"?

Youngling Posts: 21 Join Date: 11/21/14 Recent Posts

I am not sure if this is what is asked for, but this might be an alternative: I am started using MATLAB to run "d3d_pq.m" (in the Delft matlab bib). With this function you can basically access the whole functionality of QUICKPLOT/ the QUICKPLOT GUI and it enables you to process several files with the same routine in loops. It is quite easy to get the commands "d3d_qp(<coomand>)" by using the "record function for matlab scripts" in the GUI. A short example is attached.

Kind Regards


matlab code example:
path('..\delft3d\win32\delft3d_matlab',path); % add path of delft matlab bib

% input file %output file
'<file-path1 e.g. C:\DELFT\output1\trim-out1.dat>', '<image-path1 e.g. C:\DELFT\output1\image1.jpg>'; ...
'<file-path2 e.g. C:\DELFT\output2\trim-out2.dat>', '<image-path2 e.g. C:\DELFT\output1\image2.jpg>';...

for i=1:size(FILE,1)
% adjusted recorded commands
d3d_qp('selectfield','water level')
d3d_qp('newfigure','1 plot - portrait','1 plot - portrait')
d3d_qp('saveasfigure', FILE{i,2})
% add additional commands
Eduardo G-Gorbeña, modified 2 Years ago.

RE: run quickplot without gui "properly"?

Youngling Posts: 6 Join Date: 8/8/14 Recent Posts

I'm new using the matlab function d3d_pq.m. I´m trying to export automatically the outputs from a "trih-file_name.dat" file for each of the observation points I have defined. I'm only able to export the outputs for the first observation point. The script I'm running is the following:

% open file

% save data to mat
d3d_qp('selectfield','depth averaged velocity')
d3d_qp('exporttype','mat file (v7.3/hdf5)')

Do you have any idea?

Thank you.