Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu Sep 21, 2017 3:20 am




Post new topic Reply to topic  [ 6 posts ] 

All times are UTC

Author Message
PostPosted: Thu May 30, 2013 8:23 pm 
Offline

Joined: Wed Nov 07, 2007 5:03 pm
Posts: 31
Location: Ocean University of China
Hi all,

I want to know if there is any significant improvement in the artificial reflections, which comes from the improper setting of OBC, by using the latest combination: Chapman explicit (free surface) + Shchepetkin (2D momentum). So I made a simple test as follows:

1. Control Run:
Experiment 1
A 0.5m abnormal high ssh, with a diameter of 200km, is set to be in the middle of model grid in the initial moment. The model domain for the control run is large enough, about 140 degree x 140 degree with a horizontal resolution of 1/6 degree, avoid the influence of lateral boundary. The total model grid is 841x841. To simplify the ideal case, f-plane is adopted, with its value corresponding to that in 30°N, besides, the model bathymetry is set to be flat, to 200m. The approximate time for the freely gravitational wave to travel from middle of the grid to the lateral boundary is about 50 hrs. The wall condition is applied to all four lateral boundary for the control run, and model is integrated to 50hrs, when the gravitational wave just arrive the boundary. So there will be no any influence or impact induced by the lateral boundary, and the wave can evolve freely. Model results are saved every 0.25 hr.

A sub region, which is symmetry against the middle point (421,421), is extracted from above experiment, i.e. grid index: 283~559, for the grid and initial file, which will be used for the next case study. Now the grid size for the case study is 277x277. The ‘perfect’ boundary forcing (zeta, ubar, vbar) for the freely evolving gravitational wave can be extracted from above experiment 1.

2. Old Case: Chapman implicit + Flather
Open boundary condition for all four sides, using Cha (Free surface) + Fla(2D momentum) + Radiation (3D varialbe)

3. New Case: Chapman explicit + Shchepetkin
Open boundary condition for all four sides, using Che (Free surface) + Shc (2D momentum) + Radiation (3D varialbe)

Result figures are attached.


Actually, I can not find any significant difference or improvement in the results for the new OBC combination (Che + Shc), comparing to the old (Cha + Fla), at least not as much as I expected.

Any comment from the others?


Attachments:
File comment: Fig 4. 27 hr after runs
ExpRec55.png
ExpRec55.png [ 102.46 KiB | Viewed 1652 times ]
File comment: Fig 3. 21 hr after runs
ExpRec43.png
ExpRec43.png [ 111.48 KiB | Viewed 1652 times ]
File comment: Fig 2. The wave reaches the OBC
ExpRec30.png
ExpRec30.png [ 56.26 KiB | Viewed 1652 times ]
File comment: Fig 1. The initial moment
ExpRec01.png
ExpRec01.png [ 19.64 KiB | Viewed 1652 times ]
Top
 Profile  
Reply with quote  
PostPosted: Sat Jun 01, 2013 7:06 pm 
Offline

Joined: Fri Nov 14, 2003 4:57 pm
Posts: 170
Location: UCLA, USA
What is your barotropic gravity wave Courant number in these experiments?

Cg_max = ?


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 02, 2013 1:46 am 
Offline

Joined: Wed Nov 07, 2007 5:03 pm
Posts: 31
Location: Ocean University of China
shchepet wrote:
What is your barotropic gravity wave Courant number in these experiments?

Cg_max = ?




Hi Sasha,

Many thanks for your reply~

The Courant number for all thress experiments are as follows:

(1) Control Run:
878: Minimum barotropic Courant Number = 1.01459937E-01
879: Maximum barotropic Courant Number = 2.21692138E-01
880: Maximum Coriolis Courant Number = 6.54498469E-02

(2) Old combination: Cha + Fla
885: Minimum barotropic Courant Number = 1.60422246E-01
886: Maximum barotropic Courant Number = 1.70376483E-01
887: Maximum Coriolis Courant Number = 6.54498469E-02

