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

extrudeMesh-utilitiy: how to

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomloh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2010, 12:46
Default extrudeMesh-utilitiy: how to
  #1
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 16
bruxellois is on a distinguished road
Dear all,

I want to extrude my mesh (image in attach), recently converted with fluentMeshToFoam, into sphere. It don't know how to do it and there is no documentation to explain it.

Any idea please?

Code:
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "3e-07/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


(
      Pressure_inlet
    {
        type            patch;
        nFaces          30;
        startFace       64438;
    }
 
    Tube
    {
        type            wall;
        nFaces          140;
        startFace       64538;
    }
   
    Pressure_outlet
    {
        type            patch;
        nFaces          176;
        startFace       64678;
    }
   
    frontAndBackPlanes
    {
        type            empty;
        nFaces          32344;
        startFace       64854;
    }
   
)

// ************************************************************************* //
Best regards.
Attached Images
File Type: jpg Capturer.jpg (33.6 KB, 282 views)
bruxellois is offline   Reply With Quote

Old   October 8, 2010, 13:01
Default
  #2
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
I've never done anything like that but you might want to look into setting a wall to something that "merges" the end to the begging thus making it into a sphere.. although only good for symmetric flows...

sorry but thats not my specialty I'm only answering because you asked me to...

regards,


-Louis
louisgag is offline   Reply With Quote

Old   October 9, 2010, 06:09
Default
  #3
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 16
bruxellois is on a distinguished road
OK, thanks a lot.

Regards.
bruxellois is offline   Reply With Quote

Old   October 14, 2010, 15:47
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
If I were you I would go back directly to the meshing tool (whatever you use, i.e. Gambit?) and do it over there. I'm not really sure which portion you want to extrude, I assume the lower flat boundary, is it right?

I never used any external extruding tool, whenever I had such need I would do it directly into mesher.
paka is offline   Reply With Quote

Old   October 14, 2010, 15:52
Default
  #5
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 16
bruxellois is on a distinguished road
thanks for your reponse,

I want to extrude my mesh to a sphere, i hope doing this under FOAM if it's possible.
bruxellois is offline   Reply With Quote

Old   October 26, 2010, 11:46
Default
  #6
Member
 
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17
wikstrom is on a distinguished road
Would mirrorMesh suffice?
/N
wikstrom is offline   Reply With Quote

Old   October 26, 2010, 12:06
Default
  #7
Member
 
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17
wikstrom is on a distinguished road
Oh, it was a 2D mesh. I've got no example on the shelf, but I suppose the wedge extrudeModel does what you want. Use one of the sides for sourcePatch and set the wedgeCoeffs. Set the mergeFaces to true.

Just tried it. Works fine.
wikstrom is offline   Reply With Quote

Old   February 2, 2012, 21:05
Default
  #8
New Member
 
Charlie
Join Date: Aug 2010
Posts: 14
Rep Power: 15
shackman287 is on a distinguished road
Make a 3D wedge in blockMesh. Then you can use extrudeMesh with the wedge model choosen. To rotated the wedge 355 degr (5 degrees is already created from blockMesh) and merge the front and back patches so that they meet together once wrapped around. This will eliminate the two patches and leave you with your sphere
shackman287 is offline   Reply With Quote

Old   April 29, 2012, 18:37
Default
  #9
New Member
 
Join Date: Mar 2012
Posts: 27
Rep Power: 14
tomloh is on a distinguished road
Hi Charlie,

I am trying to generate a cylinder from my axisymmetric mesh and I was thinking of using extrudeMesh. I was wondering if you could shed some light on what I need to include in my case setup, ie: extrudeMeshDict and wedge coefficients. I'm finding it difficult to gather information on this...

Kind Regards,
Tom
Sud09463 likes this.
tomloh is offline   Reply With Quote

Reply


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
[mesh manipulation] ExtrudeMesh segersson OpenFOAM Meshing & Mesh Conversion 5 August 22, 2011 11:23
extrudeMesh from patch Lodda OpenFOAM 4 August 15, 2011 10:35
BIG Problem in extrudeMesh! wind_fyp OpenFOAM 0 January 28, 2010 00:41
BIG Problem in extrudeMesh! wind_fyp OpenFOAM 0 January 28, 2010 00:40
[Salome] ExtrudeMesh for Dummies wolle1982 OpenFOAM Meshing & Mesh Conversion 2 October 28, 2008 10:35


All times are GMT -4. The time now is 12:09.