is STFLUX and BTFLUX necessary?

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
wuhe
Posts: 15
Joined: Mon Dec 22, 2008 5:29 pm
Location: national ocean techniqual centre

is STFLUX and BTFLUX necessary?

#1 Unread post by wuhe »

hi, i am a beginner to ROMS, and i was try to modify some cpp file included in src, for example,"#define btflux " to "#undef btflux",and then some error happened "
READ_PHYPAR - could not find input file: ocean_frc.nc

Elapsed CPU time (seconds):

Thread # 0 CPU: 0.125
Total: 0.125

Nonlinear model elapsed time profile:

Total: 0.000 0.0000

All percentages are with respect to total time = 0.125

ROMS/TOMS - Output NetCDF summary for Grid 01:

ROMS/TOMS - I/O error ............... exit_flag: 4


ERROR: I/O related problem.
is BTFLUX and STFLUX necessary
is the variable T(temperature) necessary?

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

Re: is STFLUX and BTFLUX necessary?

#2 Unread post by kate »

If you have a tracer in the model, you will need to provide surface and bottom fluxes for it. Tracers could be temperature, salinity, passive tracers, etc. Most are assumed to have zero flux at the bottom, perhaps also at the surface. Usual practice is to have at least one active tracer which enters into the equations of state for computing density. I don't know if ROMS can be run without any active tracers - except with SOLVE3D turned off. What are you trying to do?

linzhenhua
Posts: 64
Joined: Mon Oct 17, 2005 2:02 am
Location: Institute of Oceanology,Chinese Academy of Sciences

Re: is STFLUX and BTFLUX necessary?

#3 Unread post by linzhenhua »

I have had the same problem for idealized simulations.

In ROMS, even you do not need surface heat or momentum flux, you have to explicitly define it and set it's value to zero.

Post Reply