CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Velocity contour error, calculator function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2017, 14:19
Default Velocity contour error, calculator function
  #1
New Member
 
Marius Lang
Join Date: Sep 2017
Posts: 19
Rep Power: 8
Ursmooth is on a distinguished road
Hello, I am trying to make a velocity contour plot in Paraview with the case OpenFoam cavity. To do this you need to convert your velocitys into a scalar. I tried to type U=sqrt(U_x^2+U_y^2+U_z^2) into the calculator but got a error message (see picture). How do you create a velocity scalar field correctly?
Attached Images
File Type: jpg Screen Shot 2017-09-25 at 20.13.17.jpg (108.3 KB, 19 views)
Ursmooth is offline   Reply With Quote

Old   September 26, 2017, 03:10
Default
  #2
Member
 
Swempa's Avatar
 
Join Date: Apr 2015
Posts: 37
Rep Power: 11
Swempa is on a distinguished road
Quote:
Originally Posted by Ursmooth View Post
Hello, I am trying to make a velocity contour plot in Paraview with the case OpenFoam cavity. To do this you need to convert your velocitys into a scalar. I tried to type U=sqrt(U_x^2+U_y^2+U_z^2) into the calculator but got a error message (see picture). How do you create a velocity scalar field correctly?
Hello Marius,

To solve your issue you can try to remove the "U=" in your expression, and only keep the following in the calculator expression:

sqrt(U_x^2+U_y^2+U_z^2)

The field "Result Array Name" defines the new name of the computed variable, you can instead of just using "Result" take a more describing name such as "U mag".

Cheers
Swempa is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
kindly help me .. i have and error at line number 147.. m zubair Fluent UDF and Scheme Programming 0 February 10, 2019 11:25
UDF comilation error. urgent help please m zubair Fluent UDF and Scheme Programming 4 February 10, 2019 11:19
Probleme in the velocity contour find in Fluent Abdu.rahmaty FLUENT 0 December 16, 2018 09:32
pressure contour and velocity profile problem alee1293 Main CFD Forum 0 July 18, 2014 10:31
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 09:49.