|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 13 ![]() |
Hi all,
I recently upgraded to OpenFOAM 5.0 and I am trying to use the refineWallLayer utility. I have a relatively simple mesh. Both blockmesh and icoFoam run successfully. When I try to use refineWallLayer on, for example, a patch called "topWall" with the command "refineWallLayer topWall 0.5", I receive the following error: --> FOAM FATAL IO ERROR: incorrect first token, expected <int> or '(', found on line 0 the word 'topWall' file: IStringStream.sourceFile at line 0. From function operator>>(Istream&, List<T>&) in file /home/user/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude/ListIO.C at line 149. Does anyone know how to fix this problem? Note, that I also have the same problem when I use my OpenFoam-3.0.1 installation instead. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11 ![]() |
Hi wildfire,
the correct syntax is as follows: Code:
refineWallLayer "(topWall)" 0.5
__________________
Regards, Pascal |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 13 ![]() |
Great, thanks so much!
|
|
![]() |
![]() |
![]() |
Tags |
openfoam-5.0, refinewalllayer |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
[mesh manipulation] refineWallLayer - error | dodobenq | OpenFOAM Meshing & Mesh Conversion | 3 | December 1, 2019 07:17 |
refineWallLayer cellZone preservation workaround | jameswilson620 | OpenFOAM | 0 | May 10, 2016 10:56 |
[snappyHexMesh] snappyHexMesh and refineWallLayer | Claudio | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2013 13:36 |
Symbol lookup error after upgrading to 2.1.1 | ChrisA | OpenFOAM Programming & Development | 2 | March 6, 2013 20:38 |