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

[snappyHexMesh] Some initial difficulties

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2012, 06:52
Default Some initial difficulties
  #1
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14
Claudio87 is on a distinguished road
Hi everybody!

I tried to find the answers to my problem in the forum, but without success
I'm a beginner with OF, and with SHM in particular, so I wanted to start with something simple: a pipe (because I need to learn about similar internal flows).

Now, I read the guide and I consulted the tutorials (the motorBike one in particular) but I have some problems.
For now, the most important is with the mesh. I created the surface, a pipe with a thickness, as .stl file. I used blockMesh to create the background mesh and then snappyHexMesh. The result is strange. Instead to obtain the pipe, I obtain something different: OF subtracts the surface I created from the background mesh... I don't understand why!

To be more clear, I attach the files "blockMesh" and "snappyHexMesh" and a figure.
If someone could help me, I'd be really grateful!

Regards,
Claudio
Attached Images
File Type: jpg pipe1.jpg (44.7 KB, 33 views)
Attached Files
File Type: zip files.zip (4.4 KB, 7 views)
Claudio87 is offline   Reply With Quote

Old   December 31, 2012, 13:03
Default
  #2
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
hello,
I am no expert, but I think your intial blockmesh should not go beyond the inlet/outlet of your pipe. if your blockmesh is to large SHM starts inside the pipe then follows the surface and comes to the outside of the pipe. Your surface is the only part that is not meshed.

hope this helps
Best
Wouter
wouter is offline   Reply With Quote

Old   February 4, 2013, 05:17
Default How could I add patches?
  #3
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 14
Claudio87 is on a distinguished road
Hi!

After one month I'm here again.
Thanks Wouter for your answer, but i'm not sure was that my problem.

Now I have less problems (it seems) with the mesh, but I didn't solve all of them. I explain.
After blockMesh and SHM, OF creates just one patch for my pipe (the surface I exported), one for all of it. So I have a total of 5 patches: 4 for the faces of the background mesh and only one for the pipe. Instead, I'd like to have more of them for the pipe, like inlet, outlet, internal and external surfaces... But i don't know how to do!
Infact, I tried to launch a simulation, with simpleFoam: it works, but of course outside of the pipe, not inside! This because I can give it (in the simplest case) just a velocity, that is the same all around the pipe, on all my unique patch! It is of course unuseful!

Then, someone has an idea about what i could do?! I think, I need a way to add more patches, at least the one for the inlet! But how?!
Every kind of suggestion is well accepted, thank you!

Regards,
Claudio
Claudio87 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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 18:36
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 13:30
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35


All times are GMT -4. The time now is 01:46.