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

3D mesh starting from a 2D

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 7, 2010, 07:37
Question 3D mesh starting from a 2D
  #1
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
Dear Foamers,

Is it possible to get a real 3D mesh starting from a 2D mesh (fluent or gambit) or an axisymetric geometry from OpenFoam?

Best regards.
bruxellois is offline   Reply With Quote

Old   October 7, 2010, 17:25
Default
  #2
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Hello, fluentMeshToFoam and makeAxialMesh are your friends,

http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh

http://www.cfd-online.com/Forums/ope...symmetric.html

Enjoy!
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 7, 2010, 17:32
Default
  #3
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
Hi santiagomarquezd,

First,thanks for your response.

Yes i have used makeAxiamesh in order to have an axisymetric mesh and it works well but what i need now is to implement the global geometry ( a real 3d mesh not an axisymetric) is it possible to convert my mesh (2d or 3d axisymetric) to a real geometry.

Best regards.
bruxellois is offline   Reply With Quote

Old   October 7, 2010, 17:43
Default
  #4
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Hhmm, I see, the idea is, for example if you have a 5 degree "axisymmetric" mesh for FOAM, to get a 360 degree one repeating the first one 72 times or something like this. The matter is that this is not the only way, you might want the full 3D with tetras, etc. not repeating the original elements. The repeating way can be done with Gambit, but I don't have any other idea.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 7, 2010, 17:49
Default
  #5
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
But repeating the original mesh 72 times will not change the coordinates so i can't have the ful geometry, what do you think?

Regards.
bruxellois is offline   Reply With Quote

Old   October 8, 2010, 08:30
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,914
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bruxellois View Post
But repeating the original mesh 72 times will not change the coordinates so i can't have the ful geometry, what do you think?

Regards.
Have a look at the extrudeMesh-utilitiy. It might be just what you're looking for

Bernhard
gschaider is offline   Reply With Quote

Old   October 8, 2010, 09:26
Default
  #7
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
Hi Bernhard,

Thanks for your response.

The user guide didn't explain this utility but it seems that just what i'm looking for.

Can i have a sphere starting from my mesh (image in attach) (i have both 2d and axisymetric)

Best regards
Attached Images
File Type: jpg Capture.jpg (31.3 KB, 34 views)
bruxellois is offline   Reply With Quote

Old   October 8, 2010, 09:39
Default
  #8
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,914
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bruxellois View Post
Hi Bernhard,

Thanks for your response.

The user guide didn't explain this utility but it seems that just what i'm looking for.

Can i have a sphere starting from my mesh (image in attach) (i have both 2d and axisymetric)

Best regards
Don't know. Only used it once myself. Have a look at the dictionary that is in the directory of the sources ($FOAM_UTILITIES/mesh/generation I think) that is about all the documentation you're going to find

Bernhard
gschaider is offline   Reply With Quote

Old   October 8, 2010, 20:09
Default
  #9
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Alex,

Quote:
Originally Posted by bruxellois View Post
But repeating the original mesh 72 times will not change the coordinates so i can't have the ful geometry, what do you think?

Regards.
What are you referring to with "will not change the coordinates"?

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 8, 2010, 20:16
Default
  #10
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
Hi,

I got my mesh from fluentMeshTOFoam conversion i don't have a blockMeshDict file so i cannot do a repeatin process, what do you think?

ExtrudeMesh utility can fo that for me but there is no documentation to explain it, you have any idea?


Regards.
bruxellois is offline   Reply With Quote

Old   October 8, 2010, 20:25
Default
  #11
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
I never used this tool, but, Do want to do this task with FOAM tools? I think in this case is easier to do it directly in Gambit and then export a full 3D .msh.

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 8, 2010, 20:28
Default
  #12
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
I'm thinkig to do it with gambit but the concept of my work (@university) is to all the job with 0$ and this will be my last activity so i hope continue to use FOAM.

Thanks a lot.
bruxellois is offline   Reply With Quote

Old   October 8, 2010, 21:28
Default
  #13
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Maybe using GMSH?

Best.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 9, 2010, 19:58
Default
  #14
Member
 
Alex
Join Date: Mar 2010
Posts: 33
Rep Power: 7
bruxellois is on a distinguished road
Hi,

I never use it.

It supports *.msh files? extrude suface to sphere is it possible with gmsh?

Regards.
bruxellois is offline   Reply With Quote

Old   August 25, 2011, 11:56
Default
  #15
Member
 
Daniel
Join Date: Apr 2010
Location: Manchester
Posts: 31
Rep Power: 7
drrbradford is on a distinguished road
If anyone is interested, I have managed to produce a 3D axisymmetric mesh from a 2D plane mesh. (I'm looking at axisymmetric bodies at an angle to the flow). Feel free to message or email me and I can guide you through the steps.
drrbradford 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
vtk mesh or Abaqus mesh to OpenFOAM bigphil Open Source Meshers: Gmsh, Netgen, CGNS, ... 19 August 16, 2011 04:14
unv mesh corrupted after createPatch maddalena OpenFOAM Mesh Utilities 1 February 18, 2010 08:43
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
hex mesh by starting from a group of point Giulia Valerio FLUENT 0 November 8, 2007 05:47
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 03:48.