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

 


« Back to General

RE: compiling 03_flow_wave example in ubuntu

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hello,

Before, thanks for the timely response. Just a day ago to create the executables in ubuntu 32 bits, the first example I compiled 01_standard However, in the second example, 02_descomposition, I produced two warming, the third being the reason for consultation is as follows:

root@cato-HP-Pavilion-dv6700-Notebook-PC:/home/cato/delft3trunk/examples/03_flow-wave# export PATH=$buildpath/bin:$PATH
root@cato-HP-Pavilion-dv6700-Notebook-PC:/home/cato/delft3trunk/examples/03_flow-wave# export LD_LIBRARY_PATH=$buildpath/lib:$LD_LIBRARY_PATH

root@cato-HP-Pavilion-dv6700-Notebook-PC:/home/cato/delft3trunk/examples/03_flow-wave# sh run_flow2d3d.sh

--------------------------------------------------------------------------------
- Delft3D
- Deltares, Delft3D-WAVE Version 3.04.01.1189, Jan 20 2012, 12:24:15
- Open source
-
--------------------------------------------------------------------------------
*** MESSAGE: Delft3D-WAVE runs online with Delft3D-FLOW
Waiting for initialisation from FLOW
Executing "/home/cato/delft3trunk/bin/intel/flow/bin/d_hydro.exe TMP_config_flow2d3d_4137.xml" ...
--------------------------------------------------------------------------------
Deltares, FLOW2D3D Version 5.00.00.1189, Jan 20 2012, 12:23:56
libflow2d3d.so entry Flow2D3D::Run
--------------------------------------------------------------------------------

Part I - Initialisation Time Dep. Data module...
runid : r17
Part II - Creating intermediate files...
Part III - Initialisation of the Execution module...
Part IV - Reading complete MD-file...
Part V - Initialisation & checking input...
Part VI - Initialisation & checking second part...
Part VII - Initialisation output...
*** MESSAGE: Connected to the following 1 FLOW domain(s):
r17
Initialising grids and grid mappings
Waiting for communication with Delft3D-FLOW ...
Part VIII - Start Simulation...

Time to finish 0s, 0.0% completed, time steps left 180
*****************************************************************
* Start of Delft3D-WAVE ...
Start loop over SWAN grids, time = 0.000
Allocate input fields
Allocate and read SWAN depth
Get flow fields, domain 1 :
Time 0.000 found on com-file, group CURTIM
Write SWAN depth file
Write SWAN velocity file
Write SWAN wind file
Deallocate input fields
Write SWAN input
<<Run SWAN...
swan.sh is /home/cato/delft3trunk/examples/03_flow-wave/../../bin/intel/wave/bin/swan.sh
Using swan executable /home/cato/delft3trunk/examples/03_flow-wave/../../bin/intel/wave/bin/swan_4072ABCDE_del_l64_i11_omp.exe

