ENH: turbulentDFSEMInlet: various improvements
Summary
- ENH: Input entries of
R
,L
andU
are nowPatchFunction1
type. - ENH: Adds two scalar normalisation factors for input
R
,L
andU
:Uref
andLref
(default=1). - ENH: Adds a scalar factor to enable users to tune the C1 normalisation coefficient:
scale
(default=1). - BUG: MappedFile: separates scopes of entries.
- TUT: Replaces
chan395DFSEM
andPCF
tutorials withplaneChannel
andoneCellThickPlaneChannel
tutorials.- Corrects the integral-length scale input files.
- Updates the Extended Code Guide's channel flow case, and allows users to reproduce the results.
Resolved bugs (If applicable)
#2098 (closed) #2097 (closed) #2090 #1004 #1744 #2089 (closed)
Details of new models (If applicable)
A set of results obtained from the planeChannel
tutorial (and its plot script available to users) with a different set of settings can be seen below:
Ruv vs y
u vs y
Ruu vs y
x vs Cf
Rvv vs y
Rww vs y
Risks
User input
Users (my apologies) will have to change the input syntax for R
, L
and U
entries. For example, for reading the input files in constant/boundaryData/inlet/0/
, users were using the following minimal syntax:
inlet
{
type turbulentDFSEMInlet;
delta 1;
mapMethod nearestCell;
value $internalField;
}
For the same effect, one of the syntax examples could be as follows:
inlet
{
type turbulentDFSEMInlet;
delta 1;
U mappedFile;
R mappedFile;
L mappedFile;
mapMethod nearest;
value $internalField;
}
or as follows:
inlet
{
type turbulentDFSEMInlet;
delta 1;
U
{
type mappedFile;
mapMethod nearest;
}
R
{
type mappedFile;
mapMethod nearest;
}
L
{
type mappedFile;
mapMethod nearest;
}
value $internalField;
}
Users can, however, use any of the PatchFunction1
input syntax exemplified in this link and this link.
Regressions
The default value ofnCellPerEddy
entry was changed from 5 to 1, which is the default value corresponding to the original journal paper.- The default value of
nCellPerEddy
entry was kept the same as 5.
Remaining issues
- Arguably, the DFSEM method has various theoretical issues that need to be addressed (see #2090). We have been trying to reach the originators of the method during the last couple of years; and we will continue our efforts, if possible, to cooperate with them to resolve some of these issues.
Merge request reports
Activity
changed milestone to %v2106
added bug enhancement tutorial labels
Looks good
Re: length scales and the
nCellPerEddy
entry, the current value of 5 was a result of communications with Ruggero:The discussion about length-scale is important, and to be honest, most of the time I studied it in order more from a theoretical point of view rather than practical. My main issue was reproducing any given profiles of Reynolds tensor and for this I picked the length scale. To be honest, the best way would be to force the eddies to be at least few grid spaces wide (5÷7) in order to pick their fluctuations more completely. I must admit that during my PhD I did not go any further than this.
added 17 commits
-
21655da1...9a3d27e3 - 14 commits from branch
develop
- 7dd0fe0d - BUG: MappedFile: ensure separate entry scopes
- ea230a38 - ENH: turbulentDFSEMInlet: refactoring by PatchFunction1
- 0a935778 - TUT: turbulentDFSEMInlet: update DFSEM tutorials for PatchFunction1
Toggle commit list-
21655da1...9a3d27e3 - 14 commits from branch
added 42 commits
-
0a935778...d5a8ca56 - 39 commits from branch
develop
- ac1a06c6 - BUG: MappedFile: ensure separate entry scopes (fixes #2098 (closed))
- 36fe94a8 - ENH: turbulentDFSEMInlet: refactoring by PatchFunction1
- de90686e - TUT: turbulentDFSEMInlet: update DFSEM tutorials (fixes #2097 (closed))
Toggle commit list-
0a935778...d5a8ca56 - 39 commits from branch
added Ready label
added 1 commit
- 1799c146 - TUT: turbulentDFSEMInlet: update DFSEM tutorials (fixes #2097 (closed))
added 26 commits
-
1799c146...48cdf552 - 23 commits from branch
develop
- b74e1004 - BUG: MappedFile: ensure separate entry scopes (fixes #2098 (closed))
- 53a35713 - ENH: turbulentDFSEMInlet: refactoring by PatchFunction1
- 0dc2f712 - TUT: turbulentDFSEMInlet: update DFSEM tutorials (fixes #2097 (closed))
Toggle commit list-
1799c146...48cdf552 - 23 commits from branch
testLoopReport.gz: PASS
Edited by Kutalmış Berçinadded 5 commits
-
0dc2f712...53f6431c - 2 commits from branch
develop
- c6759692 - BUG: MappedFile: ensure separate entry scopes (fixes #2098 (closed))
- b9c17431 - ENH: turbulentDFSEMInlet: refactoring by PatchFunction1
- f5fe3711 - TUT: turbulentDFSEMInlet: update DFSEM tutorials (fixes #2097 (closed))
Toggle commit list-
0dc2f712...53f6431c - 2 commits from branch
mentioned in commit 88f7dd73