CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

refineWallLayer - error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2015, 05:44
Default refineWallLayer - error
  #1
New Member
 
Dominik
Join Date: Oct 2015
Location: Stuttgart
Posts: 8
Rep Power: 2
dodobenq is on a distinguished road
Hey Guys!

I want to refine my Mesh near the patch "cylinder". When I type in the following command
Code:
refineWallLayer -overwrite cylinder 0.3
this error appears:
Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0



--> FOAM FATAL IO ERROR: 
incorrect first token, expected <int> or '(', found on line 0 the word 'cylinder'

file: IStringStream.sourceFile at line 0.

    From function operator>>(Istream&, List<T>&)
    in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/ListIO.C at line 149.

FOAM exiting
Does anybody know, what am I doing wrong?

Kind Regards!
dodobenq is offline   Reply With Quote

Old   October 7, 2015, 04:48
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 265
Rep Power: 11
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi, the correct syntax would be:

Code:
refineWallLayer -overwrite '(cylinder)' 0.3
I got this from the hint " expected <int> or '(' " that the error message gave and just tested it on the cavity tutorial.

Regards,
Tom
tomf is offline   Reply With Quote

Old   October 7, 2015, 07:13
Default
  #3
New Member
 
Dominik
Join Date: Oct 2015
Location: Stuttgart
Posts: 8
Rep Power: 2
dodobenq is on a distinguished road
Worked well! Thanks
dodobenq is offline   Reply With Quote

Reply

Tags
refinewalllayer

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
blockMesh with double grading. spwater OpenFOAM Native Meshers: blockMesh 85 October 11, 2015 09:03
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 2 August 30, 2013 07:42
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 03:24.