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
boundary condition of old version ROMS
Re: boundary condition of old version ROMS
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.
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.
Re: boundary condition of old version ROMS
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
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
Re: boundary condition of old version ROMS
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:If that's too bizarre for you, what about getting the new code?
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: Select all
#ifdef MY_WEIRD_CHANNEL
#undef BLAHBLAH_RADIATION
#define BLAHBLAH_GRADIENT
#endif
Re: boundary condition of old version ROMS
Hi Kate,
Thank you very much for your help!
I will have a try
Thanks, Peigen
Thank you very much for your help!
I will have a try
Thanks, Peigen