|
[Sponsors] |
How to calculate the rotational of a vector field in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 28, 2020, 08:48 |
How to calculate the rotational of a vector field in Paraview
|
#1 |
New Member
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7 |
Hello foamers,
the question is in the title. Is there any way to calculate the vorticity in Paraview ? Openfoam can do it with the -postProcess -func vorticity utility but I'm a bit confused with Paraview. I don't see anything doable with vectors besides taking the magnitude or creating a vector field with iHat kHat jHat from three scalar fields in the calculator utility. Thank you for helping me out. |
|
May 28, 2020, 17:57 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 12 |
Hi,
- `curl` operator is not a part of ParaView calculator, afaik. - Instead, you can use the `Python Calculator`: https://vtk.org/Wiki/Python_Calculator - Why do you want to compute vorticity in ParaView if you do use OpenFOAM? Thanks.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 29, 2020, 04:27 |
|
#3 |
New Member
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7 |
Thanks for your answer HPE.
I wanted to do the calculation of the vorticity in Paraview because my cases are decomposed and very, very heavy. I use another node for Paraview so it would have been convenient to be able to manipulate fields in paraview while my other machines are calculating. |
|
May 29, 2020, 05:31 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 12 |
If the parallelisation is the problem, please bear in mind that you can also execute `postProcess` in parallel.
I strongly suggest you to consider using OpenFOAM utilities over ParaView for data manipulation. OR, if you would like to use beautiful NumPy/SciPy for OpenFOAM data manipulation, I can also suggest this beautiful parser: https://github.com/xu-xianghua/ofpp Hope these help.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release | FJSJ | OpenFOAM Installation | 2 | July 23, 2017 05:48 |
[General] How to calculate a variable in Paraview | fkika | ParaView | 1 | March 15, 2016 06:19 |
How to calculate mass flow rate through arbitrary rectangle plane in paraview | manoj_nav | OpenFOAM Pre-Processing | 1 | March 10, 2016 02:16 |
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? | lentschi | OpenFOAM Installation | 1 | March 9, 2011 02:32 |
calculate average in Paraview | alain | Main CFD Forum | 0 | March 14, 2006 05:49 |