SWAN batchfile executed for Delft3D
Performing computation for: r17.swn
/home/cato/delft3trunk/examples/03_flow-wave/../../bin/intel/wave/bin/swan_4072ABCDE_del_l64_i11_omp.exe: 1: Syntax error: "(" unexpected
mv: no se puede efectuar `stat' sobre «PRINT»: No existe el archivo o el directorio
*** WARNING: unable to run SWAN using "swan.sh". Trying with "swan.bat" ...
sh: swan.bat: not found
>>...End of SWAN run
*** ERROR: file 'norm_end' expected to signal a correct SWAN calculation

Any suggestions would be very grateful.
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
1/27/12 4:23 PMas a reply to Ricardo Enciso.
Hi Ricardo,

WAVE writes the input files for SWAN. Then SWAN is executed. It seems that SWAN does not like the input file. Do you see something strange in the file named "INPUT"? Is a file named "PRINT" or "Errfile" created and containing information?

Regards,

Adri
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
1/27/12 5:08 PMas a reply to Adri Mourits.
Hi thanks for replying:

I wrote the vi INPUT and found:

$***************************** HEADING *********************************
$
PROJECT 'Frisian Inlet ' ' '
'nieuw golfgrid '
' '
' '
$
$***************************** MODEL INPUT *****************************
$
SET LEVEL = 0.00 NOR = 90.00 DEPMIN = 0.05 _
MAXMES = 1000 MAXERR = 2 _
GRAV = 9.81 RHO = 1025.00 INRHOG = 1 _
NAUT
$
MODE NONST
CGRID CURV 145 80 EXCEPT 0.0 0.0 _
CIR 36 0.05 1.00 24
$
READ COOR 1. 'TMP_grid2swan01' _
4 0 1 FREE
$
INPGRID _
BOTTOM CURV 0. 0. 145 80
READINP BOTTOM 1.0 'BOTNOW' 4 0 FREE
INPGRID _
CURREN CURV 0. 0. 145 80
READ CUR FAC= 1. _
'CURNOW' IDLA=4 FREE
$
$
$
INPGRID _
WIND CURV 0. 0. 145 80
READ WIN FAC= 1. _
'WNDNOW' IDLA=4 FREE
$
$
$
BOUN SHAPE JONSWAP 3.30 PEAK DSPR POWER
BOUN SIDE N CCW _
CON PAR 2.00 7.00 340.00 4.00
BOUN SHAPE JONSWAP 3.30 PEAK DSPR POWER
BOUN SIDE W CCW _
CON PAR 2.00 7.00 340.00 4.00
BOUN SHAPE JONSWAP 3.30 PEAK DSPR POWER
BOUN SIDE E CCW _
CON PAR 2.00 7.00 340.00 4.00
$
GEN3
BREAK CON 1.00 0.73
FRIC JON 0.0670
LIM 10 1
NUM DIR cdd= 0.50 SIGIM css= 0.50
$
NUM ACCUR 0.020 0.020 0.020 98.000 15
$
$***************************** OUTPUT REQUEST **************************
$
QUANTITY HSIGN excv=-999.0
QUANTITY DIR excv=-999.0
QUANTITY TM01 excv=-999.0
QUANTITY DEPTH excv=-999.0
QUANTITY VELOC excv=-999.0
QUANTITY TRANSP excv=-999.0
QUANTITY DSPR excv=-999.0
QUANTITY DISSIP excv=-999.0
QUANTITY LEAK excv=-999.0
QUANTITY QB excv=-999.0
QUANTITY XP excv=-999.0
QUANTITY YP excv=-999.0
QUANTITY DIST excv=-999.0
QUANTITY UBOT excv=-999.0
QUANTITY STEEPW excv=-999.0
QUANTITY WLENGTH excv=-999.0
QUANTITY FORCES excv=-999.0
QUANTITY RTP excv=-999.0
QUANTITY PDIR excv=-999.0
QUANTITY WIND excv=-999.0
QUANTITY TPS excv=-999.0
QUANTITY TM02 excv=-999.0
QUANTITY TMM10 excv=-999.0
QUANTITY DHSIGN excv=-999.0
QUANTITY DRTM01 excv=-999.0
QUANTITY SETUP excv=-999.0
$
TABLE 'COMPGRID' NOHEAD 'SWANOUT1' _
HSIGN DIR TM01 DEPTH VELOC TRANSP _
DSPR DISSIP LEAK QB XP YP _
DIST UBOT STEEPW WLENGTH FORCES RTP _
PDIR WIND
$
TABLE 'COMPGRID' NOHEAD 'SWANOUT2' _
TPS TM02 TMM10 DHSIGN DRTM01 SETUP _
$
$
$
$
TEST ITEST= 0 ITRACE= 0
COMPUTE STAT 20050101.000000
STOP

Now the files that were generated are these are with their respective extension:

WINDNOW
swan.inp
r17.swn
INPUT
CURNOW
BOTNOW
trih-r17.def
trih-r17.dat
com-r17.def
com-r17.dat
TMP_grid2swan01
trim-r17.def
trim-r17.dat
tri-diag.r17
TMP_r17.grd
TMP_r17.bch
TMP_r17.bcc
TIM_config_flow2d3d_15809.xml

I appreciate your support..
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
2/8/12 2:23 PMas a reply to Ricardo Enciso.
Hi Ricardo,

That looks OK.
Can you try replacing the first line in the file "swan.sh" being used? It now reads:
#!/bin/sh
What happens if you replace it by:
#!/bin/bash

Please double check that the "swan.sh" you changed is the one being used, for example by adding an additional echo-statement.

Regards,

Adri
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
2/9/12 9:17 AMas a reply to Adri Mourits.
I had the same problem and I sent a solution by e-mail that is already in the trunk version. in the script "third_party_open/swan/scripts/swan.sh" It was assumed by default to call swan 64bits. With the new scritp it recognizes that your machine is 32bits and then call the proper swan version.
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
2/9/12 2:18 PMas a reply to Jose Manuel Fernandez Jaramillo.
Thanks Joe and Adri:

As said by Jose, the problem was in the swan.sh in Case Initcializacion, when calling: "swan_4072ABCDE_del_l32_i11_mpi.exe" and other "swan_4072ABCDE_del_l32_i11_omp.exe" should be in l32 but was in l64 and therefore not module running the swan.

Thank you very much for your support and patience.
RE: compiling 03_flow_wave example in ubuntu
Answer (Unmark)
11/12/17 11:32 AMas a reply to Ricardo Enciso.
I know it's an old threat, but I met similar problems when I run examples/03_flow-wave using "mpirun -np 2 d_hydro.exe config_d_hydro.xml & wave.exe r17.mdw 1". The swan_sh.log generated in the model folder says the following:

screen output of swan.sh is written to this file
and will be overwritten everytime that swan.bat is executed

swan.sh is /home/lee/delft3d/trunk/bin/lnx64/swan/scripts/swan.sh
Using swan executable /intel/swan/bin/swan_4072ABCDE_del_l64_i11_omp.exe

SWAN batchfile executed for Delft3D

***ERROR: Delft3D profile not yet executed; can\'t run SWAN
Performing computation for: r17.swn

*** ERROR: SWAN executable does not exist
/intel/swan/bin/swan_4072ABCDE_del_l64_i11_omp.exe

In my case, the solution is to modify delft3d/trunk/bin/lnx64/swan/scripts/swan.sh.

Modify line 50: export ARCH=intel to export ARCH=trunk/bin/lnx64, and add a new line: export D3D_HOME=/home/lee/delft3d

I hope this will be helpful.