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
m3obc cycle period
Re: m3obc cycle period
time is defined in mod_scalars, not mod_stepping. Try that.
Re: m3obc cycle period
thanks your reply Kate!kate wrote:time is defined in mod_scalars, not mod_stepping. Try that.
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
Re: m3obc cycle period
Sorry, I'm not sure what you are asking. What do you want to change?
Re: m3obc cycle period
sorry ~~~ my english is poorkate wrote:Sorry, I'm not sure what you are asking. What do you want to change?
my question is ......
how to modify the cycle of m3obc to 15 mins per time !!!
Re: m3obc cycle period
Isn't that what you have already?