CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

SMALL, GREAT and ROOTVSMALL - what is that?

Register Blogs Community New Posts Updated Threads Search

Like Tree47Likes
  • 31 Post By Lieven
  • 1 Post By l_r_mcglashan
  • 1 Post By Lieven
  • 10 Post By ndev
  • 4 Post By evamaria

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 18, 2013, 17:18
Default SMALL, GREAT and ROOTVSMALL - what is that?
  #1
New Member
 
Thomas F.
Join Date: Jun 2013
Location: Graz, Austria
Posts: 14
Rep Power: 12
Dommy is on a distinguished road
Dear Foamers!

I'm working on Euler/Lagrange validation cases at the moment.
While looking into Disoersion Models I discoverd something in the Code - SMALL, GREAT and ROOTVSMALL.

Some examples (from /openfoam211/src/lagrangian/intermediate/submodels/Kinematic/DispersionModel/GradientDispersionRAS/GradientDispersionRAS.C)

Code:
 
scalar sigma = sqrt(2.0*k/3.0);
vector dir = -gradk/(mag(gradk) + SMALL);
Code:
 else
    {
        tTurb = GREAT;
        UTurb = vector::zero;
    }
Code:
const scalar epsilon =
        this->epsilonPtr_->internalField()[cellI] + ROOTVSMALL;
    const vector& gradk = this->gradkPtr_->internalField()[cellI];
In order to completly understand what I'm doing I need to know what this model is doing. Thanks a lot in advance!

Best,
Thomas
Dommy 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



All times are GMT -4. The time now is 13:06.