|
[Sponsors] |
October 17, 2013, 10:37 |
Generate a c topology mesh of an airfoil
|
#1 |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Dear all,
I want to a c type mesh around airfoil NACA 0012. I am a new user of Pointwise and I think my application is something wrong. The followings are my steps: 1. import the airfoil geometry and set the dimensions of top and bottom edges of airfoil 2. create a 2-point curve which is the wake edge, the dimension is also set properly. The interval at the trailing edge is almost the same with that at the beginning of wake edge. 3. Create -->Extrude--> Normal pick the domain in excessive order (wake edge-->bottom edge--> top edge--->wake edge) set the initial step size and then run 80 steps The following are my result. It can be seen that the mesh quality is not bad at the trailing edge. However, at the far field boundary, it is weird. Hope to get some advice from you guys. Thank you very much. |
|
October 17, 2013, 11:06 |
|
#2 | |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
Quote:
If x is your streamwise direction choose either Constant X or Symmetry X. This will make extrusion at the end of the connector only progress in the vertical direction (Y). Note: the difference between Constant and Symmetry is that Symmetry will keep the grid lines at that boundary normal. This is generally only necessary if you are creating a symmetric grid and truly want the grid lines to be normal to the symmetry plane. -Chris |
||
October 18, 2013, 01:00 |
|
#3 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Hi Chris,
Thank you very much for your reply. I tried your suggestion, but the problem is not solved. When it runs about 50 steps, it crashed. I think it is because the extrusion interval at the airfoil is much bigger than that at the wake edge (see the picture). But, I choose geometry progression method and set the initial step size and growth rate for both airfoil and wake edge before running the extrusion. I can not figure out why. Another picture is the geometry I need. Sun Quote:
|
||
October 18, 2013, 06:30 |
|
#4 | |
Senior Member
|
Hi Fly,
In addition to what Chris recommended, please try with changing the extrusion method from hyperbolic to algebraic i.e. Create -->Extrude--> Normal --> Attributes Tab --> Extrusion Method --> Algebraic I have also attached a simple c type grid with normal extrusion using algebraic method. Quote:
|
||
October 18, 2013, 10:18 |
|
#5 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Hi, Taxalian,
Thank you so much for your suggestion. The mesh is so great in your picture. I tried your way, but the extrusion will stop after some steps, my result is attached. I am wondering if I had set up something wrong. Could you guide me the way you create the mesh? Thanks again. Quote:
|
||
October 18, 2013, 12:00 |
|
#6 | |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
Quote:
For example, if you wanted to extrude for 80 total steps I would set the volume smoothing to 0.05 for the first 20, increase it to 0.1 for the next 20, increase it to 0.3 for the next 20 and set it to the default 0.5 for the last 20. That's just an example so you're likely going to have to adjust your values to get the desired result but it gives you a basic template to follow. Let me know how it goes, Chris |
||
October 18, 2013, 13:06 |
|
#7 |
Senior Member
|
If you want to use hyperbolic method, then simply follow Chris's instructions.
But in order to get also reasonably good c-mesh with algebraic extrusion you also need to increase the number of step and direction iterations in the attributes tab. Also start initially with smaller growth rate of about 1.1 to 1.05 and after some few iterations increase the growth rate. By doing this you will get a good nice mesh, of course in your case you need to fine tune the parameters to get the desired mesh. |
|
October 19, 2013, 07:39 |
|
#8 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Hi Chrish,
I tried your idea and it does work to improve the mesh. The attachment is my best result. I have no idea about the meaning of volume smoothing parameter even after I read the explanation in the user manual book. Thus, I have to try to guess the value in this case. It is depressing that I cannot repeat my result after numerous attempts. My general idea is to increase the "volume" value in every 5 steps, the minimum value is 0.1 and maximum 1.0. I want to increase the distance between the leading edge of airfoil and the free stream boundary. Quote:
|
||
October 19, 2013, 12:23 |
|
#9 | |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
Quote:
So the idea is to keep the volume smoothing low early in the extrusion and thus maintaining the airfoil shape and then as it gets further away, allow the volume smoothing to increase so the shape gets more uniform - in the case of a C-topology more like a sideways U. Honestly, the mesh you generate looks really good. I not sure how much better you need it to be. If it's a matter of how far away from the leading edge you want the boundary of mesh to be it typically should be 40-50 chord lengths upstream for minimizing the effect of boundary conditions on the something as sensitive as drag. Measure how far away your current boundary is from the leading edge and adjust it if necessary. There is a re-extrude command in Pointwise where you can modify an existing extrusion so you don't have to start the extrusion from scratch everytime. |
||
October 20, 2013, 00:27 |
|
#10 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Thanks, Taxalian.
Yes, my growth rate is about 1.1. There is about 240 points on the airfoil and the first step size is 4.0e-4 (the chord length is 1). I followed your instruction but I can not get the mesh as well as yours. Could you specify the parameters you fine-tuned? Thank you. Quote:
|
||
October 20, 2013, 00:50 |
|
#11 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Thank you for your reply. It is straightforward and simple to understand.
I am sorry that I did not make it clear about the last sentence in the last message. I mean that I want the length from the leading edge and free stream boundary (noted as L1) to be the same as that from wake edge and upper boundary (noted as L2, both 20, just as the same as mesh I quote in my second message). In this way, I hope to minimize the effect of boundary layer just as you said. In my practice, the L2 is about 20 but L1 only about 14. If I want to increase L1, L2 will increase dramatically. Thus, the mesh looks much like a semi-circle. There is other parameters in smoothing parameters, like "Explicit", "Implicit". Is it necessary to tune them for a better mesh? Quote:
|
||
October 20, 2013, 14:37 |
|
#12 | |
Senior Member
|
Quote:
I think you need to initially start as follows: under the relaxation parameters within the attributes tab you can do the following: change direction option: 0.95 instead of default value of 0.5 change step size: 0.95 instead of default value of 0.7 direction and step size iterations: start with something like 150 the grid i showed previously consists of 200 grid points on the airfoil and 100 point on the wake connector. Make sure to have a uniform clustering in the trailing edge of the airfoil and start of the wake connector. |
||
December 3, 2013, 18:12 |
|
#13 | |
New Member
Y Yang
Join Date: Nov 2012
Posts: 25
Rep Power: 14 |
Quote:
I am trying to do what you have done. How can I choose the edges like you do? I could only choose wake edge --> bottom edge --> top edge. I could not choose the wake edge once more. |
||
April 6, 2014, 08:19 |
|
#14 |
Senior Member
|
Here is what you should do when you are planning to create C-Type grid:
1- Create a connector from your trailing edge to the aft portion of your desired domain. 2- Distribute all the connectors with appropriate number of nodes. 3- Select all the connectors. 4- Create> extrude>normal 5- Assemble special> delete all the edges 6- Select outer space, upper surface, lower surface, and again outer space connectors respectively. 7- Save edge and done 8- Set splay boundary condition for the outer space connector with appropriate splay factor, as an example 0.01. 9- Set attribute condition. for example you may set ds= 0.0001, GR= 1.18, Max ds=0.75, Explicit=0.1, Implicit=15, KB=3.25(super critical airfoils), Volume=0.25, steps= 60. Do not forget to correct the extrusion orientation in case you need to change it. 10- RUN |
|
April 19, 2014, 01:16 |
|
#15 | |
New Member
Sun Yu
Join Date: Oct 2013
Location: Singapore
Posts: 7
Rep Power: 13 |
Quote:
Sorry for the late reply. Have you solved the problem now? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with airfoil shape optimization | robyTKD | SU2 Shape Design | 7 | March 7, 2022 17:18 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |
[Other] Problem when trying to generate a new mesh | gaottino | OpenFOAM Meshing & Mesh Conversion | 0 | June 30, 2006 08:51 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |