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

[snappyHexMesh] Having troubles generating a simple mesh of a pump with basin

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2014, 03:40
Default Having troubles generating a simple mesh of a pump with basin
  #1
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 12
Dadou is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Tobi,

A quick glance to your post makes me remember an old thread about multi-regions, for which I left a link at the wiki page, namely section 3.2: http://openfoamwiki.net/index.php/Sn...-region_meshes

Best regards,
Bruno

Dear Bruno,

I am sorry if there are other threads about this topic.
I think I went throught all the discussions about this problem but could not find the answer and I am really confused.

So what I would like to do is presented in the picture "geometry". to do that I created a blockMesh and SLT ASCII of all faces (inlet, outlet, pump ...etc) BUT when I use snappyHexMesh I put the locationInMesh inside the "bassin". The results is presented in pictures "wrong1 and wrong1_withPump".

When I change the locationInMesh location and I put it inside the "pump" I get what is presented in picture named "wrong2".

I know that there is a lot of threads explaining how to do using some "chtMultiRegionFoam", but I don't seem to understand how it is working.

Can you please give me help here?!

Thank you

Regards,

Dadou
Attached Images
File Type: jpg geometry.jpg (7.8 KB, 24 views)
File Type: jpg wrong1.jpg (10.9 KB, 19 views)
File Type: jpg wrong1_withPump.jpg (60.2 KB, 23 views)
File Type: jpg wrong2.jpg (7.6 KB, 18 views)
Dadou is offline   Reply With Quote

Old   September 8, 2014, 05:04
Wink
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@Alessandro: Tobi once in a while renovates his website
Check his current tutorials for snappyHexMesh: http://www.holzmann-cfd.de/index.php/tutorials - with any luck, he made a variant of the tutorial that is missing...

Best regards,
Bruno
Yes I am doing it again - but at least the final one
I think I will regenerate the chtMultiRegion tutorial again and upload it.

(and also update the wiki snappyHexMesh side)

I only need a few time

@Dadou:

I think for your case you do not have to use a multi region domain, aren't you?

Regards
Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 8, 2014, 06:30
Default
  #3
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 12
Dadou is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Yes I am doing it again - but at least the final one


@Dadou:

I think for your case you do not have to use a multi region domain, aren't you?

Regards
Tobi
I think I do because I cannont have the pump meshed without a big blockMesh.
For now I have a blockMesh with the same height as the pump just to keep the pump and outlet. Because if I do a small blockMesh the snappyHexMesh will get rid of the rest of the pump (that is not inside the blockMesh)

What should I do ?!

Thanks Tobi

Dadou
Dadou is offline   Reply With Quote

Old   September 8, 2014, 06:33
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by Dadou View Post
I think I do because I cannont have the pump meshed without a big blockMesh.
For now I have a blockMesh with the same height as the pump just to keep the pump and outlet. Because if I do a small blockMesh the snappyHexMesh will get rid of the rest of the pump (that is not inside the blockMesh)

What should I do ?!

Thanks Tobi

Dadou
Hi,

you mix up something. Multi region meshing is for heat transfer (multi regions, like air, water, other fluids, solids) or meshes that are not connected at all (fluid domain is separated... e.g. two parallel pipes not connected but you have only one fluid and maybe you connect outlet_solid1 to the inlet_solid2 with some bc). You should only make one mesh. Can you publish your STL-files or your case so that I can check it out and give you a solution.

Anyway, maybe I miss understand what you are wanna do
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 8, 2014, 08:06
Default
  #5
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 12
Dadou is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Hi,

you mix up something. Multi region meshing is for heat transfer (multi regions, like air, water, other fluids, solids) or meshes that are not connected at all (fluid domain is separated... e.g. two parallel pipes not connected but you have only one fluid and maybe you connect outlet_solid1 to the inlet_solid2 with some bc). You should only make one mesh. Can you publish your STL-files or your case so that I can check it out and give you a solution.

Anyway, maybe I miss understand what you are wanna do
Hi,

Well I think I miss understand what multi region was.
Anyway you can find my stl and blockmesh attached

You have to know that in my blockMesh there is two blocks but I only one the first of them, I added the second because i couldn't mesh the extra pump without it.
Thank you
Attached Files
File Type: gz files.tar.gz (12.4 KB, 1 views)
Dadou is offline   Reply With Quote

Old   September 8, 2014, 09:36
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
@bruno,

maybe its possible to move the posts which are not corresponding to that thread into a other one...


@dadou:

in the attachment you find the file.
Following steps to do
Code:
blockMesh
snappyHexMesh
paraview --data=paraview    //or paraFoam, or paraview and load the paraview.foam file
Case is available here: http://www.holzmann-cfd.de/forumCases/meshing.tar.gz
Attached Images
File Type: jpg meshed.jpg (48.9 KB, 20 views)
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 10, 2014, 03:11
Default
  #7
Member
 
Mehdi GHOZALI
Join Date: May 2013
Location: Dubai, UAE
Posts: 65
Rep Power: 12
Dadou is on a distinguished road
Quote:
Originally Posted by Tobi View Post
@bruno,

maybe its possible to move the posts which are not corresponding to that thread into a other one...


@dadou:

in the attachment you find the file.
Following steps to do
Code:
blockMesh
snappyHexMesh
paraview --data=paraview    //or paraFoam, or paraview and load the paraview.foam file
Case is available here: http://www.holzmann-cfd.de/forumCases/meshing.tar.gz
Dear Toby,

I am so thankful.
Just one question how did you create regionSTL???!! I am trying to do my own

Thank you again

Dadou
Dadou is offline   Reply With Quote

Old   September 20, 2014, 09:40
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!
Quote:
Originally Posted by Tobi View Post
@bruno,

maybe its possible to move the posts which are not corresponding to that thread into a other one...
Done. The posts above related to Dadou's questions on this topic are now located here: http://www.cfd-online.com/Forums/ope...ump-basin.html

Quote:
Originally Posted by Dadou View Post
Just one question how did you create regionSTL???!!
I suggest you try using Blender along with SwiftSnap:
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 20, 2014, 12:45
Default
  #9
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi, i create single stl with Salome and put them together with a own python script.
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[snappyHexMesh] problems generating clean mesh Christian_tt OpenFOAM Meshing & Mesh Conversion 2 June 20, 2019 05:39
Bad elements after generating unstructured volume mesh max_beetle Pointwise & Gridgen 0 October 24, 2017 01:52
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03


All times are GMT -4. The time now is 21:12.