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

[snappyHexMesh] Flux in concencentric tubes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2016, 11:33
Default Flux in concencentric tubes
  #1
New Member
 
Join Date: May 2016
Posts: 5
Rep Power: 10
mike6427 is on a distinguished road
Hi all,
I'm very new to openFoam. I'm trying to simulate flux inside a system of tubes, of different radius and with some of them surrounding others.
I draw my objects in FreeCAD and then I produce a fluid domain using snappyHexMesh and discretizer. Now I realize that my geometry does not have an inlet or outlet, nor appropriate boundary names.
In order to simulate flux inside tubes I need to define as inlet the void inside the first tube.

Do I need to draw a fake face on the head of the tube? How could refer to that surface otherwise? The same question is valid for the outlet too.
Thank you in advance

Last edited by mike6427; September 19, 2016 at 19:53.
mike6427 is offline   Reply With Quote

Old   September 20, 2016, 10:34
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
You could already define this in snappyHexMesh. By adding stl files for inlet and outlet in addition to the existing one. Check the tutorials for that.
The other option is to use createPatch and topoSet. You need to create a faceZone. topoSet has tons of options to do that. Those range from an stl file, a disc, box etc. Check in paraview if that faceZone is correct and if it is create a Patch with the createPatch tool. Here you need to choose the patch name and your faceZone.
Bloerb is offline   Reply With Quote

Old   September 27, 2016, 11:55
Default
  #3
New Member
 
Join Date: May 2016
Posts: 5
Rep Power: 10
mike6427 is on a distinguished road
Thank you Bloerb and sorry for my late reply. I tried your first solution and it partially worked. I made two bidimensional disks for inlet and outlet in the stl model and created the mesh again with discretizer, but in paraFoam I actually see only the outlet and main body patches, but not the inlet, where I have two concentric pipes. I'll try to simulate this geometry.
Any clue or comment will be greatly appreciate.
mike6427 is offline   Reply With Quote

Reply

Tags
boundaries, snappyhexmesh


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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 05:27
Udf for moving heat flux in 2D cylindrical geometry devia21 Fluent UDF and Scheme Programming 0 April 20, 2015 01:27
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


All times are GMT -4. The time now is 21:15.