Search found 7 matches

by MoeinDst
Tue Apr 04, 2023 9:37 am
Forum: ROMS Problems
Topic: Test-case canyon2d
Replies: 6
Views: 17159

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 repositories ...
by MoeinDst
Mon Apr 03, 2023 4:11 pm
Forum: ROMS Problems
Topic: Test-case canyon2d
Replies: 6
Views: 17159

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 and ...
by MoeinDst
Mon Apr 03, 2023 9:53 am
Forum: ROMS Problems
Topic: Test-case canyon2d
Replies: 6
Views: 17159

Re: Test-case canyon2d

arango wrote: Sun Apr 02, 2023 3:57 pm For the 2D test case, you need to undefine SOLV3D. Check ROMS test repository :arrow: https://www.myroms.org/svn/src/test.
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.
by MoeinDst
Sun Apr 02, 2023 12:06 pm
Forum: ROMS Problems
Topic: Test-case canyon2d
Replies: 6
Views: 17159

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 in ??? #1 ...
by MoeinDst
Wed Mar 29, 2023 4:01 pm
Forum: User Applications
Topic: Vertical segmentation issue
Replies: 3
Views: 20135

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 shallow ...
by MoeinDst
Tue Mar 28, 2023 12:24 pm
Forum: User Applications
Topic: Vertical segmentation issue
Replies: 3
Views: 20135

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
by MoeinDst
Tue Mar 28, 2023 11:17 am
Forum: User Applications
Topic: Vertical segmentation issue
Replies: 3
Views: 20135

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 ...