CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   2 cases with 2 identical slices and calculator (http://www.cfd-online.com/Forums/openfoam-paraview/106860-2-cases-2-identical-slices-calculator.html)

Tobi September 11, 2012 04:20

2 cases with 2 identical slices and calculator
 
Hi all,

I have a question to you.
Is it possible to build 2 cases with (for example) different velocity and then load the 2 cases into paraview.

For each case you generate a slice and now you wanna calculate the differences between the two slice values (like pressure).


I did something like that:

- load case1
- create slice1
- calculator on case1
- pressure1 = p

- load case2
- create slice2
- calculator on case2
- pressure2 = p

- group datasets (on the both calculators)
- calculator
- pressureDiff = pressure1 - pressure2

ERROR


Code:

ERROR: In ..\..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1480
vtkFunctionParser (000000006A725A20): Syntax error: expecting a variable name;  see position 4

ERROR: In ..\..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1480
vtkFunctionParser (000000006A725A20): Syntax error: expecting a variable name;  see position 4

Warning: In ..\..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 401
vtkPVArrayCalculator (000000003FD1EAA0): An error occured when parsing the calculator's function.  See previous errors.

ERROR: In ..\..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1480
vtkFunctionParser (00000000696B8C00): Syntax error: expecting a variable name;  see position 10

ERROR: In ..\..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1480
vtkFunctionParser (00000000696B8C00): Syntax error: expecting a variable name;  see position 10

Warning: In ..\..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 401
vtkPVArrayCalculator (000000003FD1EAA0): An error occured when parsing the calculator's function.  See previous errors.

ERROR: In ..\..\..\..\src\VTK\Common\vtkFunctionParser.cxx, line 1480
vtkFunctionParser (00000000696B8C00): Syntax error: expecting a variable name;  see position 10


Any suggestions or is it possible to do sth. like that?
Thanks in advance
Tobi


All times are GMT -4. The time now is 05:35.