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

Lambda2 in OpenFOAM utilities

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

Like Tree5Likes
  • 3 Post By haakon
  • 2 Post By cheng1988sjtu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2013, 10:22
Default Lambda2 in OpenFOAM utilities
  #1
Member
 
Charlie
Join Date: Dec 2010
Location: USA
Posts: 85
Rep Power: 15
cheng1988sjtu is on a distinguished road
Hi Foamers,

I've got confused by the output of the utility "Lambda2" in openFOAM,

When I typed the command Lambda2 in OpenFOAM, the output information is like the following:

reading U 20
writing -Lambda2

My question is the values written is Lambda2 or - lambda2? Thanks very much!!

Charlie
cheng1988sjtu is offline   Reply With Quote

Old   April 30, 2013, 11:08
Default
  #2
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
Let's have a look in applications/utilities/postProcessing/velocityField/Lambda2/Lambda2.C:
Code:
        volScalarField Lambda2
        (
            IOobject
            (
                "Lambda2",
                runTime.timeName(),
                mesh,
                IOobject::NO_READ,
                IOobject::NO_WRITE
            ),
            -eigenValues(SSplusWW)().component(vector::Y)
        );
To me it appears as if it writes -lambda2.
Yann, beatlejuice and kcavatar like this.
haakon is offline   Reply With Quote

Old   April 30, 2013, 11:57
Default
  #3
Member
 
Charlie
Join Date: Dec 2010
Location: USA
Posts: 85
Rep Power: 15
cheng1988sjtu is on a distinguished road
Hi Haakon,

Thanks a lot, I think you are right, if we compare the Q with Lambda2, we could also confirm that the command Lambda2 is writing -Lambda2, Thanks!

Best

Charlie
Yann and kcavatar like this.
cheng1988sjtu is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need description of utilities in openfoam Cloudy1988 OpenFOAM Post-Processing 1 November 6, 2012 17:08
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 14:14
Testing of OpenFOAM 1.3alpha Commenced OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 February 7, 2006 08:31
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 08:14


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