DOI-USGS / COAWST

COAWST modeling system git repository
Other
104 stars 48 forks source link

Set temperature and salinity constant #308

Open able93 opened 2 weeks ago

able93 commented 2 weeks ago

Hello,

I am doing some wave modeling and trying to make temperature and salinity constant. I already defined ANA_BTFLUX and ANA_STFLUX, and I closed all the lateral boundaries. I also set a constant value of 35PSU and 21C in the initial files. I also set all the diffusivity values to 0. The salinity seems to be constant but the temperature still varies. Below is my header file. What could be wrong?

Thanks

define ROMS_MODEL

define UV_ADV

define UV_U3HADVECTION

define UV_C4VADVECTION

define UV_COR

define UV_VIS2

undef TS_U3HADVECTION

undef TS_C4VADVECTION

define TS_MPDATA

undef TS_A4HADVECTION

undef TS_A4VADVECTION

define TS_DIF2

undef TS_DIF4

undef SALINITY

define NONLIN_EOS

define QCORRECTION

undef SCORRECTION

define BULK_FLUXES

define EMINUSP

define LONGWAVE

define SOLAR_SOURCE

undef PJ_GRADPQ4

define DJ_GRADPS

define SOLVE3D

define CURVGRID

define MASKING

undef BODYFORCE

define AVERAGES

undef DIAGNOSTICS_UV

define SPLINES_VVISC

define SPLINES_VDIFF

undef PERFECT_RESTART

undef RADIATION_2D

define ANA_BSFLUX

define ANA_BTFLUX

define MIX_GEO_UV

define MIX_GEO_TS

define MY25_MIXING

ifdef MY25_MIXING

define N2S2_HORAVG

define KANTHA_CLAYSON

define K_C4ADVECTION

define CANTON_A

define RI_SPLINES

endif

undef LMD_MIXING

ifdef LMD_MIXING

define LMD_RIMIX

define LMD_CONVEC

undef LMD_SKPP

undef LMD_BKPP

define LMD_NONLOCAL

endif

undef GLS_MIXING

ifdef GLS_MIXING

define RI_HORAVG

define RI_VERAVG

endif

define ROMS_TIDES

ifdef ROMS_TIDES

define SSH_TIDES

define UV_TIDES

define RAMP_TIDES

define ADD_M2OBC

define ADD_FSOBC

endif

define EP_VOLUME

define WET_DRY

define MASKING

/ define only one of the following 5 /

define UV_LOGDRAG

define UV_DRAG_GRID

define ANA_BPFLUX

define ANA_SPFLUX

jcwarner-usgs commented 2 weeks ago

this question would be better directly to the ROMS forum. but my take is that you have some heat fluxes coming in :

define QCORRECTION

define BULK_FLUXES

define LONGWAVE

able93 commented 2 weeks ago

Thank you, I fixed it.