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

TwoPhaseEulerFoam Bug

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 19, 2008, 18:16
Default Hello guys, I have found a
  #1
New Member
 
Alex Londono
Join Date: Mar 2009
Location: Medellin, Antioquia, Colombia
Posts: 9
Rep Power: 17
alondono is on a distinguished road
Hello guys,

I have found a minor mistake inside the code, in the KineticTheoryModel.C file, when the equilibrium switch is on, the model uses the algebraic granular temperature equation as it was proposed by Syamlal (1993), well the mistake can be found in line 321:

The original code states:

volScalarField l3 = 4.0*K4*alpha*(2.0*K3*tr2D + K2*tr2D);

But, if the original equation is reviewed, you should notice that the line must be:

volScalarField l3 = 4.0*K4*alpha*(2.0*K3*trD2 + K2*tr2D);

The equation can be checked in the MFIX Documentation and also in the B.G.M. Van Wachem PhD. Thesis.



By the way, does anyone know about new developments of this code in newer releases of OpenFOAM?

Cheers!!

Alex L.
alondono is offline   Reply With Quote

 


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
TwoPhaseEulerFoam Documentation paul OpenFOAM Running, Solving & CFD 53 April 8, 2020 13:48
TwoPhaseEulerFoam sara OpenFOAM Running, Solving & CFD 2 November 6, 2008 19:26
Bug in twoPhaseEulerFoam alberto OpenFOAM Bugs 2 May 20, 2008 21:25
TwoPhaseEulerFOAM application hemph OpenFOAM Bugs 0 November 16, 2006 07:27
TwoPhaseEulerFoam newbee OpenFOAM 0 March 27, 2006 08:41


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