Skip to content

Add option to evolve temperature eqn#149

Merged
asalmgren merged 23 commits intoAMReX-Fluids:developmentfrom
cgilet:add_temperature_eqn
Jun 6, 2025
Merged

Add option to evolve temperature eqn#149
asalmgren merged 23 commits intoAMReX-Fluids:developmentfrom
cgilet:add_temperature_eqn

Conversation

@cgilet
Copy link
Copy Markdown
Collaborator

@cgilet cgilet commented Jun 5, 2025

Does not yet couple back into fluid or work with MOL advection scheme.
Includes updated benchmark.channel_spherecube to include temperature solve with Dirichlet BC on EB in regression tests.

commit d792c63
Author: Weiqun Zhang <WeiqunZhang@lbl.gov>
Date:   Wed Sep 11 10:07:00 2024 -0500

    Simplify cache cleanup actions (AMReX-Fluids#129)

    In our old approach, a workflow file contains a job that uploads the PR
    number as an artifact. While the PR is still open, the workflow_run
    triggered by it will download the artifact and use the information to
    clean up all except the last used cache associated with that original
    workflow. When a PR is merged or closed, there will be a post-pr
    workflow that uploads the PR number as an artifact and triggers a
    workflow_run that clean up all caches associated with the PR. The reason
    we did it this way was in the cache cleanup workflows, we did not find
    an easy way to get the number of the PR triggering them. This is not
    convenient because we have to add jobs uploading artifacts to workflow
    files.

    After some experiments, we have found a reliable way to find the PR
    number without using artifacts. The workflow_run's payload always
    contains the head SHA of the commit that triggers it, whether the PR
    comes from a fork or not. We can then use `gh pr list` to search for
    that head and obtain the PR number.

commit a007c21
Author: Candace Gilet <cgilet@users.noreply.github.com>
Date:   Wed Sep 11 16:57:56 2024 +0200

    Fix case of multiple tracers with default initial conditions. Issue (AMReX-Fluids#132)

    introduced in PR#131
commit a7f9213
Author: Candace Gilet <cgilet@users.noreply.github.com>
Date:   Tue Sep 17 16:34:26 2024 +0200

    For time-dependent BCs, need to pass the real time when (AMReX-Fluids#133)

    FillPatching umac.

commit d792c63
Author: Weiqun Zhang <WeiqunZhang@lbl.gov>
Date:   Wed Sep 11 10:07:00 2024 -0500

    Simplify cache cleanup actions (AMReX-Fluids#129)

    In our old approach, a workflow file contains a job that uploads the PR
    number as an artifact. While the PR is still open, the workflow_run
    triggered by it will download the artifact and use the information to
    clean up all except the last used cache associated with that original
    workflow. When a PR is merged or closed, there will be a post-pr
    workflow that uploads the PR number as an artifact and triggers a
    workflow_run that clean up all caches associated with the PR. The reason
    we did it this way was in the cache cleanup workflows, we did not find
    an easy way to get the number of the PR triggering them. This is not
    convenient because we have to add jobs uploading artifacts to workflow
    files.

    After some experiments, we have found a reliable way to find the PR
    number without using artifacts. The workflow_run's payload always
    contains the head SHA of the commit that triggers it, whether the PR
    comes from a fork or not. We can then use `gh pr list` to search for
    that head and obtain the PR number.

commit a007c21
Author: Candace Gilet <cgilet@users.noreply.github.com>
Date:   Wed Sep 11 16:57:56 2024 +0200

    Fix case of multiple tracers with default initial conditions. Issue (AMReX-Fluids#132)

    introduced in PR#131
…ure_eqn

 Conflicts:
	src/setup/incflo_arrays.cpp
flow though EB. Also remove unneeded set_density_eb and
set_tracer_bc from ApplyNodalProjection
@cgilet cgilet marked this pull request as draft June 5, 2025 20:28
@cgilet cgilet changed the title Add temperature eqn Add option to evolve temperature eqn Jun 6, 2025
@cgilet cgilet marked this pull request as ready for review June 6, 2025 10:41
@cgilet cgilet requested a review from asalmgren June 6, 2025 10:42
@asalmgren asalmgren merged commit 1a419b8 into AMReX-Fluids:development Jun 6, 2025
12 checks passed
@asalmgren asalmgren deleted the add_temperature_eqn branch June 6, 2025 16:37
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.

2 participants