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: 
/web/delft3dfm/forum

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

=======================================================

** PLEASE TAG YOUR POST! **

 

 

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

 


Message Boards

file wave_bmi issues

KD
Kevin Dubois, modified 2 Years ago.

file wave_bmi issues

Youngling Posts: 2 Join Date: 1/17/18 Recent Posts
Hi Oli,

I have an issue when I'm trying to compile the source code on linux manjaro with the file : wave_bmi.f90 :

wave_bmi.f90:432:16:

character(len=length), intent(in) :: string
1
Error: Scalar INTEGER expression expected at (1)
wave_bmi.f90:443:38:

string_to_char_array(i) = string(i:i)
1
Error: Syntax error in argument list at (1)
wave_bmi.f90:429:41:

pure function string_to_char_array(string, length)
1
Error: Symbol ‘string’ at (1) has no IMPLICIT type
wave_bmi.f90:429:41:

pure function string_to_char_array(string, length)
1
Error: Argument ‘string’ of pure function ‘string_to_char_array’ at (1) must be INTENT(IN) or VALUE
wave_bmi.f90:125:17:

c_att_value = string_to_char_array(trim(att_value), len(trim(att_value)))
1
Error: Type mismatch in argument ‘string’ at (1); passed CHARACTER(1) to UNKNOWN
wave_bmi.f90:95:21:

c_version_string = string_to_char_array(trim(version_full), len(trim(version_full)))
1
Error: Type mismatch in argument ‘string’ at (1); passed CHARACTER(1) to UNKNOWN
make[5]: *** [Makefile:663: wave_bmi.lo] Error 1
make[5]: Leaving directory '/home/dubois/delft3trunk/src/engines_gpl/wave/packages/wave/src'
make[4]: *** [Makefile:490: install-recursive] Error 1
make[4]: Leaving directory '/home/dubois/delft3trunk/src/engines_gpl/wave/packages/wave'
make[3]: *** [Makefile:494: install-recursive] Error 1
make[3]: Leaving directory '/home/dubois/delft3trunk/src/engines_gpl/wave/packages'
make[2]: *** [Makefile:491: install-recursive] Error 1
make[2]: Leaving directory '/home/dubois/delft3trunk/src/engines_gpl/wave'
make[1]: *** [Makefile:495: install-recursive] Error 1
make[1]: Leaving directory '/home/dubois/delft3trunk/src/engines_gpl'
make: *** [Makefile:551: install-recursive] Error 1

It seems that there are issues in the file about fortran but I don't understand them. Do you have any ideas ?

Thank you,
Best regards,
Kévin D.
engineering-student SeaTech Toulon (France) 3A GM
ML
Mario Mascagni, modified 1 Year ago.

RE: file wave_bmi issues

Youngling Posts: 8 Join Date: 11/24/11 Recent Posts

I am facing the same problem with the latest version of Delft3D on trunk repositories.

I think is a compiler issue, in my case I am using;

GNU Autoconf version 2.69
GNU Automake version 1.15.1
GNU Libtool version 2.4.6

sys-devel/gcc-6.4.0-r1

 

I got the following error:

DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c wave_bmi.f90  -fPIC -o .libs/wave_bmi.o
wave_bmi.f90:432:16:

   character(len=length), intent(in) :: string
                1
Error: Scalar INTEGER expression expected at (1)
wave_bmi.f90:443:38:

     string_to_char_array(i) = string(i:i)
                                      1
Error: Syntax error in argument list at (1)
wave_bmi.f90:429:41:

...

 

I am have tried to compile with a different version of gcc (4.9.3) without success. Now I am going to try to compile an older version of Delft3D, once I have the Delft3D 7545 compiled on my old notebook. 

 

Any chance of somebody have overcome this problem, please I wold be very grateful to be able to compile the latest version of Delft3D. Thank you!

 

 

ML
Mario Mascagni, modified 1 Year ago.

RE: file wave_bmi issues

Youngling Posts: 8 Join Date: 11/24/11 Recent Posts

Hi,
I was successful compiling Delft3D version 7545.

 

./configure --with-mpi --with-netcdf
 

Using:

gcc-6.4.0;

Autoconf version 2.69
Automake version 1.15.1
Libtool version 2.4.6

 

Adri Mourits, modified 1 Year ago.

RE: file wave_bmi issues

Yoda Posts: 1224 Join Date: 1/3/11 Recent Posts

Hi,

I expect this problem to be solved by reversing line 432:
character(len=length), intent(in) :: string

with line 433:
integer(c_int),intent(in) :: length

It seems that the compiler you are using is very strict.

I solved this in the trunk in revision 8686.

Regards,

Adri

 

KD
Kevin Dubois, modified 1 Year ago.

RE: file wave_bmi issues

Youngling Posts: 2 Join Date: 1/17/18 Recent Posts

Hi,

Thank you ! I will check if it works.

Regards,

Kévin