amr-wind icon indicating copy to clipboard operation
amr-wind copied to clipboard

temperature missing from governing equations documentation

Open asalmgren opened this issue 9 months ago • 5 comments

I don't see any description of temperature in the governing equations:

asalmgren avatar Feb 15 '25 19:02 asalmgren

We solve the convection diffusion equation with source terms and the temperature is coupled through the Boussinesq approximation for the incompressible flow.

hgopalan avatar Feb 15 '25 22:02 hgopalan

  1. It would be good to document that the code solves for temperature and what equation it solves.

  2. when using the anelastic constraint, if we start with rho = rho0(z) and theta = constant, do you believe that theta should stay constant?

asalmgren avatar Feb 16 '25 00:02 asalmgren

I guess the code updates the initial temperature profile to account for rho=rho0(z). The temperature profile should remain similar to the initial profile.

hgopalan avatar Feb 16 '25 01:02 hgopalan

Thanks for pointing that documentation miss. We need to copy things out of the paper and into the documentation... Here's a screenshot of the relevant section though:

Image

Though of course the anelastic stuff isn't part of that description since it was written before.

if we start with rho = rho0(z) and theta = constant, do you believe that theta should stay constant?

I would yes. I believe that's what we set up the reg test to do and things don't seem to be moving there. Are you not seeing that?

marchdf avatar Feb 17 '25 20:02 marchdf

What is the formulation of the theta update equation when doing anelastic?

asalmgren avatar Feb 17 '25 20:02 asalmgren

This issue is stale because it has been open 30 days with no activity.

github-actions[bot] avatar Apr 10 '25 02:04 github-actions[bot]