CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Problem with NuT

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By fumiya
  • 1 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2020, 14:44
Question Problem with NuT
  #1
Member
 
Join Date: Nov 2018
Posts: 39
Rep Power: 7
MaySea is on a distinguished road
Hi, I am trying to simulate a turbulent PIMPLE flow. I am using OpenFoam6.

I am getting this error:

--> FOAM FATAL IO ERROR:
Essential entry 'value' missing

file: /home/jan/0/nut.boundaryField.barkley from line 52 to line 54

nut is defined like this:

Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
south
{
type calculated;
value uniform 0;
}
east
{
type calculated;
value uniform 0;
}

watersurface
{
type slip;
}

north
{
type zeroGradient;
}

west
{
type zeroGradient;
}

barkley
{
type nutkRoughWallFunction;
Ks uniform 0.000755;
Cs uniform 0.5;
}
}



// ************************************************** *********************** //

Does anyone have any idea?
Thanks,
Jan
MaySea is offline   Reply With Quote

Old   September 19, 2020, 22:08
Default
  #2
New Member
 
Join Date: Jul 2020
Posts: 25
Rep Power: 5
DeadLee is on a distinguished road
I can't see it there but usually this error is due to a missing colon, a line that is commented out accidentally etc. Is it possible you're missing a parameter or two in barkley?
DeadLee is offline   Reply With Quote

Old   September 20, 2020, 02:34
Default
  #3
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
--> FOAM FATAL IO ERROR:
Essential entry 'value' missing

file: /home/jan/0/nut.boundaryField.barkley from line 52 to line 54

The above message shows that value entry is missing in the following:

barkley
{
type nutkRoughWallFunction;
Ks uniform 0.000755;
Cs uniform 0.5;
value uniform 0;
}

Hope this helps,
Fumiya
MaySea likes this.
__________________
[Personal]
fumiya is offline   Reply With Quote

Old   September 20, 2020, 13:23
Default
  #4
Member
 
Join Date: Nov 2018
Posts: 39
Rep Power: 7
MaySea is on a distinguished road
Hi Fumiya,

Thanks I will try running it with the value entrance. I understood the error, what I don't understand is that the documentation doesn't say that value needs to be specified for this OF version. Only Ks and Cs

Code:
  Example of the boundary condition specification:                                                                                                                    
    \verbatim                                                                                                                                                           
    <patchName>                                                                                                                                                         
    {                                                                                                                                                                   
        type            nutkRoughWallFunction;                                                                                                                          
        Ks              uniform 0;                                                                                                                                      
        Cs              uniform 0.5;                                                                                                                                    
    }
MaySea is offline   Reply With Quote

Old   September 22, 2020, 02:07
Default
  #5
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi MaySea,

The value entry is necessary because the nutkRoughWallFunctionFvPatchScalarField class
is inherited from the fixedValueFvPatchScalarField class.
I understand that the value is only a place holder for nutkRoughWallFunction
and does not have any effect to simulation results.

Hope this helps,
Fumiya
MaySea likes this.
__________________
[Personal]
fumiya is offline   Reply With Quote

Reply

Tags
nut, nutilda, openfoam, pimple


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is COMSOL Multi Physics is suitable to solve complex flow problem? steve lee COMSOL 8 January 5, 2023 02:31
Mesh& steptime independant: conduction-convection problem Fati1 Main CFD Forum 1 October 28, 2018 13:52
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 09:39.