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

[ICEM] 2D boundary layer growth with blayer_2d

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2014, 07:23
Default 2D boundary layer growth with blayer_2d
  #1
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Hello all,

After having seen a lot of posts on this forum, I have managed to use the blayer2D tool to create a boundary layer on a multi element airfoil. The 2D geometry contains a slat, a main wing and a flap. I am making the mesh in a optimisation loop so I use a script to create the mesh.

I am facing a problem of mesh quality at the trailing edge of my airfoils. The boundary layer thickness doesn't decrease and I then obtain very large cells at trailing edges. See pictures below and code to generate the BL. I also need to use the check mesh tool to remove the overlapping elements.

Code:
ic_set_meshing_params prism 0 law exponential layers 21 height 8.0e-5 ratio 1.1 total_height 0.0134 prism_height_limit 0 max_prism_height_ratio {} stair_step 1 auto_reduction 1 min_prism_quality 0.2 max_prism_angle 140 fillet 0.5 tetra_smooth_limit 0.2000000 n_tetra_smoothing_steps 10 n_triangle_smoothing_steps 5
Code:
ic_run_prism Airfoil12508.tin temp_prism0.uns prism.uns params Airfoil12508.prism_params log prism_cmd.log n_processors 2 init_dir_from_prev 1 smoothing_steps 0 first_layer_smoothing_steps 1 blayer_2d 1 fillet 0.1 ortho_weight 0.1 max_prism_angle 140 min_prism_quality 0.2 tetra_smooth_limit 0.2000 family {SLAT height 8.0e-5 ratio 1.1 n_layers 18} family {MAIN height 8.0e-5 ratio 1.1 n_layers 31} family {FLAP height 8.0e-5 ratio 1.1 n_layers 22} family FLUID
Thanks,

Jean.
Attached Images
File Type: jpg main_wing.jpg (98.3 KB, 54 views)
File Type: jpg main_flap.jpg (97.4 KB, 52 views)
jeannotalpin is offline   Reply With Quote

Old   December 2, 2014, 11:48
Default
  #2
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
did you try suggestiong from simon's tips and tricks:
https://docs.google.com/file/d/0ByIL...nBqTXBQT3pQMjQ
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   December 2, 2014, 14:32
Default
  #3
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Hi,

Thanks. I didn't know this best practices presentation. There is some very useful stuff inside. I will try to apply it tomorrow.
I think this might be useful:
Quote:
If Min Prism Quality is too high, it
may adjust Max Prism angle down to
keep quality up, this will result in
pyramids near sharp trailing edges.
–> Common mistake

However it seems to be mainly for 3D geometries, whereas mine is 2D.
jeannotalpin is offline   Reply With Quote

Old   December 2, 2014, 14:33
Default
  #4
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
it does work for both. good luck
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   December 3, 2014, 08:29
Default
  #5
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Hello,
I tried some of the tips but I can't get any improvements. The improvements are visible on my local computer (icem 15.0). However, using the same script on my cluster (icem 14.0) I still have the mesh shown above.

Is there a way to tell the BL growth to stop at sharp angles (sharp trailing edges or sharp 90° turn), that is applicable to icem 14.0?
I use for my BL growth:
max prism of 140
min quality from 0.0001 to 0.2 but no improvements are made

Thanks,

Jean.
jeannotalpin is offline   Reply With Quote

Old   December 9, 2014, 10:28
Default
  #6
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Hello again,

I am still struggling on my 2D mesh creation.

This is my procedure:
1. Import airfoil points
2. Create curves for airfoil and farfield
3. Create 1 surface on all domain
4. Split my surface with the curves created (build topology is modify my curves with no control (creates, split, change name, delete control point so that the resulting curves are wrong))
5. Delete the surfaces inside my airfoil
6. Set general mesh parameters (global and per parts)
7. Set curves bunching parameters
8. Creates the unstructured mesh
(9. Create a prism boundary layer) (I also tried without but it is worst and I don't know how to control the expansion ratio from the airfoil without prism BL)
10. Check and fix mesh
11. Smooth mesh
12. Extrude 1 cell to run on CFX

I don't need an extremely precise mesh but I need a robust one giving reliable results. What are the main steps and parameters to create a simple unstructured mesh around my multi element airfoil with Icemcfd?

Edit: I have also found this document which has proven to be very useful: https://docs.google.com/file/d/0ByIL...TnM/edit?pli=1
However, I have trouble, again, to set y+. It is advised to leave free the initial spacing so that transition between boundary layer and rest of the mesh is smoothen. However, it seems that the redistribute prism tool is ineffective in 2D. Any suggestion to obtain a good quality BL respecting boundary layer thickness and initial spacing to obtain y+ around 1?

Thanks a lot.

Jean.

Last edited by jeannotalpin; December 10, 2014 at 13:17.
jeannotalpin is offline   Reply With Quote

Old   February 17, 2015, 07:35
Default
  #7
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Hello again!

I am still having troubles with my hybrid mesh. Can anyone tell me why I have those waves on my boundary layer prism on the pricture.

EDIT: This exactly what I want to achieve: http://grid-generation.blogspot.co.u...1_archive.html but no matter how I set up the parameters of 2dblayer, I always get bad BL.

If the prism layer is not possible, what is the method to specify a first cell spacing and expansion ratio using only tetra?

Thanks again,

Jean.
Attached Images
File Type: jpg Screenshot from 2015-02-17 11:32:54.jpg (43.8 KB, 26 views)

Last edited by jeannotalpin; February 19, 2015 at 09:19.
jeannotalpin is offline   Reply With Quote

Old   February 19, 2015, 10:58
Default
  #8
New Member
 
Jean D.
Join Date: Oct 2014
Posts: 9
Rep Power: 11
jeannotalpin is on a distinguished road
Anyone to help a lost soul on a problem with no tutorials all over internet?
jeannotalpin is offline   Reply With Quote

Reply

Tags
blayer, icem 2d

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
Prism Layer (Boundary Layer) Thickness Peter-27 STAR-CCM+ 12 March 27, 2022 13:25
Divide Prismatic Boundary Layer Mesh causes overlapping faces SilentRunner42 enGrid 4 May 4, 2015 04:37
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
[snappyHexMesh] Boundary layer in a pipe Clementhuon OpenFOAM Meshing & Mesh Conversion 6 March 12, 2012 13:41
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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