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

[snappyHexMesh] snappy works but does not add layers...why?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2013, 10:03
Default snap
  #21
Member
 
Join Date: Oct 2012
Posts: 47
Rep Power: 14
sh.d is on a distinguished road
is it right:?
1:run blockMesh
2:snappyhexMeshDict -overwite
3:extrudeMesh
sh.d is offline   Reply With Quote

Old   May 28, 2013, 10:06
Default
  #22
Member
 
Join Date: Oct 2012
Posts: 47
Rep Power: 14
sh.d is on a distinguished road
is it right?
1:run blockMesh
2:run snappyHexMeshDict -overwrite
3:run extrudeMesh
sh.d is offline   Reply With Quote

Old   May 28, 2013, 10:57
Default
  #23
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
sandy13 is on a distinguished road
Quote:
Originally Posted by sandy13 View Post
Dear searcher,
Sorry I can not help you that much about this error, and I did not use extrudeMesh before, sorry again and good luck with your research.
Sandy,
Dear nimasam,
Could you please help me with something.. I am trying to do simulation for a swirl atomization with OF 2.1.1, interFoam solver. My geometry is like in the attached picture, I want to use blockMesh to construct the mesh but I have a problem in defining the internal walls for the mixing region.
Sandy,
sandy13 is offline   Reply With Quote

Old   May 28, 2013, 11:00
Default
  #24
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
sandy13 is on a distinguished road
Quote:
Originally Posted by nimasam View Post
did you try to use extrudeMesh ?
Hi nimasam,
this is my geometry
https://www.dropbox.com/home/openfoam-shear
Sandy,
sandy13 is offline   Reply With Quote

Old   May 29, 2013, 07:42
Default
  #25
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Quote:
Originally Posted by sh.d View Post
Hi nimasam
yes i use the extrudMesh
please look at the my testcase
Hi
i saw your test case, good job , whats the problem?
its 2D now and there are several layers around airfoil.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 29, 2013, 07:45
Default
  #26
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Quote:
Originally Posted by sh.d View Post
is it right:?
1:run blockMesh
2:snappyhexMeshDict -overwite
3:extrudeMesh
yep its right
1- blockMesh
make your base mesh
2- snappyHesMesh -overwrite
extract your airfoil in it

3- extrudeMesh
you can derive one cell thick geometry
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 29, 2013, 07:48
Default
  #27
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Quote:
Originally Posted by sandy13 View Post
Hi nimasam,
this is my geometry
https://www.dropbox.com/home/openfoam-shear
Sandy,
Dear Sandy

i guess, you need to make a public link in dropBox, then i would access your link
now i can not see any thing
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 30, 2013, 07:17
Default
  #28
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
sandy13 is on a distinguished road
Quote:
Originally Posted by nimasam View Post
Dear Sandy

i guess, you need to make a public link in dropBox, then i would access your link
now i can not see any thing
Dear nimasam,
I am sorry, this the link again and hope it is working

https://www.dropbox.com/s/9o0bpfehxpp2cwz/img007.jpg

Sandy,
sandy13 is offline   Reply With Quote

Old   May 30, 2013, 08:12
Default
  #29
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
dear sandy i suggest to use snappyHexMesh, you can create your mesh in a CAD software, then easily with snappyHexMesh you can mesh your geometry
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 30, 2013, 09:15
Default blockMesh
  #30
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
sandy13 is on a distinguished road
Quote:
Originally Posted by nimasam View Post
dear sandy i suggest to use snappyHexMesh, you can create your mesh in a CAD software, then easily with snappyHexMesh you can mesh your geometry
Dear nimasam,
Thank you for your advice. So as you suggested there is no way to use blockMesh and the only way is CAD and snappy . It is impossible or possible but very difficult by blockMesh?
Sandy,
sandy13 is offline   Reply With Quote

Old   May 30, 2013, 09:20
Default
  #31
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
i guess its possible, you should define several blocks, but it would not be easy tasks and you need to be patient enough
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 30, 2013, 10:04
Default blockMesh
  #32
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
sandy13 is on a distinguished road
Quote:
Originally Posted by nimasam View Post
i guess its possible, you should define several blocks, but it would not be easy tasks and you need to be patient enough
Thank you so much, I will try to do it by blockMesh, can I ask you If I stuck or had a problem in it?
Sandy,
sandy13 is offline   Reply With Quote

Old   May 30, 2013, 10:11
Default
  #33
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
you can post your problems here, forum users will try to help you
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   November 19, 2020, 16:23
Default Try this...it should work
  #34
New Member
 
Join Date: Jun 2020
Posts: 1
Rep Power: 0
mp717 is on a distinguished road
In snappHexMeshDict, do not forget to add this part otherwise snappyHexMesh will work but still layers wont be added.

features
(
{
file "yourcase.eMesh";
level yourinput;
}
);

Example:

features
(
{
file "motorbike.eMesh";
level 6;
}
);

The thread is too old still posting if someone got stuck like I was due to this.
Hope it helps
Thank you !
mp717 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
[snappyHexMesh] Impossible to add layers in SnappyHexMesh knightwalker OpenFOAM Meshing & Mesh Conversion 4 March 27, 2019 18:09
[OpenFOAM] Checking layers generated by snappy with paraview bentkj ParaView 1 February 22, 2018 04:32
[snappyHexMesh] snappy does not add layer to whole body 5tern OpenFOAM Meshing & Mesh Conversion 0 October 20, 2016 11:09
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 03:32
[snappyHexMesh] Add layers and deformation Prosiaczek OpenFOAM Meshing & Mesh Conversion 0 April 11, 2012 19:27


All times are GMT -4. The time now is 16:18.