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

Bug in enterDymFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 5, 2012, 14:33
Default Bug in enterDymFoam
  #1
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 5
som is on a distinguished road
Hi

While working on custom solver based on enterDymFoam and erfConvectiveMeltingPimpleFoam found some strange thing in pEqn.H file in the enterDymFoam directory :
------------
p == p_rgh + rho*gh;

if (p_rgh.needReference())
{
p += dimensionedScalar
(
"p",
p.dimensions(),
pRefValue - getRefCellValue(p, pRefCell)
);
p_rgh = p - rho*gh;
}
--------------------

Does p == p_rgh + rho*gh do anything or just return Bool ? Sorry for stupid question
som is offline   Reply With Quote

Old   March 5, 2012, 14:35
Default
  #2
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 5
som is on a distinguished road
ps:
openfoam v 2.1
som is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serious bug in LES interface fs82 OpenFOAM Bugs 21 November 16, 2009 08:15
surfaceToPatch bug? bruce OpenFOAM Bugs 4 November 12, 2009 08:23
Bug reports Mattijs Janssens (Mattijs) OpenFOAM 0 January 10, 2005 10:05
Win XP hot fix bug!!! Emilio CD-adapco 1 March 27, 2003 12:06
Forum y2k Bug Jonas Larsson Main CFD Forum 1 January 5, 2000 10:22


All times are GMT -4. The time now is 08:47.