Functions needed to work with GMSH.
More...
Functions needed to work with GMSH.
GMSH is an open-source meshing tool.
◆ mesh_geo_file()
def SUAVE.Input_Output.GMSH.mesh_geo_file.mesh_geo_file |
( |
|
tag | ) |
|
This calls GMSH to create a volume mesh based on a previously created .geo file.
The volume mesh can be read by SU2.
Assumptions:
.geo file created with write_geo_file function in this folder
Source:
N/A
Inputs:
tag <string> This corresponds to a configuration from SUAVE
Outputs:
<tag>.su2 This is a mesh file in SU2 format
Properties Used:
N/A
◆ read_keys()
def SUAVE.Input_Output.GMSH.write_geo_file.read_keys |
( |
|
tag | ) |
|
This reads the corresponding OpenVSP .key file to check which surfaces
exist in the .stl file for the vehicle.
Assumptions:
N/A
Source:
N/A
Inputs:
tag <string> This corresponds to a configuration from SUAVE
Outputs:
vehicle_nums [-] the numbers corresponding to surfaces on the vehicle
farfield_num [-] the number corresponding to the farfield, -1 if not available
symmetry_num [-] the number corresponding to the symmetry plane, -1 if not available
Properties Used:
N/A
◆ write_geo_file()
def SUAVE.Input_Output.GMSH.write_geo_file.write_geo_file |
( |
|
tag | ) |
|
This reads an .stl file output from OpenVSP using the SUAVE interface and builds
a .geo file that can be read to GMSH to produce a volume mesh.
Assumptions:
The OpenVSP .stl has a farfield surface
Source:
N/A
Inputs:
tag <string> This corresponds to a configuration from SUAVE
Outputs:
<tag>.geo
Properties Used:
N/A