Skip to content

Conversation

@efaulhaber
Copy link
Member

@efaulhaber efaulhaber commented Sep 9, 2025

This PR implements two versions of this.

  1. Integration of energy with the main time integrator via an EnergyCalculatorSystem (introduced in Add energy calculator system #667).
  2. A cheaper version that evaluates the forces on "fixed" particles only in a callback and then integrates the energy with the explicit Euler method. In my small experiment this added a 6% overhead vs 25% of version 1. It can be made even cheaper by applying the callback only every n steps at the cost of larger time integration errors.

@efaulhaber efaulhaber self-assigned this Sep 9, 2025
@efaulhaber efaulhaber added the enhancement New feature or request label Sep 9, 2025
@efaulhaber efaulhaber changed the title Compute forces for fixed TLSPH particles Integrate energy added through "fixed" TLSPH particles Sep 10, 2025
@efaulhaber efaulhaber changed the title Integrate energy added through "fixed" TLSPH particles [Proof of Concept] Integrate energy added through "fixed" TLSPH particles Sep 10, 2025
@efaulhaber efaulhaber changed the base branch from main to dev September 10, 2025 12:19
@efaulhaber efaulhaber deleted the branch trixi-framework:main September 19, 2025 11:18
@efaulhaber efaulhaber closed this Sep 19, 2025
@svchb svchb reopened this Sep 19, 2025
@svchb svchb changed the base branch from dev to main September 19, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants