CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

SimpleFoam woes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2007, 10:53
Default Description: On certain cases
  #1
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Description:
On certain cases, simpleFoam solves for U and p but for some reason does not print out the solution for velocity (i.e. BICCG solver residuals) in stdout or the redirected log file. The case in question happens to be a non-conformal 2D case. Mesh generated using blockMesh. Not sure whether this problem applies to 3D cases too?

Solver/Application: Out of the box simpleFoam -> No modifications.

Source file:
simpleFoam.C ?

Testcase:
Can be downloaded from here -> http://www.ualberta.ca/~madhavan/sample.tar.gz

Platform:
x86_64 GNU/Linux Distro: Scientific Linux 4.1 (basically an RHEL clone).

Version:
OpenFOAM version 1.3

Notes:
Related discussion thread: http://www.cfd-online.com/OpenFOAM_D...tml?1176418785
msrinath80 is offline   Reply With Quote

Old   April 13, 2007, 11:04
Default Thanks for the bug report. Th
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Thanks for the bug report. The issue is associated with the tolerance used in checking the dimensionality of the case. Apparently the complexity of your mesh is causing an accumulation of round-off error which means the empty patches are not exactly flat. To fix this problem edit

src/OpenFOAM/meshes/polyMesh/polyMesh.C

and in polyMesh::calcDirections() change SMALL to 1e-6 and recompile the OpenFOAM library.

alternatively download the 1.4 pack I uploaded to sourceforge today which already includes this fix.

Henry
henry is offline   Reply With Quote

Old   April 13, 2007, 11:15
Default Brilliant! Will upgrade to 1.4
  #3
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Brilliant! Will upgrade to 1.4 as soon as possible. Thanks!!
msrinath80 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
What is phi in simpleFoam ehsan_vaghefi OpenFOAM Running, Solving & CFD 9 October 5, 2024 08:49
OF141dev installation Woes chegdan OpenFOAM Installation 13 July 18, 2008 18:16
Gentoo Compilation woes on AMD64 with fluentMeshToFoamL connclark OpenFOAM Installation 8 February 29, 2008 15:18
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Gambit/Iges woes Akin FLUENT 0 January 31, 2005 07:45


All times are GMT -4. The time now is 14:56.