Paraview calculating moment
Hello
i would like to calculate in paraview moment around some point. I can calculate forces using calculator for each cell and then integrate it. I imagine that if i calcuate distance of each cell to that point and than use it as arm for moment and integrate it will work. But dont how to to do it exactly. Can you help please ? Thanks a lot |
Since torque is r x F you only need r vectors; that would be coords - (Px*ihat + Py*jhat + Pz*khat), if point P(Px, Py, Pz) is your center of rotation. Coords is a vector field available in calculator.
Then you only need a cross product of your calculated forces and r vectors. I believe there's a cross() function in calculator. But are you sure you want to use ParaView? I was wrestling with it for a while but then switched to postprocessing in openFoam. Add something like that to controlDict: Code:
forces_impeller |
Hi Ondrej Novak,
Quote:
Thank you |
Paraview
Hello, I also have a problem finding the points calculator but mine is a bit different.
Well I have a simulation of a sphere (tumor) that is growing in a host tissue for a specific time. I want to set a point outside the sphere and calculate different variables like IFP, IFV, THP etc. while the sphere is growing and see how the variable in that point will change. I want my point to be stable ( fixed coordinates x,y,z) and after the calculation I want to plot graphs of each variable. |
All times are GMT -4. The time now is 02:43. |