CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Adjacent structured blocks with different cell size

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2014, 13:34
Default Adjacent structured blocks with different cell size
  #1
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Hi everybody

I'm a newbie of Pointwise, while I worked a lot with snappyHexMesh, so maybe what i'm saying is just wrong.

I'm trying to obtain two blocks, both of cubic cells. The first one should be made of 10x10x10 cells, while the second should be made of 5x5x5 cells.

I create the first one extruding a patch made of structured 10x10 faces.

Then i don't know how to tell PointWise to change one face from 10x10 faces to 5x5 without alter the previous block.

Is this possible to do this in PointWise?

EDIT: I attach an image of what i would like to obtain. To do this picture I moved a second block close to the first one, but they are seen as two separate zone of the mesh with no common face.

Thanks
Attached Images
File Type: jpg Screen Shot 2014-09-14 at 19.41.48.jpg (20.0 KB, 40 views)
Pj. is offline   Reply With Quote

Old   September 15, 2014, 09:56
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Luca,

Pointwise doesn't have a split-hex capability like snappyHexMesh does. There's two approaches you can take. The way your mesh is now, there is a non-pointed matched interface between the blocks. Non-pointed matched interfaces can be coupled in OpenFOAM with AMI (or GGI depending on the flavor of OF you're using) boundary conditions. You'll need to set a 'patch' type boundary condition on each of the non-pointed match domains in Pointwise. Once you've exported the mesh to OpenFOAM, you'll have to edit the type of those patches in the constant/polyMesh/boundary file from 'patch' to 'ami' (or 'ggi').

If you'd rather stay away from the non-pointed matched approach, you can create a transition block using tet cells. Creating a gap between your blocks with enough room to fill the void with an unstructured block. I've replicated your mesh strategy but moved the blocks apart by the distance of the cell height in the coarse (5x5x5) block. Then I created 4 unstructured domains to close the gap and created an unstructured block using the 4 unstructured domains and the structured domain from the adjacent structured blocks (see first pictured). Then initialize the block (see second picture). The resulting quality was really good in the transition block.

Let me know which approach you use and if you have any further questions.

-Chris
Attached Images
File Type: jpg hex-blk-transition-01.jpg (24.3 KB, 40 views)
File Type: jpg hex-blk-transition-02.jpg (33.4 KB, 40 views)
cnsidero is offline   Reply With Quote

Old   September 15, 2014, 10:04
Default
  #3
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Thank you Chris.

Honestly I prefer to avoid the AMI/GGI boundary condition.

I already though to create a transition block and I think I'll choose this approach.

I also though that a possible approach could be to create all the mesh as 10x10x10 and then refine it using snappyHexMesh or the refineMesh command in openFoam. Do you think this is a doable approach?

Since i started using pointwise one week ago, I was indeed asking if there was a way for pointwise to do such thing: your answer is perfect: NO.

Thank you very much for the answer.

Luca
Pj. is offline   Reply With Quote

Old   September 15, 2014, 10:16
Default
  #4
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by Pj. View Post
I also though that a possible approach could be to create all the mesh as 10x10x10 and then refine it using snappyHexMesh or the refineMesh command in openFoam. Do you think this is a doable approach?
Yes, good idea. So the third approach would be to create two blocks of the same resolution - this ensures the interface is point matched. Then to facilitate refinement using the refineMesh create a volume condition for the block you want to refine, name it and change the type to 'volumeToCell'. Before exporting the mesh go to CAE, Set Solver Attributes and ensure CellExport is set to something other than None. Use Sets or SetsToZones as the refineMesh utility can modify a set of cells (check out the sample refineMeshDict). Set FaceExport to None.

The purpose of doing this is to group the cells into a set to make it easier to refine them with refineMesh.
cnsidero is offline   Reply With Quote

Old   September 15, 2014, 10:21
Default
  #5
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Thank you very much for the last tip. I'll look for those options.

I'll keep you posted on the result.
Pj. 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
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 07:16
Assigning values for outlet boundary from its adjacent cell Ali.nabavi Fluent UDF and Scheme Programming 7 July 12, 2013 15:11
Wall Roughness bigger than smallest cell size Yur ANSYS 0 May 15, 2013 04:20
Error message: 8 face(s) not in face lists of adjacent cells jyoung79 FLUENT 0 November 10, 2012 16:09
structured and unstructured grids user Main CFD Forum 6 November 25, 2010 01:14


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