I'm having a problem with the API CFD Mesh feature. I am constructing a vehicle and setting CFD Mesh values through the Python API. When I run vsp.ComputeCFDMesh, it computes for a while, then gives a seg fault ("Segmentation fault (core dumped)"). However, if I save the vehicle with vsp.WriteVSPFile after setting the various CFD values and open in the VSP GUI, then run the meshing tool, it completes successfully. I'm able to compute a mesh through the API with other settings, so this doesn't seem to be an issue with how I'm calling the meshing routine in general. Any idea what might be causing the seg fault?
import vsp
vsp.ReadVSPFile('mesh_test_vehicle.vsp3')
file_type = vsp.CFD_STL_TYPE + vsp.CFD_KEY_TYPE
set_int = vsp.SET_ALL
vsp.ComputeCFDMesh(set_int,file_type)