Skip to content

Remove viscosity, diffusivity, and mixing length from precomputed quantities #3864

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

costachris
Copy link
Member

@costachris costachris commented Jun 20, 2025

Remove viscosity, diffusivity, and mixing length from precomputed quantities

@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 22 times, most recently from f24e86b to 3285f73 Compare June 24, 2025 02:38
@costachris costachris marked this pull request as ready for review June 24, 2025 02:39
Copy link
Contributor

@tapios tapios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This was a big lift. Thank you! (Dennis can comment on the question of using scratch storage.)

ᶜK_u = ᶜK_h
else
(; ᶜtke⁰,) = p.precomputed
ᶜmixing_length = p.scratch.ᶜtemp_scalar_6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dennisYatunin Is there some way to encapsulate this recurring materialize in scratch pattern, so it's easy to remove later?

@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 2 times, most recently from 7d337cb to 41acb83 Compare June 24, 2025 19:23
@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 3 times, most recently from 78132f4 to 186d567 Compare June 26, 2025 00:52
@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 19 times, most recently from 82f4863 to 4970b80 Compare July 3, 2025 18:42
@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 3 times, most recently from 3a02be9 to e43e61f Compare July 7, 2025 19:28
@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch 2 times, most recently from d163cdd to 4c10eb7 Compare July 14, 2025 20:45
@costachris costachris force-pushed the cc/remove_precomputed_quants_v1 branch from 4c10eb7 to ca4cde6 Compare July 14, 2025 20:55
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

Successfully merging this pull request may close these issues.

4 participants