minor cleanup of turbulence models
- added constructor dictionary(const dictionary*) that also handles NULL pointers and makes it convenient to construct from a possibly nonexistent sub-dictionary: eg, dictionary dict2(dict1.subDictPtr("someDict")); - make some of the turbulence Coeffs sub-dictionary optional. Their contents are all 'lookupOrAddDefault' anyhow. - in turbulentMixingLength BCs, skip namespace qualifier in template (eg, <RASModel> vs. <compressible::RASModel>) - change comments from 'turbulenceProperties' to RASProperties/LESProperties - consistency between compressible/incompressible - no separate file for 'New' selector etc - consistency in accessing the model coefficients. Use method coeffDict() for const access. Use protected data member coeffDict_ for read/write access. - document model coefficients in etc/constant/RASProperties. Need the same for LESProperties before we can prune these from the tutorials.
Showing
- applications/test/dictionary/dictionaryTest.C 8 additions, 1 deletionapplications/test/dictionary/dictionaryTest.C
- etc/constant/RASProperties 235 additions, 0 deletionsetc/constant/RASProperties
- src/OpenFOAM/db/dictionary/dictionary.C 14 additions, 0 deletionssrc/OpenFOAM/db/dictionary/dictionary.C
- src/OpenFOAM/db/dictionary/dictionary.H 4 additions, 0 deletionssrc/OpenFOAM/db/dictionary/dictionary.H
- src/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.C 29 additions, 0 deletionssrc/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.C
- src/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H 4 additions, 4 deletionssrc/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H
- src/turbulenceModels/LES/LESdeltas/LESdelta/newDelta.C 0 additions, 70 deletionssrc/turbulenceModels/LES/LESdeltas/LESdelta/newDelta.C
- src/turbulenceModels/LES/LESdeltas/Make/files 0 additions, 1 deletionsrc/turbulenceModels/LES/LESdeltas/Make/files
- src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.C 29 additions, 0 deletionssrc/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.C
- src/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H 2 additions, 2 deletionssrc/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H
- src/turbulenceModels/LES/LESfilters/LESfilter/newFilter.C 0 additions, 69 deletionssrc/turbulenceModels/LES/LESfilters/LESfilter/newFilter.C
- src/turbulenceModels/LES/LESfilters/Make/files 1 addition, 2 deletionssrc/turbulenceModels/LES/LESfilters/Make/files
- src/turbulenceModels/compressible/LES/DeardorffDiffStress/DeardorffDiffStress.C 2 additions, 2 deletions...ompressible/LES/DeardorffDiffStress/DeardorffDiffStress.C
- src/turbulenceModels/compressible/LES/DeardorffDiffStress/DeardorffDiffStress.H 1 addition, 1 deletion...ompressible/LES/DeardorffDiffStress/DeardorffDiffStress.H
- src/turbulenceModels/compressible/LES/GenEddyVisc/GenEddyVisc.C 1 addition, 1 deletion...rbulenceModels/compressible/LES/GenEddyVisc/GenEddyVisc.C
- src/turbulenceModels/compressible/LES/GenEddyVisc/GenEddyVisc.H 1 addition, 1 deletion...rbulenceModels/compressible/LES/GenEddyVisc/GenEddyVisc.H
- src/turbulenceModels/compressible/LES/GenSGSStress/GenSGSStress.C 1 addition, 1 deletion...ulenceModels/compressible/LES/GenSGSStress/GenSGSStress.C
- src/turbulenceModels/compressible/LES/GenSGSStress/GenSGSStress.H 1 addition, 1 deletion...ulenceModels/compressible/LES/GenSGSStress/GenSGSStress.H
- src/turbulenceModels/compressible/LES/LESModel/LESModel.C 58 additions, 2 deletionssrc/turbulenceModels/compressible/LES/LESModel/LESModel.C
- src/turbulenceModels/compressible/LES/LESModel/LESModel.H 6 additions, 5 deletionssrc/turbulenceModels/compressible/LES/LESModel/LESModel.H
Please register or sign in to comment