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

[snappyHexMesh] Large number of bad cells with sHM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2019, 13:06
Default Large number of bad cells with sHM
  #1
New Member
 
Jalil
Join Date: Nov 2018
Posts: 8
Rep Power: 7
Jalil786 is on a distinguished road
Hello all,


I am using compressibleInterFoam solver in OpenFoam to simulate the effects of entrapped air in a water pipeline. But I have problem with generating the Mesh for the simulation.



The apparatus is composed of a large tank at the upstream, a 10 m long horizontal pipe with 0.1 m diameter, and a vertical ventilation tower (Diameter=5 cm) that releases the air, the ventilation hole at the top of the tower has an area of 5% of the ventilation tower area (Diameter = 1.135 cm).



In order to make a mesh that has all the apparatus, I need to make very fine cells around the ventilation tower and courser mesh (larger cells) everywhere else. Whenever, I run the snappyHexMesh, I get the mesh generated, but the number of bad cells are huge.



Therefore, the simulation always crashes. I have attached a screenshot of the final step of running snappyHexMesh.



When I set the case and run it, it always crushes. I guess the main reason is the bad cells. I also think that I cannot set the boundary condition properly. Therefore, I have attached a zip folder of the case. Here is the link to the case folder.



https://www.dropbox.com/s/9fxvjcsgnezq7h7/Off_campus_Nov.zip?dl=0



I shall be very grateful if someone can help me overcome this issue or introduce any other way of the creating mesh that can work.


Thank you all in advance!

Attached Images
File Type: png Screenshot from 2019-11-25 11-26-57.png (57.1 KB, 7 views)
Jalil786 is offline   Reply With Quote

Old   January 27, 2020, 08:22
Default
  #2
Member
 
Ben B. Huang
Join Date: Oct 2012
Posts: 54
Rep Power: 13
hwangpo is on a distinguished road
Hi Jalil,

If you are looking for CFD modeling of storm geysers, a book chapter may be helpful.
https://doi.org/10.1061/9780784415313.ch23. (Chapter 23: Geysering in Computational Fluid Dynamics: Applications in Water, Wastewater, and Stormwater Treatment)
Both ANSYS CFX and OpenFOAM were used. The tutorial files can be found in https://doi.org/10.4211/hs.344350caa...a9eb33cbed3f78.

Cheers.
Biao
hwangpo 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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 10:11
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 03:58
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43


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