Compute fluid forces and/or total energy

edited August 2017 in DualSPHysics_v4.0
Hi

Is it possible to compute the combined force of all fluid particles or the total energy in the simulation? I would like to compute damping and natural frequencies of a TLD and thinking that using the sum of particles would be more stable and somewhat independent from dp.

Comments

  • Is the post processing tools able to output that or would it be necessary to modify the code?
  • Dear user,
    The code needs to be modified to compute the total energy.
    If total energy=potential+kinetic+thermal, the post-processing tools will allow you to compute potential (z values) and kinetic (velocity values) but not the thermal.

    Regards
  • The potential and kinetic energy will be sufficient. Computing the velocity is "-vars:+vel", but how do I compute the z-values?
  • perhaps you can create output data in ascii format and there you can read the columns of z position and velocity values
Sign In or Register to comment.