|
[Sponsors] |
December 12, 2019, 01:52 |
constructor of vanDriestDelta class
|
#1 |
New Member
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 7 |
Dear All:
When I look into the code of constructor of vanDriestDelta class, I am confused what geometricDelta_ is? And I don't know what the function geometricDelta_() means. Could anyone please give me some advice? Each reply would be appreciated. The code is as follwing: Foam::LESModels::vanDriestDelta::vanDriestDelta ( const word& name, const turbulenceModel& turbulence, const dictionary& dict ) : LESdelta(name, turbulence), geometricDelta_ ( LESdelta::New ( IOobject::groupName("geometricDelta", turbulence.U().group()), turbulence, // Note: cannot use optionalSubDict - if no *Coeffs dict the // code will get stuck in a loop attempting to read the delta entry // - consider looking up "geometricDelta" instead of "delta"? dict.subDict(type() + "Coeffs") ) ), kappa_(dict.lookupOrDefault<scalar>("kappa", 0.41)), Aplus_ ( dict.optionalSubDict(type() + "Coeffs").lookupOrDefault<scalar> ( "Aplus", 26.0 ) ), Cdelta_ ( dict.optionalSubDict(type() + "Coeffs").lookupOrDefault<scalar> ( "Cdelta", 0.158 ) ), calcInterval_ ( dict.optionalSubDict(type() + "Coeffs").lookupOrDefault<label> ( "calcInterval", 1 ) ) { delta_ = geometricDelta_(); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Undefined reference to custom class | cryabroad | OpenFOAM Programming & Development | 5 | July 3, 2018 03:21 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
Nested class and inheritance permissions | MMC15 | OpenFOAM Programming & Development | 0 | December 20, 2013 11:16 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
About UList and List class | leosding | OpenFOAM Running, Solving & CFD | 1 | December 2, 2005 00:52 |