Go back to previous value of iteration

This commit is contained in:
Jorge Gonzalez 2026-05-11 15:19:40 +02:00
commit 6fadc2056c

View file

@ -604,7 +604,7 @@ submodule(moduleMesh) boundaryParticle
alpha = vel_rest - vel_incident
! Apply correction with a factor of 0.1 to avoid fast changes
self%velocity_shift(edge%n) = self%velocity_shift(edge%n) + 1.0d-3 * alpha
self%velocity_shift(edge%n) = self%velocity_shift(edge%n) + 1.0d-2 * alpha
deallocate(den_nodes)
deallocate(mom_nodes)