Search found 12 matches

by xwu
Mon Aug 09, 2021 9:58 pm
Forum: ROMS Discussion
Topic: grid cell switches from dry to wet while (u,v) are NaN
Replies: 1
Views: 2400

grid cell switches from dry to wet while (u,v) are NaN

hello, I want report an issue that I encounter recently. I am running a realistic ROMS-only test that receives freshwater input from a small river (see attached figure). This test incorporates tides and atmospheric forcing (winds, heat flux etc). The grid spatial resolution is around 8-20m. Wet-dry ...
by xwu
Tue Mar 16, 2021 7:40 pm
Forum: ROMS Discussion
Topic: zero significant wave height at two corner grid cells in ROMS-SWAN coupled model
Replies: 1
Views: 2578

zero significant wave height at two corner grid cells in ROMS-SWAN coupled model

Hello, I am not sure whether anyone has seen or reported a similar problem. I am running a ROMS-SWAN coupled realistic model. The model grid has three open boundaries (south, west and north), and the eastern boundary is closed. SWAN model receives realistic incoming wave forcing from a boundary cond...
by xwu
Thu Dec 10, 2020 6:02 pm
Forum: ROMS Bugs
Topic: a potential bug: SWAN not receives or not processes the sea surface level from ROMS
Replies: 7
Views: 4245

Re: a potential bug: SWAN not receives or not processes the sea surface level from ROMS

The issue is now resolved after adding these lines in the SWAN INPUT files: INPGRID CURRENT CURVILINEAR 0 0 481 908 EXC 9.999000e+003 & NONSTATIONARY 20150718.000000 24 HR 20150719.000000 INPGRID WLEVEL CURVILINEAR 0 0 481 908 EXC 9.999000e+003 & NONSTATIONARY 20150718.000000 24 HR 20150719....
by xwu
Wed Dec 02, 2020 10:59 pm
Forum: ROMS Bugs
Topic: a potential bug: SWAN not receives or not processes the sea surface level from ROMS
Replies: 7
Views: 4245

Re: a potential bug: SWAN not receives or not processes the sea surface level from ROMS

Here are the files:

(1) two PRINT* files (SWAN uses 30 processors so there are 30 copies);

(2) SWAN INPUT file (swan_LPL.in);

(3) ROMS INPUT file (ocean_LPL.in);

(4) header file (lpl_couple.h).
by xwu
Tue Dec 01, 2020 10:14 pm
Forum: ROMS Bugs
Topic: a potential bug: SWAN not receives or not processes the sea surface level from ROMS
Replies: 7
Views: 4245

Re: a potential bug: SWAN not receives or not processes the sea surface level from ROMS

hi John, yes, the coupled model has wet/dye on. I did not turn on the 'ZETA_CONST'. The pcolor plot at 07/18/06 is attached. So it is clear that the 2.25m is the 'zeta' on land. Below are the lines from ./SWAN/Src/waves_coupler.F (L1250 - 1270). If I understand correctly, the calculation of the Min/...
by xwu
Mon Nov 30, 2020 8:02 pm
Forum: ROMS Bugs
Topic: a potential bug: SWAN not receives or not processes the sea surface level from ROMS
Replies: 7
Views: 4245

a potential bug: SWAN not receives or not processes the sea surface level from ROMS

Hello, I am reporting a potential issue with SWAN model that is coupled with ROMS. In my case, ROMS has barotropic tides and the sea surface level varies with an amplitude of ~1.0m. Within each coupling interval (12 mins), the log file clearly shows that ROMS and SWAN exchange information (see an ex...
by xwu
Wed May 13, 2015 6:16 pm
Forum: ROMS Problems
Topic: model terminates if 'DIAGNOSTICS_UV' is activated
Replies: 2
Views: 2198

Re: model terminates if 'DIAGNOSTICS_UV' is activated

Thanks, John!

I got the reason for my problem. The high resolution grid plus 'diagnostics' overburden the the desktop, thus it terminates in the very beginning. It runs well on cluster now.

Xiaodong
by xwu
Fri Apr 24, 2015 10:01 pm
Forum: ROMS Problems
Topic: model terminates if 'DIAGNOSTICS_UV' is activated
Replies: 2
Views: 2198

model terminates if 'DIAGNOSTICS_UV' is activated

Hi,all! I run across this errors with a ROMS+SWAN coupled case. The case runs well if 'DIAGNOSTICS_UV' is unactivated. But once this cpp gets activated, the running terminates at the very beginning with the details shown as the following: Coupled Input File name = Projects/Stormsrun/TS/Nest_TS/Facto...
by xwu
Wed Mar 11, 2015 8:39 pm
Forum: ROMS Discussion
Topic: Question about creating SWAN grid in polar area
Replies: 0
Views: 1551

Question about creating SWAN grid in polar area

Hi, everyone! :) I want to ask a question about SWAN model if applied in polar (arctic or antarctic) area. The angles calculated from the coordinates in the grid file may not satisfy the prerequisite, as it says in SWAN manual "SWAN will check whether all angles in the grid are >0 and <180 degr...
by xwu
Thu Sep 18, 2014 9:01 pm
Forum: ROMS Problems
Topic: Question about 'wrt_his.F' under directory /ROMS/Utility/
Replies: 1
Views: 1927

Question about 'wrt_his.F' under directory /ROMS/Utility/

Hi! I want to ask if anyone get the same error message as i get about the cpp 'WEC_MELLOR'. After i update COAWST to version3.1, i get error during the compiling if i activate the cpp 'WEC_MELLOR'. And i try to go back and check the file 'wrt_his.F'. I find that the line 3314 was written as 'status=...
by xwu
Thu Sep 18, 2014 7:46 pm
Forum: ROMS Discussion
Topic: How to set 'time' in the input NETCDF files (COAWSTv3.1)
Replies: 2
Views: 1687

Re: How to set 'time' in the input NETCDF files (COAWSTv3.1)

Thanks very much! I just figure out my problem. The problem comes from the code that i used to create the NetCDF file for wind stress. The original matlab code was written as: v1 = netcdf.defVar(nc,'sms_time','double',[time_steps one]); % Here 'time_steps' is a self-defined parameter. Because the ne...
by xwu
Thu Sep 18, 2014 5:46 pm
Forum: ROMS Discussion
Topic: How to set 'time' in the input NETCDF files (COAWSTv3.1)
Replies: 2
Views: 1687

How to set 'time' in the input NETCDF files (COAWSTv3.1)

Hi! Can someone tell me how to set or create the 'time' string within the netcdf file? Now i try to use COAWSTv3.1, and i can find there is a new file 'check_multifile.F' (COAWST/ROMS/Utility) that do the file checking. But i dont know how to create such netcdf files (One example is that i want to c...