[Pointwise] wing mesh, project connectors
2 Attachment(s)
Dear All,
I am modelling flow around a wing. I generated the hybrid mesh in Pointwise. When I plot the chordwise distribution of pressure coefficient (Cp), I get wiggles in it at the leading edge. I believe its because the mesh is not precisely projected to the underlying geometry database (though the domains are purple in Pointwise). I know there is a project tool in Pointwise but whichever projection method I use it does not change anything. Does anyone know how to use it properly? Also, how can I decrease the tolerance of the underlying geometry databases? They are just approximated too coarsely. Thanks for any help in advance! P.S. see attached picture of the mesh and the resulting Cp plot. 
I would suggest that your connector is properly projected onto the database, its just the edge resolution is a bit coarse. Try upping the number spacing on the connecter and it should follow the database more closely.

Quote:
Anyways the chord length of the wing is 735mm, the first cell at the leading edge of the wing is 1mm ! Should be fine. Thanks for the comment though... 
Quote:
every meshing sw uses straight lines to approximate curves. where have you seen a cell with a curved edge? if the number of points is high enough you will not notice the difference. if you don't want to increase the overall number of cell you might try to increase the refinement near the LE and coarsening it where the gradients will be less sharp, for example in the middle of the foil. 
may be it is due to the transition from laminar to turbulent flow with small separation bubble.
use klktw or sst gamma thetta model. 
From the picture you have posted I dont see any problem. I believe that approximation is below the machine accuracy.

Hello la7low:
Let's start with the wing geometry (aka the database). You mention that they are "approximated too coarsely." Pointwise does not approximate the geometry. It uses it in whatever form you provide it. If you provide a discrete surface, it will keep it discrete and faceted. If this is how you're using it, you can choose to fit a cubic curve or surface through a linear or bilinear, respectively, database surface. That will give you a cubic shape on which to generate your mesh. However, keep in mind that a cubic, while smooth, doesn't necessarily match the true geometry. If on the other hand your database was imported from a CAD system (for example, via an IGES file), Pointwise uses the surfaces as defined in that file. So if you give it a surface that's a 7th degree BSpline surface, the mesh will be generated on that shape. If I'm interpreting your picture correctly, your arrows point to regions where the grid lines (green) cut inside the geometry. In high curvature regions that will happen if the grid points are too widely spaced. In other words, the grid points are connected by straight lines and may cut through the geometry. You fix that by changing your mesh spacing to make it smaller in regions of high curvature. Regarding Pointwise's projection command and whether or not it's working, you can select your surface mesh and use the Examine command with function DB Associativity to see whether Pointwise thinks all the points are on the database or not. Of course, the projection command also gives you a tally of percent on and off. There is also another subtlety that you may be seeing. Depending on how small the grid is in the picture you attached and how far zoomed in you are, you may be seeing a graphical artifact due to how the database is discretized for display. I don't think that's the case, but sometimes if you zoom in far enough you can make the grid and database seem to diverge even though they're not. In summary, consider two things. If your database is discrete, Pointwise will put points on that discrete, faceted shape. The option here is to use the Fit command to make a new database shape that's a cubic. Second, if you put too few grid points on a highly curved surface, the mesh will be a poor approximation to the shape. Hope this helps. 
fit?, curved cells?
Quote:
Would be great if I could put a smooth cubic surface on the discrete surface. How can I do that? You mentioned Fit command. When I select the Solid database or the quilts the EditFit command is still inactive... Quote:
Quote:
Quote:
To sum up, the problem is then twofold: firstly, my geometry is a bad representation of the original, smooth wing (this was spoiled in Solidworks). Secondly, the cells at the walls can be straight lines only (I suppose), which means that even a smooth wing geometry will be zigzaggy in the solver, but it is even worse for dsicrete geometries when the underlying geometry is zigzaggy at the first place. So the solution is to use at least smooth geometry with refined mesh at the curvatures. Thanks for the comments! 
If you have a model and quilts your geometry is a NURB, not discrete/faceted. We can't make solid models out of discrete geometry yet. This is why Fit is inactive with the quilt selected.
Pointwise generates linear elements meaning cells cannot be curved. Said another way, adjacent grid points are connected with a straight line. The only way to make your grid a better approximation of your geometry is to cluster the points closer together. If DB Associativity is 100% that means all your grid points are on the database. Given all these facts, my last conjecture about graphics precision is not a factor here. Without knowing how the geometry was created, I can't blame SolidWorks for anything you're seeing. 
Quote:
Quote:
Quote:

Pointwise renders discrete surfaces exactly, point for point. For analytic surfaces, it uses an algorithm to sample and evaluate the surface at a sufficient number of points to ensure an accurate rendering.
Yes, there are meshes that use higherorder elements. This is typically the finite element method of which there are relatively few CFD solvers. Never having done it myself, I'll say it's equivalently (but not equally) difficult to write an FEA solver versus a finite volume solver. Why doesn't everyone use Cartesian? We are talking about two types of linear approximation. In a grid like the ones you've made, the grid lines are bodyfitted meaning they follow the contours of the body. So even though the grid lines are faceted, they can still provide a good approximation of high curvature. With a Cartesian grid you either end up with stairstepping on the boundary (which is awful from a CFD standpoint) or you create cut cells near the wall to retain boundary conformance. Cut cells make your solver more complicated (because you end up having to handle cells with an arbitrary number of faces) plus you don't have any alignment of grid lines with the flow near the body which is a good thing when it comes to accurately capturing the boundary layer. Tolerancing in IGES only comes into play with trimmed surfaces  how accurately do trimming curves match the surface they're on and how well to adjacent surfaces fit together. If you start with just BSpline surfaces (entity 128 in IGES) there's no tolerance issue at all. 
All times are GMT 4. The time now is 11:06. 