Skip to content

introducing LB/AMR to capilary rise test case - #1

Draft
FoamScience wants to merge 2 commits into
CRC-1194:masterfrom
FoamScience:blastamr
Draft

introducing LB/AMR to capilary rise test case#1
FoamScience wants to merge 2 commits into
CRC-1194:masterfrom
FoamScience:blastamr

Conversation

@FoamScience

@FoamScience FoamScience commented Oct 24, 2023

Copy link
Copy Markdown

This draft PR shows minimal steps to integrate load-balanced Adaptive Mesh Refinement into the workflow.

I only changed the capillary rise case due to its simplicity. I didn't care about the "correctness" of cell sizes for the parameter study though. I only cared that the load-balancing kicks in when the interface significantly deforms.

Run with:

cd 2DCapillaryRiseTest
export AMRLB_PROJECT=<path/to/blastAMR/repo>
./reproduce_2DCapillaryRiseTest.sh noslip omega1

Check the diffs if you want to do this for your own cases too.

2DCapillaryRiseAMRLB.mp4

I also showcased a coded refinement selection to sneakily detect the interface (originally used for diffuse interfaces, but also works here).

Important

This PR is not ready to be merged; since I changed case settings to work locally on my machine and avoided some libs I didn't have.

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.

1 participant