-
Notifications
You must be signed in to change notification settings - Fork 15
Re-extrapolate values for particles entering the inflow zone #764
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?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #764 +/- ##
==========================================
- Coverage 69.36% 69.25% -0.12%
==========================================
Files 100 100
Lines 6421 6433 +12
==========================================
+ Hits 4454 4455 +1
- Misses 1967 1978 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
extrapolate_values!(system, v, v_fluid, u, u_fluid, | ||
semi, t; particle_iterator=system.particle_iterator, | ||
system.cache...) |
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.
Extrapolation is not correct results in 0 pressure
extrapolate_values!(system, v, v_fluid, u, u_fluid, | ||
semi, t; particle_iterator=system.particle_iterator, | ||
system.cache...) | ||
end |
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.
end | |
for particle in system.particle_iterator | |
velocity = current_velocity(v, system, particle) | |
density = particle_density(v, system, particle) | |
pressure = particle_pressure(v, system, particle) | |
@info "Extrapolated velocity for particle $particle" velocity | |
@info "Extrapolated density for particle $particle" density | |
@info "Extrapolated pressure for particle $particle" pressure | |
end | |
end |
@inline function transfer_particle!(system_new::FluidSystem, system_old, particle_old, | ||
v_new, u_new, v_old, u_old, ::InFlow) |
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.
@inline function transfer_particle!(system_new::FluidSystem, system_old, particle_old, | |
v_new, u_new, v_old, u_old, ::InFlow) | |
@inline function transfer_particle!(system_new, system_old::FluidSystem, particle_old, | |
v_new, u_new, v_old, u_old, ::BoundaryZone{InFlow}) |
No description provided.