|
[Sponsors] |
August 9, 2018, 06:11 |
Paraview calculating moment
|
#1 |
New Member
Ondrej Novak
Join Date: Apr 2014
Posts: 10
Rep Power: 12 |
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 |
|
August 9, 2018, 06:46 |
|
#2 |
Senior Member
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9 |
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 { type forces; libs ("libforces.so"); patches (impeller_walls); rho rhoInf; rhoInf 1000; CofR (0 0 0); } |
|
October 28, 2019, 04:50 |
|
#3 | |
Senior Member
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 7 |
Hi Ondrej Novak,
Quote:
Thank you |
||
October 29, 2019, 13:15 |
Paraview
|
#4 |
New Member
Join Date: Oct 2019
Posts: 1
Rep Power: 0 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Calculating mesh quality in paraview | Jack001 | ParaView | 0 | October 22, 2016 10:01 |
[General] paraview ignores SPACING in STRUCTURED_POINTS vtk data? | jaffar | ParaView | 0 | November 27, 2012 09:36 |
Center of pressure (confirmation/question) | scipy | FLUENT | 2 | March 5, 2012 06:54 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 22:03 |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 07:11 |