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

T-Rex block next to structured block

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2014, 22:10
Default T-Rex block next to structured block
  #1
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Hi all!

Apparently, I need some help again (I'm not very proud about me asking for help all the time, sorry).

I am looking into laminar-turbulent transition in the near-tip region of a wing.
Figures 1,2 and 3 will help you understand my geometry.

I have tried various meshes (fully unstructured domains and blocks, hybrid etc) but I want to try this as well. I have made a structured block around the wing but I left the tip outside. For the surface mesh on the tip, I used the 2D T-Rex and I also created the farfield boundaries and assembled the block (figures 4 and 5). Now the problem is how to populate that block (the unstructured one) with cells.

I tried to just initialise it and it worked. The only problem with this is that I don't get layers around the tip for the boundary layer. Therefore, I tried to use the T-Rex again. I set the tip surfaces as wall with the desired Δs value. However, I cannot find the proper boundary conditions for the rest of the domains. For the domains that are common with the structured block, I tried the "match" boundary condition and the wall as well, and the other domains I set to "match" apart from the farfield on the side. I tried with the push attributes on and off... generally, I think I tried every combination but I couldn't get the block populated.
Maybe I should also mention that I tried the "adjacent grid" boundary condition too, on the domains that are common with the structured block.

What is there that I'm missing? I'd appreciate some help!


Many thanks,

Lefteris
Attached Images
File Type: jpg front.jpg (13.6 KB, 119 views)
File Type: jpg side.jpg (14.7 KB, 91 views)
File Type: jpg top.jpg (15.1 KB, 99 views)
File Type: jpg tip.jpg (87.5 KB, 111 views)
File Type: jpg overall_farfield.jpg (39.0 KB, 115 views)
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Old   August 4, 2014, 11:50
Default
  #2
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16
tcarrigan is on a distinguished road
Hello Lefteris,

What version of Pointwise are you using? I ask because you can match viscous structured and unstructured blocks using Pointwise V17.2R1 or later.

Travis
tcarrigan is offline   Reply With Quote

Old   August 4, 2014, 13:53
Default
  #3
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Hi Travis,

Thanks for taking the time to reply!

I am in fact using the 17.2 version.

I set the structured domains to the "match" boundary condition and the tip of the wing to "wall". Now, irrespectively of whether I have the push attributes enabled or not, or what boundary conditions I apply to the other domains, the block doesn't get populated. I do get 35 layers around the wingtip (0 full) but then (after a while) I get the error message that one or more entities could not be initialized. I've located those problematic cells and they are on the farfield outlet domain. I hope the attached figures will help you form a better view.
I re-initialized the domain and as a matter of fact I deleted it and reassembled it but the result was the same.

Once again, I appreciate it that you deal with this!


Lefteris
Attached Images
File Type: jpg bc_match.jpg (98.9 KB, 96 views)
File Type: jpg bc_wall.jpg (97.0 KB, 75 views)
File Type: jpg layers_front.jpg (55.5 KB, 72 views)
File Type: jpg layers_side.jpg (97.9 KB, 68 views)
File Type: jpg farfield_rear_problematic_cells_1.jpg (61.5 KB, 62 views)
__________________
Lefteris


Last edited by Aeronautics El. K.; August 6, 2014 at 17:48.
Aeronautics El. K. is offline   Reply With Quote

Old   August 6, 2014, 15:38
Default
  #4
New Member
 
Join Date: Sep 2012
Posts: 5
Rep Power: 14
jrhoads is on a distinguished road
Hello Lefteris,

This is certainly a frustrating issue I've come across. My first thought is that it might be related to the amount of RAM available. After T-Rex completes, the Iso-Tet generator calls on a significant amount of RAM as seen in the attached image (and even more if you have specified multiple iterations). If your machine runs out of RAM, Pointwise will return the error you indicated and the initialization will fail. As a rule of thumb, you will need about 130 MB of RAM free for every 1 million cells in your final grid. Since your grid looks fairly well resolved, you might want to start there and let us know what you find. It might also be a cell-quality thing, but I thought we could check the RAM first. (For what it's worth, exporting the recombined grid can take a significant amount of RAM too, so make sure you leave yourself a little headroom.)

John
Attached Images
File Type: jpg RAMUsage_NI.jpg (38.6 KB, 45 views)
__________________
John Rhoads, Ph.D.
Senior Engineer
Pointwise, Inc.
jrhoads is offline   Reply With Quote

