Repository navigation
Pull scheme - #171
Pull scheme#171piyush-ppradhan wants to merge 312 commits into
Conversation
VoF (opt-in, defaults unchanged): - zero_net_capillary_force: removes each droplet's net capillary force by a normal-direction curvature correction (droplets labeled by connected liquid/interface cells; labels follow the interface). - consistent_link_stress: rebuilt interface-link populations carry the same viscous part as the shared velocity, so link momentum is conserved. Unstable as s_nu -> 2; tested stable to s_nu = 1.43. - capillary_curvature_degree (default 3) / capillary_shift_relaxation: per-droplet low-order curvature fit plus relaxed Laplace shift; removes the grid-locked curvature error that blew up moving drops. - Per-droplet sums via one-hot matmul (no atomics); ~7% cost at 256^3. - Tests: translating droplet, two-droplet labels, checkpoint restore. - docs/vof.md: "Free droplets" section with measurements and limits. CLBMSim: s_v was always 1.0 (omega was overwritten), giving an anisotropic viscosity whenever s_2 != 1. s_v now comes from the s_v kwarg, defaulting to s_2; omega = s_v. Adds a D3Q19 shear-wave test checking nu = cs^2 (1/s_v - 1/2) to 1%. Note: examples/isothermal/singlephase/turbulent_flow_dns.py now runs at its passed s_v (~1.975) instead of 1.0.
|
Thank you for your submission, we really appreciate it. We ask that you sign our Contributor License Agreement before we can accept your contribution. If you are contributing on behalf of your employer you must fill out our Corporate Contributor License Agreement which can be found here. I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
Chorus detected one or more security issues with this pull request. See the Checks tab for more details. As a reminder, please follow the secure code review process as part of the Secure Coding Trust Commitment requirement. |
|
Opened by mistake, sorry. |
Contributing Guidelines
Description
Type of change
How Has This Been Tested?
Linting and Code Formatting
Make sure the code follows the project's linting and formatting standards. This project uses Ruff for linting.
To run Ruff, execute the following command from the root of the repository:
ruff check .