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: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

MA
Matthew Adams, modified 5 Years ago.

PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Youngling Posts: 19 Join Date: 8/20/15 Recent Posts
Hi there,

I originally posted this at the end of a "resolved" thread, but since it is urgent I have reposted as question.

In my build of Delwaq, "File > Open" and "File > Import" are grayed out in the Processes Library Configuration Tool, "File > Save As" tries to save a *.dat file instead of *.sub file, and choosing "Open OPL" I get the error "Datafile C:\Deltares\delft3d_ohmw_4.01.01.rc.03\delft3d\win32\waq\default\opl_proc_def.dat not found, System starts with empty database." My installed version is delft3d_ohmw_4.01.01.rc.03 on Windows 7.

Any help would be appreciated.

Matthew
MJ
Michel Jeuken, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Matthew,

When you want to use the processes library, you have to copy the bin-folder of your build into the GUI-setup you have got. The file C:\Deltares\delft3d_ohmw_4.01.01.rc.03\delft3d\win32\waq\default\proc_def.dat (without opl_in it) should be on this location. After you build Delft3D, these files should be gathered from your build into the folder bin\win32\waq\default, next to the src and examples folder.

Hope this helps,
Michel
MA
Matthew Adams, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Youngling Posts: 19 Join Date: 8/20/15 Recent Posts
Hi Michel,

Many thanks for your reply! I re-copied the files from the build to the GUI, just in case; this did not change things. Today I re-downloaded the GUI and build, recompiled and copied the build files to GUI folder structure in a different folder, but still the same issue.

When I compile the build (revision 5429) in VS2010/IFORT12 with options win32 and release, the bin/win32/waq/default folder has only 4 files: bloom.spe, bloominp.d09, proc_def.dat and proc_def.def. Could this be the cause of the problem?

Many thanks for any insights! If there is other information pertinent to the problem, let me know and I will post.

Thanks again,
Matthew
MJ
Michel Jeuken, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Matthew,

Sorry for the delay. I've checked the Delft3D 4.01.01.rc.03 open source community setup, and in the zip-file delft3d_ohmw_4.01.01.rc.03.zip there are several other files that also should reside in <path>\win32\waq\default. So some of the files come from the setup of the GUI in the zip-file, and the others should come from the build you have made.

The PLCT should be started with the processes button, not the Open PLCT button in the Tools sub-menu.

Also be sure that you run the "substitute_delft3d_env.bat" script in the win32 directory of the GUI setup. The PLCT is started in various modes based on the plct*.ini files. The contain the absolute paths to the prod_def. You could check if these files contain the right paths (they are plain ASCII).

I hope this helps,

Michel
MA
Matthew Adams, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Youngling Posts: 19 Join Date: 8/20/15 Recent Posts
Hi Michel,

Thanks very much for your response, I have narrowed down the issue to the OPL only. (Both ECO and WAQ PLCT now work correctly.) Following Arjen's post on another thread (http://oss.deltares.nl/web/delft3d/delwaq/-/message_boards/view_message/526833#_19_message_528673) and Rudy's second follow-up comment to this (I need to manually change the file paths in the INI files; "substitute_delft3d_env.bat" does not accomplish this), I was able to make the OPL button appear in Processes menu.

So now, only in OPL mode does the original issue still occur. ( "File > Open" and "File > Import" are grayed out, "File > Save As" tries to save a *.dat file instead of *.sub file, and I get the error "Datafile C:\Deltares\delft3d\win3 [text cut out] not found, System starts with empty database." )

Any thoughts on what could resolve this?

Many thanks,
Matthew
MJ
Michel Jeuken, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub (Answer)

Jedi Knight Posts: 154 Join Date: 1/21/13 Recent Posts
Hi Matthew,

Part of the answer is that in developer mode, you are modifying or creating a new processes database. This means that you need to save a *.dat file that contains your modified or new processes. You will also need to do some FORTRAN coding to do the real math. I'll inquire the person that maintains the PLCT GUI about the grayed out import.

Michel
MA
Matthew Adams, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Youngling Posts: 19 Join Date: 8/20/15 Recent Posts
Hi Michel,

Thanks for your reply! In the D Water Quality Open Processes Library User Manual (version 0.99 revision 33644, 24 october 2014), Section 4.2, it says that File >New, Open, Save etc. works on *.sub and *.0 files. Is that correct or should it work on *.dat files? I am aware that eventually the PLCT (with some delving into Fortran to actually write the equations) will yield a new processes library (*.dat).

Thanks for checking with the person who manages the PLCT GUI, and hopefully can resolve these two issues (grayed out Open/Import and should this be *.sub or *.0 instead of *.dat).

Matthew
AM
Arjen Markus, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub (Answer)

Jedi Knight Posts: 223 Join Date: 1/26/11 Recent Posts
Hi Matthew,

I did some code diving - the Import menu item seems to be related to a different model suite, where information is transferred in a different way. But I want to explain the various files in some more detail, as I think that will give you a better understanding.

First of all ,the .sub and the .0 files are files you would normally create with the GUI in ordinary mode, not in Open/developer mode:
- The .sub file contains the selected substances, parameters and processes only. Select that file for the water quality calculations.
- The .0 file contains a hierarchy of information that allows you to go back in the selection process. As a consequence it also contains internal information.

The .dat file (the process definition file) is a file which in this mode is static: it contains the definitions of the input and output quantities for each process.

In Open/developer mode you can add to the list of processes and therefore the process definition file will change. To use an existing process definition file and change that, you need to use the Merge menu option. This will bring up a file selection dialog where you can select the process definition file of choice.

Regards,

Arjen
MA
Matthew Adams, modified 5 Years ago.

RE: PLCT: File>Open/Import grayed out, File>Save is *.dat instead of *.sub

Youngling Posts: 19 Join Date: 8/20/15 Recent Posts
Hi Arjen and Michel,

Many thanks for your helpful replies! Part of the problem was my build (which was resolved in the other thread) and part of it was my misunderstanding of how the open PLCT tool operates (creating new process definition files (.dat) rather than substance files (.sub and .0 files)). I am now making new processes in open PLCT without any issues.

Thanks again!
Matthew