CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] refineWallLayer - error

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2015, 06:44
Default refineWallLayer - error
  #1
New Member
 
Dominik
Join Date: Oct 2015
Location: Stuttgart
Posts: 8
Rep Power: 11
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, 05:48
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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, 08:13
Default
  #3
New Member
 
Dominik
Join Date: Oct 2015
Location: Stuttgart
Posts: 8
Rep Power: 11
dodobenq is on a distinguished road
Worked well! Thanks
dodobenq is offline   Reply With Quote

Old   December 1, 2019, 08:17
Default
  #4
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Hello All,

I just stated to use the refineWallLayer utility, this worked for me too also. But just wondering what is the suffix, 0.5 ? Could I use any other number like, 0.7, 0.9 etc? Particularly what is the significance of this number. It will be a great help if you could explain this.


Thanks a lot !
chandra shekhar pant is offline   Reply With Quote

Reply

Tags
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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 18:35.