# Velocity spots in openFoam results

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

August 17, 2009, 08:36
Velocity spots in openFoam results
#1
New Member

Valentin Fischer
Join Date: Aug 2009
Location: Germany
Posts: 9
Rep Power: 9
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
 cfx.jpg (37.5 KB, 65 views) openfoam.jpg (32.4 KB, 63 views)

 August 17, 2009, 09:05 #2 Senior Member     Niels Nielsen Join Date: Mar 2009 Location: NJ - Denmark Posts: 472 Rep Power: 16 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

 August 17, 2009, 10:00 #3 New Member   Valentin Fischer Join Date: Aug 2009 Location: Germany Posts: 9 Rep Power: 9 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...

 August 17, 2009, 13:13 #4 Senior Member     Niels Nielsen Join Date: Mar 2009 Location: NJ - Denmark Posts: 472 Rep Power: 16 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

August 19, 2009, 05:53
#5
New Member

Valentin Fischer
Join Date: Aug 2009
Location: Germany
Posts: 9
Rep Power: 9
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
 Screenshot.jpg (40.0 KB, 39 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 linnemann OpenFOAM Running, Solving & CFD 12 June 16, 2011 05:43 Joseph CFX 14 April 20, 2010 15:45 linnemann OpenFOAM Installation 7 July 30, 2009 03:14 yf yap Main CFD Forum 6 January 30, 2001 00:18 cfd_99 Main CFD Forum 5 June 21, 1999 09:23

All times are GMT -4. The time now is 12:42.