tutunint

# Differences

This shows you the differences between two versions of the page.

 tutunint [2012/02/16 13:07]ramcdona tutunint [2018/04/01 14:41] Line 1: Line 1: - ====== Unintersected Component Wireframes ====== - - This component of the Cart3D tutorial will walk through the process of generating an unintersected component wireframe in VSP and then using Cart3D's intersect utility to process the geometry into a single watertight body. - - Although Cart3D's intersect tool is very robust, there are some cases it does not handle.  One of these cases is when surfaces of two components are perfectly coincident.  This situation occurs at the wing root of the Onera M6 model created in the tutorial; the root surface of the left and right wing halves are perfectly coincident. - - One common fix for this situation would be to move the components slightly (say 10^-6) in the spanwise direction so the root surfaces are no longer coincident.  Since the wing roots are normally buried inside a fuselage component, the gap between the wing halves would be insignificant.  However, the Onera M6 geometry has no fuselage and any positive offset would result in a gap between the wings and any negative offset would result in intersection artifacts at the wing root.  Furthermore, demonstrating the intersect tool with two components that don't really intersect is not very useful. - - Consequently, for this part of the tutorial, a pod component will be added to the geometry to play the role of a fuselage in the model.  This obviously would not be appropriate for matching the Onera M6 wind tunnel results, but it should do well for the purposes of this tutorial. - - ==== Generating an Unintersected Component Wireframe ==== - - - Onera M6 start - * Start with the Onera M6 model from the end of the model building tutorial. \\ {{:13_name.png?direct&200|}} - - Refine airfoil points - * The triangulated wireframe is created by connecting the diagonals of the quadrilateral wireframe shown on screen.  Consequently, the resolution of the triangulated wireframe is determined by the resolution of the quadrilateral wireframe shown on screen. - - In the 'Multi Sect Wing Geom' window, under the 'Gen' tab, enter 101 in the box to the right of 'Num Points:' \\ {{:1_airfoil_points.png?direct&200|}} - - Refine spanwise wireframe - - Select the 'Sect' tab and then click one of the right-facing arrows under 'Num Interpolated XSecs' until there are 40 interpolated cross sections. \\ {{:2_spanwise_points.png?direct&200|}} - - Add a pod - * A pod component at the wing root will give the intersect routine something to do for this demonstration and will also allow the wing halves to be offset slightly in the spanwise direction. - - In the 'Geom Browser' window, select 'POD' from the pulldown next to the 'Add' button. - - Click the 'Add' button. - - In the 'Pod Geom' window, go to the 'Design' tab and change 'Length' to 1.0. - - Go to the 'XForm' tab and shift the pod forward by changing 'X Loc' to -0.1. \\ {{:1_add_pod.png?direct&200|}} - - Refine the pod - * Like the wing, the wireframe resolution of the pod will determine the resolution of the triangulation. - - In the 'Gen' tab of the 'Pod Geom' window, change 'Num XSecs:' and 'Num Points:' to 50. \\ {{:2_ref_pod.png?direct&200|}} - - Offset the wings - * The wing components must be offset slightly in the spanwise direction so the root faces of the opposite wing halves are not perfectly coincident. - - In the 'Geom Browser', select the wing component to bring up the 'Multi Section Wing Geom'. - - Under the 'XForm' tab, change the 'Y Loc' to 0.0001. \\ {{:3_shift_wings.png?direct&200|}} - - Export unintersected file - * An unintersected triangulated surface can be exported from VSP by attempting to export a triangulated format when no triangulated mesh exists.  In this situation, VSP will create an unintersected triangulated mesh on-the-fly. - - From the 'File' menu, select 'Export...'. \\ {{:4_click_export.png?direct&200|}} - - From the displayed list of export options, choose 'CART3d File (.tri)'.  Unintersected triangulated meshes must be written in TRI format.\\ {{:4.5_export_options.png?direct&200|}} - - In the 'Select File' dialog, navigate to the save location and choose a file name.  When you are satisfied, click 'Accept'. \\ {{:5_pick_file.png?direct&200|}} - * After the export has completed, VSP will display the unintersected mesh that was created on-the-fly. \\ {{:6_after_export.png?direct&200|}} - * Zooming in on the nose-region of the model demonstrates that no intersection or trimming operation has been performed. \\ {{:7_unintersected_proof.png?direct&200|}} - - - ==== Intersecting the Wireframe ==== - - Cart3D's intersect tool is used to intersect the triangulated components and create a single watertight body.  This tool is more thoroughly documented in the [[http://people.nas.nasa.gov/~aftosmis/cart3d/surfaceModeling.html|Cart3D documentation]]. - - If you copy the unintersected triangulated wireframe file from VSP to 'Components.tri' you can run Cart3D's intersect utility with no command-line options.  Otherwise, execute intersect with the following command: - - - intersect -i infile.tri - - - This command will intersect the components in 'infile.tri' and will write the result out to 'Components.i.tri' ready for analysis. - - === Next Steps === - - Once you have successfully intersected the model, continue to the [[TutSetup|Cart3D Setup Tutorial]]. -
tutunint.txt · Last modified: 2018/04/01 14:41 (external edit)