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

[snappyHexMesh] Boundary layers with snappyHexMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2021, 09:36
Default Boundary layers with snappyHexMesh
  #1
New Member
 
Roman Pavlov
Join Date: Feb 2021
Posts: 1
Rep Power: 0
pvlvrmn is on a distinguished road
Hello!

On the screenshot you can see patches 'walls' (violet), 'outlet_cold' (green) and 'side1' (blue).

I'm trying to figure out how to determine correct boundary layers for vortex tube. I need layers for patch 'wall', but only on 'side1'. It's applies also on outlet_cold.

So the question is how to remove additional layers on connection of 'side1' and 'outlet_hot'?

Snappy hex mesh dict: https://www.codepile.net/pile/B8N0ANY3

pvlvrmn is offline   Reply With Quote

Old   May 4, 2021, 05:20
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 640
Rep Power: 12
AtoHM is on a distinguished road
Normally you can control whether the layers collapse on angled patches or not by adjusting the "featureAngle" in addLayerControls.
Problem here is, this setting will probably either collapse the layers or not on both adjacent faces, as there is a angle of 90 deg at both.

Only possibility I see here is to split the 'walls' patch, make a small stripe at the end in front of 'outlet_cold' where you do not extrude layers on. Then the layers from 'walls' will collapse right in front.

Make sure that stripe is as wide as at least one cell size there, otherwise it might get swallowed during mesing and then the setting is ignored. And use multiRegionFeatureSnap true; if you don't already. I don't open links to external sites here.
AtoHM 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
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 03:19.