Hello Tao.
See these threads that might give you an idea.
viewtopic.php?p=206#p206
viewtopic.php?p=22928#p22928
Also might worth to look into the set_tides.F and see how ROMS adds the tides.
Hope it helps.
Search found 8 matches
- Mon Feb 17, 2025 9:51 am
- Forum: ROMS Discussion
- Topic: The residual current is inconsistent after adding the tide
- Replies: 6
- Views: 6268
- Tue Apr 04, 2023 9:37 am
- Forum: ROMS Problems
- Topic: Test-case canyon2d
- Replies: 6
- Views: 23823
Re: Test-case canyon2d
Nope, if SOLVE3D is undefined, you are solving the vertically integrated shallow-water equations. There are no vertical levels in such an application. Neither vertical mixing parameterization like GLS_MIXING or others. The state variables are only zeta , ubar , and vbar .
I updated the ...
- Mon Apr 03, 2023 4:11 pm
- Forum: ROMS Problems
- Topic: Test-case canyon2d
- Replies: 6
- Views: 23823
Re: Test-case canyon2d
Okay, I will check it out later. I think that in mod_ncparam.F , we need to have instead:
!
! Set generic lateral boundary indices for LBC structure. Use the same
! values of the state variables at the same C-grid location. Generic
! indices are used for testing periodicity. The PSI-variables ...
- Mon Apr 03, 2023 9:53 am
- Forum: ROMS Problems
- Topic: Test-case canyon2d
- Replies: 6
- Views: 23823
Re: Test-case canyon2d
That's exactly what I did that received the error I mentioned above. When I undef SOLVE3D, it shows the error regarding istvar being out of bound 0.arango wrote: ↑Sun Apr 02, 2023 3:57 pm For the 2D test case, you need to undefine SOLV3D. Check ROMS test repositoryhttps://www.myroms.org/svn/src/test.
- Sun Apr 02, 2023 12:06 pm
- Forum: ROMS Problems
- Topic: Test-case canyon2d
- Replies: 6
- Views: 23823
Test-case canyon2d
Hello everyone.
I was trying to run the canyon test-cases in 2D and 3D and faced an error when trying to run in 2D.
At line 1030 of file mod_ncparam.f90
Fortran runtime error: Index '1' of dimension 1 of array 'istvar' above upper bound of 0
Error termination. Backtrace:
#0 0x7f0dff3c7640 ...
I was trying to run the canyon test-cases in 2D and 3D and faced an error when trying to run in 2D.
At line 1030 of file mod_ncparam.f90
Fortran runtime error: Index '1' of dimension 1 of array 'istvar' above upper bound of 0
Error termination. Backtrace:
#0 0x7f0dff3c7640 ...
- Wed Mar 29, 2023 4:01 pm
- Forum: User Applications
- Topic: Vertical segmentation issue
- Replies: 3
- Views: 25717
Re: Vertical segmentation issue
You have ...
SOLVE3D Solving 3D Primitive Equations
so you need enough vertical layers for ROMS to be able to compute vertical gradients for such things as vertical mixing and hence to impose surface and bottom stresses, etc.,
If you want a strictly 2-D solution where you are solving the ...
- Tue Mar 28, 2023 12:24 pm
- Forum: User Applications
- Topic: Vertical segmentation issue
- Replies: 3
- Views: 25717
Re: Vertical segmentation issue
error:
At line 258 of file wvelocity.f90
Fortran runtime error: Index 2 of dimension 3 of array z_r above upper bound of 1
At line 258 of file wvelocity.f90
Fortran runtime error: Index 2 of dimension 3 of array z_r above upper bound of 1
- Tue Mar 28, 2023 11:17 am
- Forum: User Applications
- Topic: Vertical segmentation issue
- Replies: 3
- Views: 25717
Vertical segmentation issue
Hi all.
I'm trying to set-up my apllication in ROMS for different cases.I'm interested in setting-up a test-case in 2D but I receive the error mentioned below. I closed all the lateral boundaries, with constant temperature and salinity all over the domain without any forcing (everything to zero ...
I'm trying to set-up my apllication in ROMS for different cases.I'm interested in setting-up a test-case in 2D but I receive the error mentioned below. I closed all the lateral boundaries, with constant temperature and salinity all over the domain without any forcing (everything to zero ...