|
[Sponsors] |
Transient Angle of Attack Simulation Not Displaying in Post |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 22, 2009, 12:43 |
Transient Angle of Attack Simulation Not Displaying in Post
|
#1 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Hello -
Before I begin, I have read the manual and have done all of the tutorials. I am running a 2-dimensional (2-D Extruded Mesh) simulation of a NACA 0012 airfoil. I used the "Flow from a Circular Vent" tutorial to help model both a steady state and transient analysis. I created a fluid domain for the surrounding rectangular prism (15 m long, 4 m high, 1 m wide (but with symmetry and 2-D mesh extrusion)) and a solid, steel domain for the airfoil (1 m long) itself. In the Transient Analysis, I configured CFX-Pre so that the Fluid Domain remains stationary while the Airfoil Domain rotates about the z-axis (the x- and y-axes represent the 2-dimensional Cartesian plane; hence a rotation about z changes the angle of attack) at some prescribed angular velocity (I have tried various, from 0.05 rad/s to 1 rad/s). The fluid domain has an axial velocity of 0.65 m/s. Although both the steady state and transient analyses run and converge successfully, I have the following problems in CFX-Post:
Thanks for your help. |
|
July 22, 2009, 15:18 |
Update
|
#2 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Hello -
I managed to run the airfoil simulation with a changing angle of attack. I changed the airfoil from a "Solid" to an "Immersed Solid". The animation now produces a moving airfoil. My problem now is this: Because I have 2 domains (immersed solid airfoil and fluid), the airfoil appears in both. In one, the airfoil is the domain and it is rotating. In the other (the fluid domain), the airfoil is just a boundary within the domain. In CFX-Post, the airfoils from both domains are present (the rotating and stationary). This causes a problem because the results are treated as if there are 2 airfoils - 1 rotating, 1 stationary at 0 degree AoA. How can I eliminate the stationary airfoil? |
|
July 22, 2009, 18:39 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144 |
Hi Josh,
Immersed solid is unlikely to be a good approach for airfoil modelling. It does not allow capturing of the airfoil boundary layer very well. What Re number is it running at? What Mach number? Any other physics of importance? If you could post an image of your geometry that would be good. I recommend you model this with the airfoil being a cut out section in a fluid domain. Then the easiest way of implementing the airfoil motion sounds like putting it is a rotating frame of reference and join it to the outer stationary frame of reference with a GGI on transient rotor/stator mode. You can do this with mesh motion but that is much more complicated and will be a far slower simulation. Also it sounds like your domain is quite close to the airfoil. If you are trying to get the infinite field results you will have significant error. Do a sensitivity analysis to find how far the outer boundaries need to be away from the airfoil. Glenn Horrocks |
|
July 22, 2009, 18:39 |
|
#4 |
Senior Member
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 18 |
first theres a few model the profile movement and these are described here http://www.cfd-online.com/Forums/cfx...-sloshing.html
I'm not sure if you have made this error but if you use imersed solids the mesh for the fluid and imersed solid component must be separate and independant.
__________________
Top 4 tips 1. Knowledge is everything and Ignorance is dangerous. 2. Understand your limitations and try to eliminate them. 3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window. 4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials |
|
July 23, 2009, 10:45 |
|
#5 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Thanks for the replies.
Here are some details ... Geometry I did model the airfoil as a cutout from the fluid domain. I used "Point" to import my airfoil, created a spline of half the airfoil profile, extruded the half-profile, and used a Body Operation to mirror the half-profile to create a full, symmetrical profile. I then froze that full airfoil profile, created a second sketch of the fluid domain surrounding the airfoil, and extruded that. Finally, I used another Body Operation to cut the airfoil out of the fluid domain, which created 2 Parts, 2 Bodies. My geometry profile can be found below: http://picasaweb.google.com/counse/C...eat=directlink Mesh Pictures of my mesh scheme can be found in the same album: http://picasaweb.google.com/counse/C...eat=directlink I have 6 regions: Inlet, Outlet, Left, Right, Default 2D Region (the top and bottom), and Airfoil. My Default Body Spacing is 0.1 m. I used Line Control around the airfoil with a radius of 0.6 m, length scale 0.01 m, and expansion factor of 1.2. I used inflation on the airfoil with 40 layers, expansion factor 1.02, first layer thickness option with y+ = 1, Re = 10^4, and 1 m reference length. My meshing strategy in the options category was a 1 layer extruded 2D mesh. The extruded periodic pair was between the left and right sides (along the z-axis). Setup (Pre) The inlet velocity is 0.65 m/s, so the Reynolds number is Re = 10^4 The Mach number is M = 1.91 x 10^-3 As per Tutorial 4 (? - whichever has flow through a circular vent with smoke), I created 2 analyses - a steady state and a transient. Really, the only difference is that the airfoil in the transient analysis is rotating (while the steady state airfoil remains stationary). The transient analysis type has no coupling, a 60 s total time, 48*1.25 timesteps, and initial time of 0 s. The domains are the airfoil and the fluid. The airfoil domain is solid (changed it for you, Glen), steel, and rotating about the z-axis at -0.001 rad/s with no mesh deformation. The only boundary is the default domain (the airfoil). The fluid domain has the following boundaries: symmetry on the top, bottom, left, and right; inlet with u = 0.65 m/s and medium intensity turbulence; outlet with 0 Pa average static pressure; smooth, no-slip wall on the airfoil. k-omega turbulence is used. In the Solver Control, a second order backward Euler scheme is used with min. coeffs 1 and max. coeffs 2 and RMS 1E-4 residuals for the convergence criteria. In the Output Control, pressure and velocity are output every 1 s. Solver Both the steady state and transient analyses complete and converge successfully. Post The stationary airfoil remains. When I click on various timesteps, I see both the stationary (0 degree AoA) and transient airfoil. The stationary one interferes with the transient one (i.e. the streamlines and pressure contours go around both). |
|
July 23, 2009, 11:53 |
|
#6 | |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Quote:
Can someone please set me in the right direction? I'm struggling to figure this out. Thanks again for your help. |
||
July 23, 2009, 15:27 |
|
#7 |
Senior Member
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 18 |
this is what glenn meant for the rotating frame
__________________
Top 4 tips 1. Knowledge is everything and Ignorance is dangerous. 2. Understand your limitations and try to eliminate them. 3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window. 4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials |
|
July 23, 2009, 15:33 |
|
#8 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Thanks for the drawing, George. I do understand the theory, just not the method. I'm not sure how to rotate the area around the airfoil.
|
|
July 23, 2009, 15:52 |
|
#9 |
Senior Member
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 18 |
you need to create two meshes, one is the outside (preferable hex) and one surrounding the wing profile (easiest is tetra with inflation but you could put some more effort and create a nice mesh to capture the flow).
in cfx you can define the mesh movement in many ways: for steady state use one domain and rotate the inner mesh in cfx pre according to your requirements. for transient you can do this in a few ways: one is mentioned in the sloshing link I posted above another way is to use two domains the outer mesh is the stationary frame and the inner mesh is the rotating frame ( this is what glenn was on about) another uses subdomain to define the motion but distorts the mesh
__________________
Top 4 tips 1. Knowledge is everything and Ignorance is dangerous. 2. Understand your limitations and try to eliminate them. 3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window. 4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials |
|
July 23, 2009, 16:21 |
|
#10 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
I tried Glenn's method (2 Domains - the solid airfoil and the fluid surroundings). In Post, I only saw rotation if the airfoil domain was treated as an immersed solid. Even then, as the airfoil rotated (it was colored blue), another stationary airfoil was present. Hence there were 2 airfoils whose streamlines and pressure contours were intertwined.
I think the reason for this is that although I have a solid airfoil domain, the airfoil is also a boundary in the fluid domain, so the solver treats the simulation as if there are 2 airfoils. How do I properly define the 2 domains to avoid this? Or is this caused by something else? I would do the moving mesh method, but Glenn said it's complicated and causes long simulation times. Since my summer student contract expires soon, I don't know if I have time to learn and implement something that complicated. Thanks for any help! |
|
July 23, 2009, 16:37 |
|
#11 |
Senior Member
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 18 |
i think your problem is the way you created the mesh. as I said if you use imersed solids the mesh for the fluid and imersed solid component must be separate and independant (in simple terms if you used workbench to create the geomerty the wing and the fluid space are two independant parts.
all other cases require all bodies need be in the same part and share the same topology
__________________
Top 4 tips 1. Knowledge is everything and Ignorance is dangerous. 2. Understand your limitations and try to eliminate them. 3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window. 4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials |
|
July 23, 2009, 18:28 |
|
#12 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144 |
Quote:
|
||
July 24, 2009, 09:55 |
|
#13 | |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Quote:
Thanks again! I really appreciate your help. |
||
July 24, 2009, 10:29 |
|
#14 | |||||
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
Quote:
This is very low because I am modeling a low Reynolds UAV. Despite the likelihood of laminar flow, the professor and client requested k-omega turbulence modeling. They are interested in Reynolds numbers of 10^4 and 5x10^4 at angles of 0, 5, 10, and 15 degrees. Quote:
Quote:
Quote:
Quote:
My main problem still persists. I cannot model an airfoil with changing angle with a transient analysis. I tried: 1) Using 1 Domain, which was then rotated at a certain angular velocity. This, however, did not produce results that displayed a changing angle. In other words, I could not animate the airfoil changing in angle. 2) Using 2 Domains, 1 stationary (fluid surroundings) and 1 rotating (solid airfoil). This, just as before, did not produce results that displayed a changing angle. 3) Using 2 Domains, 1 stationary (fluid surroundings) and 1 rotating (immersed solid airfoil). Although this did display an airfoil with changing angle, the original solid airfoil at 0 degrees remained, as well, causing interference (in other words, there were 2 airfoils - 1 rotating, 1 stationary at 0 degrees). If I model the geometry as 1 Part, 1 Solid (like you suggested with merged topology and with the airfoil acting as a cutout from the fluid domain), how can I make the airfoil, and not the whole fluid domain, rotate? I really appreciate your help. I've tried reading the manual for 2 weeks now and have done all the available tutorials, but to no avail. |
||||||
July 24, 2009, 10:36 |
|
#15 | |
Senior Member
George
Join Date: Mar 2009
Location: Birmingham, UK
Posts: 257
Rep Power: 18 |
Quote:
I never said you need to use the immersed solid, I'm just telling you whats wrong with your problem definition and your mesh when you used the immersed solids option to use the stationery/rotating frame reference you obviously need to use two fluid domains. purely for informational purposes if while creating your mesh you have a shared topology (thats the default option in workbench) which basically means you use the same nodes at the mesh interface, you can use more than one mesh in a domain.
__________________
Top 4 tips 1. Knowledge is everything and Ignorance is dangerous. 2. Understand your limitations and try to eliminate them. 3. Get yerself a bike and hoon the chuffer. You will soon learn why dogs like to hang their heads out the car window. 4. Please before asking any questions on how to run simulations in CFX, go though all the tutorials Last edited by ckleanth; July 24, 2009 at 10:54. |
||
July 24, 2009, 11:14 |
|
#16 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
I want to do the stationary/rotating frame style. When using 2 domains, though, my airfoil appears as both a domain AND as a boundary within the fluid domain. Any ideas on how to prevent this?
Last edited by Josh; July 24, 2009 at 13:41. |
|
July 25, 2009, 07:02 |
|
#17 | ||
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144 |
Quote:
If you insist on using a turbulence model then the only model which makes sense is SST with the turbulence transition model - and I bet it never trips to turbulence anyway! Quote:
As for your difficulties in getting the thing to move, have a look at any of the rotor/stator tutorials in the CFX examples. All we are suggesting here is to make the rotational speed a CEL expression rather than a constant and make it sweep out the motion you intend. Glenn Horrocks |
|||
July 27, 2009, 09:22 |
|
#18 | ||
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
I asked my professor about this on Friday. Just as with a flat plate, the turbulence model is required near the trailing edge of the airfoil where length begins to play a significant role in turbulence development.
Quote:
Quote:
Thanks for all the help. Joshua |
|||
July 27, 2009, 18:45 |
|
#19 | ||
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,826
Rep Power: 144 |
Quote:
Quote:
Glenn |
|||
July 28, 2009, 09:19 |
|
#20 |
Senior Member
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 18 |
||
Tags |
airfoil, angle of attack, animation, rotating domain, transient |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient animation performance in CFX 5.5 POST | Sjoerd Romkes | CFX | 8 | February 5, 2013 14:53 |
introducing angle of attack on ICEMCFD HEXA | icem beginner | FLUENT | 2 | December 6, 2008 15:34 |
Initialisation in transient simulation with ASIs | Phil D | Siemens | 7 | January 30, 2008 07:44 |
modelling inviscid 2D flow at high angle of attack | Ferdinando | FLUENT | 2 | October 30, 2007 17:26 |
Automatic post processing of Transient simulation | Aziz | CFX | 2 | June 24, 2005 14:37 |