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

constructor of vanDriestDelta class

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2019, 01:52
Default constructor of vanDriestDelta class
  #1
New Member
 
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 7
Samuel Twain is on a distinguished road
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_();
}
Samuel Twain is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 04:01.