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. 




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



Message Boards

Delft3D-SWAN error - Segementation Fault (core dumped)

Nate VanArendonk, modified 2 Years ago.

Delft3D-SWAN error - Segementation Fault (core dumped)

Youngling Posts: 3 Join Date: 2/10/17 Recent Posts
Hi All,

I am having trouble running some of my domains when I increase the resolution of the grid. I am having success when I run my model on my 62.5 meter grid which is a 1157x871 grid. Then when I cut the resolution in half to 32.25 meters with a grid of 2313x1741, I am met with an error while Swan is trying to write output files. Here is what I get:

+SWAN is processing output request 1
Segmentation fault (core dumped)
*** WARNING: unable to run SWAN using "". Trying with "swan.bat" ...
sh: 1: swan.bat: not found
>>...End of SWAN run
*** ERROR: file 'norm_end' expected to signal a correct SWAN calculation

Unfortunately a print file or error file are not created so this is my only clue as to what the error is. I've never encountered a Segmentation Fault (core dumped) error before. A quick internet search revealed that it means Swan is trying to access memory it has not been told it has access too. I am wondering if anyone has encountered an error like this in the past? In an attempt at a quick fix, I upped the available memory to 53 gigs and this did not solve the problem ( the model only uses around 22) I should note that I am running Delft3D-64bit Swan on Linux - Ubuntu through a virtual machine.

I am a little curious why the coarser resolution grid works then when I cut the resolution in half and increase the grid size, it throws this error, with plenty of available memory. If anyone has any suggestions on how I can fix this problem it would be greatly appreciated! Realistically, I do not need to run my models at a resolution of 32.25m however, I have a very large domain at 100 meter resolution which encompasses these smaller domains (grid size is 2438x3541). When I run this model it uses around 48 gigs of RAM and after SWAN is done running and attempting to write the outputs I am met with the same error that I pasted above.

***Summary: I have large domains that I am running on 64-bit Swan on linux. The models run and when swan is attempting to process and write the output files, I am met with an error of "Segmentation Fault (core dumped). Any advice on how to fix this?

Anonymous Anonymous, modified 2 Years ago.

RE: Delft3D-SWAN error - Segementation Fault (core dumped)

Padawan Posts: 75 Join Date: 7/30/20 Recent Posts

Dear Nate,

I am facing the same issue with my mesh, as soon as I start increasing the resolution (<50 m) on a coupled flow-wave simulation, SWAN gives me the same error (also running on 64bit Linux in MPI-parallel with plenty of resources). 

Did you find a solution to the problem? I am a little bit puzzled atm.



Anonymous Anonymous, modified 2 Years ago.

RE: Delft3D-SWAN error - Segementation Fault (core dumped)

Padawan Posts: 75 Join Date: 7/30/20 Recent Posts

Short update on that note; a further increase in resolution (<20 m) renders the model operational again. However, different resolutions on the different grids FLOW (20x20m) and WAVE (60x60m) seem not to work on the version I am running, hence I have to run both grids at the same resolution, which is a bit resouce inefficient,