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

[blockMesh] Creating an internal mesh within blockMesh?

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

Like Tree1Likes
  • 1 Post By sk11

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2018, 04:14
Default Creating an internal mesh within blockMesh?
  #1
Member
 
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11
ashish.vinayak is on a distinguished road
Hi,

I would like to create an internal mesh (cylinder) within a blockMesh (cube).

The idea would be to import a cylinder into the cube geometry. The end result would merge both the geometries together. However, I require that the cylinder maintains its surface patch after the merging.

How should I go about doing this?
ashish.vinayak is offline   Reply With Quote

Old   June 18, 2018, 10:32
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!

Try to use snappyHexMesh. I think that's the easiest way.
simrego is offline   Reply With Quote

Old   June 18, 2018, 18:03
Default
  #3
Member
 
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11
ashish.vinayak is on a distinguished road
Any tips on how I would go about doing this?
ashish.vinayak is offline   Reply With Quote

Old   June 22, 2018, 04:21
Default
  #4
New Member
 
Sarath
Join Date: Mar 2017
Location: Spain
Posts: 22
Rep Power: 9
sk11 is on a distinguished road
Under refinement surfaces in snappyHexMesh, there is option to provide faceType as internal

Quote:
refinementSurfaces
{
shape_name
{
level (2 2);
faceType internal;
faceZone shape_name;
cellzone shape_name;
cellZoneInside inside;
}
}
Here shape_name is specified in the geometry section. For more information, read the snappyHexMesh dict file from the directory etc/caseDicts/annotated


Sarath
ashish.vinayak likes this.
sk11 is offline   Reply With Quote

Old   June 22, 2018, 04:42
Default
  #5
Member
 
Ashish Vinayak
Join Date: Mar 2015
Location: Wuppertal, Germany
Posts: 50
Rep Power: 11
ashish.vinayak is on a distinguished road
Thanks sk11 ! Turns out in 2 days I figured out the same thing as well and learnt how to use SHM as well Patience is key

I'm using the baffle option though instead of internal it seems to do the job for my small test cases.

Quote:
Originally Posted by sk11 View Post
Under refinement surfaces in snappyHexMesh, there is option to provide faceType as internal



Here shape_name is specified in the geometry section. For more information, read the snappyHexMesh dict file from the directory etc/caseDicts/annotated


Sarath
ashish.vinayak is offline   Reply With Quote

Reply

Tags
baffles, blockmesh, internal mesh

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
[snappyHexMesh] Creating very fine, high accuracy mesh with snappyHexMesh JD_Welch OpenFOAM Meshing & Mesh Conversion 10 July 5, 2023 12:50
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[blockMesh] error with blockMesh: "internal face or already belongs to some other patch" sajad6 OpenFOAM Meshing & Mesh Conversion 0 October 23, 2014 09:26
blockMesh: block with 6 vertexes dani OpenFOAM 3 June 25, 2009 14:13
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


All times are GMT -4. The time now is 08:57.