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

Differences OpenFOAM12 and OpenFOAM13

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 29, 2007, 03:29
Default Hello Forum, In directory "
  #25
Member
 
Alessandro Spadoni
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 65
Rep Power: 17
gtg627e is on a distinguished road
Hello Forum,

In directory "applications/utilities/postProcessing/miscellaneous/liftDrag/liftDrag.C

I see the follwing call:

-------------------------------------------------------------

Info<< "Wall patch " << patchI
<< " named " << patches[patchI].name() << " : " << nl
<< "Reference area: " << Aref
<< " Reference length: " << Lref
<< " Drag coefficient: "
<< dragCoefficient
(
U,
p,
nu,
patches[patchI].name(),
Uav,
Aref

)

------------------------------------------------------------------

but in file

../src/postProcessing/incompressible/liftDrag/liftDrag.C

I see that I can also compute turbDragCoefficient.

Following the above example for the drag coefficient I can call:


scalar turbDragCoefficient
(
const autoPtr<foam::turbulencemodel>& turbulence,
const volVectorField& U,
const volScalarField& p,
const dimensionedScalar& mu,
const word& patchName,
const vector& Uinf,
const scalar& Aref
);

My questions are:

1. How do I specify the input const autoPtr<foam::turbulencemodel>& turbulence?

2. is mu the same as nu? It seems so in the first file I mentioned above.

Thank you again,

Alessandro
gtg627e 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
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
Help%7e%7einstall openfoam13 on fc5%7e%7e aderliner OpenFOAM Installation 2 September 11, 2006 07:24
Must I unzip the OpenFOAM12linuxGcc4Opt file before I installcompile OpenFOAM12 andycong OpenFOAM Installation 3 March 9, 2006 07:57
1 fetal error in OpenFOAM12 installation andycong OpenFOAM Installation 3 February 26, 2006 03:09
OpenFoam12 on a linux cluster tsjb00 OpenFOAM Installation 5 September 10, 2005 19:44


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