Can I compute the following in WB Mechanical with expressions?:
I need to calculate the 'u' variable along a line specified as a path geometry (placed along the centroid axis of a rectangular body). Computing u requires integrating TG over time. I would like a plot of the variable across this line. Then I would like to plot that line at multiple times on the same graph. In the example below (not shown in this KB Solution) u vs. distance is plotted every 30min during my transient cool down simulation. I do something similar in COMSOL multiphysics but I'd like to see if I can also implement this into Ansys workbench.
This can be done with a Solution Commands Object as shown below.
! ****** Begin Command Snippet ******
! Commands inserted into this file will be executed immediately after the Ansys /POST1 command.
! Active UNIT system in Workbench when this object was created: Metric (m, kg, N, s, V, A)
a = 3
b = 2
c = -50
PROD,4,2, , , aTGZ, , , a, ,
PROD,5,3, , , bT, , , b, ,
EXP,8,7 !!! exp(bT-c)
PROD,9,4,8 !!! (du/dt)
INT1,10,9,1 !!! Integrate (du/dt) w.r.t time (variable 1)