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

Inclined mesh generation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 19, 2017, 04:35
Default Inclined mesh generation
  #1
Member
 
Asmaa
Join Date: Mar 2016
Posts: 56
Rep Power: 3
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, 18 views)
foamiste is offline   Reply With Quote

Old   October 19, 2017, 05:34
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 8
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, 05:44
Default
  #3
Member
 
Asmaa
Join Date: Mar 2016
Posts: 56
Rep Power: 3
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, 16 views)
foamiste is offline   Reply With Quote

Old   October 19, 2017, 06:26
Default
  #4
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 8
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, 15 views)
Dipsomaniac is offline   Reply With Quote

Old   October 19, 2017, 09:01
Default
  #5
Member
 
Asmaa
Join Date: Mar 2016
Posts: 56
Rep Power: 3
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, 04:30
Default
  #6
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 8
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, 05:38
Default
  #7
Member
 
Asmaa
Join Date: Mar 2016
Posts: 56
Rep Power: 3
foamiste is on a distinguished road
Ok Brian Thanks for help.
foamiste 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
unstructured mesh generation with strictly constrained boundary in simple space goujl Mesh Generation & Pre-Processing 0 January 29, 2015 11:44
[ANSYS Meshing] Question about mesh generation learning lnk ANSYS Meshing & Geometry 2 July 7, 2012 06:45
ISAAC code mesh generation morteza08 Main CFD Forum 0 June 15, 2012 09:26
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
General questions on grid-based computing Adrin Gharakhani Main CFD Forum 21 June 5, 2000 13:47


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