-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In structure-fluid interaction, the kernel and smoothing length of the fluid is used:
TrixiParticles.jl/src/schemes/structure/total_lagrangian_sph/rhs.jl
Lines 107 to 110 in c70f70a
# Use kernel from the fluid system in order to get the same force here in | |
# structure-fluid interaction as for fluid-structure interaction. | |
# TODO this will not use corrections if the fluid uses corrections. | |
grad_kernel = smoothing_kernel_grad(neighbor_system, pos_diff, distance, particle) |
However, the compact support and hence the search radius for this interaction depends on the boundary model kernel:
TrixiParticles.jl/src/general/semidiscretization.jl
Lines 189 to 193 in c70f70a
@inline function compact_support(system::Union{TotalLagrangianSPHSystem, | |
WallBoundarySystem}, | |
neighbor) | |
return compact_support(system, system.boundary_model, neighbor) | |
end |
This causes incorrect kernel truncation if one uses a smaller smoothing length for the boundary model than for the fluid.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working