|
[Sponsors] | |||||
interFoam ask for a value in a nutkRoughWallFunction |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Antonio
Join Date: Jan 2013
Posts: 11
Rep Power: 14 ![]() |
I have defined a rough wall bc using nutkRoughWallFunction, in this way (0/nut):
Code:
object nut;
[...]
boundaryField
{
wall
{
type nutkRoughWallFunction;
Ks uniform 0.0001;
Cs uniform 0.5;
}
Code:
Example of the boundary condition specification:
\verbatim
myPatch
{
type nutkRoughWallFunction;
Ks uniform 0;
Cs uniform 0.5;
}
\endverbatim
Code:
0/nut.boundaryField.wall from line 26 to line 28.
From function fvPatchField<Type>::fvPatchField(const fvPatch& p,const DimensionedField<Type, volMesh>& iF,const dictionary& dict,const bool valueRequired)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/fvPatchField.C at line 162.
FOAM exiting
Why is it asking for a value field, if the wall function does not need it? If I put any value, Would it be used for anything? I mean, if I add a "value uniform 0;", it won't influenced anything, will it? Thank you in advance! |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Olivier Benichou
Join Date: Sep 2010
Location: Brisbane
Posts: 10
Rep Power: 17 ![]() |
same problem here
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
|
It is just needed for the first iteration and will be overwritten afterwards, so just put uniform 0, or maybe a small value.
|
|
|
|
|
|
![]() |
| Tags |
| boundary condition, wall boundary condition |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 07:36 |
| interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
| Problem of InterFoam with LES SpalartAllmarasIDDES | keepfit | OpenFOAM | 3 | August 29, 2013 12:21 |
| Gravity & pressure handle in interFoam | dav.dap83 | OpenFOAM Programming & Development | 2 | May 22, 2013 12:21 |
| Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 22:58 |