m3obc cycle period

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

m3obc cycle period

#1 Unread post by pip39 »

ana m2obc 2D open boundary the cycle period is using time(ng),

If I use ana m3obc 3D open boundary cycle period

Can I use time(ng) for ana b3obc


I already define 'USE mod_stepping' 'USE mod_grid' in m3obc



example

# ifdef SOUTH_M3OBC
IF (SOUTHERN_EDGE) THEN
DO k=1,N(ng)
DO i=Istr,IendR
BOUNDARY(ng)%u_south(i,k)=0.0_r8
END DO
DO i=IstrR,IendR
BOUNDARY(ng)%v_south(i,k)=-(k*0.1-1)*SIN(2.0_r8*pi*time(ng)/(900.0_r8))
END DO
END DO
END IF



roms is working not err ;but I did't know have in the physical mistake!
please give me any about m3obc 3D open boundary cycle period Suggestion

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: m3obc cycle period

#2 Unread post by kate »

time is defined in mod_scalars, not mod_stepping. Try that.

pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

Re: m3obc cycle period

#3 Unread post by pip39 »

kate wrote:time is defined in mod_scalars, not mod_stepping. Try that.
thanks your reply Kate!

this helps me a lot

I am a beginner!


I am using the U,V velocity difference Produce internal waves of m3obc

If I want to change it !

the cycle motion of the "internal wave" with period 15min a day

how to modify this program?

mod_scalars.F is very complex

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: m3obc cycle period

#4 Unread post by kate »

Sorry, I'm not sure what you are asking. What do you want to change?

pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

Re: m3obc cycle period

#5 Unread post by pip39 »

kate wrote:Sorry, I'm not sure what you are asking. What do you want to change?
sorry ~~~ my english is poor :cry:


my question is ......


how to modify the cycle of m3obc to 15 mins per time !!!

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: m3obc cycle period

#6 Unread post by kate »

Isn't that what you have already?

Post Reply