|
[Sponsors] |
[OpenFOAM] Problem with "R" and "uPrime2Mean" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2013, 11:50 |
Problem with "R" and "uPrime2Mean"
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Dear Foamers,
I have the simpleFoam solution of a channel. I postprocessed the results calculating R (see here) but I can't `use the results'. I mean: I can visualize them in paraFoam, but when I try to use them in the calculator, I get this error: Code:
ERROR: In /home/zampini/OpenFOAM/ThirdParty-2.2.0/ParaView-3.12.0/VTK/Common/vtkFunctionParser.cxx, line 1480 vtkFunctionParser (0xc6ac050): Syntax error: operator expected; see position 3 ERROR: In /home/zampini/OpenFOAM/ThirdParty-2.2.0/ParaView-3.12.0/VTK/Common/vtkFunctionParser.cxx, line 1480 vtkFunctionParser (0xc6ac050): Syntax error: operator expected; see position 3 Warning: In /home/zampini/OpenFOAM/ThirdParty-2.2.0/ParaView-3.12.0/VTK/Graphics/vtkArrayCalculator.cxx, line 401 vtkPVArrayCalculator (0xc684df0): An error occured when parsing the calculator's function. See previous errors. Thanks a lot, Samuele |
|
October 11, 2013, 19:27 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Samuele,
Could you please describe the steps you've taken on ParaView/paraFoam and the expression used in the calculator? In addition, are you using point data or cell data? Best regards, Bruno
__________________
|
|
October 12, 2013, 04:31 |
|
#3 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Dear Bruno,
thanks for answering, first. So, the steps that I do are the following: 1. I run my simulation on a channel flow and everything seems to be good (e.g. referring our results to the *famous* KMM's results). 2. I run the command "R" in OpenFOAM, in order to post-process the results. 3. I open paraFoam and I load my case. 4. I apply the calculator filter and I can manage all the variable except the R tensor. 5. If I try to use R in the calculator I get the error message posted below, both with cellData and pointData. Thanks a lot for help. Samuele |
|
October 12, 2013, 16:11 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Samuele,
It's a bug in ParaView 3.12.0. It works fine with ParaView 4.0.1. But don't worry, with OpenFOAM you can extract the components of the symmetric tensor "R" into separate scalar fields, by running: Code:
foamCalc components R Best regards, Bruno
__________________
|
|
October 14, 2013, 05:03 |
|
#5 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
Hi Bruno and thanks for answering: I'll try this and I'll let you know if this works fine for my case. I guess yes.
Thanks a lot, Samuele |
|
February 7, 2014, 06:58 |
|
#6 |
New Member
Namsu
Join Date: Jun 2011
Location: Neubiberg 85579, Munich, Germany
Posts: 4
Rep Power: 14 |
Thanks Bruno, I was facing the same problem but I have got able to fix it with your help. It worked like you said.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UPrime2Mean calculation of Reynolds stresses | MarijaB | OpenFOAM Post-Processing | 0 | June 15, 2018 21:19 |
[OpenFOAM] Problem with UPrime2Mean in Paraview | lcbuijs | ParaView | 1 | August 11, 2015 06:36 |
Sample utility problems | msrinath80 | OpenFOAM Running, Solving & CFD | 12 | December 21, 2012 06:51 |
Problems sampling UPrime2Mean | leonardo.morita | OpenFOAM Post-Processing | 5 | May 10, 2012 05:36 |
Problem with channeloodles and foamToVTK | farbfilm | OpenFOAM Running, Solving & CFD | 0 | October 31, 2008 06:28 |