Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional LB test cases #2748

Merged
merged 8 commits into from
Nov 1, 2019
Merged

Additional LB test cases #2748

merged 8 commits into from
Nov 1, 2019

Conversation

RudolfWeeber
Copy link
Contributor

  • Buyancy force on a sphere in a box of fluid under gravity
  • Momentum conservation in a fluid with an external volume force applied and a particle with an oposite force applied

@KaiSzuttor @mkuron Could you please take a look at the
lb_buoyancy_force test? It only passes, when the fluid density is set to 1.
On the other hand, the lb_shear and lb_stokes_sphere tests check boundary forces which do not (and should not) depend on the density. They pass when run with different densities.
Also, the application of an external volume force is tested in lb.py in test_a_ext_force...
Furthermore, to the lb_momentum_conservation.py test checks the balance between forces applied to the lb and those applied to a particle.

@codecov
Copy link

codecov bot commented Apr 23, 2019

Codecov Report

Merging #2748 into python will increase coverage by <1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           python   #2748    +/-   ##
=======================================
+ Coverage      85%     85%   +<1%     
=======================================
  Files         534     534            
  Lines       25524   25524            
=======================================
+ Hits        21948   21949     +1     
+ Misses       3576    3575     -1
Impacted Files Coverage Δ
src/core/particle_data.cpp 96% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf00e2e...0e6faea. Read the comment docs.

@RudolfWeeber
Copy link
Contributor Author

RudolfWeeber commented Apr 30, 2019 via email

@RudolfWeeber RudolfWeeber changed the title WIP: Additional LB test cases Additional LB test cases Oct 31, 2019
@RudolfWeeber RudolfWeeber requested a review from fweik October 31, 2019 16:47
@fweik
Copy link
Contributor

fweik commented Nov 1, 2019

So @jngrad should this now be rebased? Most of the commits are broken.

@jngrad
Copy link
Member

jngrad commented Nov 1, 2019

The two merge commits will make the rebasing/squashing difficult. Not sure if this is worth the effort. I would merge it directly.

@fweik
Copy link
Contributor

fweik commented Nov 1, 2019

bors r+

bors bot added a commit that referenced this pull request Nov 1, 2019
2748: Additional LB test cases r=fweik a=RudolfWeeber

* Buyancy force on a sphere in a box of fluid under gravity
* Momentum conservation in a fluid with an external volume force applied and a particle with an oposite force applied

@KaiSzuttor @mkuron Could you please take a look at the
lb_buoyancy_force test? It only passes, when the fluid density is set to 1.
On the other hand, the lb_shear and lb_stokes_sphere tests check boundary forces which do not (and should not) depend on the density. They pass when run with different densities.
Also, the application of an external volume force is tested in lb.py in test_a_ext_force...
Furthermore, to the lb_momentum_conservation.py test checks the balance between forces applied to the lb and those applied to a particle.



Co-authored-by: Rudolf Weeber <weeber@icp.uni-stuttgart.de>
Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
@bors
Copy link
Contributor

bors bot commented Nov 1, 2019

Build succeeded

@bors bors bot merged commit 0e6faea into espressomd:python Nov 1, 2019
@jngrad jngrad added this to the Espresso 4.1.1 milestone Nov 4, 2019
jngrad added a commit to jngrad/espresso that referenced this pull request Nov 4, 2019
2748: Additional LB test cases

* Buyancy force on a sphere in a box of fluid under gravity
* Momentum conservation in a fluid with an external volume force applied and a particle with an oposite force applied

Co-authored-by: Rudolf Weeber <weeber@icp.uni-stuttgart.de>
Co-authored-by: Florian Weik <fweik@icp.uni-stuttgart.de>
F = 0.013
BOX_SIZE = 10 * AGRID
TIME_STEP = 0.1
AGRID = 1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you use AGRID equal to unity on purpose?

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.

5 participants