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

polyMesh problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 12, 2011, 07:44
Default polyMesh problem
  #1
New Member
 
anonymous
Join Date: Apr 2011
Posts: 2
Rep Power: 0
Arenio is on a distinguished road
cavity tutorial:
I tipped blockMesh and following occured:

Failed writing polyMesh.
From function blockMesh
in file genBlockMesh.C at line 303.

Thanks
Arenio is offline   Reply With Quote

Old   January 4, 2012, 00:46
Question polymesh writing failed
  #2
New Member
 
kirubha
Join Date: Jan 2012
Posts: 4
Rep Power: 5
kirubhakaran is on a distinguished road
i cant able to create the blockmesh in OPENFOAM it showing like polymesh cant be written i made display the error in which is displayed in the terminal
. actually i tried with a tutorial problem were i cant able to find the solution of it. actually i tried it in openFoam/tut/incompressible/iofoam/cavity only.


Creating block mesh from
"/opt/openfoam201/tutorials/incompressible/icoFoam/cavity/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology

Check topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 6
Number of defined boundary faces : 6
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 0.1

Writing polyMesh


--> FOAM FATAL ERROR:
Failed writing polyMesh.

From function blockMesh
in file blockMeshApp.C at line 336.

FOAM exiting
kirubhakaran is offline   Reply With Quote

Old   January 4, 2012, 03:01
Default
  #3
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Do you have root permissions on this system? I.e. do you have write access in /opt?
Bernhard is offline   Reply With Quote

Old   March 8, 2012, 12:17
Default
  #4
New Member
 
Prashant Gupta
Join Date: Mar 2011
Location: Edinburgh
Posts: 29
Rep Power: 6
Prash is on a distinguished road
I tried same for bubbleFOAM got the same error message

--> FOAM FATAL ERROR:
FAILED writing polymesh.

I do have access to /opt directory. I am trying to run from there itself.
Prash is offline   Reply With Quote

Old   March 8, 2012, 12:30
Default
  #5
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 136
Rep Power: 8
calim_cfd is on a distinguished road
Quote:
Originally Posted by Prash View Post
I tried same for bubbleFOAM got the same error message

--> FOAM FATAL ERROR:
FAILED writing polymesh.

I do have access to /opt directory. I am trying to run from there itself.
i prolly shouldnt say this but.... type this at terminal
Code:
cd /opt/ 
chmod -Rf 777 opemfoam201/
then try again.. it will work..


but you shouldn't do this..thou it works.. you should do this (if you installed of properly)
Code:
mkdir -p $FOAM_RUN 
cp -r $FOAM_TUTORIALS $FOAM_RUN
and try this
Code:
cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity  (or just type the alias: run)
blockMesh 
icoFoam 
paraFoam
it should work.. at least one of the options above
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   March 8, 2012, 12:33
Default
  #6
New Member
 
Prashant Gupta
Join Date: Mar 2011
Location: Edinburgh
Posts: 29
Rep Power: 6
Prash is on a distinguished road
Hey thanks,

I was using OF 1.7.1 , it worked if I copied tutorials to my home directory.
Thanks a ton.

Best wishes
Prashant
Prash is offline   Reply With Quote

Reply

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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 22:49.