|
[Sponsors] |
[ICEM] Replay not working properly - Creating the mesh for Free Block. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 16, 2017, 10:07 |
Replay not working properly - Creating the mesh for Free Block.
|
#1 |
Member
William
Join Date: Aug 2016
Posts: 56
Rep Power: 10 |
Hi,
I've created hundreds of Replay files for simpler projects. Now I'm using a Free Block which I've never used before. I don't know the best way to create a mesh within the free block but I'm using: Convert the block to free block, set it as Tri Block, Auto setting the mesh parameter, create the pre-mesh, setting my desired node bunching and re-create the pre-mesh. - But when adding a wall spacing and a growth ratio on edges of the free block... the mesh disappears. I've attached a zip file including: replayfile.rpl - ICEM CFD Replay file WingRootSection.dat - Geometry point data for the airfoil. FFOShape.dat - FarField O-Shape geometry point data. FFOShapeRefP.dat - Reference points I use to assosiate vertices. Here is the last part of the Replay Files that should be doing what I want. Converting block to unstruct. ic_undo_group_begin ic_hex_convert_to_unstruct 15 ic_undo_group_end Set it as "All Tri Block" ic_undo_group_begin ic_hex_set_sblock_mesh_type all_tris { -1 - 15 u } ic_undo_group_end Auto Updated the Mesh Parameters ic_undo_group_begin ic_hex_set_mesh_params PWING WING PFF INLET PREF OUTLET CREF FLUIDS FLUID -version 110 ic_hex_compute_mesh_size PWING WING PFF INLET PREF OUTLET CREF FLUIDS FLUID ic_hex_list_family_projection Creating the mesh ic_hex_list_family_projection ic_hex_create_mesh PWING WING PFF INLET PREF OUTLET CREF FLUIDS FLUID proj 2 dim_to_mesh 2 Setting edge bunching ic_hex_set_mesh 11 13 n 20 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_set_mesh 13 21 n 12 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_set_mesh 11 19 n 12 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_set_mesh 19 21 n 32 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_set_mesh 21 39 n 40 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_set_mesh 39 34 n 28 h1 0.00000 h2 0.000006 r1 2.00000 r2 1.08000 lmax 0.00000 default copy_to_parallel no_scale unlocked ic_hex_list_family_projection Re-creating the mesh ic_hex_list_family_projection ic_hex_create_mesh PWING WING PFF INLET PREF OUTLET CREF FLUIDS FLUID proj 2 dim_to_mesh 2 *ADDED* I see it "breaks" at the BOLD line above. ic_hex_set_mesh 39 34 n 28 h1 0.00000 h2 0.000006 r1 2.00000 r2 1.08000 lmax 0.00000 default copy_to_parallel no_scale unlocked When I leave it with default values, i.e. uniform distribution. It does work. But when I change the bunching the mesh in the Free Block (At Airfoil trailing edge) is erased. ic_hex_set_mesh 39 34 n 32 h1 0.00000 h2 0.00000 r1 2.00000 r2 2.00000 lmax 0.00000 default copy_to_parallel no_scale unlocked But I do need to make this small wall spacing and growth ratio to maintain y-plus on the surface of the airfoil. It seems that minimum Wall Spacing before breaking is 0.000008 but I'm assuming I'll need 0.000006 down to 0.000004. I also added a figure of the mesh... before applying growth ratio and wall spacing. Last edited by Wingman; January 16, 2017 at 19:44. |
|
January 16, 2017, 13:38 |
|
#2 |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Execute replay script line by line to find out where it fails. Then highlight this line here.
|
|
January 16, 2017, 19:14 |
|
#3 | |
Member
William
Join Date: Aug 2016
Posts: 56
Rep Power: 10 |
Quote:
I went through the Replay Files and saw that when applying growth ratio and wall spacing on the edge at the airfoil (copied to parallel edges, including the free block), the free block at the trailing edge will loose its mesh. The minimum Wall Spacing appears to be ~0.000009 but I'll need at least 0.000006. I have updated the original post where I highlight where the failure occurs. Apparently, it's not the replay code. I did add the growth ratio and wall spacing manually afterwards. Thanks in advance, |
||
January 17, 2017, 03:15 |
|
#4 |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Maybe I didn't understand you, but I had no problem with the script.
|
|
January 17, 2017, 04:57 |
|
#5 | |
Member
William
Join Date: Aug 2016
Posts: 56
Rep Power: 10 |
Quote:
Could it be something with some tolerances e.t.c? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Problems in creating a wedge type mesh | Joscha | OpenFOAM Meshing & Mesh Conversion | 28 | August 3, 2019 08:59 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
Problem with building geometry - concentric cylinders | Rhoddwen | OpenFOAM Pre-Processing | 9 | December 17, 2014 11:02 |
Problem with geometry - concentric cylinders | Rhoddwen | OpenFOAM Running, Solving & CFD | 0 | December 15, 2014 10:22 |
A mesh block with three mesh block to use the difference? | degr | FLOW-3D | 3 | June 26, 2009 15:51 |