Method for output of stress tensor components

edited August 2016 in DualSPHysics_v4.0
My goal is to export tau to a CSV or VTK so that I can know the stress tensor components that describe the stresses imposed by the fluid on boundary particles. I see that tau_xx, tau_xy, tau_xz, tau_yy, tau_yz and tau_zz are used in JSphGpu_ker.cu and JSphCpu.cpp, but I'm not sure what the appropriate method is to yield a CSV or VTK output of those components. Is there a way to accomplish this using the existing DualSPHysics framework? Does this require modifying the source code? Any help would be most appreciated!

Comments

  • Obviusly, that will need to modify the source code.
    You should mimic funtions as the ones that appear in "ToVTK" project.

    Regards
  • Thanks, Alex! I'll do that.
Sign In or Register to comment.