intro story Coast / Estuary

Coast / Estuary

Coastal systems are among the most dynamic physical systems on earth and are subject to a large variety of forces. The morphodynamic changes occurring to coastlines worldwide are of great interest and importance. These changes occur as a result of the erosion of sediments, its subsequent transport as bed load or suspended load, and eventual deposition. 
 
Estuaries are partly enclosed water bodies that have an open connection to the coast. Estuaries generally have one or more branching channels, intertidal mudflats and/or salt marshes. Intertidal areas are of high ecological importance and trap sediments (sands, silts, clays and organic matter).
Within the Delft3D modelling package a large variation of coastal and estuarine physical and chemical processes can be simulated. These include waves, tidal propagation, wind- or wave-induced water level setup, flow induced by salinity or temperature gradients, sand and mud transport, water quality and changing bathymetry (morphology). Delft3D can also be used operationally e.g. storm, surge and algal bloom forecasting. 
 
On this discussion page you can post questions, research discussions or just share your experience about modelling coastal and/or estuarine systems with Delft3D FM. 
 

** PLEASE TAG YOUR POST! **

 

 

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

 

 

Message Boards

plct crashes during edition

FF
Fabricio Fiengo, modified 5 Years ago.

plct crashes during edition

Youngling Posts: 8 Join Date: 10/14/14 Recent Posts
Dear Deltares,

Currently I am trying to include extra process in the default process library; however I have some problems with plct. Everything goes fine until I try to save/cancel in the edit process window.
After several trials finally I succeed to implement some of the process I need (I worked with plct v 5.04.01.29071), but now I am not able to add more because plct crashes. I read a previous post where it was suggested to overwrite the plct with a new version (according to the about menu 5.04.03.36949M), it also crashes from time to time, but I was able to conclude.

When I run the precompiled version of delwaq provided with the GUI delwaq 1 mentions no warning and no errors and delwaq 2 mentions 1 error related to the procal.f
"'ERROR : requested module not in process library DLL'" this is what I was expecting because I add the process to the library but I still need to include the new subroutine for the new process in procal.f.

The problem happens when I try to run the same input files with delwaq 1 from the source code (tag 2399), the lst file mentions 39 warning and 1 error, and the lsp file starts with
error opening nefis file(s):c:\Program Files (x86)\Deltares\Delft3D 4.01.00\win32\waq\default\proc_def
error number: 8034
Using process definition file : c:\Program Files (x86)\Deltares\Delft3D 4.01.00\win32\waq\default\proc_def
Version number : 0.00
Serial : 3

Later on, I tried with another exercise I did using the processes available in the default library , it used to work with the precompiled version and the source code, but now it only works with the GUI and not anymore with the source code. Delwaq1’s lsp file provides the same error.
I thought It was a problem related with the plct version because I am no able to open the new proc_def.dat file with the version 5.04.01.29071 anymore, then I tried to go back to this version but it crashes continuously and I am not able to workaround it or even know if this is the reason.

Could you give me some ideas about what do I wrong, why does plct crashes and how could I solve it?
Thank you very much in advanced

Best regards

Fabricio

PC details
Win7 64bits
AM
Arjen Markus, modified 5 Years ago.

RE: plct crashes during edition

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
That is a lot of questions and I will try to address them one by one.

1. There is something wrong in the PLCT executable and sofar we have been unable to figure out what is causing the problems. It is happening since we moved to a new version ofthe compiler. When I tried to rebuild it with the old compiler, something quite unexpected went wrong, in a completely unrelated area.

2. When PLCT does its job and you instruct the DELWAQ2 program to use the process library (the DLL) you created, then there is no need to adjust the routine PROCAL. That is taken care of by loading the routine from the DLL. Could it be that you are missing that bit?

3. The messages in the LSP file are new to me. Something seems to have been corrupted. We will have to check this out. Could you send us the proc_def.def and proc_def.dat files?
FF
Fabricio Fiengo, modified 5 Years ago.

RE: plct crashes during edition

Youngling Posts: 8 Join Date: 10/14/14 Recent Posts
Dear Arjen,

After install the GUI in another computer and using the plct V5040129071, I could continue. Then I used the new proc_def.dat to run delwaq1 from the src and the errors and warnings got with the proc_def.dat built with plct V5040336948m disappeared. Of course I still have the missing library error. You are right about the use of plct for loading the dll (following the instructions detailed in the open process library users guide), but I would like to be able to debug the new routine as well, this is the reason why I was thinking to add a new process in procal.f.

1. Attending your request, I attach the proc_def.dat and the proc_def.def build with the different versions of plct (the src is able to run with V5040129071 and plct V5040129071 cannot read the dat file built with V5040336948m)

2. The precompiled GUI version runs with both

Thank you very much in advanced

Kind regards

Fabricio
AM
Arjen Markus, modified 5 Years ago.

RE: plct crashes during edition

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
Yes, debugging is much easier if you have the routine within the main program. The structure of procal is not that difficult, so it should be easy to add a new routine.

Thanks for the files. I will have a look at this.