-
Notifications
You must be signed in to change notification settings - Fork 19
Implement velocity averaging for TLSPH #1069
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
base: main
Are you sure you want to change the base?
Changes from all commits
3a63138
5ae0f38
cae086c
2a80fe5
e12592a
b74d8d0
f66e102
a9335a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -129,3 +129,26 @@ density are present, instabilities in the fluid can be induced by the structure. | |||||
| In these cases, artificial viscosity is effective at stabilizing the fluid close to the | ||||||
| structure, and we recommend using it in combination with penalty force to both | ||||||
| prevent hourglass modes and stabilize the fluid close to the fluid-structure interface. | ||||||
|
|
||||||
|
|
||||||
| ## [Velocity Averaging](@id velocity_averaging) | ||||||
|
|
||||||
| In challenging FSI cases with very stiff structures, the two techniques above might not be | ||||||
| sufficient to prevent instabilities. | ||||||
| High-frequency noise in the structure velocity can trigger instabilities or spurious | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| pressure waves (due to aliasing) in the fluid. | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Another stabilization technique is an exponential moving average (EMA) of the structure | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| velocity used **only** for the fluid-structure viscous coupling (no-slip boundary condition). | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| The averaged velocity ``\bar v`` is updated (by the [`UpdateCallback`](@ref) | ||||||
| or in every sub-step of the [`SplitIntegrationCallback`](@ref) if it is used) as | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ```math | ||||||
| \bar v^{n+1} = (1-\alpha)\,\bar v^n + \alpha\, v^{n+1}, \qquad | ||||||
| \alpha = 1 - \exp(-\Delta t/\tau), | ||||||
| ``` | ||||||
| where ``\tau`` is the time constant. | ||||||
|
|
||||||
| ```@autodocs | ||||||
| Modules = [TrixiParticles] | ||||||
| Pages = [joinpath("schemes", "structure", "total_lagrangian_sph", "velocity_averaging.jl")] | ||||||
| ``` | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| # Penalty force needs to be included first, so that `dv_penalty_force` is available | ||
| # in the closure of `foreach_point_neighbor`. | ||
| include("penalty_force.jl") | ||
| include("velocity_averaging.jl") | ||
| include("system.jl") | ||
| include("viscosity.jl") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.