iCAx开思工具箱

标题: UG/OPEN API中的网格划分函数的参数类型如何知道? [打印本页]

作者: xskun    时间: 2004-3-17 12:07
标题: UG/OPEN API中的网格划分函数的参数类型如何知道?
UG/OPEN API中的函数UF_SF_create_2d_mesh和UF_SF_create_2d_ansys_mesh,他们的参数各有一个为结构体类型,  
函数原型定义分别如下:  
extern int UF_SF_create_2d_ansys_mesh (  
UF_SF_AMM_mesh_parameters_t * mesh_params,  
char * element_type,  
int num_objects,  
tag_t * object_id,  
tag_t * mesh_tag );  
和  
extern int UF_SF_create_2d_mesh (  
int num_objs,  
tag_t * objs_p,  
int num_hard_pnts,  
tag_t * hard_pnts_p,  
UF_SF_sfqm_mesh_data_t * mesh_data,  
tag_t * mesh_recipe );  
其中:  
UF_SF_AMM_mesh_parameters_t 和  
UF_SF_sfqm_mesh_data_t 的原型怎么查到?  
谢谢!
作者: tsingtsang    时间: 2004-3-17 13:05
struct UF_SF_AMM_mesh_parameters_s
Overview
  
Data Members
element_descritor_tag
tag_t element_descritor_tag
Mesh attributes related to model geometry Type of Element to create
  
mesh_dimension
UF_SF_mesh_dimension_t mesh_dimension
2D(shell) or 3D(solid)
  
ansys_area_element_shape
int ansys_area_element_shape
The area element shape tri/quad
  
midnode_needed
int midnode_needed
0 = OFF , 1 = ON
  
smart_edge_seeding
int smart_edge_seeding
smart edge seeding 0 = OFF, 1 = ON
  
overall_elem_size
double overall_elem_size
Overall Element Size
  
area_transition_factor
double area_transition_factor
Maximum Area Transition Factor
  
area_transition_lower_limit
double area_transition_lower_limit
area_transition_upper_limit
double area_transition_upper_limit
area_expansion_factor
double area_expansion_factor
Area Expansion Factor
  
area_expansion_lower_limit
double area_expansion_lower_limit
area_expansion_upper_limit
double area_expansion_upper_limit
volume_expansion_factor
double volume_expansion_factor
Volume Expansion Factor
  
volume_expansion_lower_limit
double volume_expansion_lower_limit
volume_expansion_upper_limit
double volume_expansion_upper_limit
edge_matching_tol
double edge_matching_tol
UG edge matching tolerance
  
jacobian_ratio
double jacobian_ratio
for midnode snapping - threshold
  
warp
double warp
for quad splitting - threshold
  
do_not_format_mesh
int do_not_format_mesh
0 = OFF , 1 = ON
  
split_quad_toggle
int split_quad_toggle
0 = OFF , 1 = ON
  
midnode_snapping
int midnode_snapping
0 = OFF , 1 = ON
  
smart_sizing
int smart_sizing
0 = OFF , 1 = ON
  
quad_splitting
int quad_splitting
0 = OFF , 1 = ON
  
smoothing
int smoothing
0 = OFF , 1 = ON
  
cleanup
int cleanup
0 = OFF , 1 = ON
  
debugging
int debugging
0 = OFF , 1 = ON
  
journaling
int journaling
0 = OFF , 1 = ON
  
mapped_mesh
int mapped_mesh
0 = OFF , 1 = ON
  
  
struct UF_SF_sfqm_mesh_data_s
Overview
  
Data Members
elem_type
UF_SF_sfqm_elem_type_t elem_type
The type of element chosen.
  
elem_size
double elem_size
The size of the element.
  
smart_edge_seeding
int smart_edge_seeding
mesh_param_data_p
UF_SF_sfqm_param_data_p_t mesh_param_data_p
Pointer to the mesh parameter data structure, containing the values for the given parameters.
  
do_not_format_mesh
int do_not_format_mesh
0 = OFF , 1 = ON
  
mapped_mesh
int mapped_mesh
0 = OFF , 1 = ON
作者: xskun    时间: 2004-3-17 13:55
非常感谢tsingtsang 侠士,我的help里面没有,还有很多函数的参数都找不到,请问您是怎么找到的。有没有这方面的书籍?
向您鞠躬!
作者: tsingtsang    时间: 2004-3-17 17:06
就是help里的东东,对应function的头文件里的结构体定义
  
书没有很合适的
作者: xskun    时间: 2004-3-18 19:52
谢谢tsingtsang ,我在help里面搜索,一直没有找到他的定义,在ugopen文件夹下的.h文件里。多谢了!
作者: zm1984    时间: 2009-5-20 09:53
为什么,我用UF_SF_create_2d_mesh这个函数就是不能产生网格了?
作者: zm1984    时间: 2009-5-20 09:57
为什么我用UF_SF_create_2d_mesh就是不能产生网格啊!




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3