Linear EoS in ROMS

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
osean
Posts: 47
Joined: Sat Jan 23, 2021 3:46 pm
Location: MIT-WHOI

Linear EoS in ROMS

#1 Unread post by osean »

Hello All,
This might seem like a very basic question.
Where can I find the exact linear equation of state used in ROMS? I see that in roms.in one can set Tcoef and Scoef (for thermal expansion and haline contraction coefficients) for linear EoS. But I am wondering if somewhere the isothermal compression coefficient is set, and if the linear EoS includes the compression term (which I assume it does..?)
If someone could point out to me where to find the exact EoS used in ROMS it would be more than helpful.
Just need to double check to make sure my density calculation and subsequent diagnosis is using the same as my run with linear EoS.
Much appreciated.

User avatar
arango
Site Admin
Posts: 1347
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Linear EoS in ROMS

#2 Unread post by arango »

It is a the bottom of rho_eos.F. As always, you can check the C-preprocessed file rho_eos.f90 in the build directory for the case that NONLIN_EOS is not activated. It is a very simple equation and does not include any of the secant bulk modules terms.

Post Reply