Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sun Jul 21, 2019 8:47 am




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Fri Feb 06, 2015 3:37 pm 
Offline

Joined: Tue May 07, 2013 4:37 pm
Posts: 5
Location: Xiamen University
Hi ROMS friends,

I was using old version ROMS. There is no option of boundary condition for normal and tangential velocities. How can I know and setting these?
Thank you very much!


Best regards,
Peigen


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 06, 2015 5:25 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
Are you asking about the RADIATION_2D option?

If you look at the boundary condition code for u and v, you will see that the code for say u on the east is different from v on the east. Perhaps if you tell us what you are looking for we can tell you what works.


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 07, 2015 6:18 pm 
Offline

Joined: Tue May 07, 2013 4:37 pm
Posts: 5
Location: Xiamen University
Hi Kate,

Thanks for your response.
In my case, I apply periodic boundary condition on east-west boundary and wall on north
I was trying the Radiation on south, but it was blowing up.

Someone told me that for the south, I should apply Gradient on tangential velocities and Radiation on normal velocities. So, I was wondering where I can set these in old version ROMS. Do yo have any other suggestions?
Thank you so much!


Best regards,
Peigen


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 07, 2015 6:56 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
How about a wall down there? Maybe move it farther away?

Have you tried RADIATION_2D? That would be another thing to try.

If you really want to try what you say, you should look at the boundary condition code. If you have radiation and not RADIATION_2D, what is left for the tangential velocity? You can see exactly what's there in the .f90 files after cpp has been done. If it's not what you want, you can "just" hack in some cpp options at the top of those files. Something like:
Code:
#ifdef MY_WEIRD_CHANNEL
#undef BLAHBLAH_RADIATION
#define BLAHBLAH_GRADIENT
#endif
If that's too bizarre for you, what about getting the new code?


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 07, 2015 7:43 pm 
Offline

Joined: Tue May 07, 2013 4:37 pm
Posts: 5
Location: Xiamen University
Hi Kate,

Thank you very much for your help!

I will have a try

Thanks, Peigen


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group