Error in simulation and results Request help

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
tao
Posts: 9
Joined: Tue Aug 13, 2024 3:09 pm
Location: south China university of technology

Error in simulation and results Request help

#1 Unread post by tao »

Hi everyone, I ran my model and compared the resulting temperature and salinity to the HYCOM data and found that the deviation was increasing over time. I don't know how to solve this problem :( , here are my cpp options, with my script file attached.

Appreciate any suggestions

#define PERFECT_RESTART

/* general */
#define CURVGRID
#define MASKING
#define NONLIN_EOS
#define SOLVE3D
#define SALINITY
#ifdef SOLVE3D
# define SPLINES_VDIFF
# define SPLINES_VVISC
# define RI_SPLINES
#endif
#define UV_LOGDRAG
#define WET_DRY


/* output stuff */

#undef OUT_DOUBLE
#ifndef PERFECT_RESTART
# define RST_SINGLE
#endif
#define AVERAGES
#define AVERAGES2
#ifdef SOLVE3D
# undef DIAGNOSTICS_TS
#endif
#undef DIAGNOSTICS_UV

/* advection, dissipation, pressure grad, etc. */
#ifdef SOLVE3D
# define DJ_GRADPS
#endif
#define UV_ADV
#define UV_COR
#ifdef SOLVE3D
# define TS_U3HADVECTION
# define TS_C4VADVECTION
# undef TS_MPDATA
#endif
#define UV_VIS2
#undef UV_SMAGORINSKY
#undef VISC_3DCOEF
#define MIX_S_UV
#define VISC_GRID
#ifdef SOLVE3D
# define TS_DIF2
# define MIX_GEO_TS
# define DIFF_GRID
#endif

/* vertical mixing */
#ifdef SOLVE3D
/*# define WTYPE_GRID */
# define LMD_MIXING
# ifdef LMD_MIXING
# define LMD_RIMIX
# define LMD_CONVEC
# define LMD_SKPP
# undef LMD_BKPP
# define LMD_NONLOCAL
# define LMD_SHAPIRO
# undef LMD_DDMIX
# endif
# undef GLS_MIXING
# undef MY25_MIXING
# if defined GLS_MIXING || defined MY25_MIXING
# define KANTHA_CLAYSON
# define N2S2_HORAVG
# endif
#endif

/* surface forcing */
#ifdef SOLVE3D
# define BULK_FLUXES
/*# define CCSM_FLUXES */
# undef ARCTIC_MERRA_HACK
# if defined BULK_FLUXES
# define LONGWAVE_OUT
# undef DIURNAL_SRFLUX
# define SOLAR_SOURCE
# define EMINUSP
# undef ALBEDO_CLOUD
# undef LONGWAVE
# endif
#endif

/* tides */
# define TIDE_GENERATING_FORCES
# define SSH_TIDES
# define RAMP_TIDES
# define UV_TIDES
# define AVERAGES_DETIDE
# define STATIONS

/* Boundary conditions...careful with grid orientation */
#define RADIATION_2D

/* roms quirks */
#ifdef SOLVE3D
# define ANA_BSFLUX
# define ANA_BTFLUX
#else
# define ANA_SMFLUX
#endif
Attachments
test_tide.in
My script file
(156.82 KiB) Downloaded 14 times

Post Reply