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

Bug in rhoSimpleFOAM (OF-1.6.x)

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 26, 2010, 08:01
Question Bug in rhoSimpleFOAM (OF-1.6.x)
  #1
New Member
 
Johannes Kneer
Join Date: Mar 2009
Location: Germany, Karlsruhe
Posts: 13
Rep Power: 17
johannesk is on a distinguished road
Hi,

lines 44 to 47 in OpenFOAM-1.6.x/applications/solvers/compressible/rhoSimpleFoam/pEqn.H read:
Code:
#44        if (nonOrth == nNonOrthCorr)
#45         {
#46            phi == pEqn.flux();
#47        }
I think line#46 should be an assignment not a comparison (also compare to line #77) and should be replaced with:
phi -= pEqn.flux();

I haven't fully gone through the whole rhoSimpleFoam code, so I'm not sure if my suggestion is physically correct. Can someone with more OF experience have a look at this?
johannesk is offline   Reply With Quote

 

Tags
bug, flux, rhosimplefoam


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
Bug in turbulentHeatFluxTemperatureFvPatchScalarField; OF 1.6.x evrikon OpenFOAM Bugs 5 September 27, 2010 08:52
Question about rhoSimpleFoam "if (transonic)" universez OpenFOAM 4 April 17, 2010 10:21
Problem with rhoSimpleFoam mecbe2002 OpenFOAM 3 April 11, 2010 00:54
Serious bug in LES interface fs82 OpenFOAM Bugs 21 November 16, 2009 08:15
Forum y2k Bug Jonas Larsson Main CFD Forum 1 January 5, 2000 10:22


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