Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set temperature and salinity constant #308

Open
able93 opened this issue Aug 29, 2024 · 2 comments
Open

Set temperature and salinity constant #308

able93 opened this issue Aug 29, 2024 · 2 comments

Comments

@able93
Copy link

able93 commented Aug 29, 2024

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
Copy link
Collaborator

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
Copy link
Author

able93 commented Aug 29, 2024

Thank you, I fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants