|
[Sponsors] |
October 29, 2007, 03:29 |
Hello Forum,
In directory "
|
#25 |
Member
Alessandro Spadoni
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 65
Rep Power: 17 |
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 |
|
|
|
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 |