ludwig-cf / ludwig

A lattice Boltzmann code for complex fluids
https://ludwig.epcc.ed.ac.uk
Other
52 stars 35 forks source link

Add fluid body force to colliod #286

Closed kevinstratford closed 9 months ago

kevinstratford commented 10 months ago

For issue #285

codecov[bot] commented 10 months ago

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (b49fd2c) 31.21% compared to head (8b9fd49) 31.79%. Report is 5 commits behind head on develop.

:exclamation: Current head 8b9fd49 differs from pull request most recent head b8ddcf9. Consider uploading reports for the commit b8ddcf9 to get more accurate results

Files Patch % Lines
src/interaction.c 65.38% 9 Missing :warning:
src/wall.c 0.00% 5 Missing :warning:
src/ludwig.c 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #286 +/- ## =========================================== + Coverage 31.21% 31.79% +0.57% =========================================== Files 181 181 Lines 34728 34128 -600 Branches 930 868 -62 =========================================== + Hits 10841 10850 +9 + Misses 23706 23097 -609 Partials 181 181 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ohenrich commented 9 months ago

The test is a single colloid in a 1D duct at confinement ratio 2R/L_x = 0.6 driven by a pressure gradient. It runs for 2000 iteration steps until fluid and colloid velocity are about to converge and give a velocity ratio of v_colloid / u_max = 0.86.

I also included a template for a shell script for batch post-processing as I find it a bit tedious I have to recreate this every time.