Old   August 6, 2014, 15:50
Default
  #5
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16
tcarrigan is on a distinguished road
John has a valid point. You'll want to make sure that you have enough memory to initialize the block. Failed initializations can occur if the iso tet mesher can no longer allocate enough RAM to perform the calculation.

However, the problem may be more of a topology issue, particularly near the trailing edge of the wing tip. In order to get the unstructured viscous block to match the structured block, you'll need to get a sense for the growth rate used on the structured "match" domains. I encourage you to watch this video and see how to get a good value for the growth rate, http://youtu.be/UKwz-b3QkF4.

Now, the problem I see is with the trailing edge of the tip. The structured grid around the wing is a c-type topology. However, T-Rex is going to generate more of an o-type topology. Therefore, it will be impossible for the layers on the unstructured side to match the structured domain at the tip and that's why you'll notice it stopping there almost immediately. When it stops this soon, the cell quality in that region is too poor to form a valid tetrahedra and the iso tet mesher fails.

To fix this you'll either need to change the topology of your structured blocks, create a structured domain on the wing tip, or use an unstructured topology for the entire geometry.
__________________
Travis Carrigan
Manager, Business Development
Pointwise, Inc.
tcarrigan is offline   Reply With Quote

Old   August 8, 2014, 18:51
Default
  #6
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Hi John! Hi Travis!

Thanks for your answers. I apologise I didn't reply sooner.

It hadn't crossed my mind that memory issues could be the reason that block initialization fails. I did check it then. Usually, I have several other applications running apart from Pointwise like Firefox, skype, excel etc... I tried a somehow demanding case and the initialization failed. Then I closed everything but Pointwise and tried again while checking the memory usage all the time. The second try was indeed successful!
Lesson No. x^n learnt. Thank you so much for the tip!

Travis, I didn't put what you said to the test because I changed the whole topology. Insteady of a structured surface mesh, I made an unstructured but very fine one with about 80000 cells on a surface of about 0.056 m^2 and I used T-Rex for everything (surface and block). I have attached a photo if you care to see the result.
By the way, I've watched all your videos on youtube and they are very very very helpful. I've also watched the majority of the CFDMeshing videos (also Chris had suggested one or two of them a few days ago) but I hadn't watched the one you sent me.

Thanks for your help!

Lefteris
Attached Images
File Type: jpg t-rex_block.jpg (97.9 KB, 105 views)
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Old   August 8, 2014, 19:19
Default
  #7
New Member
 
Join Date: Sep 2012
Posts: 5
Rep Power: 14
jrhoads is on a distinguished road
Hello Lefteris,

Glad to hear you got it sorted out! The mesh looks good too. Just an observation (that may just be due to the cut chosen), it looks like there may be a pretty sharp transition in cell size in the isotropic portion of the grid. If you'd like to slow down that transition, you can increase the Boundary Decay for the block (under Attributes, Algorithm in the Grid, Solve panel) to try and make it a bit more gradual. Since it's away from the body, it may not matter anyway, but I thought I would mention it.

John
__________________
John Rhoads, Ph.D.
Senior Engineer
Pointwise, Inc.
jrhoads is offline   Reply With Quote

Old   August 10, 2014, 08:42
Default
  #8
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16
Aeronautics El. K. is on a distinguished road
Hi John,

Thanks for checking this out. When I made the cut, I noticed this sharp change in cell size and I didn't like it very much to be honest. The boundary decay is at 0.85 for this mesh. It crossed my mind that I could increase it even more but this would also increase the number of cells in the final mesh and I didn't really want that. My next thought was to change the Aniso-Iso Blend but I wasn't sure this would alleviate this problem and since - as you said - it's not very close to the area of interest, I just left it like this.

Thank you for your comments and help! I appreciate it!

Lefteris
__________________
Lefteris

Aeronautics El. K. 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
Volume mesh for Cyclone separator Rajan Pointwise & Gridgen 17 May 4, 2014 06:38
Block structured hexagonal mesh vs automated tetra mesh inside Workbench for CFD Chander CFX 3 November 27, 2011 17:24
[Commercial meshers] Icem Mesh to Foam jphandrigan OpenFOAM Meshing & Mesh Conversion 4 March 9, 2010 03:58
Block Structured Grid aurel Fidelity CFD 0 October 21, 2005 10:17
Block Structured Grid aurel CFX 0 October 21, 2005 10:11


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