Skip to content

Set the EB Dirichlet data before the initial iterations - #268

Merged
WeiqunZhang merged 1 commit into
AMReX-Fluids:developmentfrom
WeiqunZhang:eb-bc-initial-iterations
Sep 28, 2026
Merged

WeiqunZhang merged 1 commit into
AMReX-Fluids:developmentfrom
WeiqunZhang:eb-bc-initial-iterations

Conversation

@WeiqunZhang

Copy link
Copy Markdown
Member

InitialIterations called ApplyPredictor before the EB velocity, density, tracer and temperature Dirichlet data were set; only Advance set them. The EB diffusion then read uninitialized values, which gave NaNs in the temperature near the EB (e.g., channel_spherecube). Move that setup into set_eb_bcs and call it from both places.

InitialIterations called ApplyPredictor before the EB velocity,
density, tracer and temperature Dirichlet data were set; only Advance
set them. The EB diffusion then read uninitialized values, which gave
NaNs in the temperature near the EB (e.g., channel_spherecube). Move
that setup into set_eb_bcs and call it from both places.
@WeiqunZhang
WeiqunZhang merged commit 6f82b5f into AMReX-Fluids:development Sep 28, 2026
12 checks passed
@WeiqunZhang
WeiqunZhang deleted the eb-bc-initial-iterations branch September 28, 2026 17:05
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