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

change getInterParticleDiffusionCoeff() of Dirichlet wall boundary #389

Merged
merged 6 commits into from
Aug 1, 2023

Conversation

ChenxiZhaoTUM
Copy link
Collaborator

This pull request changes the getInterParticleDiffusionCoff() function of the Dirichlet wall boundary.
The diffusion coefficient of the diffusion process interacting with walls is unrelated to the wall boundary, so the old one getInterParticleDiffusionCoff(particle_i, particle_j, e_ij) tends to confuse the SPHinXsys users.
The new one getInterParticleDiffusionCoff(particle_i, particle_i, Vecd::Zero()) is more clear that the diffusion coefficient in this process (diffusion body contacted with Dirichlet boundary) has nothing to do with the contact walls.

@FabienPean-Virtonomy
Copy link
Collaborator

If getInterParticleDiffusionCoff stands for get inter particle diffusion coefficient please also fix the typo in the function name: CoffCoeff

@ChenxiZhaoTUM ChenxiZhaoTUM reopened this Aug 1, 2023
@ChenxiZhaoTUM ChenxiZhaoTUM changed the title change getInterParticleDiffusionCoff() of Dirichlet wall boundary change getInterParticleDiffusionCoeff() of Dirichlet wall boundary Aug 1, 2023
@Xiangyu-Hu Xiangyu-Hu merged commit 5f36441 into Xiangyu-Hu:master Aug 1, 2023
8 checks passed
@ChenxiZhaoTUM ChenxiZhaoTUM deleted the change_diff_coff_name branch September 28, 2023 13:13
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.

3 participants