CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

atmNutSource

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2021, 05:23
Default atmNutSource
  #1
New Member
 
Join Date: Aug 2021
Posts: 1
Rep Power: 0
stratified is on a distinguished road
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?
stratified is offline   Reply With Quote

Old   September 24, 2021, 06:11
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
Hello,

looking at the source code https://develop.openfoam.com/Develop...atmNutSource.C

it seems so. You need a field name artnut

best

Michael
mAlletto is offline   Reply With Quote

Reply

Tags
artnut, atmnutsource, nut

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 22:17.