CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

2 cases with 2 identical slices and calculator

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 11, 2012, 04:20
Default 2 cases with 2 identical slices and calculator
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,087
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
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
Tobi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:55.