CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

snappyHexMesh-flow over sphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2018, 08:29
Default snappyHexMesh-flow over sphere
  #1
New Member
 
Goind Sharma
Join Date: Sep 2018
Posts: 20
Rep Power: 7
govind_IITD is on a distinguished road
Hi All,

I am trying to simulate flow over sphere and meshing with snappyHexMesh. I have stl file for sphere. snappyhexMesh working fine and not getting error but desired mesh is not generating. I am attaching snappy.txt which is the mine input for snappyhexMeshDict.




Regards,
Govind Sharma
PhD, IIT Delhi
Attached Files
File Type: txt snappy.txt (6.3 KB, 17 views)
govind_IITD is offline   Reply With Quote

Old   December 2, 2018, 13:12
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Can you share your log file? Or give more details about the problem?
Your locationInMesh coordinate is correct?
If it is, try with locationInMesh (-2.899 0.11199 0.04499);
Make sure the point is not on an internal face.
simrego is offline   Reply With Quote

Old   December 3, 2018, 08:40
Default
  #3
New Member
 
Goind Sharma
Join Date: Sep 2018
Posts: 20
Rep Power: 7
govind_IITD is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


Can you share your log file? Or give more details about the problem?
Your locationInMesh coordinate is correct?
If it is, try with locationInMesh (-2.899 0.11199 0.04499);
Make sure the point is not on an internal face.

Thanks,

Here I have attached the output of snappyHexMesh. Also I am sharing the output of snappyHexMesh.

Govind
Attached Images
File Type: jpg sphere.jpg (146.0 KB, 51 views)
Attached Files
File Type: txt snappyHexMesh.txt (86.8 KB, 11 views)
govind_IITD is offline   Reply With Quote

Old   December 3, 2018, 08:52
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hmm... Why do you have that much time directories?
make sure you check the last time directory with paraview, and you start snappy from the mesh resulted by blockMesh!



And now what is your problem exactly? (I see there are no layers, but I'm not sure if this is the only problem.)

I think you should increase the refinementLevel for the sphere. And you should have the sphere inside the refinement box. The layer generation in snappy can be really painful. For the first step try with only a few layers with the "relativeSizes true;" option.
Then you can increase it but don't worry if you won't be able to generate exactly the same mesh what you want. As I mentioned layer generation in snappy can be pretty painful!
simrego is offline   Reply With Quote

Old   December 4, 2018, 04:28
Default
  #5
Member
 
ssa
Join Date: Sep 2018
Posts: 93
Rep Power: 7
ssa_cfd is on a distinguished road
Quote:
Originally Posted by govind_IITD View Post
Thanks,

Here I have attached the output of snappyHexMesh. Also I am sharing the output of snappyHexMesh.

Govind

I think your sphere is not inside the refinement box. Instead of using refinement box in snappy, use refinemeshdict and then run snappy.
ssa_cfd is offline   Reply With Quote

Old   December 4, 2018, 05:10
Default
  #6
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
refineMesh and snappy do nearly the same if you refine in 3D. But why should you use 2 utility when you can do everything in one?
Just correct the coordinates of the refinementBox and increase the refinementLevel of the sphere and you will be fine.
simrego 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Water Sphere reacting to flow of air modelling Jacee FLUENT 0 May 25, 2018 09:29
Symmetry Boundary Condition for Flow Past a sphere Qkarl Main CFD Forum 14 March 6, 2018 03:32
Flow past a sphere Fabio FLUENT 23 December 18, 2009 15:32
3D sphere flow MH Kim Main CFD Forum 1 August 8, 2005 17:06


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