How to filter the Kinematic and Potential Energy

I want to obtain Kinematic and Potential Energy according to the instructions on this forum using this setting dirout2=%dirout%\Energy

%partvtk% -dirin %diroutdata% -saveenergy %dirout%/Energy

If not "%ERRORLEVEL%" == "0" go to fail

Do the results obtained include the total overall energy that has been set? Currently, I only want to calculate energy for some parts of the case I made, if I add 'onlymk' the result is zero

Comments

  • @Alex Could you help me provide information about this?

  • I have to ask but I think that energy is computed only for fluid particles, that is why -onlymk is not applicable...

    @jmdalonso can you confirm this?

  • edited March 7

    @Alex Could you please direct me to where I can find the equations of energy used in dualSPHysics?

Sign In or Register to comment.