vsp file types & vsp meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · –...
TRANSCRIPT
![Page 1: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/1.jpg)
Rob McDonald – Cal Poly
VSP Workshop August 21 & 22, 2014
VSP File Types & VSP Meshing
![Page 2: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/2.jpg)
2
VSP v2 Input Representations • Input
– Parametric geometry (vsp) – Background image (jpg) – Surface textures (tga, jpg) – Automation script (txt) – Airfoil definition (af) – Fuselage section definition (fxs) – Cabin definition (cab) – Wireframe as mesh (hrm) – Wireframe as surfaces (hrm) – Triangulated mesh (stl, NASCART) – Vorlax case file (cas) – Design file (des, XDDM)
http://www.openvsp.org/wiki/doku.php?id=representations
![Page 3: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/3.jpg)
3
VSP v3 Input Representations • Input
– Parametric geometry (vsp) (vsp3) Incompatible change – Background image (jpg) – Surface textures (tga, jpg) – Automation script (txt) (as) Incompatible change – Airfoil definition (af) (dat) VSP, Selig, Lednicer formats – Fuselage section definition (fxs) – Cabin definition (cab) Removed – Wireframe as mesh (hrm) – Wireframe as surfaces (hrm) Removed – Triangulated mesh (stl, NASCART) (tri) Added Cart3D – Vorlax case file (cas) Removed – Design file (des, XDDM)
http://www.openvsp.org/wiki/doku.php?id=representations
![Page 4: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/4.jpg)
4
VSP v2 Output Representations • Output
– Parametric geometry (vsp) – Screen capture (jpg) – Automation script (txt) – Wetted area/volume report (txt, csv) – Drag buildup report (tsv) – Area ruling report (txt) – Mass properties report (txt) – Wireframe (hrm) – X3D 3D Web model (x3d) – Felisa (fel) – Untrimmed surfaces (3dm) – Design file (des, XDDM)
– Trimmed surfaces (srf) – Unintersected triangulated components
(tri, possibly others) – Intersected triangulated components
(stl, NASCART, tri, msh, pov) – Isotropic triangulated surface mesh
(stl, poly, tri, obj, msh, NASCART) – Structural mesh
(stl, NASTRAN, Calculix) – Vorlax case file (cas) – Vorlax geometry & input (inp)
http://www.openvsp.org/wiki/doku.php?id=representations
![Page 5: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/5.jpg)
5
VSP v3 Output Representations • Output
– Parametric geometry (vsp) (vsp3) Incompatible change – Screen capture (jpg) – Automation script (txt) Removed – Wetted area/volume report (txt, csv) – Drag buildup report (tsv) – Area ruling report (txt) (txt) Added planar slice – Mass properties report (txt) – Wireframe (hrm) – X3D 3D Web model (x3d) – Felisa (fel) Removed – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed surfaces (srf) – Unintersected triangulated components
(tri, possibly others) – Intersected triangulated components
(stl, NASCART, tri, msh, pov) – Isotropic triangulated surface mesh
(stl, poly, tri, obj, msh, NASCART) – Structural mesh Removed
(stl, NASTRAN, Calculix) – Vorlax case file (cas) Removed – Vorlax geometry & input (inp) (csv, m) Added Degen Geom
![Page 6: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/6.jpg)
6
Paths to Cart3D Quadrilateral
Wireframe
Cart3D intersect
CompGeom
Export… CART3d File (.tri)
Export… CART3d File (.tri)
Unintersected Triangle
Wireframe
Triangle Mesh
Intersected Triangle
Wireframe
CFD Mesh Output .tri
Smooth Bezier
Surface
![Page 7: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/7.jpg)
7
Paths to Cart3D Quadrilateral
Wireframe
Cart3D intersect
CompGeom
Export… CART3d File (.tri)
Export… CART3d File (.tri)
Unintersected Triangle
Wireframe
Triangle Mesh
Intersected Triangle
Wireframe
CFD Mesh Output .tri
Smooth Bezier
Surface
![Page 8: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/8.jpg)
8
Quadrilateral Wireframe
Unintersected Triangle
Wireframe
Triangle Mesh
Intersected Triangle
Wireframe
![Page 9: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/9.jpg)
9
Recommended for Today
Pros / Cons of Paths
• Pros – Speed – Robustness – Derivatives with
design framework
• Cons – Robustness
• Coincident faces • Nacelles
– Extra step
Unintersected
• Pros – Speed – Robustness – Special cases
• Cons – Robustness
• Pros – Triangle Quality – Special cases
• Cons – Robustness
CompGeom CFD Mesh
![Page 10: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/10.jpg)
10
Export Unintersected (before) 1
2
5
4
3
![Page 11: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/11.jpg)
11
Export Unintersected (after)
![Page 12: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/12.jpg)
12
Execute CompGeom (before) 1
2
3
![Page 13: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/13.jpg)
13
Execute CompGeom (after)
1
![Page 14: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/14.jpg)
14
Export CompGeom 1
2
5
4
3
![Page 15: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/15.jpg)
15
Practice Session • Unintersected
• CompGeom – Save for Cart3D tutorial
• Resolution Effects (quads to triangles directly) – Num Pts – Num XSecs
![Page 16: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/16.jpg)
16
CFD Mesh Generator
![Page 17: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/17.jpg)
17
CFD Mesh • Surface mesh generator
– Isotropic triangles (no stretching) – Smooth Bezier surfaces – Bezier intersection curves – Sourcing control – Curvature control – Optional wakes – Optional half-models – Optional domain modeling
• Preferred for most CFD tools – CBAero – Pointwise – AFLR3 – Fun3D – FlightStream – TetGen
![Page 18: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/18.jpg)
18
Local Radius of Curvature
Greatest Principal Normal Curvature r = 1k
r
![Page 19: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/19.jpg)
19
Curvature Meshing Criteria
l =N > 2; r ⋅2 ⋅sin π
N( )N ≤ 2; r ⋅ 4 N
#
$%
&%
l = r > g; 2 2 ⋅ r ⋅ g− g2
r ≤ g; 2 ⋅ g
$%&
'&
g
l
l
Num CircleSegments = 8
Max Gap Num Circle Segments
![Page 20: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/20.jpg)
20
Growth Ratio Limiter
0 2 4 6 8 10
1
1.2
1.4
1.6
1.8
2
X
Gro
wth
Rat
io
Limits length of next edge to ratio of current edge.
![Page 21: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/21.jpg)
21
Rigorous 3D Growth Limiting
Off (faster)
On (slower)
![Page 22: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/22.jpg)
22
Source Types Point Line Box
![Page 23: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/23.jpg)
23
Sourcing
Attached to components (u, w) Size in model units (length) Sphere of influence (radius)
![Page 24: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/24.jpg)
24
Mesh Criteria Precedence
Max Gap Num Circle Segments
Min Edge Len
Max Edge Len
Sources
Growth Ratio
Smallest Edge Across Criteria
Subject to Constraints
Above & Below
![Page 25: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/25.jpg)
25
Turning Mesh Criteria ‘OFF’
Criteria Direction Value Scaled? Max Edge Len large 100.0 (scaled) Growth Ratio large 10.0 Sources none Max Gap large 10.0 (scaled) Num Circle Segments small 0.00001 Min Edge Len small 0.000001 (scaled)
Sometimes it is useful to turn a mesh criteria ‘OFF’.
Max = Min will turn ‘OFF’ Max Gap &
Num Circle Segments Max Gap Num Circle
Segments
Min Edge Len
Max Edge Len
Sources
Growth Ratio
![Page 26: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/26.jpg)
26
Meshing Strategy
1. Set Max based on model dimensions • Set Min = Max (turning off MG and NCS) • No Sources • Adjust Max & Min until satisfied (uniform coarsest)
2. Set Min to smaller value • Say Min = Max/20
3. Choose MG or NCS as preferred curvature parameter (CP) • Set other curvature parameter (OCP) ‘OFF’ • Adjust CP until satisfied • Adjust Min as required (are smallest edges small enough?)
4. Adjust OCP (optional) 5. Add mesh sources as required
• Resolve flow features
![Page 27: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/27.jpg)
27
‘Top’ Model
File on the wiki.
Constant curvature (constant radius)
Increasing curvature (decreasing radius)
Extreme curvature (vanishing radius)
![Page 28: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/28.jpg)
28
CFD Mesh GUI
![Page 29: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/29.jpg)
29
Global
Global Source Adjustment
Global & Curvature Meshing Criteria
Intersect Subsurfaces
Choose Set
Mesh Output
‘Go’ Button
Rigorous Limiting Switch
![Page 30: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/30.jpg)
30
Display
Display Switches
Mesh Output
‘Go’ Button
![Page 31: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/31.jpg)
31
Output File Output Switches
Mesh Output
‘Go’ Button
File Paths
File Browser Button
![Page 32: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/32.jpg)
32
Sources Component Chooser
Select Surface
Source Type Chooser
Add/Delete Buttons
Mesh Output
‘Go’ Button
Component Source List
Individual Source Editor
![Page 33: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/33.jpg)
33
Domain Half Mesh Switch
Far Field Switch
Far Field Mesh Size
Far Field Comp/Box Switch
Mesh Output
‘Go’ Button
Far Field Component List
Far Field Box Controls
![Page 34: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/34.jpg)
34
Domain Modeling
![Page 35: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/35.jpg)
35
Wakes Wake Length
Wake Angle
Component Chooser
Wake Switch
Mesh Output
‘Go’ Button
![Page 36: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/36.jpg)
36
Practice Session • CFD Mesh
– ‘Top’ model – Experiment with meshing parameters – Turn all criteria off – ‘play’ with one at a time – Follow meshing strategy
• CFD Mesh – ‘Your’ model – Follow meshing strategy
![Page 37: VSP File Types & VSP Meshingopenvsp.org/wiki/lib/exe/fetch.php?media=workshopv... · – Untrimmed surfaces (3dm) (stp) Replaced with STEP – Design file (des, XDDM) – Trimmed](https://reader034.vdocuments.us/reader034/viewer/2022050401/5f7ec1ae4df4f92bd70b2336/html5/thumbnails/37.jpg)
37
Command Line / API Coming Soon!