I wanted to simulate wind effect on inlet dynamics, only the wind forcing was specified.
based on Kate's suggestion i generated a forcing file containing sustr and svstr only. when i ran the model, it showed
unable to find requested variable: shflux
in file:
frc_inlet.nc
i don't want to specify any heat flux in my model. so could anyone help to tell me how to turn off this requirement? thanks
my *.h is as follows:
#define UV_ADV
#define UV-U3ADV_SPLIT
#define UV_SMAGORINSKY
#define UV_QDRAG
#define SOLVE3D
#define CURVGRID
#define MASKING
#define AVERAGES
#define STATIONS
#define SPLINES
#define ANA_INITIAL
#define MY25_MIXING
#define NORTHERN_WALL
#define WESTERN_WALL
#define EASTERN_WALL
#define SOUTH_M3RADIATION
#undef ANA_STFLUX
#undef BULK_FLUXES
wind forcing specification
Re: wind forcing specification
I see you have "#undef ANA_STFLUX". That means if any part of the code wants heat flux, it will look in the forcing file. You need to set the surface heat (and salt) flux to something, even if that something is zero in ana_stflux.h.wenping wrote:I wanted to simulate wind effect on inlet dynamics, only the wind forcing was specified.
based on Kate's suggestion i generated a forcing file containing sustr and svstr only. when i ran the model, it showed
unable to find requested variable: shflux
in file:
frc_inlet.nc
i don't want to specify any heat flux in my model. so could anyone help to tell me how to turn off this requirement? thanks
my *.h is as follows:
#define UV_ADV
#define UV-U3ADV_SPLIT
#define UV_SMAGORINSKY
#define UV_QDRAG
#define SOLVE3D
#define CURVGRID
#define MASKING
#define AVERAGES
#define STATIONS
#define SPLINES
#define ANA_INITIAL
#define MY25_MIXING
#define NORTHERN_WALL
#define WESTERN_WALL
#define EASTERN_WALL
#define SOUTH_M3RADIATION
#undef ANA_STFLUX
#undef BULK_FLUXES
Also, do you really have "#define UV-U3ADV_SPLIT"? Try changing the "-" to "_". There is no real spell check on the cpp defines, unfortunately.