|
[Sponsors] |
[snappyHexMesh] Making surface layers extend to end patches without collapsing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2022, 07:51 |
Making surface layers extend to end patches without collapsing
|
#1 |
New Member
Lasse Jacobsen
Join Date: May 2022
Posts: 5
Rep Power: 4 |
I am currently working on meshing a case with internal pipe flow in a simple cylinder.
The mesh is to be used in conjunction with buoyantSimpleFoam, for compressible turbulent flow with buoyancy effects and heat transfer, and later on chtMultiRegionSimpleFoam for two fluid domains and a solid interface. The mesh is created using snappyHexMesh from the "water.stl" file. See "current_mesh.jpg". My issue here is making the surface layers extend to the end of the domains (I know that I can do a 2D mesh and simply extrude, but I need my procedure to generalize to more complex geometries in the future). What I have tried so far:
In general it seems that further refinement of the end patches, in any way, only adds to the issue. Again, what I want is the surface mesh to extend throughout the entire way to the end patches. I have attached the case file as a link (since I was unable to upload .zip somehow) if anyone would be so kind as to have a look or try and replicate my results (https://transfer.pcloud.com/download...eQCkhTlSpen1Nk). Meshing is done using the bash script "run_mesh_single.sh". By the way I run OpenFOAM v 2112 (.com distro) on linux subsystems for windows. Any help would be much appreciated, as I am running out of ideas on what to try. Thank you in advance! |
|
August 30, 2022, 09:03 |
Solved
|
#2 |
New Member
Lasse Jacobsen
Join Date: May 2022
Posts: 5
Rep Power: 4 |
Solved the issue by changing the background blockMesh, such that and odd number of cells were placed in the radial directions of the cylinder (with the center of the box coinciding with the cylinder's center axis).
Somehow, this worked. |
|
Tags |
addlayers, meshing 3d, meshing cylinder, snappyhexmesh, surface layer |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |