I want to convert the method of computing u or v velocities

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
kobl1201
Posts: 60
Joined: Tue Nov 04, 2014 8:29 pm
Location: Kongju National Universty

I want to convert the method of computing u or v velocities

#1 Unread post by kobl1201 »

Hi

I have some questions

I want to convert the method of computing u or v velocities. However, i can't recognize what programs are computed for u or v velocity.

Could you tell me the programs?

Thank you for your help.

I am looking forward to your reply.

Have a good day~

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

Re: I want to convert the method of computing u or v velocit

#2 Unread post by kate »

I'm sorry, but I don't know what you are asking. Are you asking how to create initial conditions for the velocities?

kobl1201
Posts: 60
Joined: Tue Nov 04, 2014 8:29 pm
Location: Kongju National Universty

Re: I want to convert the method of computing u or v velocit

#3 Unread post by kobl1201 »

I mean when Roms model creat output file, there has been computed temperature, salinity, u and v velocities and so on based on governing equation.

However, i want to convert the governing equations which are computed u or v velocities. Because i want to use u and v velocities for new initial data.

To summary, now i want to know the programs which is computed output data for u and v velocities.

If you don't understand, could you tell me again please.

justina0622
Posts: 23
Joined: Fri Jan 29, 2010 6:17 pm
Location: GSO URI

Re: I want to convert the method of computing u or v velocit

#4 Unread post by justina0622 »

I guess you mean you want to read the variables from your output and convert them to geog coordinate? If you want to have the output as initial, you can just restart your simulation by changing NRREC to -1, replacing your initial file (ININAME in ocean.in) with the output you want to use. No need to convert the output. And, I don't think you should covert u and v to geog coordinate, because as input u and v should also be in model grid.
Qianqian
Qianqian@URI

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

Re: I want to convert the method of computing u or v velocit

#5 Unread post by kate »

If you want U_east and V_north, there's a recent update to ROMS to allow you to output them directly. For the rest, Qianqian is right.

kobl1201
Posts: 60
Joined: Tue Nov 04, 2014 8:29 pm
Location: Kongju National Universty

Re: I want to convert the method of computing u or v velocit

#6 Unread post by kobl1201 »

i can't recognize that what programs are finally computed u or v velocities.

Could you tell me the programs' name ??

Thank you

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

Re: I want to convert the method of computing u or v velocit

#7 Unread post by kate »

Sorry, still don't know what you are looking for. Can you tell us exactly what you want to use u and v for?

kobl1201
Posts: 60
Joined: Tue Nov 04, 2014 8:29 pm
Location: Kongju National Universty

Re: I want to convert the method of computing u or v velocit

#8 Unread post by kobl1201 »

Generally, u or v velocities are computed through governing equations.

However, i want to convert the method. Therefore, i need what program are finally computed u or v velocities for getting NC files before.

I think that the velocities are computed in the directorty, which is Nonlinear or Utility.

If you don't still understand it, tell me again, please.

Thank you

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

Re: I want to convert the method of computing u or v velocit

#9 Unread post by kate »

OK, I get it now. You can find the governing equations on the wiki or in the manual or you can go to Sasha Shchepetkin's many papers. The actual code is in Nonlinear. main3d calls rhs3d which calls pre_step3d, prsgrd, rhs3d_tile and the horizontal viscosity. Then main3d calls step3d_uv.

kobl1201
Posts: 60
Joined: Tue Nov 04, 2014 8:29 pm
Location: Kongju National Universty

Re: I want to convert the method of computing u or v velocit

#10 Unread post by kobl1201 »

Thank you very much.

Have a good day~

Post Reply