# Bridge ANSYS and paraview

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

March 18, 2014, 13:09
Bridge ANSYS and paraview
#1
Member

ziehjay
Join Date: Jul 2013
Posts: 44
Rep Power: 5
Hey guys, i simulate with simpleFoam and used in paraview the Filter PlotOverLine.

Now I wanted to compare my results at this certian discrict shown with plotOverLine with simulation from ANSYS (with the same boundary conditions).
The problem is, that the scale at the y-axis in paraview is different than the one in ANSYS. I wanted to show the pressure on the certain district.

For example: Simulation in OpenFOAM shows a peak in paraview of around 120 (13m/s)
The simulation in ANSYS provides a peak of around 90000 Pascal.

My problem is that i dont have a unit on my y axis in paraview.
i tried to work with the pressure coefficient.
http://en.wikipedia.org/wiki/Pressure_coefficient

anyone has another idea??

the pics are attached.

thank you !!
Attached Images
 vergleichsbild.jpg (92.5 KB, 11 views) vergleich_2.jpg (72.6 KB, 10 views)

 March 19, 2014, 18:50 #2 Senior Member   Joachim Herb Join Date: Sep 2010 Posts: 391 Rep Power: 11 simpleFoam uses pressure normalized by density, so to compare the values with ANSYS you have to multiply the values of OpenFOAM with the density (see also the dimension of pressure in the file 0/p).

March 19, 2014, 21:42
#3
Member

ziehjay
Join Date: Jul 2013
Posts: 44
Rep Power: 5
hello joachim

thank you for your response. Are you german or do you speak at least german? (wenn ja, dann kann man sich vll bei komplizierteren beschreibungen auf deutsch ausdrücken).

i found a formular in this forum which works quite good for my graps, which is p0= p + (0.5*density * U²). I integrate this formula into "Calculator" and used after that PlotOverLine. See my pics attched, that it works pretty good.

now i have a new problem, namely the beginning and the end of the graphs. they dont begin and end at zero but at a part above 0. the reason is, because i used my velocity which is constantly 13 m/s (so ist put in p+ (0.5 * density * 13²) and not the velocity in paraview which is used as the vector. (see pic attached).
but actually i have to use the value of the scalar for the velocity. but paraview gives the follwoing error out:

p, li { white-space: pre-wrap; } 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).

maybe you know the reaosn why it is not possible to integrate my velocity as the vector. i wanted to test it out with PlotOverLine for velocity and it gives me a velocity of 9 m/s out. but thats not possible, it has to be 13 m/s

do you have any idea why it is not possible to work with me velocity as a scalar in calculator?
thanks
Attached Images
 geschwind.jpg (44.5 KB, 8 views) velocity_error.jpg (45.5 KB, 8 views) Vergleich_13.0.jpg (47.5 KB, 8 views)

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post aerospaceman FLUENT 8 June 24, 2015 08:46 sparlund OpenFOAM Post-Processing 1 March 17, 2014 12:19 shreyasr ParaView 1 December 25, 2013 11:55 blueaprk ANSYS 0 August 24, 2010 22:53 antonio ANSYS Meshing & Geometry 7 April 30, 2010 11:25

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

 Contact Us - CFD Online - Top