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

[Other] Inclined mesh generation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2017, 05:35
Default Inclined mesh generation
  #1
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
Hi Foamers,

I need to generate an inclined mesh as mentioned in the picture bellow. Is it possible using blockMesh ?

Otherwise what do you recommend?

Thanks in advance!
Attached Images
File Type: jpg Screenshot from 2017-10-19 10-20-31.jpg (81.1 KB, 52 views)
foamiste is offline   Reply With Quote

Old   October 19, 2017, 06:34
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
You can quite easily transform or rotate a mesh using rotateMesh or transformPoints. I would make your basic mesh in blockMesh, and then rotate it to whatever angle you require.
Dipsomaniac is offline   Reply With Quote

Old   October 19, 2017, 06:44
Default
  #3
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
Thank you for your prompt response,

In fact, I'd already tried to rotate the mesh but i cannot get the desired result as you can see in the picture below
Attached Images
File Type: jpg Screenshot from 2017-10-19 10-20-31.jpg (118.4 KB, 46 views)
foamiste is offline   Reply With Quote

Old   October 19, 2017, 07:26
Default
  #4
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
Hi Asmaa

I guess you would like the orientation of the cell faces to match your example. Perhaps try generate a blockMesh as your background mesh with your desired resolution, then use snappyHexMesh with a block angled at 30˚, such as the example below.
Attached Images
File Type: jpg inclined.jpg (88.7 KB, 41 views)
Dipsomaniac is offline   Reply With Quote

Old   October 19, 2017, 10:01
Default
  #5
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
Hi Brian,

This is exactly what I am looking for, how can I do it? Is there any similar tutorial in Openfoam?
foamiste is offline   Reply With Quote

Old   October 20, 2017, 05:30
Default
  #6
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
Hi Asmaa

Not sure if there is a tutorial. I will attached the case below for you to have a look. The STL and the background mesh was made in Salome and converted for openFOAM. You can quite easily just use blockMesh instead for the background mesh.

InclinedMesh.tar.gz
Dipsomaniac is offline   Reply With Quote

Old   October 20, 2017, 06:38
Default
  #7
Senior Member
 
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10
foamiste is on a distinguished road
Ok Brian Thanks for help.
foamiste is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
[ANSYS Meshing] Question about mesh generation learning lnk ANSYS Meshing & Geometry 2 July 7, 2012 07:45
ISAAC code mesh generation morteza08 Main CFD Forum 0 June 15, 2012 10:26
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
General questions on grid-based computing Adrin Gharakhani Main CFD Forum 21 June 5, 2000 14:47


All times are GMT -4. The time now is 05:40.