|
[Sponsors] |
September 22, 2021, 05:23 |
atmNutSource
|
#1 |
New Member
Join Date: Aug 2021
Posts: 1
Rep Power: 0 |
Hi all,
I am running a case for a thermally stratified atmospheric boundary layer and having trouble with the turbulent kinetic energy, possibly due to the nut wall function (atmNutkWallFunction). I had a look at the source term atmNutSource which can add/subtract an artificial nut. It apparently requires and artificial nut field. Has anyone here tried using atmNutSource or are there any examples of how to use it? When adding the term to fvOptions as suggested in the documentation: atmNutSource1 { // Mandatory entries (unmodifiable) type atmNutSource; atmNutSourceCoeffs { // Mandatory (inherited) entries (unmodifiable) selectionMode all; // Optional entries (unmodifiable) nut artNut; } } The resulting error code is: [3] --> FOAM FATAL ERROR: (openfoam-2012) [3] Unable to find artificial turbulent viscosity field. atmNutSource requires an artificial nut field. Is this meant to be an additional boundary field for artNut in the 0-folder? |
|
September 24, 2021, 06:11 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
Hello,
looking at the source code https://develop.openfoam.com/Develop...atmNutSource.C it seems so. You need a field name artnut best Michael |
|
Tags |
artnut, atmnutsource, nut |
|
|