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

Include condensation flux consistently into the energy balance #5

Closed
nichollsh opened this issue Dec 7, 2023 · 2 comments
Closed
Labels
complex This is not trivial enhancement New feature or request

Comments

@nichollsh
Copy link
Owner

Condensation is important as it prevents the temperature dropping below the dew point temperature. Including this in the time-stepping solver is easy, but including it into the nonlinear solver is more tricky.

Maybe one way to do this is to set the power dissipation (i.e. F_bot-F_top across a cell) to be strictly positive when T<=T_dew.

@nichollsh
Copy link
Owner Author

This has been partially implemented in the condensation branch. It uses a method for 'relaxing' the temperature profile onto the saturation curve, but introducing a signed residual when T<T_dew which forces T=T_dew to be a valid solution to the system of equations.

@nichollsh nichollsh added enhancement New feature or request complex This is not trivial labels Mar 27, 2024
@nichollsh
Copy link
Owner Author

Closed by #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complex This is not trivial enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant