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, 11:07
Default refineWallLayer error after upgrading
  #1
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 13
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, 04: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, 16:21
Default
  #3
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 13
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 12:04
[mesh manipulation] refineWallLayer - error dodobenq OpenFOAM Meshing & Mesh Conversion 3 December 1, 2019 08:17
refineWallLayer cellZone preservation workaround jameswilson620 OpenFOAM 0 May 10, 2016 11:56
[snappyHexMesh] snappyHexMesh and refineWallLayer Claudio OpenFOAM Meshing & Mesh Conversion 0 June 20, 2013 14:36
Symbol lookup error after upgrading to 2.1.1 ChrisA OpenFOAM Programming & Development 2 March 6, 2013 21:38


All times are GMT -4. The time now is 13:01.