-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New function tiglGetCrossSectionArea #763
Comments
Background of the request for this functionality is the ability to apply Whitcomb's area rule. The planes for calculating the cross-sectional area (or "intercepted area") are to be defined relative to the freestream direction and are inclined depending on the Mach Number. Due to this inclination, the cross-sectional area then also varies with the roll-angle theta (rotation around the freestream direction vector). So following parameters for determining the plane orientation should be available:
Indeed, the cross-sectional area for the overall aircraft including all components (fuselage, wings, empennage, pods, ...) is required, so using the fused model seems the best way to go. |
@ErwinMoerland The current function to compute the intersection of a plane with the aircraft model is to simply give tigl the plane equation (e.g. point on plane and normal vector). It would be up to the user to compute the correct plane. Update: From my point of view, I'd really like to keep it this way, since it can be used in numerous ways. |
@rainman110 I fully agree with keeping the function generally applicable and not specifying it for area-ruling implementations only. The latter should be the task of a separate analysis routine using the intended tigl functionality. When practically implementing the area rule in such an analysis routine, (other) tigl functionality can be used to calculate a discrete set of "points on the plane" to be considered (i.e.: discretizing the relative position along the aircraft's x-axis). Then - based on the flow conditions (angleOfAttack, angleOfSideslip, Mach number) and a chosen discretization of the theta value (from 0 to 2*pi()) - a set of corresponding normal vectors can be determined. For each {point, normal vector} combination then the |
Follow up question: Is there a use case, where we need to calculate the cross section area for individual components rather than the whole configuration? If yes, can you provide an example? If no, I suggest to just implement |
@joergbrech: in the end, the target is to position components in such a way that a smooth cross-sectional buildup of the overall aircraft is achieved. So the implementation you propose would be more than welcome! the figure on the F102A on this website might shed some light on the idea. Having this cross-sectional distribution available, the next step would be to adjust the positioning of components (or the components themselves) in such a way, that a more smooth cross-sectional buildup is achieved. For this case, it will then be interesting to look at the cross-sectional area distribution of individual components. The question however arises whether TiGL should be able to provide this functionality, or if a tool should change the distribution and buildup of components and use TiGL to re-evaluate the cross-sectional buildup. I think this is of later concern. So let's stick to your proposal for a first implementation! |
We need a function that computes the cross section area between a component and a user defined plane.
This should work in line with the function
tiglIntersectWithPlane
.Important: To be useful, also the intersection with the whole fused aircraft is necessary!!!
Hence, we might need to implement returning the shape of the fused aircraft via the aircraft uid.
The text was updated successfully, but these errors were encountered: