|
[Sponsors] |
January 24, 2019, 06:04 |
|
#21 |
Member
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 8 |
I found the problem. I had to give the boundary data for the whole height of the inlet patch, starting from zero to the maximum height.
Now it works. |
|
March 18, 2019, 06:21 |
|
#22 |
New Member
Lina Nikolaidou
Join Date: Oct 2018
Location: Delft, Netherlands
Posts: 3
Rep Power: 8 |
Hi everyone,
I am interested in using the turbulentDFSEMInlet condition as inlet velocity boundary condition for my LES simulation. Since I have no experimental data at the inlet, I am generating the necessary boundaryData file from a RANS simulation. My question is how can I generate the L data? I know I can do sth like: Code:
inlet { ... L uniform 0; nCellsPerEddy 3 ... } I am using OF v.1812 Kind regards, Lina |
|
March 18, 2019, 07:41 |
|
#23 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
you have to provide a file with the name L in the same folder as you store U and R. The format is the same but of course L is a scalar. You can find an example in tutorials/incompressible/pimpleFoam/LES/channel395DFSEM
You can use the turbulent length scale computed from RANS. This quantity of course depends on the turbulent model you use. For a k-epsilon model you find the formula here https://www.cfd-online.com/Wiki/Turbulence_length_scale |
|
March 18, 2019, 08:13 |
|
#24 |
New Member
Lina Nikolaidou
Join Date: Oct 2018
Location: Delft, Netherlands
Posts: 3
Rep Power: 8 |
Hi Michael,
Thanks for your response. Yes I am trying to generate R,U, and L files for my case, like these available in the tutorials/incompressible/pimpleFoam/LES/channel395DFSEM. In my RANS simulation, I am storing UMean (for U file) and UPrime2Mean (for R file) data in a patch, to be used as inlet data in my LES simulation. Do you know how I can generate in the same time the turbulent length scale data in the same patch? Is there a field for that? Or should I define the equation I want (in accordance with my turbulence model) somewhere? Kind regards, Lina |
|
March 20, 2019, 12:53 |
|
#25 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
In the turbulence model I used (k-epsilon and k-omegaSST) there is no field stored for the turbulent length scale. What I did is to read k end epsilon from the text file stored by OF and convert it in a small python script manually to the files desired. It is not a lot of work.
There may be other more elegant solutions of course. Best Michael |
|
July 11, 2019, 18:15 |
|
#26 |
New Member
Lina Nikolaidou
Join Date: Oct 2018
Location: Delft, Netherlands
Posts: 3
Rep Power: 8 |
Hi Everyone,
Any update regarding the error in this boundary condition leading to very high velocities? Any suggestion on how to solve it? I encountered this error too and found similar problematic results as reported previously in this thread. Kind regards, Lina |
|
July 12, 2019, 09:57 |
|
#27 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Unfortunately not but there is a new synthetic turbulence boundary condition available in the newest OF version:
https://www.openfoam.com/releases/op...digital-filter |
|
October 22, 2019, 03:27 |
|
#28 |
New Member
zein elserfy
Join Date: May 2018
Posts: 25
Rep Power: 8 |
is there any updates about high velocity at the inlet compared to the mean velocity ??
Have anyone tried the new inlet boundary condition (digital filter)? |
|
December 4, 2019, 10:48 |
|
#29 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 7 |
I everyone!
I came across this thread and and I relate to the same issue about the ''turbulentDFSEMInlet'' Inlet type. First issue, I got higher velocity value at the Inlet compare of what my data are in the ''U'' file (see picture and text file in attachment for comparison). I notice that the value look fine at the left corner of the domain but don't spread correctly on the Inlet surface? Even though the data for the whole Inlet surface is provided in the ''U'' file. Second issue, if I use the file I created in the directory /constant/boundaryData/Inlet/0, it doesn't work. Still try to figured out how many row (strings) the file need to match the Inlet cells. I looked the tutorial's files, tried several options, and it's still don't work if I use this way to map the Inlet field. How you figured this out ssa_cfd? Did you get the same issue about higher velocity afterward? I did try the new ''turbulentDigitalFilter'' type, but I wasn't able to know if I would got the same issue about the velocity at the Inlet since I got the same issue using the file in the /constant directory. Anyone can help? Thank you very much! Best Regards, |
|
February 20, 2020, 10:42 |
|
#30 | |
Member
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 8 |
Quote:
I'm also using this inlet Boundary conditions, and i just noticed that you have specified the Reynolds stress explicitly in every component. I'm wondering how did you get these values? Do you have an emplical formula? Or just use k as Reynolds stress, like we used in RANS. Best regards, Gang Wang |
||
February 20, 2020, 12:27 |
|
#31 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
There is a postprocessing utility in OF which calculates R.
|
|
February 20, 2020, 13:05 |
|
#32 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
>> Hi,, I have the same problem. It stops at PIMPLE Iteration 1. There is no error nothing.
It was a bug in the eigendecomposition engine (the bug was not inside the DFSEM). If you can use the develop branch, the hanging will go away, since the bug-fix is in the develop-branch at the time of writing.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 20, 2020, 16:06 |
|
#33 |
Member
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 8 |
||
February 20, 2020, 19:18 |
|
#34 |
Member
Gang Wang
Join Date: Oct 2019
Location: China
Posts: 64
Rep Power: 8 |
||
February 21, 2020, 03:12 |
|
#35 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
I run a channel sì.ulation with a k epsilon model and extracted the data from that
|
|
March 24, 2020, 16:13 |
Understanding of the OpenFOAM implementation of DFSEM
|
#36 |
New Member
Zahra Seifollahi
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
Hello,
I am trying to understand the input parameters of DFSEM in OpenFOAM, according to the original model development in the paper by Polleto et al. (2013). I am not quite sure about my understanding and I appreciate any comments about my concerns. As much as I was able to comprehend, there are certain input parameters in OpenFOAM as R, L, U, delta, nCellsPerEddy and mapMethod. My questions are: • Does delta value correspond to the value of Ω in the paper which is the user inlet surface selection? Or this is only to limit the eddy length scales? • In the OpenFOAM implementation of the model, it seems that the method is limited by the number of mesh cells per eddy. Is this an issue in the original model as well? I mean the value of the N in the paper, should be defined based on the number of cells at the inlet surface? • My next question is, if we provide one value for L, how the code understand swhich axis is that to calculate the length scales at other axes? • I am not quite sure about how the model uses the Reynolds stress field to generate inlet fluctuations according to the equations in the paper. Can somebody more elaborate on that? • By using the 3 and 5 values for nCellsPerEddy for the channel flow LES calculation at friction Reynolds number of 395, I got worse results for the downstream development of the <U> and <u’u’>. I attached my results. It seems to me that there should be an optimum value for this parameter for each mesh. I would appreciate comments about this issue. Thank you very much, Kind regards Zahra U.jpg uu.jpg |
|
March 24, 2020, 19:16 |
|
#37 | |
New Member
Raul Ciria Aylagas
Join Date: Jan 2018
Location: Madrid, Spain
Posts: 6
Rep Power: 8 |
Quote:
I'm also trying to understand better this BC. From the paper you can see that the turbulent length scale is bounded by the channel height multiplied by the von karman constant. In the DFSEM BC delta is the value used to limit the length scale. It corresponds to the channel height in the paper, but you can adjust it depending on your case. I understand that the nCellsPerEddy variable is just meant to impose a lower bound to the length scale to create only eddies that can be advected downwind. It will only change the eddies parameters when your mesh is too coarse to resolve the prescribed length scale, otherwise it shouldn't have an effect on the simulation. Regards Raul |
||
March 25, 2020, 09:02 |
|
#38 |
New Member
Join Date: Feb 2020
Posts: 12
Rep Power: 6 |
Are there updates about this BC? Is it reliable/usable or are there still issues related with too high velocity fluctuations?
|
|
March 25, 2020, 21:48 |
|
#39 | |
New Member
Zahra Seifollahi
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
Quote:
Thank you for your feedback. To me, it seems that nCellsPerEddy should be a parameter to control the eddy density parameter mentioned in the paper (d), but it seems that in OpenFOAM implementation we only have this parameter to control the eddy density. It is not very straightforward to understand although. I hope we can get more into this BC through this forum. Regards, Zahra |
||
March 25, 2020, 21:54 |
|
#40 |
New Member
Zahra Seifollahi
Join Date: Sep 2016
Posts: 5
Rep Power: 10 |
||
|
|