CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

velocity U in the Calculator- Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2014, 20:10
Default velocity U in the Calculator- Problem
  #1
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
Hey guys,

i am working with the tool calculator in paraview right now. Unfortunately it does not accept my U as a scalar value, when i want to integrate the velocity U in my calculation.

This error occurs:
ERROR: In /home/sanjar/OpenFOAM/ThirdParty-2.2.x/ParaView-3.12.0/VTK/Charts/vtkPlotPoints.cxx, line 641
vtkPlotLine (0xdc0b280): No Y column is set (index 1).


Does somebody has an answer or a suggestion how to fix this problem?
Background of this problem:

http://www.cfd-online.com/Forums/ope...-paraview.html

thank you guys and thanks for every helping suggestion!!
sanjar is offline   Reply With Quote

Old   March 24, 2014, 13:49
Default
  #2
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
hey guys, anybody out there who could say what the problem might be..?

still couldnt figure it out :/

thanks!
sanjar is offline   Reply With Quote

Old   March 25, 2014, 09:26
Default
  #3
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
hey guys,
i thought it would make sense if i explain and show you the things i did so far to solve my problem.

AIM: get the same plots like the ones from ANSYS (see pic 1)

1. typed into calculator the formular p + (0.5*997.561*(UČ))
- 997.561 is the density of water
- U is my veloocity, but it did not work because calculator did not accept the scalar, so i just typed in my starting velocity at the inlet 13 m/s
--> Result: got a plot like in pic 2,3,4

--> Problem: all three plots do not start from 0 respectivey from a negative point like in ANSYS, because i used 13, 9 and 5,4 m/s and not the scalar

2. tried to check if a got velocity on my plate of my geometry, there is no velocity

--> looking: http://www.cfd-online.com/Forums/ope...-paraview.html

changed my BCs from --> to

Code:
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 -5.4 0);   
boundaryField
{
    WALL
    {
        type            fixedValue;
        value           uniform (0 0 0); --> (0 -5.4 0)
    }
    OUTLET
    {
        type            pressureInletOutletVelocity;
    value        uniform (0 0 0);
    }
    EROSIONPLATE
    {
        type            fixedValue;
        value           uniform (0 0 0); --> (0 -5.4 0)
    }
    INLET
    {
        type            fixedValue;
        value           uniform (0 0 0); --> (0 -5.4 0)
    }
now i got the velocity on my plate which is constantly 5,4; 9 and 13 m/s
but i generate such plots if i use calculator and the vector U_Y or even the normal velocity of 5.4 m/s (see pic 5)


I really dont know where my problem is?

if there is somebody who could help me, please spend some minutes and explain/show it to me..its pretty important!

thanks!
Attached Images
File Type: jpg vergleich_2.jpg (72.6 KB, 8 views)
File Type: jpg Vergleich_13.0.jpg (47.5 KB, 6 views)
File Type: jpg Vergleich_9.1.jpg (50.0 KB, 8 views)
File Type: jpg Vergleich_5.4.jpg (42.0 KB, 6 views)
File Type: jpg Bildschirmfoto vom 2014-03-25 14:24:24.jpg (47.5 KB, 5 views)
sanjar is offline   Reply With Quote

Old   March 25, 2014, 14:38
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Do you plot the velocity on a wall? Then it is set by the boundary conditions to be 0. So the result is correct. Are your boundary conditions the same in ANSYS and OpenFOAM? It looks like you might be using free slip conditions in ANSYS and no slip in OpenFOAM for that wall? Can you post your 0/U file of OpenFOAM and (parts of) the ccl file of Ansys (if you use CFX)?
jherb is offline   Reply With Quote

Old   March 25, 2014, 14:47
Default
  #5
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
hello,

no i plo the velocity on the plate, where the flow is sprinkling on. (i uploaded a pic which i made in paint a long time ago :-) )
above your post there is my 0/U file.
i dont think that it has something to do with the BCs in OF and in ANSYS because my plot in OF has the same peak (maximum) like the one in ANSYS.

the problem for me is the y- axis (y-achsenschnittstelle) because it does not start with 0 but with a higher value. and this value comes from the formule i use in the calculator, which you can see above.

i tried to plot just the normal pressure (relativdruck, also ohne diese formel) and this one was right because it also starts from negative y-axis but i dont reach the peaks.

so all in all, it has smething to do with the problem that i cant use my scalar AND vector U in the calculator. Both doesnt work.

thank you for your attention.
Attached Images
File Type: jpg SA.jpg (48.9 KB, 3 views)
sanjar is offline   Reply With Quote

Old   March 25, 2014, 17:10
Default
  #6
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 13
sanjar is on a distinguished road
nevertheless joachim,

i am still looking forward for new suggestions!
sanjar 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
Plotting Radial Velocity and Tangential Velocity in CFD Post ashtonJ CFX 5 July 13, 2015 03:49
Velocity in Porous medium : HELP! HELP! HELP! Kali Sanjay Phoenics 0 November 6, 2006 07:10
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 03:15
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 07:39.