(3) New Combination: Che + Shc
885: Minimum barotropic Courant Number = 1.60422246E-01
886: Maximum barotropic Courant Number = 1.70376483E-01
887: Maximum Coriolis Courant Number = 6.54498469E-02

Is there any problem for such values?

Best,


Last edited by backkom on Mon Jun 03, 2013 1:59 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 02, 2013 5:29 am 
Offline

Joined: Fri Nov 14, 2003 4:57 pm
Posts: 170
Location: UCLA, USA
The problem with these values is that they are way all too small.

Normally, when you are running the code in 3D configuration you should not waste your CPU time on the barotropic mode, so the time step dt and mode splitting ratio should be set accordingly from the respective stability limits.

While for the 3D mode the maximum allowed time step is hard to predict apriori because most likely it is limited by vertical advection and that depends on too many factors (topography, vertical grid stretching, overall flow regime), for the barotropic mode it is plain and simple: it is dominated by Cg=dtfast*sqrt[g*h*(1/dx^2+1/dy^2)], and the maximum barotropic Courant number should be 0.8 or slightly more: anything less than that is waste of computing power.

[There are different stepping algorithms for barotropic mode for dirreerent codes among ROMS family, some are more efficient than the others, but all of them a capable to exceed 0.8.]

So I suggest you to do the following:

1. Close all the open boundaries (solid wall boundary conditions all around) and keep increasing time step dt (same as dtfast, since this is a purely 2D configuration with ndtfast=1) and determine the maximum time step at which the model can still run stably. This is your "control run".

2. Then open the boundiries using one of the boundary algorithms and find the maximum allowed time step and compare it with the one for closed case.

3. Do the same thing for the other boundary algorithm.

P.S.: Your Minimum and Maximum barotropic Curant numbers are slightly different: 0.16 and 017 respectively, but I believe that this is flat bottom configuration. So why they are different?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 03, 2013 3:07 pm 
Offline

Joined: Wed Nov 07, 2007 5:03 pm
Posts: 31
Location: Ocean University of China
Hi Sasha,

I am really appreciated for your kind help on this topic~.


Quote:
P.S.: Your Minimum and Maximum barotropic Curant numbers are slightly different: 0.16 and 017 respectively, but I believe that this is flat bottom configuration. So why they are different?


Since the model domain for my ideal test case is on a spherical grid, ranging from 0 ~ 140 degree in East-West direction and -70 ~ 70 degree in North-South direction, with a spatially uniform resolution of 1/6 degree, thus the pm and pn gradually vary with the changes of latitude, consequently resulting in the variations of barotropic Courant number Cg=dtfast*sqrt[g*h*(1/dx^2+1/dy^2)].


Quote:
So I suggest you to do the following:

1. Close all the open boundaries (solid wall boundary conditions
all around) and keep increasing time step dt (same as dtfast,
since this is a purely 2D configuration with ndtfast=1) and
determine the maximum time step at which the model can still
run stably. This is your "control run".

2. Then open the boundiries using one of the boundary algorithms
and find the maximum allowed time step and compare it with the
one for closed case.

3. Do the same thing for the other boundary algorithm.


Do you mean that I should compare the maximum time step dt & dtfast allowed for different OBC combinations, instead of the artifical reflections as I did in my 1th post, i.e. the most advantage of the new OBC is to improve the model stability, hence it can tolerate a much biger time step than the Old OBC option, am I right?

Best,


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 03, 2013 5:31 pm 
Offline

Joined: Fri Nov 14, 2003 4:57 pm
Posts: 170
Location: UCLA, USA
You have to do both: look for artificial reflections, and look for maximum
allowed time step (actually to make sure that your boundary algorithm does
not impose additional restrictions on dtfast relative to what is the natural
limit of the time stepping algorithm), as well as check how the reflections
depend on Courant number when approaching the limit of stability.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group