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

Velocity spots in openFoam results

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2009, 09:36
Default Velocity spots in openFoam results
  #1
New Member
 
Valentin Fischer
Join Date: Aug 2009
Location: Germany
Posts: 9
Rep Power: 16
Valle is on a distinguished road
Hello everyone,

I'm a newbie in OpenFoam calculation, so I try to compare CFX with OpenFoan results in order to delve myself into OpenFoam numerics. For that I choosed a simple geometry and "simple" physics (simpleFoam) to calculate a TT-junction.
The turbulence model is k-epsilon.
The time discretization was fixed to deltaT = 0.001;End Time=10.
All schemes are Gauss linear (corrected for laplacian), except for div(phi,k) > Gauss upwind and div(phi,epsilon) > Gauss upwind;
Tetrahedral mesh.

After calculating and comparing the problem, I determined velocity spots in the results of the OpenFoam calculation which don't existed in the CFX calculation. In order to understand this difference between OpenFoam and CFX I changed nearly all parameters in the fvSolution and fvSchemes, but the results were always nearly the same. These spots are always present and I don't really understand why this difference between OpenFoam and CFX.

Can someone help me to understand this difference in the results?

Regards
Valentin
Attached Images
File Type: jpg cfx.jpg (37.5 KB, 76 views)
File Type: jpg openfoam.jpg (32.4 KB, 69 views)
Valle is offline   Reply With Quote

Old   August 17, 2009, 10:05
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Hi

Are you using interpolated results from CFX?

node or cell based values when exporting from CFX?

It could just be an interpretation problem where the OF results are cell values whereas CFX is interpolated cell to nodes or just node values.

you have to compare apple to apples, also in the post-processing part :-)

Regards
linnemann is offline   Reply With Quote

Old   August 17, 2009, 11:00
Default
  #3
New Member
 
Valentin Fischer
Join Date: Aug 2009
Location: Germany
Posts: 9
Rep Power: 16
Valle is on a distinguished road
What do exactly mean with "interpolated results from CFX"?

When using ParaFoam (point-centered; interpolation on), the same velocity distribution can be determined as shown in the plots above in CFX Post for OpenFoam results.
The posted CFX results are hybrid values to display the correct zero velocity on the wall. For the remaining velocity distribution on the plane it doesn't matter if hybrid or conservative values.
I'm not really sure it is an Postprocessor problem...
Valle is offline   Reply With Quote

Old   August 17, 2009, 14:13
Default
  #4
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Hi

I don't know how you produced the pictures, in CFX post?

What I would suggest is to export the results from CFX (to a format paraview understands) in cell or node based values.

Then use paraview on the OF case with either node or cell based results, (paraview can interpolate the cell based values from OpenFOAM to node based).

I've seen similar things with velocity spots and it was merely because I had results from Fluent in Ensight format which was node based and the results from OF was Cell based, after using nodes vs nodes (in paraview) the two codes were nearly identical.

Regards
linnemann is offline   Reply With Quote

Old   August 19, 2009, 06:53
Default
  #5
New Member
 
Valentin Fischer
Join Date: Aug 2009
Location: Germany
Posts: 9
Rep Power: 16
Valle is on a distinguished road
Hi,
I tried to transform CFX results files into ParaFoam format but without any success... so I tried something different. In my opinion, the velocity spots aren't caused by Postprocessor interpretation, because calculating the problem 1st order, (div(phi,U) > Gauss upwind) no velocity spots could be determined during the complete calculation. Another hint for this discretization problem was the residuum developing. When switching to 2nd order div(phi,U) > Gauss linear) the residdum incresed and started fluctuating which indicates the 1st/ 2nd order problem in simpleFoam, too. Plotting the results of the 2nd order calculation showed a high unstable flow for a "simple" geometry and physics.
So I tried numerically to stabilize the calculation, but no chance whatever I tried... Should I calculate transient???
It can't be possibe that a 2nd order calculation of an incompressible and isothermal problem is so hard to get it converge...

Regards
Attached Images
File Type: jpg Screenshot.jpg (40.0 KB, 44 views)
Valle is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparison of axisymmetric case, Starccm+ and OpenFOAM linnemann OpenFOAM Running, Solving & CFD 12 June 16, 2011 06:43
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 04:14
on unconvincing results for channel flow simulatio yf yap Main CFD Forum 6 January 30, 2001 00:18
how to print the results from CFX-4.2 cfd_99 Main CFD Forum 5 June 21, 1999 10:23


All times are GMT -4. The time now is 06:27.