CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

refineWallLayer error after upgrading

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By pbalz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2017, 10:07
Default refineWallLayer error after upgrading
  #1
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 12
wildfire230 is on a distinguished road
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
wildfire230 is offline   Reply With Quote

Old   October 27, 2017, 03:35
Default
  #2
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
Hi wildfire,

the correct syntax is as follows:
Code:
refineWallLayer "(topWall)" 0.5
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Old   October 27, 2017, 15:21
Default
  #3
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 12
wildfire230 is on a distinguished road
Great, thanks so much!
wildfire230 is offline   Reply With Quote

Reply

Tags
openfoam-5.0, refinewalllayer


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
[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


All times are GMT -4. The time now is 08:40.