CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

How to change boundary type?

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

LinkBack Thread Tools Display Modes
Old   May 13, 2010, 13:06
Default How to change boundary type?
Senior Member
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 11
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Foamers,
in a code I need to set the boundary type to wall excepting for empty patches, in order to compute the distance of each cell from each boundary, and then set it back to their original type. How can I do that?
I saw that exist a method called changePatchType, but I didn't success to call it from mesh.boundaryMesh().changePatchType(... ...) .
Any suggestions?
Thanks, Ivan
ivan_cozza is offline   Reply With Quote


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
Wind turbine simulation Saturn CFX 48 October 25, 2017 06:07
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 133 July 27, 2017 04:45
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
RasInterFoam STRANGE RESULTS AT BOUNDARY kumar2 OpenFOAM Running, Solving & CFD 8 March 24, 2008 19:38
How to change the boundary type during computation Lee Siemens 2 November 28, 2003 22:01

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