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

extrudeMesh-utilitiy: how to

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2010, 12:46
Default extrudeMesh-utilitiy: how to
  #1
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
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, 181 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: Québec, QC, Canada
Posts: 208
Rep Power: 9
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: 7
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: 9
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: 7
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: 85
Rep Power: 8
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: 85
Rep Power: 8
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, 22:05
Default
  #8
New Member
 
Charlie
Join Date: Aug 2010
Posts: 11
Rep Power: 6
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: 5
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
tomloh 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
ExtrudeMesh segersson OpenFOAM Mesh Utilities 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 01:41
BIG Problem in extrudeMesh! wind_fyp OpenFOAM 0 January 28, 2010 01:40
ExtrudeMesh for Dummies wolle1982 OpenFOAM Mesh Utilities 2 October 28, 2008 11:35


All times are GMT -4. The time now is 20:41.