|
[Sponsors] |
New library for wall-modelled LES with OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 17, 2018, 14:04 |
New library for wall-modelled LES with OpenFOAM
|
#1 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Dear all,
For some years now, me and my colleagues have been working on implementing a library of wall models for LES, expanding the native capabilities of OpenFOAM. In the latest release, v0.4.0, we have added support for the latest versions of OpenFOAM, both Foundation and OpenCFD releases. It is thus a good time-point to (re-)introduce the code to the community. The library can be found here https://bitbucket.org/lesituu/libwallmodelledles The README file provides quite a bit of information about what the library does, I copy the Key features section below
https://arxiv.org/abs/1807.11786 More works using the library can be found in the end of the README. For obvious reasons, it has not be possible to thoroughly validate the code using all the supported OF versions. Therefore any issues with compilations and running are very welcome to be reported. Please also feel free to contact me regarding any possible collaborations, WMLES is becoming a hot topic, and joining forces is usually of benefit. |
|
February 8, 2019, 09:26 |
|
#2 |
Member
Join Date: Apr 2011
Posts: 57
Rep Power: 15 |
Hi Timofey,
Really great work with this! I've been playing around with it and have been pleased with my early testing. Thanks so much for making this publically available to the community. Is there a foam-extend version available or in the works? |
|
February 8, 2019, 10:22 |
|
#3 | |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Quote:
Hi! Great to hear that it's working out for you. foam-extend support is not really in the making at the moment. Unfortunately, I have no experience with that fork, but I can imagine that for someone who does it would be pretty easy to make the adjustments! In any case, the fact that you request it is a push towards me considering to spend time on it . It won't be quick though, since I have other developments in the pipeline, which have higher priority. |
||
April 11, 2019, 06:00 |
|
#4 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
The published version of the article describing the library can be downloaded for free until may the 30th by following this link
https://authors.elsevier.com/a/1Ysl32OInZsxl |
|
August 1, 2019, 10:10 |
|
#5 |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
I've just tagged v0.5.0 on Bitbucket. Some highlights
- Unit and integration tests. - Stability improvements - Code refactoring for better testebility and extensibility. - Multicell sampling is included as a "beta version", currently not used by any wall models. |
|
May 22, 2020, 02:03 |
|
#6 |
New Member
Tommy
Join Date: May 2020
Location: United States
Posts: 6
Rep Power: 6 |
Hi Timofey,
Many thanks for making this available. I am running into an issue with the parallel decomposition of the h value on the wall. The case is an airfoil in freestream flow. After the mesh decomposition, the processor0 folder shows an h value of "0" on the airfoil boundary, although it is set to the 2nd off the wall cell distance in the 0 folder. This seems to be triggering this warning in the log file: "SingleCellSampler: max(h) is -1e+300 but no cell centres within distance 2*max(h) were found. Will sample from wall-adjacent cells" h is being correctly set in the other processor folders - the ones which the airfoil wall resides on. But I am not sure those values are being used in the calculation. Thanks! Tommy |
|
May 22, 2020, 14:54 |
|
#7 | |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Quote:
Hi Tommy, Glad to see you pick up the library. I think you might be the first to use it for external flows, so I'm excited to see how it goes. Do I understand correctly that the wall boundary has no faces on processor0? In that case you don't have to worry about it. In any case, I would do the following. Open the case in Paraview, and under Case Type, select Decomposed Case. This way you actually open the parallelized data. If you load in the data for your wall patch you can directly inspect your h values. To be 100% sure what cells are used for sampling, you can run the simulation for 1 time-step and save the data. There will be a samplingCells field, which marks the cells that are used for sampling. The value that they get should be equal to the index of the patch, whereas for the rest of the cells the value is set to -1. It is highly possible that you can just ignore the warning about the h values, I am pretty sure it sometimes prints that for no reason, but I hadn't had the time to fix that---to busy with other projects. Best, Timofey |
||
May 27, 2020, 15:44 |
|
#8 |
New Member
Tommy
Join Date: May 2020
Location: United States
Posts: 6
Rep Power: 6 |
Hi Timofey
Yes, there are no wall boundary faces on processor0, but when inspecting the decomposed "h" files and the samplingCells as you said I can see that the sampling cells are correct. Thanks for clearing that up! I just wanted to be extra sure before starting the grid study with a fixed h value. -Tommy |
|
June 18, 2020, 15:56 |
|
#9 |
New Member
Tommy
Join Date: May 2020
Location: United States
Posts: 6
Rep Power: 6 |
Hi Timofey,
I am having an issue with the sampling cells now falling on a different processor than the wall faces. It seems to happen when I use h >2 (the attached image is h=4). I read in your paper that it will default to sample from the wall adjacent cell in these cases, and at these cells I am seeing spikes in the wall shear stress. It is a relatively large number of points, as I am needing the mesh decomposed into ~120-160 processors due to the large grid count. I was wondering if you had advice on a decomposition method that could avoid this, I am using scotch currently, or if there might be another work around to this? Thank you! Tommy |
|
May 19, 2021, 05:19 |
OF8 compile error
|
#10 |
New Member
Ali Amarloo
Join Date: Aug 2018
Posts: 9
Rep Power: 8 |
Hi Timofey,
I wanted to compile the library on OF8. Just to let you know, apparently they have changed the "turbulenceModels" to "momentumTransport" and they moved some files in src folders. So latest version of your library (0.5.1) cannot be compiled and I have errors like this: wmakeLnInclude error: base directory /OpenFOAM-8/src/transportModels/incompressible/ does not exist that folder is moved to src/momentumTransport. or: sgsModels/makeSGSModel.C:20:43: fatal error: IncompressibleTurbulenceModel.H: No such file or directory #include "IncompressibleTurbulenceModel.H" There is not such a file in of8 and it is changed to IncompressibleMomentumTransportModel.H |
|
May 19, 2021, 05:30 |
|
#11 | |
Senior Member
Timofey Mukha
Join Date: Mar 2012
Location: Stockholm, Sweden
Posts: 119
Rep Power: 14 |
Quote:
|
||
Tags |
les, wall modelling |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up LES of Airfoil in OpenFoam | Jack001 | OpenFOAM | 4 | April 12, 2020 04:09 |
LES models in OpenFOAM | The King | OpenFOAM Running, Solving & CFD | 0 | April 1, 2017 11:19 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
Serious bug in LES interface | fs82 | OpenFOAM Bugs | 21 | November 16, 2009 09:15 |