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

Bridge ANSYS and paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2014, 12:09
Default Bridge ANSYS and paraview
  #1
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 12
sanjar is on a distinguished road
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
File Type: jpg vergleichsbild.jpg (92.5 KB, 12 views)
File Type: jpg vergleich_2.jpg (72.6 KB, 13 views)
sanjar is offline   Reply With Quote

Old   March 19, 2014, 17:50
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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).
jherb is offline   Reply With Quote

Old   March 19, 2014, 20:42
Default
  #3
Member
 
ziehjay
Join Date: Jul 2013
Posts: 45
Rep Power: 12
sanjar is on a distinguished road
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
File Type: jpg geschwind.jpg (44.5 KB, 10 views)
File Type: jpg velocity_error.jpg (45.5 KB, 9 views)
File Type: jpg Vergleich_13.0.jpg (47.5 KB, 9 views)
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
Ansys Fluent and Paraview aerospaceman FLUENT 8 June 24, 2015 08:46
[OpenFOAM] Can I view the files I got from the CFX-solver in Paraview? sparlund ParaView 1 March 17, 2014 11:19
[General] Meridional View in Paraview shreyasr ParaView 1 December 25, 2013 10:55
How to convert ansys workbench file to the file for paraview? blueaprk ANSYS 0 August 24, 2010 22:53
Export the mesh to ParaView antonio ANSYS Meshing & Geometry 7 April 30, 2010 11:25


All times are GMT -4. The time now is 13:32.