UF_SF_add_material_fatigue (查看源代码)
定义在: uf_sf.h
概述
UF_SF_add_material_fatigue:
Add fatigue properties to the material.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_add_material_fatigue
(
UF_SF_material_fatigue_prop_p_t property_values,
tag_t material_tag
)
| UF_SF_material_fatigue_prop_p_t | property_values | Input(输入) | Structure containing material strength properties. The structure should be allocated by the user, but data within the structure is dynamically allocated. Call html#UF_SF_free_matl_strength_prop to free the storage allocated within the structure. |
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
UF_SF_add_material_strength (查看源代码)
定义在: uf_sf.h
概述
UF_SF_add_material_strength:
Add plastic range properties to the material.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_add_material_strength
(
UF_SF_material_strength_prop_p_t property_values,
tag_t material_tag
)
| UF_SF_material_strength_prop_p_t | property_values | Input(输入) | Structure containing material strength properties. The structure should be allocated by the user, but data within the structure is dynamically allocated. Call html#UF_SF_free_matl_strength_prop to free the storage allocated within the structure. |
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
UF_SF_add_to_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Adds loads or boundary conditions to the active solution. This function
needs to be called after creating load or boundary condition.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_add_to_solution_nx
(
int num_of_lbc,
tag_t * lbc
)
| int (整数型) | num_of_lbc | Input(输入) | Number of loads or boundary conditions to add to the active solution. |
| tag_t * (tag_t型的指针) | lbc | Input(输入) | pointer to array of tags for loads or boundary conditions. |
UF_SF_add_to_step_nx (查看源代码)
定义在: uf_sf.h
概述
Adds loads or boundary conditions to the active step. This function needs to be
called after creating load or boundary condition.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_add_to_step_nx
(
int num_of_lbc,
tag_t * lbc
)
| int (整数型) | num_of_lbc | Input(输入) | Number of loads or boundary conditions to add to the active step. |
| tag_t * (tag_t型的指针) | lbc | Input(输入) | Pointer to array of tags for loads or boundary conditions. |
UF_SF_alloc_defeature_parms (查看源代码)
定义在: uf_sf.h
概述
This routine allocates an instance of UF_SF_defeature_parms_t structure
used to hold all information needed to create a defeature feature.
The structure is allocated and the retained_faces, removed_faces fields
are set from the corresponding input parameters.
The region substructure will be allocated and initialized to the values
of the input parameters that define the region.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_alloc_defeature_parms
(
int num_ret_faces,
tag_t * ret_faces_a,
int num_rem_faces,
tag_t * rem_faces_a,
tag_t seed_face,
int num_bnd_faces,
tag_t * bnd_faces,
tag_t angle_exp,
UF_SF_defeature_parms_p_t * defeature_parms_p
)
| int (整数型) | num_ret_faces | Input(输入) | Number of retained faces in the retained_faces array. Can be 0 |
| tag_t * (tag_t型的指针) | ret_faces_a | Input(输入) | Array of retained faces. Can be NULL if num_bnd_faces == 0 |
| int (整数型) | num_rem_faces | Input(输入) | Number of removed faces in the removed_faces array. Can be 0 |
| tag_t * (tag_t型的指针) | rem_faces_a | Input(输入) | Array of retained faces. Can be NULL if num_bnd_faces == 0 |
| tag_t (tag_t类型) | seed_face | Input(输入) | Seed face for the region (required to derive the body) |
| int (整数型) | num_bnd_faces | Input(输入) | Number of boundary faces in the bnd_faces array. Can be 0 |
| tag_t * (tag_t型的指针) | bnd_faces | Input(输入) | Array of boundary faces. Can be NULL if num_bnd_faces == 0 |
| tag_t (tag_t类型) | angle_exp | Input(输入) | Expression to be used for the tagential edge angle which is used for the region boundary, Can be NULL_TAG |
| UF_SF_defeature_parms_p_t * | defeature_parms_p | Output to be freed 输出并释放 | Idealize region entity created. Use UF_SF_free_defeature_parms to free. |
UF_SF_alloc_idealize_parms (查看源代码)
定义在: uf_sf.h
概述
This routine allocates a parameter object for an idealize feature
The parameter object is used to hold all information needed to create an
idealize feature. All expressions associated with this object will be
initialized to NULL_TAG. All face sets associated with this object will
be initalize to contain 0 faces
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_alloc_idealize_parms
(
UF_SF_idealize_parms_p_t * parms_p
)
| UF_SF_idealize_parms_p_t * | parms_p | Output to be freed 输出并释放 | Allocated idealize parameter entity Use UF_SF_free_idealize_parms to free memory associated to this entity |
UF_SF_alloc_idealize_region (查看源代码)
定义在: uf_sf.h
概述
This routine allocates a region object for an idealize feature
The region object is used to hold all information needed to create an
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_alloc_idealize_region
(
tag_t seed_face,
int num_bnd_faces,
tag_t * bnd_faces,
tag_t angle_exp,
UF_SF_idealize_region_p_t * region_p
)
| tag_t (tag_t类型) | seed_face | Input(输入) | Seed face for the region (required) |
| int (整数型) | num_bnd_faces | Input(输入) | Number of boundary faces in the bnd_faces array. Can be 0 |
| tag_t * (tag_t型的指针) | bnd_faces | Input(输入) | Array of boundary faces. Can be NULL if num_bnd_faces == 0 |
| tag_t (tag_t类型) | angle_exp | Input(输入) | Expression to be used for the tagential edge angle which is used for the region boundary, Can be NULL_TAG |
| UF_SF_idealize_region_p_t * | region_p | Output to be freed 输出并释放 | Idealize region entity created Use UF_SF_free_idealize_region to free |
UF_SF_analyse_solid_section (查看源代码)
定义在: uf_sf.h
概述
Computes the engineering properties of a solid cross section of arbitrary
shape.
The input for the computation is a face which is expected to be derived
from a section cutting operation such as intersecting a bounded plane with an
extruded solid. However, any single, planar face having any number of edges
is acceptable. The face may have any number of holes of any shape in it.
The face must be planar. This function will test the input to ensure that it is
planar.
Since the FEM beam model requires a specific X, Y axes orientation, a vector of
the FEM model for this section is required as input. The vector must project
to a non-zero length on the face.
A 1D Element Section object is created/edited by this function. If a Section
object already exists having the name indicated in name_str, the existing
object will be changed to have properties in the remaining parameters.
Otherwise, a new section object will be created.
To link this section object to a point, edge, curve, or 1D mesh,
use
UF_SF_link_section. 环境
(内部和外部)
参见
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_analyse_solid_section
(
char* name_str,
tag_t section_face,
tag_t vector,
tag_p_t final_tag,
double * area,
double * centroid [ 3 ] ,
double * shear_center [ 3 ] ,
double * principal_angle,
double * moment_inertia [ 3 ] ,
double * principal_moment_inertia [ 3 ] ,
double * torsional_constant,
double * warping_constant
)
| char* | name_str | Input(输入) | Name to assign to newly created section or name of section to edit. |
| tag_t (tag_t类型) | section_face | Input(输入) | A single, planar face representing the solid section to analyze. |
| tag_t (tag_t类型) | vector | Input(输入) | Use to form the horizontal reference of the section. The vector will be projected onto the plane of the face to obtain a in plane rotation angle. The analysis results will be with respect to this angle, in the plane of the face. |
| tag_p_t | final_tag | Output(输出) | The created section. |
| double * (实数型指针) | area | Output(输出) | The computed area of the cross section. |
| double * (实数型指针) | centroid [ 3 ] | Output(输出) | The computed centroid of the cross section. In absolute coordinates. |
| double * (实数型指针) | shear_center [ 3 ] | Output(输出) | The computed shear center of the cross section. In absolute coordinates. |
| double * (实数型指针) | principal_angle | Output(输出) | The computed principal angle of the cross section. In degrees with respect to the input vector. |
| double * (实数型指针) | moment_inertia [ 3 ] | Output(输出) | The computed moments of inertia, Iyy, Izz, Iyz of the cross section. In absolute coordinates. |
| double * (实数型指针) | principal_moment_inertia [ 3 ] | Output(输出) | The computed principal_moments of inertia, Ixx, Iyy of the cross section. In absolute coordinates. |
| double * (实数型指针) | torsional_constant | Output(输出) | The computed torsional constant of the cross section. |
| double * (实数型指针) | warping_constant | Output(输出) | The computed warping constant of the cross section. |
UF_SF_analyse_thin_section (查看源代码)
定义在: uf_sf.h
概述
Computes the engineering properties of a thin walled cross section of arbitrary
shape. These properties may then be used to set up a FEM beam model.
The input is the tag of an existing sketch. All curves that are members
of the sketch that have a user attribute with the name contained in
UF_SF_USER_DEFINED_TW_THICKNESS (found in uf_sf_types.h) will be considered
as part of the section. Any curve in the sketch not having the attribute
will be ignored. To assign the attribute, use UF_ATTR_assign.
The attribute must contain a scalar that is the thickness of the curve.
A 1D Element Section object is created/edited by this function. If a Section
object already exists having the name indicated in name_str, the existing
object will be changed to have properties in the remaining parameters.
Otherwise, a new section object will be created.
To link this section object to a point, edge, curve, or 1D mesh,
use
UF_SF_link_section. 环境
(内部和外部)
参见
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_analyse_thin_section
(
char* name_str,
tag_t sketch,
tag_p_t final_tag,
double* area,
double* centroid [ 3 ] ,
double* shear_center [ 3 ] ,
double* principal_angle,
double* moment_inertia [ 3 ] ,
double* principal_moment_inertia [ 3 ] ,
double* torsional_constant,
double* warping_constant
)
| char* | name_str | Input(输入) | Name to assign to newly created section or name of section to edit. |
| tag_t (tag_t类型) | sketch | Input(输入) | The sketch to analyse. |
| tag_p_t | final_tag | Output(输出) | The created section. |
| double* | area | Output(输出) | The computed area of the cross section. |
| double* | centroid [ 3 ] | Output(输出) | The computed centroid of the cross section. In absolute coordinates. |
| double* | shear_center [ 3 ] | Output(输出) | The computed shear center of the cross section. In absolute coordinates. |
| double* | principal_angle | Output(输出) | The computed principal angle of the cross section. In degrees with respect to the input vector. |
| double* | moment_inertia [ 3 ] | Output(输出) | The computed moments of inertia, Iyy, Izz, Iyz of the cross section. In absolute coordinates. |
| double* | principal_moment_inertia [ 3 ] | Output(输出) | The computed principal_moments of inertia, Ixx, Iyy of the cross section. In absolute coordinates. |
| double* | torsional_constant | Output(输出) | The computed torsional constant of the cross section. |
| double* | warping_constant | Output(输出) | The computed warping constant of the cross section. |
UF_SF_apply_beam_end_mass (查看源代码)
定义在: uf_sf.h
概述
Applies end mass values to entities selected.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_apply_beam_end_mass
(
char* end_a_nsm_exp,
char* end_b_nsm_exp,
int num_items,
tag_p_t items_array
)
| char* | end_a_nsm_exp | Input(输入) | Beam end A mass expression |
| char* | end_b_nsm_exp | Input(输入) | Beam end B mass expression |
| int (整数型) | num_items | Input(输入) | Number of items to associate mass. |
| tag_p_t | items_array | Input(输入) | Tags of items to associate end mass Items can be edges or 1D mesh |
UF_SF_apply_offsets (查看源代码)
定义在: uf_sf.h
概述
Applies Y, Z offsets from the centroid of the section to entities
selected. Entities can be Edges or 1-D Mesh.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_apply_offsets
(
char* y_offset_exp_text,
char* z_offset_exp_text,
int num_items,
tag_p_t items_array
)
| char* | y_offset_exp_text | Input(输入) | Y offset expression tag |
| char* | z_offset_exp_text | Input(输入) | Z offset expression tag |
| int (整数型) | num_items | Input(输入) | Number of items to associate offset |
| tag_p_t | items_array | Input(输入) | Tags of items to associate offsets Items can be edges or 1D mesh |
UF_SF_ask_active_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Returns the tag of the active solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_active_solution_nx
(
tag_t * active_solution
)
| tag_t * (tag_t型的指针) | active_solution | Output(输出) | Pointer to the tag of the active solution for the scenario part. |
UF_SF_ask_active_step_nx (查看源代码)
定义在: uf_sf.h
概述
Returns the tag of the active step.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_active_step_nx
(
tag_t * active_step
)
| tag_t * (tag_t型的指针) | active_step | Output(输出) | Pointer to the tag of the active step for the scenario part. |
UF_SF_ask_all_polygon_bodies (查看源代码)
定义在: uf_sf.h
概述
This function will get all polygon bodies in the part.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_ask_all_polygon_bodies
(
int * num_polygon_bodies,
tag_t * * polygon_bodies
)
| int * (整数型指针) | num_polygon_bodies | Output(输出) | Number of polygon bodies in the fem |
| tag_t * * | polygon_bodies | Output to be freed 输出并释放 | Tags of polygon bodies |
UF_SF_ask_beam_end_mass (查看源代码)
定义在: uf_sf.h
概述
Given a mesh tag, this function gets end A and end B mass values
associated with the object.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_beam_end_mass
(
tag_t object_tag,
double* end_a_nsm,
double* end_b_nsm
)
| tag_t (tag_t类型) | object_tag | Input(输入) | Tag to mesh or mesh recipe |
| double* | end_a_nsm | Output(输出) | End A nonstructural mass value |
| double* | end_b_nsm | Output(输出) | End B nonstructural mass value |
UF_SF_ask_closest_point (查看源代码)
定义在: uf_sf.h
概述
Given a point and a Polygon geometry ( i.e. Edge, Face, Body), Returns the projected
point and distance.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_closest_point
(
double point [ 3 ] ,
tag_t entity,
double closest_point [ 3 ] ,
double * min_dist
)
| double (实数型) | point [ 3 ] | Input(输入) | Input point |
| tag_t (tag_t类型) | entity | Input(输入) | Polygon edge/face/body |
| double (实数型) | closest_point [ 3 ] | Output(输出) | Closest point on entity |
| double * (实数型指针) | min_dist | Output(输出) | Minimum distance |
UF_SF_ask_combined_load_case (查看源代码)
定义在: uf_sf.h
概述
Retrieves the definition of combined load case.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_combined_load_case
(
tag_t clc_tag,
char* * clc_name,
int* num_comps,
tag_t* * lbc_tags,
double* * lbc_scales
)
| tag_t (tag_t类型) | clc_tag | Input(输入) | Tag of the combined load case. |
| char* * | clc_name | Output to be freed 输出并释放 | Name of the combined load case. This must be freed by calling UF_free. |
| int* | num_comps | Output(输出) | Number of load cases in the combined load case definition. |
| tag_t* * | lbc_tags | Output to be freed 输出并释放 | pointer to the pointer to the array of the tags for load case components. This must be freed by calling UF_free. |
| double* * | lbc_scales | Output to be freed 输出并释放 | pointer to the pointer to the array of the scale factors for load case components. This must be freed by calling UF_free. |
UF_SF_ask_combined_load_cases (查看源代码)
定义在: uf_sf.h
概述
Finds all the combined load cases in the given scenario part. If passed
NULL_TAG for part_tag then current work part will be traversed.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_combined_load_cases
(
tag_t part_tag,
int* num_clcs,
tag_t* * clc_tags
)
| tag_t (tag_t类型) | part_tag | Input(输入) | part to retrieve from, NULL_TAG for current work part |
| int* | num_clcs | Output(输出) | Number of combined load case sets found in the current scenario part. |
| tag_t* * | clc_tags | Output to be freed 输出并释放 | pointer to the pointer to the array of the tag for the combined load cases. pass in NULL if no allocation is desired. If NULL is not passed in, this array must be freed by calling UF_free. |
UF_SF_ask_dom_elm_type (查看源代码)
定义在: uf_sf.h
概述
Finds the dominant element type of the input mesh recipe. For
example if the dimension of a mesh is 1D, the dominant element type
can be a beam or bar or a spring. In case of 2D meshes the dominant
element type is UF_SF_QUAD4, though couple of triangular
elements may get created in creating 2D mesh.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_dom_elm_type
(
tag_t mesh_recipe,
UF_SF_element_type_t* elm_type
)
UF_SF_ask_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will ask a Durability Solution's values.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_dursol_nx
(
tag_t dursol_tag,
char* dursol_name,
tag_t * solution_tag,
UF_SF_dursol_stress_criterion_t * stress_criterion,
UF_SF_dursol_stress_type_t * stress_type,
UF_SF_dursol_design_life_criterion_t * design_life_criterion,
int * fatigue_cycles,
double * k_factor,
UF_SF_dursol_fatigue_life_criterion_t * fatigue_life_criterion,
int * design_cycles
)
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durability Solution tag. |
| char* | dursol_name | Output(输出) | Name of Durability Solution. The maximum number of characters is UF_SF_MAX_STRING_LEN. If NULL, value will not be returned. |
| tag_t * (tag_t型的指针) | solution_tag | Output(输出) | Tag of the solution If NULL, value will not be returned. |
| UF_SF_dursol_stress_criterion_t * | stress_criterion | Output(输出) | Stress criterion If NULL, value will not be returned. |
| UF_SF_dursol_stress_type_t * | stress_type | Output(输出) | Stress type If NULL, value will not be returned. |
| UF_SF_dursol_design_life_criterion_t * | design_life_criterion | Output(输出) | Design life criterion If NULL, value will not be returned. |
| int * (整数型指针) | fatigue_cycles | Output(输出) | Number of fatigue duty cycles If NULL, value will not be returned. |
| double * (实数型指针) | k_factor | Output(输出) | Fatigue strength factor (Kf) If NULL, value will not be returned. |
| UF_SF_dursol_fatigue_life_criterion_t * | fatigue_life_criterion | Output(输出) | Fatigue life criterion If NULL, value will not be returned. |
| int * (整数型指针) | design_cycles | Output(输出) | Number of design cycles desired for fatigue strength. If NULL, value will not be returned. |
UF_SF_ask_edge_density (查看源代码)
定义在: uf_sf.h
概述
---
Gets a number of edge densities given an input object. The edge
density is defined as the number of elements to be created along the
input object. There are two cases: If elements exist, this function
returns the current number of elements. If elements do not exist, this
function gets the edge density attribute for this object and returns the
number of elements which would be created. The valid types of input
objects are UF_line_type, UF_circle_type, UF_conic_type,
UF_spcurve_type, UF_caegeom_edge_subtype.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_edge_density
(
tag_t object_tag,
UF_SF_edge_density_data_t* edge_density_data_ptr
)
UF_SF_ask_elem_node_results (查看源代码)
定义在: uf_sf.h
概述
Fills an empty UF_SF_mesh_elem_node_result_t structure with existing result
data stored under the mesh object.
If no result data exists, fills the result values to 0.0.
The result structure can then be updated with actual results data and then
UF_SF_set_elem_node_results can be used to set the data for display or other
query purposes.
Use UF_SF_free_elem_node_results to free the structure.
Only meshes that belong to a Simulation part are valid.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_ask_elem_node_results
(
tag_t mesh_tag,
UF_SF_mesh_elem_node_result_p_t results_p
)
UF_SF_ask_element (查看源代码)
定义在: uf_sf.h
概述
Finds an element entity's attributes. These are the element id,
adaptivity, dimension and neutral type.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_element
(
tag_t elm_tag,
int* elm_id,
UF_SF_elm_adaptivity_type_t* adaptivity,
UF_SF_elm_dimension_type_t* dimension,
UF_SF_element_type_t* element_type
)
UF_SF_ask_element_edges (查看源代码)
定义在: uf_sf.h
概述
Given an element tag outputs the number of edges this element has
and the nodes on those edges.
If given an element occurrence tag then node occurrences in the owning Simulation
part are returned. Similarly if the given an element tag then nodes in the owning
FEM part are returned.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_element_edges
(
tag_t elem_tag,
int* num_edges,
tag_t* * start_nodes,
tag_t* * end_nodes,
tag_t* * mid_nodes
)
| tag_t (tag_t类型) | elem_tag | Input(输入) | The tag of the element |
| int* | num_edges | Output(输出) | Number of edges the element has |
| tag_t* * | start_nodes | Output to be freed 输出并释放 | Array of start nodes on these edges. This must be freed by calling UF_free. |
| tag_t* * | end_nodes | Output to be freed 输出并释放 | Array of end nodes on these edges. This must be freed by calling UF_free. |
| tag_t* * | mid_nodes | Output to be freed 输出并释放 | Array of mid side nodes on these edges, if any. This must be freed by calling UF_free. |
UF_SF_ask_geom_data (查看源代码)
定义在: uf_sf.h
概述
Returns geometry data from given mesh or mesh recipe.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_geom_data
(
tag_t mesh_object,
UF_SF_mesh_geom_usage_t usage_type,
int* num_geom_items,
tag_t* * geom_items_p
)
| tag_t (tag_t类型) | mesh_object | Input(输入) | Tag of the mesh |
| UF_SF_mesh_geom_usage_t | usage_type | Input(输入) | Type of usage (UF_SF_mesh_geom_usage_t) - refer to uf_sf_types.h |
| int* | num_geom_items | Output(输出) | Number of geometry items. |
| tag_t* * | geom_items_p | Output to be freed 输出并释放 | pointer to list of tags to geometry items. If the number of geometry items is > 0, then this array must be freed by calling UF_free. |
UF_SF_ask_idealize_parm_exp (查看源代码)
定义在: uf_sf.h
概述
This routine gets a specified expression from a parameter object for an
idealize feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_idealize_parm_exp
(
UF_SF_idealize_parms_p_t parms_p,
UF_SF_idealize_parm_exp_t parm_exp_t,
tag_t * exp_tag
)
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | Idealize parameter entity to query |
| UF_SF_idealize_parm_exp_t | parm_exp_t | Input(输入) | Specific expression to retrieve from idealize parameter entity |
| tag_t * (tag_t型的指针) | exp_tag | Output(输出) | Tag of the expression used for the specific idealize parameter Can be NULL_TAG which means that this parameter is not used |
UF_SF_ask_idealize_parm_faces (查看源代码)
定义在: uf_sf.h
概述
This routine gets a specified set of faces from a parameter object for an
idealize feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_idealize_parm_faces
(
UF_SF_idealize_parms_p_t parms_p,
UF_SF_idealize_parm_face_t parm_face_t,
int * num_faces,
tag_t * * faces
)
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | Idealize parameter entity to query |
| UF_SF_idealize_parm_face_t | parm_face_t | Input(输入) | Specific face set parameter to query |
| int * (整数型指针) | num_faces | Output(输出) | Number of faces returned in faces array |
| tag_t * * | faces | Output to be freed 输出并释放 | Array of face tags. This should be freed by calling UF_free. |
UF_SF_ask_idealize_parms (查看源代码)
定义在: uf_sf.h
概述
This routine returns the definition of an idealize feature
This routine takes the feature tag of an idealize feature and returns the
parameters associated to it.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_idealize_parms
(
tag_t feature_tag,
logical * is_region,
void * body_region,
UF_SF_idealize_parms_p_t idealize_parms
)
| tag_t (tag_t类型) | feature_tag | Input(输入) | The idealize feature |
| logical * | is_region | Output(输出) | Flag indicating whether the idealize feature is from a region versus a body is_region = TRUE -> Feature is from a region is_region = FALSE -> Feature is from a body |
| void * | body_region | Output to be freed 输出并释放 | If NULL on input only the idealize_parms will be returned. Pointer to a UF_SF_idealize_region_p_t or to a tag_p_t for the body depending on the returned value of the flag is_region. If is_region = TRUE -> output is a pointer to an instance of UF_SF_idealize_region_data_p_t If is_region = FALSE -> output is a pointer to a tag_p_t that identifies the body. Use UF_SF_idealize_free_region if a region Use UF_free if a body |
| UF_SF_idealize_parms_p_t | idealize_parms | Output to be freed 输出并释放 | The parameters of the idealize feature. Use UF_SF_idealize_free_parms to free |
UF_SF_ask_idealize_region (查看源代码)
定义在: uf_sf.h
概述
This routine returns the information in a region object for an idealize
feature
The region object is used to hold all information needed to create an
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_idealize_region
(
UF_SF_idealize_region_p_t region_p,
tag_t * seed_face,
int * num_bnd_faces,
tag_t * * bnd_faces,
tag_t * angle_exp
)
| UF_SF_idealize_region_p_t | region_p | Input(输入) | Idealize region entity in which to query |
| tag_t * (tag_t型的指针) | seed_face | Output(输出) | Seed face for the region Pass NULL if return parameter is not wanted |
| int * (整数型指针) | num_bnd_faces | Output(输出) | Number of boundary faces in the bnd_faces array. Can be 0 Pass NULL if return parameter is not wanted If NULL is passed in, bnd_faces will be returned as NULL |
| tag_t * * | bnd_faces | Output to be freed 输出并释放 | Array of boundary faces. Is NULL if num_bnd_faces == 0 Pass NULL if return parameter is not wanted |
| tag_t * (tag_t型的指针) | angle_exp | Input(输入) | Expression used for the tagential edge angle which is used for the region boundary, Can be NULL_TAG |
UF_SF_ask_language (查看源代码)
定义在: uf_sf.h
概述
Given the input language_tag, finds its name in language_name. If
language_tag == NULL_TAG, return the name of the current
language. If there is is no current language and language_tag is
NULL_TAG, return "". Pass NULL against any argument if
corresponding output is not desired.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_language
(
tag_t language_tag,
char* language_name,
int* version,
UF_SF_LANG_analysis_type_t* analysis_type,
UF_SF_LANG_problem_abstract_t* problem_abstraction,
UF_SF_LANG_linearity_t* linearity,
UF_SF_LANG_time_depend_t* time_dependency,
char* * solver_name
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Tag of the desired language or NULL_TAG. When NULL_TAG, finds the properties of current language. If there is no current language, returns "" as language name. |
| char* | language_name | Output(输出) | pointer to string which will contain the found name or "". pe that this is not dynamic space. A string at least UF_SF_LANG_MAX_NAME_LENGTH long is to be passed in. |
| int* | version | Output(输出) | The version of the language. If input == NULL, then no output is desired or returned. |
| UF_SF_LANG_analysis_type_t* | analysis_type | Output(输出) | The type of analysis this language represents. If input == NULL, then no output is desired or returned. |
| UF_SF_LANG_problem_abstract_t* | problem_abstraction | Output(输出) | The problem abstraction this language represents. If input == NULL, then no output is desired or returned. |
| UF_SF_LANG_linearity_t* | linearity | Output(输出) | Linear or non-linear. If input == NULL, then no output is desired or returned. |
| UF_SF_LANG_time_depend_t* | time_dependency | Output(输出) | Steady-state or transient. If input == NULL, then no output is desired or returned. |
| char* * | solver_name | Output to be freed 输出并释放 | The name of the solver to use. If input == NULL, then no output is desired or returned. If a NULL is not passed in for the solver_name, then the returned value must be freed by calling UF_free. |
UF_SF_ask_library_materials (查看源代码)
定义在: uf_sf.h
概述
Query material librefs and names from the NX Material library.
The output is optionally limited by material type, category and name
filters.
Each filter is a character string containing a regular
expression.
To disable a filter, enter "".
To specify a filter,
code, for example, "IRON" to find all materials named with a prefix
of "IRON". The usual material types are "ISO" "ORTHO" "ANISO" "FLUID",
filters are case insensitive.
The outputs of this function are the material count and 3 arrays.
The libref field is used to retrive the actual material from the
library. The name is intended to be the identifier that the user will
see displayed. The material type is passed back as a convenience to
allow post query filtering.
The 3 lists are arrays for allocated character strings.
Use UF_free_string_array to free each array.
环境
内部和外部
参见
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_library_materials
(
char* type_filter,
char* category_filter,
char* name_filter,
int* material_count,
char* * * material_librefs,
char* * * material_names,
char* * * material_types
)
| char* | type_filter | Input(输入) | A regular expression string which filters the material type. To find all materials, enter "". To find all isotropic materials, enter "ISO". To find all orthotropic materials, enter "ORTHO". To find all anisotropic materials, enter "ANISO". To find all fluid materials, enter "FLUID". |
| char* | category_filter | Input(输入) | A regular expression string which filters the material category. To find all materials, enter "". |
| char* | name_filter | Input(输入) | A regular expression string which filters the material name. To find all materials, enter "". |
| int* | material_count | Output(输出) | The number of materials listed in the arrays. |
| char* * * | material_librefs | Output to be freed 输出并释放 | An array of characters strings containing the library reference field of each material. Call UF_free_string_array to free the storage allocated within the structure. |
| char* * * | material_names | Output to be freed 输出并释放 | An array of characters strings containing the name field of each material. Call UF_free_string_array to free the storage allocated within the structure. |
| char* * * | material_types | Output to be freed 输出并释放 | An array of characters strings containing the type field of each material. Call UF_free_string_array to free the storage allocated within the structure. |
UF_SF_ask_lv_nx (查看源代码)
定义在: uf_sf.h
概述
This function will ask a Durability load variation's values.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_lv_nx
(
tag_t lv_tag,
char* lv_name,
double * scaling_factor,
int * count,
UF_SF_lv_function_mode_t * function_type,
tag_t * solution_step_tag
)
| tag_t (tag_t类型) | lv_tag | Input(输入) | Load Variation tag |
| char* | lv_name | Output(输出) | Name The maximum number of characters is UF_SF_MAX_STRING_LEN. If NULL, value will not be returned. |
| double * (实数型指针) | scaling_factor | Output(输出) | Scaling factor If NULL, value will not be returned. |
| int * (整数型指针) | count | Output(输出) | Number of cycles If NULL, value will not be returned. |
| UF_SF_lv_function_mode_t * | function_type | Output(输出) | Scaling function type UF_SF_HALF_UNIT_CYCLE UF_SF_FULL_UNIT_CYCLE If NULL, value will not be returned. |
| tag_t * (tag_t型的指针) | solution_step_tag | Output(输出) | Solution Step tag If NULL, value will not be returned. |
UF_SF_ask_material (查看源代码)
定义在: uf_sf.h
概述
Gets all the material properties such as Young's Modulus, poisson's
Ratio, Mass Density, Thermal Coefficient, Thermal Conduct, Heat
Capacity, Thermal Density and Convection Coefficient. If any one of
the above properties has not been applied on the material then the
corresponding value will be UF_SF_FREE_VALUE.
The UF_SF_material_prop_t, property_values must be initialized using
UF_SF_init_matl_prop.
环境
内部和外部
参见
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_material
(
tag_t material_tag,
char* * material_name,
UF_SF_material_prop_t* property_values
)
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
| char* * | material_name | Output to be freed 输出并释放 | Material name string. pass in NULL if not required. This must be freed by calling UF_free. |
| UF_SF_material_prop_t* | property_values | Output to be freed 输出并释放 | Structure containing material properties. The structure must be initialized using UF_SF_init_matl_prop. Call UF_SF_free_matl_prop to free the storage allocated within the structure. |
UF_SF_ask_material_fatigue (查看源代码)
定义在: uf_sf.h
概述
Gets the fatigue material properties; fatigue strength coefficient, fatigue
strength exponent, fatigue ductility coefficient, fatigue ductility exponent.
If any one of the above properties has not been applied on the material then
the corresponding value will be UF_SF_FREE_VALUE.
环境
内部和外部
参见
历史
This function was originally released in V20.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_material_fatigue
(
tag_t material_tag,
UF_SF_material_fatigue_prop_p_t property_values
)
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
| UF_SF_material_fatigue_prop_p_t | property_values | Output to be freed 输出并释放 | Structure containing material fatigue properties. The structure should be allocated by the user, but data within the structure is dynamically allocated. Call html#UF_SF_free_fatigue_prop to free the storage allocated within the structure. |
UF_SF_ask_material_formability (查看源代码)
定义在: uf_sf.h
概述
Gets the formability material properties; Work Hardening, Flow and
Stress Strain. If any one of the above properties has not
been applied on the material then the corresponding value will
be UF_SF_FREE_VALUE.
环境
内部和外部
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_material_formability
(
tag_t material_tag,
UF_SF_material_formability_prop_p_t property_values
)
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
| UF_SF_material_formability_prop_p_t | property_values | Output to be freed 输出并释放 | Structure containing material formability properties. The structure should be allocated by the user, but data within the structure is dynamically allocated. Call html#UF_SF_free_formability_prop to free the storage allocated within the structure. |
UF_SF_ask_material_strength (查看源代码)
定义在: uf_sf.h
概述
Gets the plastic range material properties; Yield Strength and
Ultimate Tensile Strength. If either one of the above properties has not
been applied on the material then the corresponding value will
be UF_SF_FREE_VALUE.
环境
内部和外部
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_material_strength
(
tag_t material_tag,
UF_SF_material_strength_prop_p_t property_values
)
| tag_t (tag_t类型) | material_tag | Input(输入) | Tag of the material. |
| UF_SF_material_strength_prop_p_t | property_values | Output to be freed 输出并释放 | Structure containing material strength properties. The structure should be allocated by the user, but data within the structure is dynamically allocated. Call html#UF_SF_free_matl_strength_prop to free the storage allocated within the structure. |
UF_SF_ask_material_type (查看源代码)
定义在: uf_sf.h
概述
This routine looks up the type of a material. The following types
are supported in NX:
UF_SF_MATERIAL_ISOTROPIC - isotropic.
UF_SF_MATERIAL_ORTHOTROPIC - orthotropic.
UF_SF_MATERIAL_ANISOTROPIC - anisotropic.
UF_SF_MATERIAL_FLUID - fluid.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_material_type
(
tag_t material_tag,
UF_SF_neutral_material_types_p_t material_type
)
UF_SF_ask_mesh_dimension (查看源代码)
定义在: uf_sf.h
概述
Finds the dimension of the input mesh or mesh recipe namely
UF_SF_DIMENSION_0D for 0D mesh, UF_SF_DIMENSION_1D
for 1D mesh, UF_SF_DIMENSION_2D for shell mesh or
UF_SF_DIMENSION_3D for Solid mesh.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_mesh_dimension
(
tag_t mesh_recipe,
UF_SF_mesh_dimension_t* dimension
)
UF_SF_ask_mesh_mating_condition (查看源代码)
定义在: uf_sf.h
概述
Given an assembly mesh tag, obtain the infomation about the assembly mesh.
If some information is unneeded, the input pointer can be set to NULL.
环境
内部和外部
历史
This function was originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_mesh_mating_condition
(
tag_t assembly_mesh_tag,
tag_t* assembling_geom,
tag_t* target_geom,
char* * assembly_name,
int* seed_mesh,
UF_SF_assembly_type_t* assembly_type,
double* merge_tolerance,
double* match_tolerance
)
| tag_t (tag_t类型) | assembly_mesh_tag | Input(输入) | Assembly mesh tag |
| tag_t* | assembling_geom | Output(输出) | Assembling region geometry tag |
| tag_t* | target_geom | Output(输出) | Target region geometry tag |
| char* * | assembly_name | Output to be freed 输出并释放 | Assembly mesh name |
| int* | seed_mesh | Output(输出) | Flag of seed mesh |
| UF_SF_assembly_type_t* | assembly_type | Output(输出) | Assembly mesh type |
| double* | merge_tolerance | Output(输出) | Node merge tolerance |
| double* | match_tolerance | Output(输出) | match tolerance to define if an independent node matchs with a master element |
UF_SF_ask_mesh_sections (查看源代码)
定义在: uf_sf.h
概述
This function will return sections associated to the
input mesh or mesh recipe or geometry object such as a curve or point.
There are two mesh_recipe / section cases supported:
. A mesh_recipe that has a section associated directly to it.
. A mesh_recipe that does not have a direct section, but has
curves and points associated to it that in turn have sections.
The first case is used in the group 1, group 2, spider web type of
mesh. Look of a section on the mesh_recipe. If one is found, return
it to the caller and stop.
The second case is the more typical elements along the curve.
There is no section directly on the mesh_recipe. Look further for
indirect sections by cycling for the curves and points that have
sections. These will then be returned.
When a curve has a section on the curve, that section
will be output as the section on the start of the
curve. If there are not other sections associated to points on the
curve, then the curve is to be treated like a Bar, i.e., constant
cross-section.
If there are points on the curve that have sections, then the curve
is to be treated as a beam(s) having changing cross-sections.
Each transition point has its cross-section and location on the curve
环境
内部和外部
参见
需要许可证(S)
nx_masterfem
int UF_SF_ask_mesh_sections
(
tag_t mesh_object,
int* num_sections,
UF_SF_section_data_p_t* * section_data_ptr
)
| tag_t (tag_t类型) | mesh_object | Input(输入) | The tag of the object to query |
| int* | num_sections | Output(输出) | Number of sections found |
| UF_SF_section_data_p_t* * | section_data_ptr | Output to be freed 输出并释放 | pointer to list of section_data's. This must be freed by calling UF_SF_free_section_data. |
UF_SF_ask_mesh_visuals (查看源代码)
定义在: uf_sf.h
概述
---
Given a mesh tag returns its visual properties.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_mesh_visuals
(
tag_t mesh_tag,
UF_SF_mesh_visuals_t* mesh_vis
)
UF_SF_ask_midsrf_frec_type (查看源代码)
定义在: uf_sf.h
概述
This function determines the type of a midsurface feature
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_midsrf_frec_type
(
tag_t feature_tag,
int * midsrf_type
)
| tag_t (tag_t类型) | feature_tag | Input(输入) | Tag of given feature |
| int * (整数型指针) | midsrf_type | Output(输出) | Type of midsurface if object is a midsurface = UF_SF_MIDSRF_FACEPAIR_METHOD = UF_SF_MIDSRF_OFFSET_METHOD = UF_SF_MIDSRF_USER_DEF_METHOD = UF_SF_MIDSRF_NON_EXIST -> If feature is not a midsurface |
UF_SF_ask_node (查看源代码)
定义在: uf_sf.h
概述
Finds a node entity's attributes. These are the node id, boundary type,
element type, and absolute position.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_node
(
tag_t node_tag,
int* node_id,
UF_SF_node_btype_t* b_type,
UF_SF_mid_node_type_t* e_type,
double abspos [ 3 ]
)
UF_SF_ask_node_delta (查看源代码)
定义在: uf_sf.h
概述
Gets a node entity's displacement from its set location.
Valid only when the work part is a FEM or Simulation.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_ask_node_delta
(
tag_t node_tag,
double * delta_a
)
| tag_t (tag_t类型) | node_tag | Input(输入) | Tag of Node entity. |
| double * (实数型指针) | delta_a | Output(输出) | Node displacement values corresponding to the x,y,z coordinates of the node: (dx,dy,dz). |
UF_SF_ask_node_pgeoms (查看源代码)
定义在: uf_sf.h
概述
Given a tag to a node entity, locates the parent geometry features
linked to the node.
If given a node occurrence from a Simulation part then polygonal (CAE) geometry
occurrences from that Simulation part are returned. Similarly if given a node
from a FEM part then polygonal (CAE) geometry from that FEM part are returned.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_node_pgeoms
(
tag_t node_tag,
int* parent_cnt,
tag_p_t* parent_list,
UF_SF_mesh_geometry_types_p_t* geom_types
)
| tag_t (tag_t类型) | node_tag | Input(输入) | Tag to a node object. |
| int* | parent_cnt | Output(输出) | Number of parent geometry tags related to the node. |
| tag_p_t* | parent_list | Output to be freed 输出并释放 | pointer to an array of parent geometry tags found or NULL if not found. This array must be freed by calling UF_free. |
| UF_SF_mesh_geometry_types_p_t* | geom_types | Output to be freed 输出并释放 | pointer to an array of parent geometry types found or NULL if not found. geom_types is 1:1 with objects list. This array must be freed by calling UF_free. |
UF_SF_ask_nth_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will return the tag of the specified Durability Solution.
UF_SF_ask_nth_dursol_nx
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_nth_dursol_nx
(
int index,
tag_t * dursol_tag
)
| int (整数型) | index | Input(输入) | Index of the Durability Solution. Valid range is 0 : (number of Durability Solutions)-1 |
| tag_t * (tag_t型的指针) | dursol_tag | Output(输出) | Durability Solution tag. |
UF_SF_ask_nth_mesh_recipe (查看源代码)
定义在: uf_sf.h
概述
Query nth mesh recipe in a given FEM part.
环境
内部和外部
历史
Originally released in NX4.01
需要许可证(S)
nx_masterfem
int UF_SF_ask_nth_mesh_recipe
(
tag_t fem_tag,
int index,
tag_p_t mesh_recipe_tag
)
| tag_t (tag_t类型) | fem_tag | Input(输入) | FEM part |
| int (整数型) | index | Input(输入) | Index into list of mesh recipes. Valid indices are from 0 to (number of mesh recipes-1). The number of mesh recipes can be obtained from function UF_SF_ask_num_mesh_recipes. |
| tag_p_t | mesh_recipe_tag | Output(输出) | Mesh recipe |
UF_SF_ask_nth_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Given a index into a list of solutions, returns the tag of the solution. This
function can be used to loop over all solutions.
The number of solutions can be obtained from function
UF_SF_ask_num_solutions_nx.
The index is just a counter.
Valid indices are from 0 to (number of solutions-1).
Valid only when the work part is a Simulation.
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_nth_solution_nx
(
int solution,
tag_t * solution_tag
)
| int (整数型) | solution | Input(输入) | Index of the solution to query. Valid indices are from 0 to (number of solutions-1). |
| tag_t * (tag_t型的指针) | solution_tag | Output(输出) | Tag of the solution. |
UF_SF_ask_num_dursols_nx (查看源代码)
定义在: uf_sf.h
概述
This function will return the number of Durability Solutions.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_num_dursols_nx
(
int * num_dursols
)
| int * (整数型指针) | num_dursols | Output(输出) | Number of Durability Solutions. |
UF_SF_ask_num_mesh_recipes (查看源代码)
定义在: uf_sf.h
概述
Query number of mesh recipes in a given FEM part.
环境
内部和外部
历史
Originally released in NX4.01
需要许可证(S)
nx_masterfem
int UF_SF_ask_num_mesh_recipes
(
tag_t fem_tag,
int * num_mesh_recipes
)
| tag_t (tag_t类型) | fem_tag | Input(输入) | FEM part |
| int * (整数型指针) | num_mesh_recipes | Output(输出) | Number of mesh recipes |
UF_SF_ask_num_solutions_nx (查看源代码)
定义在: uf_sf.h
概述
Query the number of solutions.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_num_solutions_nx
(
int * solution_count
)
| int * (整数型指针) | solution_count | Output(输出) | Number of solutions. |
UF_SF_ask_offset_midsrf_thickness (查看源代码)
定义在: uf_sf.h
概述
----
Query the thickness of an offset midsurface. Please note that this
function will not return the thickness if the midsurface is created
by a method other than the offset method (e.g., Facepair method).
环境
内部和外部
历史
Originally released in V16.0
-----
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_offset_midsrf_thickness
(
tag_t midsrf_tag,
double * thickness
)
| tag_t (tag_t类型) | midsrf_tag | Input(输入) | Tag of the midsurface. |
| double * (实数型指针) | thickness | Output(输出) | The thickness of the midsurface. If the tag is not an offset midsurface, then the thickness will be returned as 0.0. |
UF_SF_ask_section_data (查看源代码)
定义在: uf_sf.h
概述
---
Returns section data via UF_SF_section_data_t for a given section.
This call only works for section tags that belong to a FEM part.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_section_data
(
tag_t section_tag,
tag_t mesh_object,
tag_t mesh_recipe,
UF_SF_section_data_p_t* section_data_ptr
)
| tag_t (tag_t类型) | section_tag | Input(输入) | Tag of section to query. |
| tag_t (tag_t类型) | mesh_object | Input(输入) | Tag to the object which owns the section. Since sections can have multiple owners, there is no way to determine the desired owner of the section in this function. The section owner is used to fill in the UF_SF_section_data_t's geometry field, and is used to determine the location and orientation. So, if the caller fills in the mesh_object tag, then the geometry, location, and offset fields of the UF_SFOM_section_data_t will be filled in. If these fields are not needed then pass in a NULL_TAG value. |
| tag_t (tag_t类型) | mesh_recipe | Input(输入) | Tag to the mesh recipe for orientation definition, if mesh_object is a geometry tag. So, if the caller fills in the mesh_object and mesh_recipe tags then orientation fields of the UF_SFOM_section_data_t will be filled using both tags. If mesh_object tag is a mesh recipe then, mesh_recipe tag is ignored. If orientation fields are not required then pass in a NULL_TAG value. |
| UF_SF_section_data_p_t* | section_data_ptr | Output to be freed 输出并释放 | pointer to UF_SF_section_data_t where the queried section_data will be stored. This must be freed by calling UF_free. |
UF_SF_ask_section_offsets (查看源代码)
定义在: uf_sf.h
概述
Given a mesh recipe, point, or curve/edge tag, gets Y and Z offsets
associated with the object.
The input object has to belong to a FEM part.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_section_offsets
(
tag_t object_tag,
double* y_offset,
double* z_offset
)
| tag_t (tag_t类型) | object_tag | Input(输入) | Object on which offset exists. |
| double* | y_offset | Output(输出) | y-offset value |
| double* | z_offset | Output(输出) | z_offset value |
UF_SF_ask_section_prop (查看源代码)
定义在: uf_sf.h
概述
Given a section tag or dimensions, evaluate its inertia propeties.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_ask_section_prop
(
tag_t section_tag,
UF_SF_section_prop_list_p_t section_prop
)
UF_SF_ask_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Given a load or boundary condition entity, this function finds the solutions
that use the load or boundary condition entity.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_solution_nx
(
tag_t lbc_tag,
int * num_members,
tag_t* * solution_pp
)
| tag_t (tag_t类型) | lbc_tag | Input(输入) | Tag of the load or boundary condition. |
| int * (整数型指针) | num_members | Output(输出) | Number of loads and bc's in the solution. |
| tag_t* * | solution_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the solutions. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_ask_step_nx (查看源代码)
定义在: uf_sf.h
概述
Given a load or boundary condition entity, this function finds the steps
that use the load or boundary condition entity.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_step_nx
(
tag_t lbc_tag,
int * num_members,
tag_t* * step_pp
)
| tag_t (tag_t类型) | lbc_tag | Input(输入) | Tag of the load or boundary condition. |
| int * (整数型指针) | num_members | Output(输出) | Number of loads and bc's in the step. |
| tag_t* * | step_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the steps. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_ask_ugs_2d_mesh_parms (查看源代码)
定义在: uf_sf.h
概述
This user function returns the mesh parameters used to mesh a given mesh.
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_ugs_2d_mesh_parms
(
tag_t mesh_tag,
UF_SF_ugs_2d_mesh_parms_p_t const mesh_parms
)
UF_SF_ask_ugs_tet_mesh_parms (查看源代码)
定义在: uf_sf.h
概述
This user function returns the mesh parameters used to mesh a given mesh.
环境
Internal and External
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_ask_ugs_tet_mesh_parms
(
tag_t mesh_tag,
UF_SF_ugs_tet_mesh_parms_p_t const mesh_parms
)
UF_SF_auto_create_mesh_mating_condition (查看源代码)
定义在: uf_sf.h
概述
Creates automatically mesh mating conditions from an array of polygon bodies.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_auto_create_mesh_mating_condition
(
int entity_num,
tag_t entity_array [ ] ,
double merge_tolerance,
int make_mesh_coincident,
int coincident_face_only,
int mesh_mating_type,
int * num_assembly_meshes,
tag_t * * assembly_meshes
)
| int (整数型) | entity_num | Input(输入) | Number of entities in array |
| tag_t (tag_t类型) | entity_array [ ] | Input(输入) | Array of tags of the entities (polygon bodies) |
| double (实数型) | merge_tolerance | Input(输入) | Merge tolerance for assembly mesh |
| int (整数型) | make_mesh_coincident | Input(输入) | Make Mesh Coincident switch (0 or 1) |
| int (整数型) | coincident_face_only | Input(输入) | Coincident face switch (0 or 1) |
| int (整数型) | mesh_mating_type | Input(输入) | Mesh mating type = 0 --> GLUE = 3 --> FREE NOTE: There is no 1 or 2 Type |
| int * (整数型指针) | num_assembly_meshes | Output(输出) | Number of assembly mesh tags created |
| tag_t * * | assembly_meshes | Output to be freed 输出并释放 | Array of assembly mesh tags created Free when done |
UF_SF_auto_create_surface_contact_mesh (查看源代码)
定义在: uf_sf.h
概述
Auto creates surface contact meshes. For a given capture distance, a mesh is created
for every pair of meshes created. A mesh has only one source polygon face and one target
polygon face.
环境
内部和外部
历史
-----
需要许可证(S)
nx_masterfem
int UF_SF_auto_create_surface_contact_mesh
(
double capture_distance,
void * property,
int * num_meshes,
tag_p_t * mesh_recipes
)
| double (实数型) | capture_distance | Input(输入) | The mimimum distance between two polygon faces of different polygon bodies that form a contact pair. |
| void * | property | Input(输入) | Structure to define mesh properties. The valid structures are UF_SF_SURFACE_CONTACT_ANSYS_data_p_t, UF_SF_SURFACE_CONTACT_NASTRAN_data_p_t, UF_SF_SURFACE_CONTACT_MODEL_SOL_data_p_t |
| int * (整数型指针) | num_meshes | Output(输出) | Pointer to number of meshes |
| tag_p_t * | mesh_recipes | Output to be freed 输出并释放 | Pointer to the number of mesh recipe tags created. |
UF_SF_body_ask_bounding_box (查看源代码)
定义在: uf_sf.h
概述
This function will get bounding box of Polygon body
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_body_ask_bounding_box
(
tag_t cae_tag,
double pad_bounding_volume [ 6 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon body |
| double (实数型) | pad_bounding_volume [ 6 ] | Output(输出) | Bounding box |
UF_SF_body_ask_edges (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon edges related to polygon body.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_body_ask_edges
(
tag_t cae_tag,
int * num_edges,
tag_p_t * edges
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon body |
| int * (整数型指针) | num_edges | Output(输出) | Number of polygon edges |
| tag_p_t * | edges | Output to be freed 输出并释放 | Tags of polygon edges |
UF_SF_body_ask_faces (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon faces related to polygon body.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_body_ask_faces
(
tag_t cae_tag,
int * num_faces,
tag_p_t * faces
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon body |
| int * (整数型指针) | num_faces | Output(输出) | Number of polygon faces |
| tag_p_t * | faces | Output to be freed 输出并释放 | Polygon faces |
UF_SF_body_ask_modl_body (查看源代码)
定义在: uf_sf.h
概述
This function will get MODL body related to Polygon body.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_body_ask_modl_body
(
tag_t cae_tag,
tag_p_t modl_body_p
)
UF_SF_body_ask_volume_and_centroid (查看源代码)
定义在: uf_sf.h
概述
This function will get volume and centroid of Polygon body
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_body_ask_volume_and_centroid
(
tag_t cae_tag,
double * pd_volume,
double centroid [ 3 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon body |
| double * (实数型指针) | pd_volume | Output(输出) | Volume |
| double (实数型) | centroid [ 3 ] | Output(输出) | Centroid |
UF_SF_cae_information (查看源代码)
定义在: uf_sf.h
概述
runs a duplicate nodes model check on the
current scenario model.
ENVIRONMENT
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_cae_information
(
UF_SF_scenario_info_t info_type,
int num_entities,
tag_p_t entities_tags,
const char * output_file_with_path
)
| UF_SF_scenario_info_t | info_type | Input(输入) | The type of information that is requested |
| int (整数型) | num_entities | Input(输入) | The number of entities to get the requested information for. |
| tag_p_t | entities_tags | Input(输入) | The tags of the meshes, sections, loads, etc. that we need info for. Type of entitiy is determined by info_type. UF_SF_fea_summary_info, num_entities should be 0 and entities_tags should be NULL. UF_SF_mesh_info, specify mesh tags UF_SF_load_info, specify load tags UF_SF_load_case_info, specify a load tag in each desired load case UF_SF_dur_event_info, event information UF_SF_boundary_condition_info, specify bc tags UF_SF_material_info, specify solid or sheet body or mesh tags to display material info for. UF_SF_section_info, specify the tag of the curve, edge, point, or mesh which is associated to the section you want information about. UF_SF_mesh_mating_condition_info specify the tags of the assembly mesh that you want info about. This tag is returned from UF_SF_locate_mesh_mating_condition_by_name |
| const char * | output_file_with_path | Input(输入) | Full path including filename of file where results of model check should be written. Caller is responsible for allocating and deallocating this array. |
UF_SF_check_model_comprehensive (查看源代码)
定义在: uf_sf_model_checker.h
概述
FUNCTION
UF_SF_check_model_comprehensive
DESCRIPTION
This function will run a comprehensive model check on the
current scenario model.
INPUT
detailed_message TRUE for a more detailed output written
to output_file_with_path.
output_file_with_path Full path including filename of file
where results of model check should be
written. Caller is responsible for
allocating and deallocating this array.
OUTPUT:
none
RETURN
error == 0.
>0 for error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_check_model_comprehensive
(
logical detailed_message,
const char * ouput_file_with_path
)
| logical | detailed_message | Input(输入) | |
| const char * | ouput_file_with_path | Input(输入) | |
UF_SF_check_model_duplicate_nodes (查看源代码)
定义在: uf_sf_model_checker.h
概述
FUNCTION
UF_SF_check_model_duplicate_nodes
DESCRIPTION
This function will run a duplicate node model check on the
current scenario model.
INPUT
num_meshes number of meshes to check. 0 if all
existing meshes should be checked.
mesh_tags Array of mesh tags to check. NULL if
all existing meshes should be checked.
merge_duplicates TRUE if duplicates should be merged.
Otherwise FALSE
tolerance tolerance to decide if nodes are duplicate.
OUTPUT:
num_duplicates number of duplicates found and/or merged.
RETURN
error == 0.
>0 for error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_check_model_duplicate_nodes
(
int num_meshes,
tag_p_t mesh_tags,
logical merge_duplicates,
double tolerance,
int * num_duplicates
)
| int (整数型) | num_meshes | Input(输入) | |
| tag_p_t | mesh_tags | Input(输入) | |
| logical | merge_duplicates | Input(输入) | |
| double (实数型) | tolerance | Input(输入) | |
| int * (整数型指针) | num_duplicates | Output(输出) | |
UF_SF_check_model_element_shapes (查看源代码)
定义在: uf_sf.h
概述
FUNCTION
UF_SF_check_model_element_shapes
DESCRIPTION
This function performs element shape check for the
meshes passed in and writes the results to a file
or appends at the end of an existing file.
RETURN
error == 0.
>0 for error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_check_model_element_shapes
(
int num_meshes,
tag_p_t mesh_tags,
logical list_all_elems,
const char * output_file_with_path,
FILE * file_to_append_to
)
| int (整数型) | num_meshes | Input(输入) | Length of the mesh_tags array. |
| tag_p_t | mesh_tags | Input(输入) | Array of mesh tags |
| logical | list_all_elems | Input(输入) | TRUE/FALSE whether to list shape check result for all elements in respective meshes. |
| const char * | output_file_with_path | Input(输入) | Name with path of output file. NULL if file_to_append_to is specified in arguement below. |
| FILE * | file_to_append_to | Input(输入) | Append output to end of the alteady opened file. The file must be opened in append mode. NULL if output_file_with_path specified. |
UF_SF_clean_mshvld_error_container (查看源代码)
定义在: uf_sf_mshvld.h
概述
Function: UF_SF_clean_mshvld_error_container
DESCRIPTION
This user function is used to clean the error container
of mesh validation. It's prototype is available in uf_sf_mshvld.h
INPUT/OUTPUT
UF_SF_mesh_error_container_p_t error_container :
the structure holding the mesh errors found in mesh validation.
RETURN
void
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_clean_mshvld_error_container
(
UF_SF_mesh_error_container_p_t container
)
UF_SF_clone_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine clone a Scenario
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_clone_scenario
(
tag_t master_part_tag,
char * orig_scen,
char * cloned_scen
)
| tag_t (tag_t类型) | master_part_tag | Input(输入) | master part tag |
| char * (字符型指针) | orig_scen | Input(输入) | original scenario |
| char * (字符型指针) | cloned_scen | Input(输入) | name of the clone |
UF_SF_close_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine closes the current Scenario which is opened
when using UF_SF_open_scenario
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_close_scenario
(
void
)
UF_SF_count_elements (查看源代码)
定义在: uf_sf.h
概述
Counts number of elements in a mesh. If mesh_tag is NULL_TAG,
counts all elements in the current part.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_count_elements
(
tag_t mesh,
int* number_of_elements
)
| tag_t (tag_t类型) | mesh | Input(输入) | The tag of mesh. If passed NULL_TAG then all meshes in the current part will be traversed |
| int* | number_of_elements | Output(输出) | Number of elements found. |
UF_SF_count_nodes (查看源代码)
定义在: uf_sf.h
概述
Counts nodes in a mesh. If mesh_tag is NULL_TAG, counts all nodes
in the current part.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_count_nodes
(
tag_t mesh,
int* number_of_nodes
)
| tag_t (tag_t类型) | mesh | Input(输入) | The tag of mesh. If passed NULL_TAG then all meshes in the current part will be traversed |
| int* | number_of_nodes | Output(输出) | Number of nodes found. |
UF_SF_create_0d_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a 0-D mesh ( zero dimensional elements ) over selected
geometry objects. Concentrated Mass is the only element type
available for 0-D meshing.
返回
Return code:
0 = No error
not 0 = Error code
UF_SF_INVALID_INPUT
UF_SF_NO_MESH_RECIPE
UF_SF_UPDATE_FAILURE
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_0d_mesh
(
int num_geom_objects,
tag_t* geom_array,
UF_SF_0D_element_type_t element_type,
double default_density,
UF_SF_0D_density_type_t default_density_type,
double mass_value,
tag_t* mesh_tag
)
| int (整数型) | num_geom_objects | Input(输入) | The number of geometry objects to be meshed |
| tag_t* | geom_array | Input(输入) | pointer to an array of tags of geometry objects |
| UF_SF_0D_element_type_t | element_type | Input(输入) | Type of element UF_SF_0D_CONMASS = Concentrated Mass Element |
| double (实数型) | default_density | Input(输入) | The element density. |
| UF_SF_0D_density_type_t | default_density_type | Input(输入) | Default edge density to the element UF_SF_0D_EDGE_DENSITY_SIZE = Default size of the element UF_SF_0D_EDGE_DENSITY_NUMBER = Default number of elements |
| double (实数型) | mass_value | Input(输入) | Mass value of the element |
| tag_t* | mesh_tag | Output(输出) | Tag of the mesh created |
UF_SF_create_0d_mesh_dist_mass (查看源代码)
定义在: uf_sf.h
概述
Creates a 0-D mesh ( zero dimensional elements ) over selected
geometry objects. Concentrated Mass is the only element type
available for 0-D meshing. This function is different from the above in that
this function takes into account the distribute mass parameter
返回
Return code:
0 = No error
not 0 = Error code
UF_SF_INVALID_INPUT
UF_SF_NO_MESH_RECIPE
UF_SF_UPDATE_FAILURE
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_0d_mesh_dist_mass
(
int num_geom_objects,
tag_t* geom_array,
UF_SF_0D_element_type_t element_type,
double default_density,
UF_SF_0D_density_type_t default_density_type,
double mass_value,
int distribute_mass,
tag_t* mesh_tag
)
| int (整数型) | num_geom_objects | Input(输入) | The number of geometry objects to be meshed |
| tag_t* | geom_array | Input(输入) | pointer to an array of tags of geometry objects |
| UF_SF_0D_element_type_t | element_type | Input(输入) | Type of element UF_SF_0D_CONMASS = Concentrated Mass Element |
| double (实数型) | default_density | Input(输入) | The element density. |
| UF_SF_0D_density_type_t | default_density_type | Input(输入) | Default edge density to the element UF_SF_0D_EDGE_DENSITY_SIZE = Default size of the element UF_SF_0D_EDGE_DENSITY_NUMBER = Default number of elements |
| double (实数型) | mass_value | Input(输入) | Mass value of the element |
| int (整数型) | distribute_mass | Input(输入) | Whether the mass is distributed among the elements |
| tag_t* | mesh_tag | Output(输出) | Tag of the mesh created |
UF_SF_create_1d_connection_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a one dimensional (1D) mesh over two groups of selected geometry
objects. One dimensional elements are defined as two noded elements. The
element types available for 1-D meshing are: Bar, Beam, Rod, Spring, and
Rigid Link.
NOTE: This is the same as UF_SF_create_1d_mesh except for the additional
direction arguments. This allows the user to create connection
meshes between edges and specify the correct directions. These additional
arguments are not needed if num_group2_objects == 0, or if the items in
group2 are points.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_1d_connection_mesh
(
UF_SF_1d_mesh_data_t* mesh_data,
UF_SF_orientation_data_t* orient_data,
int num_group1_objects,
tag_t* group1_array,
UF_SF_mesh_geom_meshdir_p_t group1_direction_array,
int num_group2_objects,
tag_t* group2_array,
UF_SF_mesh_geom_meshdir_p_t group2_direction_array,
tag_t* mesh_tag
)
| UF_SF_1d_mesh_data_t* | mesh_data | Input(输入) | pointer to the structure UF_SF_1d_mesh_data_t |
| UF_SF_orientation_data_t* | orient_data | Input(输入) | pointer to the structure UF_SF_orientation_data_t. Pass NULL for default orientation. |
| int (整数型) | num_group1_objects | Input(输入) | Number of geometry objects in group1 |
| tag_t* | group1_array | Input(输入) | pointer to an array of tags to the group1 objects |
| UF_SF_mesh_geom_meshdir_p_t | group1_direction_array | Input(输入) | pointer to an array of directions for group1_array. Must be either UF_SF_MG_MESHDIR_FROM_START or UF_SF_MG_MESHDIR_FROM_END. Not needed if num_group2_objects == 0 |
| int (整数型) | num_group2_objects | Input(输入) | Number of geometry objects in group2 |
| tag_t* | group2_array | Input(输入) | pointer to an array of tags to group2 objects |
| UF_SF_mesh_geom_meshdir_p_t | group2_direction_array | Input(输入) | pointer to an array of directions for group2_array. Must be either UF_SF_MG_MESHDIR_FROM_START or UF_SF_MG_MESHDIR_FROM_END |
| tag_t* | mesh_tag | Output(输出) | Tag of the mesh created |
UF_SF_create_1d_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a one dimensional (1D) mesh over selected geometry objects.
One dimensional elements are defined as two noded elements. The
element types available for 1-D meshing are: Bar, Beam, Rod,
Spring, and Rigid Link.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_1d_mesh
(
UF_SF_1d_mesh_data_t* mesh_data,
UF_SF_orientation_data_t* orient_data,
int num_group1_objects,
tag_t* group1_array,
int num_group2_objects,
tag_t* group2_array,
tag_t* mesh_tag
)
| UF_SF_1d_mesh_data_t* | mesh_data | Input(输入) | pointer to the structure UF_SF_1d_mesh_data_t |
| UF_SF_orientation_data_t* | orient_data | Input(输入) | pointer to the structure UF_SF_orientation_data_t. Pass NULL for default orientation. |
| int (整数型) | num_group1_objects | Input(输入) | Number of geometry objects in group1 |
| tag_t* | group1_array | Input(输入) | pointer to an array of tags to the group1 objects |
| int (整数型) | num_group2_objects | Input(输入) | Number of geometry objects in group2 |
| tag_t* | group2_array | Input(输入) | pointer to an array of tags to group2 objects |
| tag_t* | mesh_tag | Output(输出) | Tag of the mesh created |
UF_SF_create_auto_face_subdiv (查看源代码)
定义在: uf_sf.h
概述
Given an array of solid bodies or faces (but not both). this function
automatically creates the information of the pairs of faces that
are mated within the given 'distance_tolerance'. It then uses this information
to subdivide the overlapping face pairs using the opposite edges of each face
pair. Finally, it outputs the faces pairs that became coincident
as a result of subdivision. In addition, it also outputs the face pairs that
are already coincident with or without an equal number of edges. However, there are
two options as described below to control the output.
1. subdivision_needed - The user can specify whether the subdivision is needed
or not. If it is not needed, only those face pairs that are found to be
already coincident will be output. (1 for needed, 0 otherwise)
2. face_search_option - It gives the caller an option to specify whether
all types of face pairs needs to be searched or only coincident pairs are of
interest. (1 for search all faces, 0 for search only coincident ones)
When face pairs are coincident with an equal number of edges, the relative_status in
the output structure 'resulting_pairs' is UF_SF_IDENTICAL_FACES_EQ_EDGES. Further,
when the face pairs are coincident with unequal number of edges, the relative_status
in the output structure is UF_SF_IDENTICAL_FACES_UNEQ_EDGES.
Caller of this function is responsible for freeing up the memory of the output
structure array 'resulting_pairs'.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_create_auto_face_subdiv
(
tag_t * objects,
int obj_count,
double distance_tolerance,
int subdivision_needed,
int face_search_option,
UF_SF_resulting_face_pairs_p_t * resulting_pairs,
int * resulting_pairs_count
)
| tag_t * (tag_t型的指针) | objects | Input(输入) | An array of solid bodies or faces |
| int (整数型) | obj_count | Input(输入) | Count of the above array |
| double (实数型) | distance_tolerance | Input(输入) | Tolerance for face pairing |
| int (整数型) | subdivision_needed | Input(输入) | Whether subdivision needed 1 for YES, 0 for NO |
| int (整数型) | face_search_option | Input(输入) | 1 for all faces 0 for coincident faces only |
| UF_SF_resulting_face_pairs_p_t * | resulting_pairs | Output to be freed 输出并释放 | Array of face pair structures. This must be freed by calling UF_free. |
| int * (整数型指针) | resulting_pairs_count | Output(输出) | Count of the above structures |
UF_SF_create_combined_load_case (查看源代码)
定义在: uf_sf.h
概述
Creates a combined load case with a given name and definition.
Valid only when the work part is a Simulation.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_combined_load_case
(
char* clc_name,
int num_comps,
tag_t* lbc_tags,
double* lbc_scales,
tag_t* clc_tag
)
| char* | clc_name | Input(输入) | Name of the combined load case. |
| int (整数型) | num_comps | Input(输入) | Number of load cases in the combined load case definition. |
| tag_t* | lbc_tags | Input(输入) | pointer to the array of the tags for load case components. |
| double* | lbc_scales | Input(输入) | pointer to the array of the scale factors for load case components. |
| tag_t* | clc_tag | Output(输出) | Tag of the combined load case. |
UF_SF_create_contact_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a contact mesh. Given an element tag outputs the number of
edges this element has and the nodes on those edges.
环境
内部和外部
历史
-----
需要许可证(S)
nx_masterfem
int UF_SF_create_contact_mesh
(
tag_p_t mesh,
UF_SF_contact_mesh_data_p_t mesh_data,
UF_SF_orientation_data_p_t orient_data
)
| tag_p_t | mesh | Input / Output | pointer to tag of the mesh to be updated. if NULL_TAG, create new mesh. |
| UF_SF_contact_mesh_data_p_t | mesh_data | Input(输入) | Structure to mesh visual properties. Set members to UF_SF_MESH_VISUAL_NO_CHANGE whose attribute you do not want to change. |
| UF_SF_orientation_data_p_t | orient_data | Input(输入) | pointer to UF_SF_orientation_data_structure |
UF_SF_create_defeature_body (查看源代码)
定义在: uf_sf.h
概述
This routine creates a defeature feature for specified set of faces of the
body that either define a region or are explicitly selected, or both.
This routine takes a region object and an idealize parms object that is
set to the desired operations and creates an idealize feature.
Since removal of all specified faces and edges is not guarenteed,
returned are the edges of all failing wounds (edges of the face or hole
edge in a sheet body).
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_defeature_body
(
UF_SF_defeature_parms_p_t defeature_parms_p,
tag_t * feature_tag,
int * n_failing_wound_edges,
tag_t * * failing_wound_edges
)
| UF_SF_defeature_parms_p_t | defeature_parms_p | Input(输入) | Parameters that define a set of faces on a body to be simplified. The body is derived from a seed face. The faces may be extracted automatically based on the parameters that define a region, or they can be specified explicitly, or both. |
| tag_t * (tag_t型的指针) | feature_tag | Output(输出) | The feature created |
| int * (整数型指针) | n_failing_wound_edges | Output(输出) | Number of edges of failing wounds |
| tag_t * * | failing_wound_edges | Output to be freed 输出并释放 | Array of edges of failing wounds. This must be freed by calling UF_free. |
UF_SF_create_disp_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a display mesh object from a structure containing the node
coordinates and their connectivity to define a connected set of elements.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_create_disp_mesh
(
UF_SF_disp_mesh_t * disp_mesh,
tag_t * mesh_tag
)
UF_SF_create_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will create a Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_dursol_nx
(
const char* name,
tag_t solution_tag,
tag_t * dursol_tag
)
| const char* | name | Input(输入) | Durability Solution name. |
| tag_t (tag_t类型) | solution_tag | Input(输入) | Tag of the solution. |
| tag_t * (tag_t型的指针) | dursol_tag | Output(输出) | Durability Solution tag. |
UF_SF_create_edge_face_conn (查看源代码)
定义在: uf_sf.h
概述
UF_SF_create_edge_face_conn :
Creates edge-face connection mesh for selected polygon geometry objects. Edge face connection
can be created between polygon edge(s) and polygon face(s). It is very useful for creating
connectivity between polygon edges and polygon faces that are like in T-type junctions.
Users need not care about mesh connectivity. Edge-face connection establishes the connectivity automatically.
Edge-face connections can be established with two options.
1) Glue meshes
This option seeds the selected edge(s) as per the elements no/ element spacing
and project the nodes on to selected face(s). It creates rigid links between edge
and face nodes. Finally these face nodes and face elements are related by constraint
equations.
2) Match meshes.
This option creates rigid links as in glue meshes option. Afterwards, it creates hard
points on face(s) and forces the meshes on face to honour these nodes.
环境
内部和外部
历史
This new functionality was supported in v17.0
需要许可证(S)
nx_masterfem
int UF_SF_create_edge_face_conn
(
UF_SF_ef_conn_info_t* uf_ef_conn_info,
tag_t* mesh_tag
)
| UF_SF_ef_conn_info_t* | uf_ef_conn_info | Input(输入) | This structure contains the information needed to create a edge-face connection mesh |
| tag_t* | mesh_tag | Output(输出) | edge_face connection mesh recipe tag |
UF_SF_create_fem (查看源代码)
定义在: uf_sf.h
概述
Creates fem part file
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_create_fem
(
const char* fem_name,
tag_t cad_part_tag,
const char* idealized_part_name,
logical use_all_bodies_flag,
int num_bodies,
const tag_t* body_tags,
const char* solver_name,
const char* analysis_type_name,
int num_desc_lines,
const char* * description,
tag_t* new_fem_tag
)
| const char* | fem_name | Input(输入) | Name of FEM part file to create. |
| tag_t (tag_t类型) | cad_part_tag | Input(输入) | Tag of the CAD part to associate the FEM to. Pass NULL_TAG to create a stand-alone FEM part |
| const char* | idealized_part_name | Input(输入) | Name of the Idealized part. Pass NULL for no Idealized part |
| logical | use_all_bodies_flag | Input(输入) | Flag indicating whether to use all bodies or not |
| int (整数型) | num_bodies | Input(输入) | Number of bodies to use in creating the FEM Valid only when use_all_bodies_flag == false |
| const tag_t* | body_tags | Input(输入) | List of body tags to use in creating the FEM Valid only when use_all_bodies_flag == false |
| const char* | solver_name | Input(输入) | The name of the solver. Available solvers are: "NX NASTRAN", "MSC NASTRAN", "ANSYS", "ABAQUS", "NX THERMAL / FLOW" "NX NASTRAN DESIGN" |
| const char* | analysis_type_name | Input(输入) | The name of the analysis type. Available analysis types are: For "NX NASTRAN", "MSC NASTRAN", "ANSYS" & "ABAQUS": "Structural", "Thermal", "Axisymmetric Structural", "Axisymmetric Thermal" For "NX THERMAL / FLOW": "Thermal" "Flow" "Coupled Thermal-Flow" For "NX NASTRAN DESIGN": "Structural", "Thermal" |
| int (整数型) | num_desc_lines | Input(输入) | Number of lines in the FEM description. |
| const char* * | description | Input(输入) | Description of this FEM part. |
| tag_t* | new_fem_tag | Output(输出) | Tag of created FEM part file. |
UF_SF_create_fem_with_geom_opts (查看源代码)
定义在: uf_sf.h
概述
Creates fem part file with geometry options
环境
内部和外部
历史
Originally released in NX4.0.4
需要许可证(S)
nx_masterfem
int UF_SF_create_fem_with_geom_opts
(
const char* fem_name,
tag_t cad_part_tag,
const char* idealized_part_name,
logical use_all_bodies_flag,
int num_bodies,
const tag_t* body_tags,
const char* solver_name,
const char* analysis_type_name,
int num_desc_lines,
const char* * description,
UF_SF_geom_options_t geom_options,
tag_t* new_fem_tag
)
| const char* | fem_name | Input(输入) | Name of FEM part file to create. |
| tag_t (tag_t类型) | cad_part_tag | Input(输入) | Tag of the CAD part to associate the FEM to. Pass NULL_TAG to create a stand-alone FEM part |
| const char* | idealized_part_name | Input(输入) | Name of the Idealized part. Pass NULL for no Idealized part |
| logical | use_all_bodies_flag | Input(输入) | Flag indicating whether to use all bodies or not |
| int (整数型) | num_bodies | Input(输入) | Number of bodies to use in creating the FEM Valid only when use_all_bodies_flag == true |
| const tag_t* | body_tags | Input(输入) | List of body tags to use in creating the FEM Valid only when use_all_bodies_flag == true |
| const char* | solver_name | Input(输入) | The name of the solver. Available solvers are: "NX NASTRAN", "MSC NASTRAN", "ANSYS", "ABAQUS", "NX THERMAL / FLOW" "NX NASTRAN DESIGN" |
| const char* | analysis_type_name | Input(输入) | The name of the analysis type. Available analysis types are: For "NX NASTRAN", "MSC NASTRAN", "ANSYS" & "ABAQUS": "Structural", "Thermal", "Axisymmetric Structural", "Axisymmetric Thermal" For "NX THERMAL / FLOW": "Thermal" "Flow" "Coupled Thermal-Flow" For "NX NASTRAN DESIGN": "Structural", "Thermal" |
| int (整数型) | num_desc_lines | Input(输入) | Number of lines in the FEM description. |
| const char* * | description | Input(输入) | Description of this FEM part. |
| UF_SF_geom_options_t | geom_options | Input(输入) | Geometry options |
| tag_t* | new_fem_tag | Output(输出) | Tag of created FEM part file. |
UF_SF_create_hardpoint_on_geom (查看源代码)
定义在: uf_sf.h
概述
Creates a hardpoint associated to either a face, an edge or curve. This hardpoint
will then be honored by any meshing operation performed on that edge or face.
环境
Internal or External
历史
Released in NX3
需要许可证(S)
nx_masterfem
int UF_SF_create_hardpoint_on_geom
(
tag_t geom_tag,
double ref_point [ 3 ] ,
tag_p_t hardpoint_tag
)
| tag_t (tag_t类型) | geom_tag | Input(输入) | The tag of the geometry that the hardpoint should be associated to. This geometry can be either a face, an edge or a curve. |
| double (实数型) | ref_point [ 3 ] | Input(输入) | The 3d location of reference point in absolute csys. The actual hardpoint location will be determined by projecting this point on to a face or computing minimum distance of this point to an edge or curve. |
| tag_p_t | hardpoint_tag | Output(输出) | The tag of the hardpoint created |
UF_SF_create_idealize_body (查看源代码)
定义在: uf_sf.h
概述
This routine creates an idealize feature for an entire body
This routine takes the tag of a body and an idealize parms object that is
set to the desired operation and creates an idealize feature. Since removal
of all specified faces and edges is not guaranteed, returned are the edges
of all failing wounds (edges of the face or hole edge in a sheet body)
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_create_idealize_body
(
tag_t body_tag,
UF_SF_idealize_parms_p_t parms_p,
tag_t * feature_tag,
int * n_failing_wound_edges,
tag_t * * failing_wound_edges
)
| tag_t (tag_t类型) | body_tag | Input(输入) | Body to be simplified (Solid or Sheet) |
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | Parameters of the new idealize feature |
| tag_t * (tag_t型的指针) | feature_tag | Output(输出) | The feature created |
| int * (整数型指针) | n_failing_wound_edges | Output(输出) | Number of edges of failing wounds |
| tag_t * * | failing_wound_edges | Output to be freed 输出并释放 | Array of edges of failing wounds. This must be freed by calling UF_free. |
UF_SF_create_idealize_region (查看源代码)
定义在: uf_sf.h
概述
This routine creates an idealize feature for specified region of a body
This routine takes a region object and an idealize parms object that is
set to the desired operations and creates an idealize feature. Since removal
of all specified faces and edges is not guaranteed, returned are the edges
of all failing wounds (edges of the face or hole edge in a sheet body)
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_create_idealize_region
(
UF_SF_idealize_region_p_t region_p,
UF_SF_idealize_parms_p_t parms_p,
tag_t * feature_tag,
int * n_failing_wound_edges,
tag_t * * failing_wound_edges
)
| UF_SF_idealize_region_p_t | region_p | Input(输入) | Parameters that define the region of the body to be simplified. |
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | Parameters of the new idealize feature |
| tag_t * (tag_t型的指针) | feature_tag | Output(输出) | The feature created |
| int * (整数型指针) | n_failing_wound_edges | Output(输出) | Number of edges of failing wounds |
| tag_t * * | failing_wound_edges | Output to be freed 输出并释放 | Array of edges of failing wounds. This must be freed by calling UF_free. |
UF_SF_create_lv_nx (查看源代码)
定义在: uf_sf.h
概述
This function will create a Durability load variation.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_lv_nx
(
const char * lv_name,
double scaling_factor,
int count,
UF_SF_lv_function_mode_t function_type,
tag_t solution_step_tag,
tag_t dursol_tag,
tag_t * lv_tag
)
| const char * | lv_name | Input(输入) | Load variation name If lv_name = NULL, a default name will be assigned. |
| double (实数型) | scaling_factor | Input(输入) | Scaling factor |
| int (整数型) | count | Input(输入) | Number of cycles |
| UF_SF_lv_function_mode_t | function_type | Input(输入) | Scaling function type UF_SF_HALF_UNIT_CYCLE UF_SF_FULL_UNIT_CYCLE |
| tag_t (tag_t类型) | solution_step_tag | Input(输入) | Solution Step tag |
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durablity Solution tag |
| tag_t * (tag_t型的指针) | lv_tag | Output(输出) | Load Variation tag |
UF_SF_create_material (查看源代码)
定义在: uf_sf.h
概述
Creates either an isotropic, orthotropic, anisotropic or fluid material, with,
or without table properties, with, or without read-only constraints.
Initialize the UF_SF_material_prop_p_t, property_values structure using
UF_SF_init_matl_prop before setting new values.
环境
内部和外部
参见
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_create_material
(
char* name,
char* category,
UF_SF_neutral_material_types_t material_type,
UF_SF_material_prop_p_t property_values,
UF_SF_library_material_t library_material,
tag_p_t material_tag
)
| char* | name | Input(输入) | Name of material. The maximum number of allowable characters is 80. |
| char* | category | Input(输入) | Category of material, pass NULL if it is not required |
| UF_SF_neutral_material_types_t | material_type | Input(输入) | The type of material to create. UF_SF_MATERIAL_ISOTROPIC = Isotropic material. UF_SF_MATERIAL_ORTHOTROPIC = Orthotropic material, UF_SF_MATERIAL_ANISOTROPIC = Anisotropic material. UF_SF_MATERIAL_FLUID = Fluid material. |
| UF_SF_material_prop_p_t | property_values | Input(输入) | Input structure with Youngs modulus, poissons ratio, Mass density, Thermal conductivity, and Thermal Coefficient. Call "UF_SF_init_matl_prop" to initialize this structure before setting new values. |
| UF_SF_library_material_t | library_material | Input(输入) | UF_SF_MATL_IS_READ_ONLY UF_SF_MATL_IS_EDITABLE |
| tag_p_t | material_tag | Output(输出) | Created material tag. |
UF_SF_create_mesh_mating_condition (查看源代码)
定义在: uf_sf.h
概述
Create a SFEM assembly_mesh object.
环境
内部和外部
历史
This function was originally released in V16.0
需要许可证(S)
nx_masterfem
int UF_SF_create_mesh_mating_condition
(
tag_t assembling_geom,
tag_t target_geom,
char* assembly_name,
int seed_mesh,
UF_SF_assembly_type_t assembly_type,
double merge_tolerance,
double match_tolerance,
tag_t * assembly_mesh
)
| tag_t (tag_t类型) | assembling_geom | Input(输入) | Assembling region polygon geometry tag |
| tag_t (tag_t类型) | target_geom | Input(输入) | Target region polygon geometry tag |
| char* | assembly_name | Input(输入) | Assembly mesh name |
| int (整数型) | seed_mesh | Input(输入) | Flag of seed mesh |
| UF_SF_assembly_type_t | assembly_type | Input(输入) | Assembly mesh type |
| double (实数型) | merge_tolerance | Input(输入) | Node merge tolerance |
| double (实数型) | match_tolerance | Input(输入) | match tolerance to define if an independent node matchs with a master element |
| tag_t * (tag_t型的指针) | assembly_mesh | Output(输出) | Tag of the newly created assembly mesh |
UF_SF_create_offset_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function creates a midsurface using offset method. This creation
requires the user to specify the following:
1) A Seed Face - This is the face on the body from which the function
propagates and collects all the faces based on the
following criteria:
a) Cliff Angle: The propagation halts and does not take the face
concerned in to the collection if the angle between
the normals of the current face and this face is
greater than the cliff angle. Please note that this
is the only criterion which is given as input.
NOTE: There are other criteria which the system computes such as the
thickness of the body at the seed face, thickness of the body
adjacent to the seed face and also the set of edges which belong
to the set of faces opposite to the propagation.
2) The percentage distance is the percentage of the thickness (distance) at
which the midsurface will be placed from the seed face, after creation
within the body.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
( solid_modeling or nx_masterfem )
int UF_SF_create_offset_midsrf
(
tag_t seed_face,
double cliff_angle,
double percentage_dist,
tag_t * midsurface_tag
)
| tag_t (tag_t类型) | seed_face | Input(输入) | The tag of the seed face on the solid body. |
| double (实数型) | cliff_angle | Input(输入) | The user input cliff angle to define the boundary |
| double (实数型) | percentage_dist | Input(输入) | Percentage location of midsurface |
| tag_t * (tag_t型的指针) | midsurface_tag | Output(输出) | Midsurface sheet body tag that was created. |
UF_SF_create_report (查看源代码)
定义在: uf_sf.h
概述
Creates the Scenario report objects based on a template file.
Valid only when a Simulation part is the work part
环境
Internal or External
历史
Released in NX3
需要许可证(S)
nx_masterfem
int UF_SF_create_report
(
void
)
UF_SF_create_scenario_nx (查看源代码)
定义在: uf_sf.h
概述
Creates scenario part file from parent part (non scenario part file).
The input name should be shorter than 26 characters and should not
include the path name. This is required because the scenario subdirectory
is associated to the master model part.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_scenario_nx
(
char* scenario_name,
tag_t* new_scenario_tag
)
| char* | scenario_name | Input(输入) | Name of Scenario part file to create. |
| tag_t* | new_scenario_tag | Output(输出) | Tag of created Scenario part file. |
UF_SF_create_section (查看源代码)
定义在: uf_sf.h
概述
Given the section type, name of section, property values (Length,
width, height etc.), offset values, and stress recovery coefficients this
function creates a section and outputs its tag. If section tag is not
NULL_TAG then the section is updated.
The dimension(DV's) of the property_values depends on the type
of section to create. The following describes the array elements in
terms of dimension symbols which are illustrated in the diagram found
at the end of the array element descriptions.
For Thin Walled Rectangular/ Channel Section:
property_values[0]=b, property_values[1]=l, property_values[2]=t
For Thin Walled Cylinder:
property_values[0]=r,property_values[1]=t
For Thin Walled Hat Section:
property_values[0]=b, property_values[1]=h, property_values[2]=t ,
property_values[3]=b1
For Wide flanged beam with equal flanges:
property_values[0]=b, property_values[1]=h, property_values[2]=t,
property_values[3]=tw
For Solid Rectangular Section:
property_values[0]=b, property_values[1]=t
For Solid Cylinder:
property_values[0]=r
For User specific sections:
property_values[0]=Area, property_values[1]=Moment of Inertia
about x (Ixx) , property_values[2]=Moment of Inertia about y (Iyy)
property_values[3]=Moment of Inertia about xy (Ixy),
property_values[4]=Torsional constant, property_values[5]=Warping
constant.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_section
(
UF_SF_section_type_t section_type,
char* name_str,
double property_values [ ] ,
char* * offsets,
UF_SF_section_src_list_p_t section_src_ptr,
int num_of_objects,
tag_p_t object_tag,
tag_p_t section_tag_ptr
)
| UF_SF_section_type_t | section_type | Input(输入) | The type of section to be created. UF_SF_SECTION_TWREC = Thin wall, rectangle UF_SF_SECTION_TWCYL = Thin wall, cylinder UF_SF_SECTION_TWCHA = Thin wall, channel UF_SF_SECTION_TWHAT = Thin wall, hat. UF_SF_SECTION_TWIBE = Thin wall, I beam UF_SF_SECTION_SOCYL = Solid, cylinder UF_SF_SECTION_SOREC = Solid, rectangle UF_SF_SECTION_KEYIN = User defined |
| char* | name_str | Input(输入) | pointer to string representing the name of the string. The maximum number of allowable characters is 32. |
| double (实数型) | property_values [ ] | Input(输入) | Array which represents property values to create. |
| char* * | offsets | Input(输入) | Array of Y,Z,Offset values from the centroid of the section to the object. |
| UF_SF_section_src_list_p_t | section_src_ptr | Input(输入) | Stress recovery coefficients or NULL can be passed. |
| int (整数型) | num_of_objects | Input(输入) | Number of objects for applying offsets. |
| tag_p_t | object_tag | Input(输入) | Object for applying offsets. Objects can be bar or beam element mesh, curves, or points |
| tag_p_t | section_tag_ptr | Input / Output | Section tag to update or pass NULL_TAG to create section. |
UF_SF_create_simulation (查看源代码)
定义在: uf_sf.h
概述
Creates Simulation part file
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_create_simulation
(
const char* simulation_name,
tag_t fem_tag,
int num_desc_lines,
const char* * description,
tag_t* new_simulation_tag
)
| const char* | simulation_name | Input(输入) | Name of Simulation part file to create. |
| tag_t (tag_t类型) | fem_tag | Input(输入) | Tag of the FEM part to create the Simulation on. |
| int (整数型) | num_desc_lines | Input(输入) | Number of lines in the Simulation description. |
| const char* * | description | Input(输入) | Description of this Simulation part. |
| tag_t* | new_simulation_tag | Output(输出) | Tag of created Simulation part file. |
UF_SF_create_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Creates a solution with a given name.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_solution_nx
(
tag_t solution_desc,
tag_t solver_desc,
const char* solution_name,
tag_t* solution_tag
)
| tag_t (tag_t类型) | solution_desc | Input(输入) | Tag for the solution descriptor. |
| tag_t (tag_t类型) | solver_desc | Input(输入) | Tag for the solver descriptor. |
| const char* | solution_name | Input(输入) | Name for the solution. |
| tag_t* | solution_tag | Output(输出) | Tag for the solution. |
UF_SF_create_step_nx (查看源代码)
定义在: uf_sf.h
概述
Creates a step with a given name.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_create_step_nx
(
tag_t step_desc,
const char* step_name,
tag_t solution_tag,
tag_t* step_tag
)
| tag_t (tag_t类型) | step_desc | Input(输入) | Tag for the step descriptor. |
| const char* | step_name | Input(输入) | Name for the step. |
| tag_t (tag_t类型) | solution_tag | Input(输入) | Tag for the parent solution. |
| tag_t* | step_tag | Output(输出) | Tag for the step. |
UF_SF_create_surface_contact_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates a surface contact mesh for a given source and target polygon face. The source and target
polygon face should belong to a different polygon body.
环境
内部和外部
历史
-----
需要许可证(S)
nx_masterfem
int UF_SF_create_surface_contact_mesh
(
tag_t source_face,
tag_t target_face,
void * property,
tag_p_t mesh_recipe
)
| tag_t (tag_t类型) | source_face | Input(输入) | The source side polygon face on which contact need to be created. |
| tag_t (tag_t类型) | target_face | Input(输入) | The target side polygon face on which contact need to be created. |
| void * | property | Input(输入) | Structure to define mesh properties. The valid structures are UF_SF_SURFACE_CONTACT_ANSYS_data_p_t, UF_SF_SURFACE_CONTACT_NASTRAN_data_p_t, UF_SF_SURFACE_CONTACT_MODEL_SOL_data_p_t |
| tag_p_t | mesh_recipe | Output(输出) | Pointer to the mesh recipe tag created. |
UF_SF_create_swept_hex_mesh (查看源代码)
定义在: uf_sf.h
概述
This function will create a 3d Hex mesh in a solid body.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
nx_masterfem
int UF_SF_create_swept_hex_mesh
(
tag_t solid_body,
tag_t source_face,
logical midnodes,
double elem_size,
tag_p_t mesh_tag
)
| tag_t (tag_t类型) | solid_body | Input(输入) | The tag of the polygon solid body to mesh |
| tag_t (tag_t类型) | source_face | Input(输入) | The tag of the face to use as the source polygon face for sweeping. |
| logical | midnodes | Input(输入) | If TRUE, Hex20s will be created. If FALSE, Hex8s will be created. |
| double (实数型) | elem_size | Input(输入) | Desired element size. This will be used to mesh the source polygon face and determine the number of sweeping layers. |
| tag_p_t | mesh_tag | Output(输出) | The tag of the mesh created. |
UF_SF_create_ugs_2d_mesh (查看源代码)
定义在: uf_sf.h
概述
This user function is used to create a 2d mesh on a set of polygon faces or
polygon bodies using the NX Surface mesher.
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_create_ugs_2d_mesh
(
UF_SF_ugs_2d_mesh_parms_p_t const mesh_parms,
int num_geoms,
tag_p_t const geoms_p,
tag_p_t mesh_tag
)
| UF_SF_ugs_2d_mesh_parms_p_t const | mesh_parms | Input(输入) | Parameters which control the required 2d Mesh |
| int (整数型) | num_geoms | Input(输入) | Number of geometries to be meshed |
| tag_p_t const | geoms_p | Input(输入) | Tag of the geometries to mesh. Could be a polygon face or a polygon body |
| tag_p_t | mesh_tag | Output(输出) | Tag of the created mesh |
UF_SF_create_ugs_2d_mesh_with_hdpts (查看源代码)
定义在: uf_sf.h
概述
This user function is used to create a 2d mesh on a set of polygon faces or
polygon bodies using the NX Surface mesher. It is the same as
UF_SF_create_ugs_2d_mesh, except that this function has 2 additional arguments
(num_hardpoints & hardpoints_p)
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_create_ugs_2d_mesh_with_hdpts
(
UF_SF_ugs_2d_mesh_parms_p_t const mesh_parms,
int num_geoms,
tag_p_t const geoms_p,
int num_hardpoints,
tag_p_t const hardpoints_p,
tag_p_t mesh_tag
)
| UF_SF_ugs_2d_mesh_parms_p_t const | mesh_parms | Input(输入) | Parameters which control the required 2d Mesh |
| int (整数型) | num_geoms | Input(输入) | Number of polygon geometries to be meshed |
| tag_p_t const | geoms_p | Input(输入) | Tag of the polgyon geometries to mesh. Could be a geometric face or a sheet body |
| int (整数型) | num_hardpoints | Input(输入) | Number of hard points to honor in the mesh. |
| tag_p_t const | hardpoints_p | Input(输入) | Array of tags of the hardpoints to honor. These points should spacially be on the interior of the polygon face, and should not be associated to the polygon face, but rather just points out in space. |
| tag_p_t | mesh_tag | Output(输出) | Tag of the created mesh |
UF_SF_create_ugs_2d_mesh_wt_abstraction_control (查看源代码)
定义在: uf_sf.h
概述
This user function is used to create a 2d mesh on a set of polygon faces or
polygon bodies using the NX Surface mesher.
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_create_ugs_2d_mesh_wt_abstraction_control
(
UF_SF_ugs_2d_mesh_parms_p_t const mesh_parms,
UF_SF_ugs_mesh_abstraction_params_p_t const abs_data_p,
int num_geoms,
tag_p_t const geoms_p,
tag_p_t mesh_tag
)
UF_SF_create_ugs_tet_mesh (查看源代码)
定义在: uf_sf.h
概述
This user function is used to create a tet mesh on a set of polygon bodies
using the NX Tet mesher. It assumes default geometry abstraction parameters.
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_create_ugs_tet_mesh
(
UF_SF_ugs_tet_mesh_parms_p_t const mesh_parms,
int num_bodies,
tag_p_t const bodies_p,
tag_p_t mesh_tag
)
| UF_SF_ugs_tet_mesh_parms_p_t const | mesh_parms | Input(输入) | Parameters which control the required tet Mesh |
| int (整数型) | num_bodies | Input(输入) | Number of polygon bodies to be meshed |
| tag_p_t const | bodies_p | Input(输入) | Tag of the polygon bodies to mesh |
| tag_p_t | mesh_tag | Output(输出) | tag of the created mesh |
UF_SF_create_ugs_tet_mesh_wt_abstraction_control (查看源代码)
定义在: uf_sf.h
概述
This user function is used to create a tet mesh on a set of polygon bodies
using the NX Tet mesher. It also allows user to control geometry abstraction
parameters.
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_create_ugs_tet_mesh_wt_abstraction_control
(
UF_SF_ugs_tet_mesh_parms_p_t const mesh_parms,
UF_SF_ugs_mesh_abstraction_params_p_t const abs_data_p,
int num_bodies,
tag_p_t const bodies_p,
int f_partial_surf_mesh,
tag_p_t mesh_tag
)
| UF_SF_ugs_tet_mesh_parms_p_t const | mesh_parms | Input(输入) | Parameters which control the required tet Mesh |
| UF_SF_ugs_mesh_abstraction_params_p_t const | abs_data_p | Input(输入) | Abstraction control |
| int (整数型) | num_bodies | Input(输入) | Number of polygon bodies to be meshed |
| tag_p_t const | bodies_p | Input(输入) | Tag of the polygon bodies to mesh |
| int (整数型) | f_partial_surf_mesh | Input(输入) | 0 == don't allow creation of partial surface mesh, 1 == allow creation of partial surface mesh with no format to solve, 2 == allow creation of partial surface mesh with format to solve. |
| tag_p_t | mesh_tag | Output(输出) | tag of the created mesh |
UF_SF_create_userdef_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function creates a midsurface feature using the user defined method.
This creation requires the user to specify the following via an instance of
UF_SF_midsef_userdef_parms_t structure:
1) A target solid body
2) A collection of one or more sheet bodies.
3) The thickness of the midsurface which will be used only for the thickness
extraction at formatting time only if the automatic method fails if at least
one of the specified sheet bodies is not fully contained in the target solid.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
( solid_modeling or nx_masterfem )
int UF_SF_create_userdef_midsrf
(
UF_SF_midsrf_user_parms_p_t parms_p,
tag_t * feature_tag
)
UF_SF_create_weld_mesh (查看源代码)
定义在: uf_sf.h
概述
Creates weld (1D) mesh over selected geometry objects.
weld elements are defined as two noded elements. The
element types available for 1-D meshing are: Bar, Beam, Rod,
Spring, and Rigid Link.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_create_weld_mesh
(
UF_SF_1d_mesh_data_t* mesh_data,
UF_SF_orientation_data_t* orient_data,
int num_objects,
tag_t* obj_array,
int num_top_faces,
tag_t* top_face_array,
int num_bot_faces,
tag_t* bot_face_array,
tag_t* mesh_tag
)
| UF_SF_1d_mesh_data_t* | mesh_data | Input(输入) | UF_SF_1d_mesh_data_t |
| UF_SF_orientation_data_t* | orient_data | Input(输入) | Pass NULL for default orientation not required. |
| int (整数型) | num_objects | Input(输入) | Number of points/curves. |
| tag_t* | obj_array | Input(输入) | Array of tags to the points/curves. |
| int (整数型) | num_top_faces | Input(输入) | Number of top polygon faces. |
| tag_t* | top_face_array | Input(输入) | Array of tags to the top polygon faces. |
| int (整数型) | num_bot_faces | Input(输入) | Number of bottom polygon faces. |
| tag_t* | bot_face_array | Input(输入) | Array of tags to the bottom polygon faces. |
| tag_t* | mesh_tag | Output(输出) | Tag of new mesh. |
UF_SF_delete_disp_mesh (查看源代码)
定义在: uf_sf.h
概述
Deletes an array of display mesh objects.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_disp_mesh
(
int num_meshes,
tag_t * mesh_tags
)
| int (整数型) | num_meshes | Input(输入) | Number of display mesh objects to be deleted. |
| tag_t * (tag_t型的指针) | mesh_tags | Input(输入) | Array of display mesh objects to be deleted. |
UF_SF_delete_disp_results (查看源代码)
定义在: uf_sf_ugopenint.h
概述
Deletes the fringe display of the results associated with a mesh
and optionally the associated legend.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_disp_results
(
int delete_legend_sw
)
| int (整数型) | delete_legend_sw | Input(输入) | Switch indicating whether to delete legend along with the fringe display of the results: = 0 --> Do not delete legend = 1 --> Delete legend |
UF_SF_delete_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will delete a Durability load variation.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_dursol_nx
(
tag_t dursol_tag
)
UF_SF_delete_lv_nx (查看源代码)
定义在: uf_sf.h
概述
This function will delete a Durability load variation.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_lv_nx
(
tag_t dursol_tag,
tag_t lv_tag
)
UF_SF_delete_mesh_mating_condition (查看源代码)
定义在: uf_sf.h
概述
Delete a SFEM assembly_mesh object.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_delete_mesh_mating_condition
(
int num_mmc,
tag_t mmc_array [ ]
)
| int (整数型) | num_mmc | Input(输入) | Number of MMCs to be deleted |
| tag_t (tag_t类型) | mmc_array [ ] | Input(输入) | Array of MMC tags to be deleted |
UF_SF_delete_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine deletes the specified Scenario
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_delete_scenario
(
tag_t master_tag,
char * scenario_name
)
| tag_t (tag_t类型) | master_tag | Input(输入) | master part tag |
| char * (字符型指针) | scenario_name | Input(输入) | scenario to be deleted |
UF_SF_delete_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Delete a solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_solution_nx
(
tag_t solution
)
UF_SF_delete_step_nx (查看源代码)
定义在: uf_sf.h
概述
Delete a step.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_delete_step_nx
(
tag_t step
)
UF_SF_display_mesh (查看源代码)
定义在: uf_sf.h
概述
Displays a mesh object.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_display_mesh
(
tag_t mesh_tag
)
UF_SF_dursol_add_load_nx (查看源代码)
定义在: uf_sf.h
概述
This function will add a Durability Load to a Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_dursol_add_load_nx
(
tag_t dursol_tag,
tag_t lv_tag
)
UF_SF_dursol_ask_load_count_nx (查看源代码)
定义在: uf_sf.h
概述
This function returns the number of Load Variations defined for
the specific Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_dursol_ask_load_count_nx
(
tag_t dursol_tag,
int * num_lv
)
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durability Solution tag |
| int * (整数型指针) | num_lv | Output(输出) | Number of load variations found. |
UF_SF_dursol_ask_load_nx (查看源代码)
定义在: uf_sf.h
概述
This function returns the tag of the specified Load Variation in the
Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_dursol_ask_load_nx
(
tag_t dursol_tag,
int lv_index,
tag_t * lv_tag
)
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durability Solution tag |
| int (整数型) | lv_index | Input(输入) | The index of the Load Variation. Valid range is 0 : (number of Load Variations)-1 |
| tag_t * (tag_t型的指针) | lv_tag | Output(输出) | Tag of Load Variation |
UF_SF_dursol_locate_all_members_nx (查看源代码)
定义在: uf_sf.h
概述
This function will return all the load variation object tags and the total
count for the given Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_dursol_locate_all_members_nx
(
tag_t dursol_tag,
int* num_lv,
tag_p_t* lv_pp
)
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durability Solution tag |
| int* | num_lv | Output(输出) | Number of Load Variations |
| tag_p_t* | lv_pp | Output to be freed 输出并释放 | List of Load Variation tags If lv_pp != NULL, must be freed in the calling routine by calling UF_free. |
UF_SF_dursol_remove_load_nx (查看源代码)
定义在: uf_sf.h
概述
This function will remove a Durability Load from a Durability Solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_dursol_remove_load_nx
(
tag_t dursol_tag,
tag_t lv_tag
)
UF_SF_edge_ask_adjacent_edges (查看源代码)
定义在: uf_sf.h
概述
This function will get adjacent polygon edges of input polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_adjacent_edges
(
tag_t cae_tag,
int * num_edges,
tag_p_t * edges
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| int * (整数型指针) | num_edges | Output(输出) | Number of edges |
| tag_p_t * | edges | Output to be freed 输出并释放 | Polygon edges |
UF_SF_edge_ask_body (查看源代码)
定义在: uf_sf.h
概述
This function will polygon body related to polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_body
(
tag_t cae_tag,
tag_p_t body_p
)
UF_SF_edge_ask_bounding_box (查看源代码)
定义在: uf_sf.h
概述
This function will get bounding box of polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_bounding_box
(
tag_t cae_tag,
double pad_bounding_box [ 6 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| double (实数型) | pad_bounding_box [ 6 ] | Output(输出) | Bounding box |
UF_SF_edge_ask_end_points (查看源代码)
定义在: uf_sf.h
概述
This function will end points and tangents of polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_end_points
(
tag_t cae_tag,
double start_pt [ 3 ] ,
double end_pt [ 3 ] ,
double start_tangent [ 3 ] ,
double end_tangent [ 3 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| double (实数型) | start_pt [ 3 ] | Output(输出) | Start point location |
| double (实数型) | end_pt [ 3 ] | Output(输出) | End point location |
| double (实数型) | start_tangent [ 3 ] | Output(输出) | Start tanget |
| double (实数型) | end_tangent [ 3 ] | Output(输出) | End tangent |
UF_SF_edge_ask_faces (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon faces related to polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_faces
(
tag_t cae_tag,
int * num_faces,
tag_p_t * faces
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| int * (整数型指针) | num_faces | Output(输出) | Number of faces |
| tag_p_t * | faces | Output to be freed 输出并释放 | Polygon faces |
UF_SF_edge_ask_length (查看源代码)
定义在: uf_sf.h
概述
This function will find the length of polygon edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_edge_ask_length
(
tag_t cae_tag,
double * pd_length
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| double * (实数型指针) | pd_length | Output(输出) | Length of edge |
UF_SF_edge_evaluate_closest_point (查看源代码)
定义在: uf_sf.h
概述
This function will project passed in point and finds param location on edge.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_edge_evaluate_closest_point
(
tag_t cae_tag,
double ad_point [ 3 ] ,
double ad_out_point [ 3 ] ,
double * pd_param
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| double (实数型) | ad_point [ 3 ] | Input(输入) | Input point to project |
| double (实数型) | ad_out_point [ 3 ] | Output(输出) | Projected point |
| double * (实数型指针) | pd_param | Output(输出) | Param value between 0 to 1 |
UF_SF_edge_evaluate_param_location (查看源代码)
定义在: uf_sf.h
概述
This function will find 3d location for given param value.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_edge_evaluate_param_location
(
tag_t cae_tag,
double d_param,
double ad_out_point [ 3 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon edge |
| double (实数型) | d_param | Input(输入) | Param value between 0 to 1 |
| double (实数型) | ad_out_point [ 3 ] | Output(输出) | Corresponding point |
UF_SF_edit_beam_orientation (查看源代码)
定义在: uf_sf.h
概述
Given a bar/beam mesh and the orientation data this function updates
the mesh to the new orientation.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_edit_beam_orientation
(
tag_t mesh_tag,
UF_SF_orientation_data_t* orient_data
)
UF_SF_edit_defeature_parms (查看源代码)
定义在: uf_sf.h
概述
This routine edits a defeature feature
This routine takes the feature tag of a defeature feature and edits
it according to the new parmater object definition. Since removal
of all specified faces and edges is not guarenteed, returned are the edges
of all failing wounds (edges of the face or hole edge in a sheet body).
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_edit_defeature_parms
(
tag_t feature_tag,
UF_SF_defeature_parms_p_t defeature_parms_p,
int * n_failing_wound_edges,
tag_t * * failing_wound_edges
)
| tag_t (tag_t类型) | feature_tag | Input(输入) | The defeature feature |
| UF_SF_defeature_parms_p_t | defeature_parms_p | Input(输入) | Parameters that define a set of faces on a body to be simplified. The body is derived from a seed face. The faces may be extracted automatically based on the parameters that define a region, or they can be specified explicitly, or both. |
| int * (整数型指针) | n_failing_wound_edges | Output(输出) | The number of failing wound edges |
| tag_t * * | failing_wound_edges | Output to be freed 输出并释放 | Array of failing wound edges. This must be freed by calling UF_free. |
UF_SF_edit_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will edit a Durability Solution's values.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_edit_dursol_nx
(
tag_t dursol_tag,
const char* dursol_name,
UF_SF_dursol_stress_criterion_t * stress_criterion,
UF_SF_dursol_stress_type_t * stress_type,
UF_SF_dursol_design_life_criterion_t * design_life_criterion,
int * fatigue_cycles,
double * k_factor,
UF_SF_dursol_fatigue_life_criterion_t * fatigue_life_criterion,
int * design_cycles
)
| tag_t (tag_t类型) | dursol_tag | Input(输入) | Durability Solution tag. |
| const char* | dursol_name | Input(输入) | Name of Durability Solution. The maximum number of characters is UF_SF_MAX_STRING_LEN. If NULL, value will not be modified. |
| UF_SF_dursol_stress_criterion_t * | stress_criterion | Input(输入) | Stress criterion If NULL, value will not be modified. |
| UF_SF_dursol_stress_type_t * | stress_type | Input(输入) | Stress type If NULL, value will not be modified. |
| UF_SF_dursol_design_life_criterion_t * | design_life_criterion | Input(输入) | Design life criterion If NULL, value will not be modified. |
| int * (整数型指针) | fatigue_cycles | Input(输入) | Number of fatigue duty cycles If NULL, value will not be modified. |
| double * (实数型指针) | k_factor | Input(输入) | Fatigue strength factor (Kf) If NULL, value will not be modified. |
| UF_SF_dursol_fatigue_life_criterion_t * | fatigue_life_criterion | Input(输入) | Fatigue life criterion If NULL, value will not be returned. |
| int * (整数型指针) | design_cycles | Input(输入) | Number of design cycles desired for fatigue strength. If NULL, value will not be returned. |
UF_SF_edit_idealize_parms (查看源代码)
定义在: uf_sf.h
概述
This routine edits idealize feature
This routine takes the feature tag of an idealize feature and edits
it according to the new parameter object definition. Since removal
of all specified faces and edges is not guaranteed, returned are the edges
of all failing wounds (edges of the face or hole edge in a sheet body)
idealize feature associated to a body region.
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_edit_idealize_parms
(
tag_t feature_tag,
UF_SF_idealize_parms_p_t parms_p,
int * n_failing_wound_edges,
tag_t * * failing_wound_edges
)
| tag_t (tag_t类型) | feature_tag | Input(输入) | The idealize feature |
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | New parameters of the idealize feature |
| int * (整数型指针) | n_failing_wound_edges | Output(输出) | The number of failing wound edges |
| tag_t * * | failing_wound_edges | Output to be freed 输出并释放 | Array of failing wound edges. This must be freed by calling UF_free. |
UF_SF_edit_lv_nx (查看源代码)
定义在: uf_sf.h
概述
This function will edit a Durability load variation's values.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_edit_lv_nx
(
tag_t lv_tag,
const char* lv_name,
double * scaling_factor,
int * count,
UF_SF_lv_function_mode_t * function_type
)
| tag_t (tag_t类型) | lv_tag | Input(输入) | Load Variation tag |
| const char* | lv_name | Input(输入) | The maximum number of characters is UF_SF_MAX_STRING_LEN. If NULL, value will not be modified. |
| double * (实数型指针) | scaling_factor | Input(输入) | Scaling factor If NULL, value will not be modified. |
| int * (整数型指针) | count | Input(输入) | Number of cycles If NULL, value will not be modified. |
| UF_SF_lv_function_mode_t * | function_type | Input(输入) | Scaling function type UF_SF_HALF_UNIT_CYCLE UF_SF_FULL_UNIT_CYCLE If NULL, value will not be modified. |
UF_SF_edit_mesh_mating_condition (查看源代码)
定义在: uf_sf.h
概述
Edit a SFEM assembly_mesh object.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_edit_mesh_mating_condition
(
int num_mmc,
tag_t mmc_array [ ] ,
int make_mesh_coincident,
int mesh_mating_type
)
| int (整数型) | num_mmc | Input(输入) | Number of MMCs to be deleted |
| tag_t (tag_t类型) | mmc_array [ ] | Input(输入) | Array of MMC tags to be deleted |
| int (整数型) | make_mesh_coincident | Input(输入) | coincident or non-coincident |
| int (整数型) | mesh_mating_type | Input(输入) | Glue or Free = 0 --> GLUE = 3 --> FREE NOTE: There is no 1 or 2 Type |
UF_SF_edit_offset_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function edits a midsurface which was created using offset method.
This requires the user to specify the following:
Seed Face: Optional. This has to be specified if the user wants the
seed face to be different from the original seed face of
the midsurface. Otherwise, this parameter can be set to NULL.
Cliff Angle: If a different cliff angle has to be chosen, other than
the one with which the midsurface was created. Otherwise,
this can either be zero or it can be the original Cliff
Angle.
NOTE: There are other criteria which the system computes such as the
thickness of the body at the seed face, thickness of the body
adjacent to the seed face and also the set of edges which belong
to the set of faces opposite to the propagation.
percentage distance: is the percentage of the thickness (distance) at
which the midsurface will be placed from the seed face, after creation
within the body.
The output is the tag of the modified midsurface.
环境
内部和外部
历史
Originally released in V16.0
需要许可证(S)
( solid_modeling or nx_masterfem )
int UF_SF_edit_offset_midsrf
(
tag_t seed_face,
double cliff_angle,
double percentage_dist,
tag_t * midsurface_tag
)
| tag_t (tag_t类型) | seed_face | Input(输入) | A tag of a seed face on the solid body. This may be different than the original seed face. |
| double (实数型) | cliff_angle | Input(输入) | The user input cliff angle to define the boundary |
| double (实数型) | percentage_dist | Input(输入) | Percentage location of midsurface |
| tag_t * (tag_t型的指针) | midsurface_tag | Input / Output | Midsurface sheet body tag |
UF_SF_edit_section (查看源代码)
定义在: uf_sf.h
概述
Given a section tag and type and name, this function updates a
section. The following return values are expected on unsuccessful
editing, UF_SF_INVALID_DUPLICATE_NAME, UF_SF_INVALID_SECTION_TYPE, and
UF_SF_SECTION_FAILED_TO_UPDATE.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_edit_section
(
tag_t section_tag,
UF_SF_section_type_p_t section_type_ptr,
char* name_str
)
| tag_t (tag_t类型) | section_tag | Input(输入) | Section name string |
| UF_SF_section_type_p_t | section_type_ptr | Input(输入) | The type of section. |
| char* | name_str | Input(输入) | String representing the name to be given to the section. |
UF_SF_edit_userdef_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function edits a midsurface feature which was created using the user
defined method.
This requires the user to specify the following via an instance of
UF_SF_midsef_userdef_parms_t structure:
1) A target solid body. If no change set this parameter to NULL.
2) A collection of one or more sheet bodies.
The specified sheet bodies will redefine the midsurface.
If the pointer is NULL then the midsurface will remain the same.
3) The thickness of the midsurface which will be used only for the thickness
extraction at formatting time only if the automatic method fails if at least
one of the specified sheet bodies is not fully contained in the target solid.
If a different thickness has to be chosen, other than the one with which the
midsurface was created. Otherwise, this can either be zero or it can be the
original thickness. If no change set this parameter to 0.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
( solid_modeling or nx_masterfem )
int UF_SF_edit_userdef_midsrf
(
UF_SF_midsrf_user_parms_p_t parms_p,
tag_t * feature_tag
)
UF_SF_element_shapes_ask_threshold_values (查看源代码)
定义在: uf_sf.h
概述
FUNCTION
UF_SF_element_shapes_ask_threshold_values
DESCRIPTION
This function queries current threshold values for
a specific language setting.
RETURN
error == 0.
>0 for error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_element_shapes_ask_threshold_values
(
UF_SF_THRESHOLD_shape_t e_elem_type,
UF_SF_THRESHOLD_data_p_t pz_threshold_values
)
UF_SF_element_shapes_set_threshold_values (查看源代码)
定义在: uf_sf.h
概述
FUNCTION
UF_SF_element_shapes_set_threshold_values
DESCRIPTION
This function sets threshold values for element shape check
for a specific language setting and specific element type.
(Before calling this routine call ask threshold function
and then reset after changing)
RETURN
error == 0.
>0 for error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_element_shapes_set_threshold_values
(
UF_SF_THRESHOLD_shape_t e_elem_type,
UF_SF_THRESHOLD_data_p_t pz_threshold_values
)
UF_SF_export_expression (查看源代码)
定义在: uf_sf.h
概述
function to export the expressions to the master part.
需要许可证(S)
nx_masterfem
int UF_SF_export_expression
(
void
)
UF_SF_face_ask_adjacent_faces (查看源代码)
定义在: uf_sf.h
概述
This function will get adjacent polygon faces of input polygon face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_face_ask_adjacent_faces
(
tag_t cae_tag,
int * num_faces,
tag_p_t * faces
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| int * (整数型指针) | num_faces | Output(输出) | Number of faces |
| tag_p_t * | faces | Output to be freed 输出并释放 | Polygon faces |
UF_SF_face_ask_area (查看源代码)
定义在: uf_sf.h
概述
This function will find area of polygon face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_face_ask_area
(
tag_t cae_tag,
double * pd_area
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| double * (实数型指针) | pd_area | Output(输出) | Face Area |
UF_SF_face_ask_body (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon body related to polygon face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_face_ask_body
(
tag_t cae_tag,
tag_p_t body_p
)
UF_SF_face_ask_bounding_box (查看源代码)
定义在: uf_sf.h
概述
This function will get bounding box of polygon face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_face_ask_bounding_box
(
tag_t cae_tag,
double pad_bounding_box [ 6 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| double (实数型) | pad_bounding_box [ 6 ] | Output(输出) | Bounding box |
UF_SF_face_ask_edges (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon edges related to polygon face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_face_ask_edges
(
tag_t cae_tag,
int * num_edges,
tag_p_t * edges
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| int * (整数型指针) | num_edges | Output(输出) | Number of polygon edges |
| tag_p_t * | edges | Output to be freed 输出并释放 | Polygon edges |
UF_SF_face_evaluate_closest_point (查看源代码)
定义在: uf_sf.h
概述
This function will project passed in points and finds required data on face.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_face_evaluate_closest_point
(
tag_t cae_tag,
int num_evaluations,
double xyz [ ] ,
double xyz_cl [ ] ,
double uv_cl [ ] ,
double nrml [ ] ,
double dist [ ] ,
int in_out [ ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| int (整数型) | num_evaluations | Input(输入) | number of evaluations in U parameter |
| double (实数型) | xyz [ ] | Input(输入) | Input 3d points (can be NULL) |
| double (实数型) | xyz_cl [ ] | Output(输出) | Output closest 3d points (can be NULL) |
| double (实数型) | uv_cl [ ] | Output(输出) | uv values (can be NULL) |
| double (实数型) | nrml [ ] | Output(输出) | normals (can be NULL) |
| double (实数型) | dist [ ] | Output(输出) | distance between input and projection |
| int (整数型) | in_out [ ] | Output(输出) | 0 -> inside, 1 -> outside, 2 -> boundary |
UF_SF_face_evaluate_param_location (查看源代码)
定义在: uf_sf.h
概述
This function will find 3d location for given param value.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_face_evaluate_param_location
(
tag_t cae_tag,
double ad_param [ 2 ] ,
double ad_out_point [ 3 ]
)
| tag_t (tag_t类型) | cae_tag | Input(输入) | Polygon face |
| double (实数型) | ad_param [ 2 ] | Input(输入) | UV Param values |
| double (实数型) | ad_out_point [ 3 ] | Output(输出) | Corresponding point |
UF_SF_facepair_ask_midsrf_frec (查看源代码)
定义在: uf_sf.h
概述
This function determines the parent midsurface feature of a given facepair
feature.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_facepair_ask_midsrf_frec
(
tag_t facepair_feature_tag,
tag_t * midsrf_feature_tag
)
| tag_t (tag_t类型) | facepair_feature_tag | Input(输入) | facepair_feature_tag Tag of given facepair feature |
| tag_t * (tag_t型的指针) | midsrf_feature_tag | Output(输出) | Tag of parent feature of given facepair feature. |
UF_SF_fem_ask_cad_part (查看源代码)
定义在: uf_sf.h
概述
Returns the cad part for the given Fem ( NULL_TAG if no cad part exists )
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
tag_t UF_SF_fem_ask_cad_part
(
tag_t fem_tag,
logical* is_idealized_part
)
| tag_t (tag_t类型) | fem_tag | Input(输入) | Tag of a Fem |
| logical* | is_idealized_part | Output(输出) | True if cad part returned is an idealized part |
UF_SF_find_mesh (查看源代码)
定义在: uf_sf.h
概述
---
Locates all meshes related to the input object.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_find_mesh
(
tag_t object_tag,
UF_SF_mesh_dimension_t dimension,
int* num_of_meshes,
tag_t* * mesh_items_p
)
| tag_t (tag_t类型) | object_tag | Input(输入) | Tag to input entity, group, load, boundary condition, mesh_recipe, element or node. |
| UF_SF_mesh_dimension_t | dimension | Input(输入) | UF_SF_mesh_dimension_t of desired mesh recipe when object_tag is a mesh or element,This argument should be UF_SF_DIMENSION_ANY since only a single recipe is possible. |
| int* | num_of_meshes | Output(输出) | The number of meshes being returned. Could be zero. |
| tag_t* * | mesh_items_p | Output to be freed 输出并释放 | pointer to an array of mesh tags or NULL. This array must be freed by calling UF_free. |
UF_SF_find_minimum_distance (查看源代码)
定义在: uf_sf.h
概述
Given two entities (atleast one should be polygon geometry), gives minimum distance
and points on the entities.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_find_minimum_distance
(
tag_t entity_1,
tag_t entity_2,
double * min_dist,
double point1 [ 3 ] ,
double point2 [ 3 ]
)
| tag_t (tag_t类型) | entity_1 | Input(输入) | Polygon edge/face/body |
| tag_t (tag_t类型) | entity_2 | Input(输入) | Polygon edge/face/body |
| double * (实数型指针) | min_dist | Output(输出) | Minimum distance |
| double (实数型) | point1 [ 3 ] | Output(输出) | Point on entity_1 |
| double (实数型) | point2 [ 3 ] | Output(输出) | Point on entity_2 |
UF_SF_free_defeature_parms (查看源代码)
定义在: uf_sf.h
概述
This routine frees memory associated with an allocated instance of the
UF_SF_defeature_parms_s structure used to define the parameters of a
defeature feature
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_free_defeature_parms
(
UF_SF_defeature_parms_p_t def_parms_p
)
UF_SF_free_disp_mesh (查看源代码)
定义在: uf_sf.h
概述
Frees an instance of UF_SF_disp_mesh_t structure.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_free_disp_mesh
(
UF_SF_disp_mesh_p_t disp_mesh_p
)
UF_SF_free_elem_node_results (查看源代码)
定义在: uf_sf.h
概述
Frees an instance of UF_SF_mesh_elem_node_result_t structure.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_free_elem_node_results
(
UF_SF_mesh_elem_node_result_p_t results_p
)
UF_SF_free_fatigue_prop (查看源代码)
定义在: uf_sf.h
概述
Cleans up dynamic storage associated to a UF_SF_material_fatigue_prop_t.
The structure UF_SF_material_fatigue_prop_t must have been fully initialized using
UF_SF_init_fatigue_prop.
环境
内部和外部
Returns
There is no return code.
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_free_fatigue_prop
(
UF_SF_material_fatigue_prop_p_t property_values
)
UF_SF_free_formability_prop (查看源代码)
定义在: uf_sf.h
概述
Cleans up dynamic storage associated to a UF_SF_material_prop_t.
The structure UF_SF_material_prop_t must have been fully initialized using
UF_SF_init_formability_prop.
环境
内部和外部
Returns
There is no return code.
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_free_formability_prop
(
UF_SF_material_formability_prop_p_t property_values
)
UF_SF_free_idealize_parms (查看源代码)
定义在: uf_sf.h
概述
This routine frees memory associated to a parameter object for an idealize
feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_free_idealize_parms
(
UF_SF_idealize_parms_p_t parms_p
)
UF_SF_free_idealize_region (查看源代码)
定义在: uf_sf.h
概述
This routine frees a region object for an idealize feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_free_idealize_region
(
UF_SF_idealize_region_p_t region_p
)
UF_SF_free_matl_prop (查看源代码)
定义在: uf_sf.h
概述
Cleans up dynamic storage associated to a UF_SF_material_prop_t.
The structure UF_SF_material_prop_t must have been fully initialized using
UF_SF_init_matl_prop.
环境
内部和外部
Returns
There is no return code.
参见
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_free_matl_prop
(
UF_SF_material_prop_t* property_values
)
UF_SF_free_matl_strength_prop (查看源代码)
定义在: uf_sf.h
概述
Cleans up dynamic storage associated to a UF_SF_material_prop_t.
The structure UF_SF_material_prop_t must have been fully initialized using
UF_SF_init_matl_strength_prop.
环境
内部和外部
Returns
There is no return code.
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_free_matl_strength_prop
(
UF_SF_material_strength_prop_p_t property_values
)
UF_SF_free_midsrf_user_parms (查看源代码)
定义在: uf_sf.h
概述
Frees an instance of UF_SF_midsrf_user_parms_t structure.
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
( solid_modeling or nx_masterfem )
int UF_SF_free_midsrf_user_parms
(
UF_SF_midsrf_user_parms_p_t parms_p
)
UF_SF_free_section_data (查看源代码)
定义在: uf_sf.h
概述
---
Frees a list of section_datas allocated in UF_SF_locate_sections.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_free_section_data
(
int num_sections,
UF_SF_section_data_p_t* section_data_ptr
)
| int (整数型) | num_sections | Input(输入) | The number of allocated entries in The number of allocated entries in section_data_ptr. |
| UF_SF_section_data_p_t* | section_data_ptr | Input(输入) | pointer to array of UF_SF_section_data_p_t. |
UF_SF_get_auto_element_size (查看源代码)
定义在: uf_sf.h
概述
This user function is used to compute auto-element size for polygon bodies.
环境
Internal and External
需要许可证(S)
nx_masterfem
int UF_SF_get_auto_element_size
(
int num_objects,
tag_p_t objects_p,
double * esize
)
| int (整数型) | num_objects | Input(输入) | No of bodies in objects_p array |
| tag_p_t | objects_p | Input(输入) | list of bodies from which to calculate auto size |
| double * (实数型指针) | esize | Output(输出) | Auto size value |
UF_SF_get_extreme_values (查看源代码)
定义在: uf_sf.h
概述
Calculates the current extreme results displayed on the meshes.
This function runs through all results and finds the maximum and minimums
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_get_extreme_values
(
double * max_result,
double * min_result
)
| double * (实数型指针) | max_result | Output(输出) | Maximum result value |
| double * (实数型指针) | min_result | Output(输出) | Minimum result value |
UF_SF_idealized_part_ask_master_part (查看源代码)
定义在: uf_sf.h
概述
Returns the master part for the given idealized part ( NULL_TAG if no master part exists )
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
tag_t UF_SF_idealized_part_ask_master_part
(
tag_t idealized_part_tag
)
UF_SF_init_fatigue_prop (查看源代码)
定义在: uf_sf.h
概述
Initializes pointers associated to the structure
UF_SF_material_fatigue_prop_t.
Should be called before using the structure to make sure the structure is
properly initialized.
Note that the type of each member of the structure will be defaulted to
expression.
环境
内部和外部
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_init_fatigue_prop
(
UF_SF_material_fatigue_prop_p_t property_values
)
UF_SF_init_formability_prop (查看源代码)
定义在: uf_sf.h
概述
Initializes pointers associated to the structure
UF_SF_material_formability_prop_t.
Should be called before using the structure to make sure the structure is
properly initialized.
Note that the type of each member of the structure will be defaulted to
expression.
环境
内部和外部
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_init_formability_prop
(
UF_SF_material_formability_prop_p_t property_values
)
UF_SF_init_matl_prop (查看源代码)
定义在: uf_sf.h
概述
Initializes pointers associated to the structure UF_SF_material_prop_t. Should
be called before using the structure to make sure the structure is properly
initialized. Note that the type of each member of the structure will be
defaulted to expression.
环境
内部和外部
历史
This function was originally released in V16.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_init_matl_prop
(
UF_SF_material_prop_p_t property_values
)
UF_SF_init_matl_strength_prop (查看源代码)
定义在: uf_sf.h
概述
Initializes pointers associated to the structure UF_SF_material_strength_prop_t.
Should be called before using the structure to make sure the structure is
properly initialized.
Note that the type of each member of the structure will be defaulted to
expression.
环境
内部和外部
参见
历史
This function was originally released in V19.1
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_init_matl_strength_prop
(
UF_SF_material_strength_prop_p_t property_values
)
UF_SF_init_mshvld_error_container (查看源代码)
定义在: uf_sf_mshvld.h
概述
Function: UF_SF_init_mshvld_error_container
DESCRIPTION
This user function is used to initialize the error container
of mesh validation. It's prototype is available in uf_sf_mshvld.h
INPUT/OUTPUT
UF_SF_mesh_error_container_p_t error_container :
the structure holding the mesh errors found in mesh validation.
RETURN
void
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
void UF_SF_init_mshvld_error_container
(
UF_SF_mesh_error_container_p_t container
)
UF_SF_is_fem (查看源代码)
定义在: uf_sf.h
概述
Returns true if the input tag is a Fem
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
logical UF_SF_is_fem
(
tag_t fem_tag
)
UF_SF_is_idealized_part (查看源代码)
定义在: uf_sf.h
概述
Returns true if the input tag is a idealized part
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
logical UF_SF_is_idealized_part
(
tag_t idealized_part_tag
)
UF_SF_is_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function determines if a given object is a midsurface
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_is_midsrf
(
tag_t sheet_body_tag,
logical * is_midsrf,
int * midsrf_type,
tag_t * feature_tag
)
| tag_t (tag_t类型) | sheet_body_tag | Input(输入) | Tag of given object |
| logical * | is_midsrf | Output(输出) | Flag signifying the outcome: = TRUE --> object is a Midsurface = FALSE --> object is NOT a Midsurface |
| int * (整数型指针) | midsrf_type | Output(输出) | Tag of the midsurface feature if the object is associated with such a feature. |
| tag_t * (tag_t型的指针) | feature_tag | Output(输出) | Tag of the midsurface feature if the object is associated with such a feature. NOTE: If the midsurface is facepair type the feature of the facepair has as midsurface body the given sheet body. |
UF_SF_is_offset_midsrf (查看源代码)
定义在: uf_sf.h
概述
-----
Query a sheet body to see if it is an offset midsurface.
This function may not be used for general midsurface. If the input is a
midsurface created by Facepair method, this function will return FALSE.
环境
内部和外部
历史
Originally released in V16.0
----
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_is_offset_midsrf
(
tag_t sheet_body_tag,
logical * is_midsrf
)
| tag_t (tag_t类型) | sheet_body_tag | Input(输入) | Tag of the sheet body. |
| logical * | is_midsrf | Output(输出) | TRUE if the sheet body is an offset midsurface, FALSE otherwise. |
UF_SF_is_scenario_part (查看源代码)
定义在: uf_sf.h
概述
---
Checks whether the current part file is a Scenario type part or not.
返回
Return code:
0 = Scenario part
UF_SF_NON_SCENARIO_PART =not a Scenario part.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_is_scenario_part
(
void
)
UF_SF_is_simulation (查看源代码)
定义在: uf_sf.h
概述
Returns true if the input tag is a Simulation
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
logical UF_SF_is_simulation
(
tag_t simulation_tag
)
UF_SF_is_userdef_midsrf (查看源代码)
定义在: uf_sf.h
概述
This function determines if a given object is a user defined midsurface
环境
内部和外部
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_is_userdef_midsrf
(
tag_t sheet_body_tag,
logical * is_midsrf,
tag_t * feature_tag
)
| tag_t (tag_t类型) | sheet_body_tag | Input(输入) | Tag of given object |
| logical * | is_midsrf | Output(输出) | Flag signifying the outcome: = TRUE --> object is a user defined Midsurface = FALSE --> object is NOT a user defined Midsurface |
| tag_t * (tag_t型的指针) | feature_tag | Output(输出) | Tag of the user defined midsurface feature if the object is associated with such a feature. |
UF_SF_LEGEND_add_index_text_title (查看源代码)
定义在: uf_sf.h
概述
Adds another index text title to the legend index text attributes.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_add_index_text_title
(
UF_SF_LEGEND_attr_p_t legend_attr,
UF_SF_LEGEND_title_p_t * title_p
)
UF_SF_LEGEND_add_title_line (查看源代码)
定义在: uf_sf.h
概述
Adds another line of text to a title structure.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_add_title_line
(
UF_SF_LEGEND_title_p_t title_p,
char * line_str
)
| UF_SF_LEGEND_title_p_t | title_p | Input(输入) | Title structure to add line of text. |
| char * (字符型指针) | line_str | Input(输入) | Null terminated character string to add. |
UF_SF_LEGEND_ask_attribute (查看源代码)
定义在: uf_sf.h
概述
Gets the current attribute structure for the legend.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_LEGEND_ask_attribute
(
tag_t view,
UF_SF_LEGEND_attr_p_t * legend_attr
)
UF_SF_LEGEND_create_legend (查看源代码)
定义在: uf_sf.h
概述
Creates and displays a legend with the input attributes.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_create_legend
(
UF_SF_LEGEND_attr_p_t legend_attr,
tag_t * view
)
| UF_SF_LEGEND_attr_p_t | legend_attr | Input(输入) | Attributes for the legend. See uf_sf_legend.h for how to build the attribute structure. |
| tag_t * (tag_t型的指针) | view | Output(输出) | Tag of the legend view. Use this tag as a handle for other LEGEND functions. |
UF_SF_LEGEND_delete_legend (查看源代码)
定义在: uf_sf.h
概述
Removes the legend from the display.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_delete_legend
(
tag_t view
)
UF_SF_LEGEND_format_real_to_str (查看源代码)
定义在: uf_sf.h
概述
Formats a real number.
Applications may want to use this for header, footer or user defined color
index text.
Formats the real number trying to reduce the use of scientific
notation while maintaining at least 4 significant digits.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_format_real_to_str
(
double value,
char * text_str
)
| double (实数型) | value | Input(输入) | Real value to format. |
| char * (字符型指针) | text_str | Input(输入) | Formated text string. No memory is allocated. Calling function should allocate text_str with the size of UF_SF_LEGEND_REAL_STR_SZ+1. |
UF_SF_LEGEND_free_attr (查看源代码)
定义在: uf_sf.h
概述
Frees memory associated with the legend attribute structure.
This function assumes that the LEGEND user functions
were used to allocate and build the legend attribute structure.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_free_attr
(
UF_SF_LEGEND_attr_p_t legend_attr
)
UF_SF_LEGEND_new_attr (查看源代码)
定义在: uf_sf.h
概述
Allocates and initializes a new legend attribute structure.
Returns - UF_SF_LEGEND_attr_p_t - legend attribute structure pointer.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_new_attr
(
UF_SF_LEGEND_attr_p_t * legend_attr
)
UF_SF_LEGEND_set_colors (查看源代码)
定义在: uf_sf_ugopenint.h
概述
Sets the color attributes of the scalar-to-color mapping that is used in
rendering fringe displays.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_LEGEND_set_colors
(
UF_SF_COLOR_attr_p_t color_attr_p
)
| UF_SF_COLOR_attr_p_t | color_attr_p | Input(输入) | Color attribute structure defining parameters of the scalar-to-color mapping that is used in rendering fringe displays. |
UF_SF_link_material (查看源代码)
定义在: uf_sf.h
概述
Given a tag to a material property, and a tag to a mesh or geometry,
this function checks the mesh or geometry for an existing material
property. If there is any material already present then it unlinks the
old material and links the input material. The valid objects are only
meshes or mesh recipes.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_link_material
(
tag_t material_tag,
tag_t object_tag
)
UF_SF_link_section (查看源代码)
定义在: uf_sf.h
概述
Given a tag to a UF_SF_property of subtype section, and a tag to a
edge/curve or point, finds the mesh_geometry and looks at the
mesh_geometry for an existing section property. If it is not the input
section, unlinks the old section and links the input section to the
mesh_recipe.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_link_section
(
tag_t section_tag,
tag_t mesh_geom_tag
)
| tag_t (tag_t类型) | section_tag | Input(输入) | The tag of section property. |
| tag_t (tag_t类型) | mesh_geom_tag | Input(输入) | Tag of the the 1D mesh, edge/ curve or point to which section is to be attached. |
UF_SF_load_adams_lib (查看源代码)
定义在: uf_sf.h
概述
-
This routine try to load ADAMS library.
环境
Internal & External
历史
Released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_load_adams_lib
(
void
)
UF_SF_load_hypopt_lib (查看源代码)
定义在: uf_sf.h
概述
-
This routine try to load Hyper Opt library.
环境
Internal & External
历史
Released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_load_hypopt_lib
(
void
)
UF_SF_load_vdm_lib (查看源代码)
定义在: uf_sf.h
概述
-
This routine try to load VDM library.
环境
Internal & External
历史
Released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_load_vdm_lib
(
void
)
UF_SF_load_vki_mesh_lib (查看源代码)
定义在: uf_sf.h
概述
-
This routine try to load VKI meshing library.
环境
Internal & External
历史
Released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_load_vki_mesh_lib
(
void
)
UF_SF_locate_all_meshes (查看源代码)
定义在: uf_sf.h
概述
-
This routine finds all the mesh entities in the work part.
环境
Internal & External
历史
Written in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_all_meshes
(
tag_t mesh_tag,
int * mesh_count,
tag_p_t* mesh_pointer
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Mesh tag, pass in NULL_TAG to locate all tags in current part. |
| int * (整数型指针) | mesh_count | Output(输出) | mesh count |
| tag_p_t* | mesh_pointer | Output to be freed 输出并释放 | mesh array. This array must be freed by calling UF_free. |
UF_SF_locate_element (查看源代码)
定义在: uf_sf.h
概述
-----
Locates the elements on a mesh if object is mesh tag. If object is a
node tag then parent element of node will be given as output. If there
are no elements , then returns num_of_elements = 0 and
element_tags_not = NULL.
If the given mesh or node occurrence is from the Simulation part then
element occurrences associated with that mesh or node occurrence in the
Simulation part are returned. Similarly if the given mesh or node is
from the FEM part then the elements associated with that mesh or node
in the FEM part are returned.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_locate_element
(
tag_t mesh_tag,
int* num_of_elements,
tag_t* * element_tags_p
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Mesh tag or Node tag |
| int* | num_of_elements | Output(输出) | The number of elements. Could be zero. |
| tag_t* * | element_tags_p | Output to be freed 输出并释放 | pointer to an array of element tags or NULL if the number of elements is zero. This array must be freed by calling UF_free. |
UF_SF_locate_element_by_id (查看源代码)
定义在: uf_sf.h
概述
-----
Locates and returns the the list element tags which match the list of
input element ids. If there are no elements, then returns
num_of_elements = 0 and element_tags_not = NULL.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_locate_element_by_id
(
tag_t mesh_tag,
int num_of_ids,
int element_ids [ ] ,
int* num_of_elements,
tag_t* * element_tags_p
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Mesh tag, pass in NULL_TAG to locate all elements in current part. |
| int (整数型) | num_of_ids | Input(输入) | The number of element ids to look for. |
| int (整数型) | element_ids [ ] | Input(输入) | An array of element ids for which element tags are to be returned. |
| int* | num_of_elements | Output(输出) | The number of elements found. Could be zero. |
| tag_t* * | element_tags_p | Output to be freed 输出并释放 | pointer to an array of element tags or NULL. This array must be freed by calling UF_free. |
UF_SF_locate_hpt_mg_parents (查看源代码)
定义在: uf_sf.h
概述
Given a tag to a smart point, locate the parents whose mesh geometry
has to be updated.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_locate_hpt_mg_parents
(
tag_t point_tag,
int* parent_cnt,
tag_p_t* parent_list
)
| tag_t (tag_t类型) | point_tag | Input(输入) | Tag to a hard point. |
| int* | parent_cnt | Output(输出) | Number of parents tags related to the point. |
| tag_p_t* | parent_list | Output to be freed 输出并释放 | pointer to an array of parent tags. This array must be freed if parent_cnt is greater than 0. |
UF_SF_locate_material (查看源代码)
定义在: uf_sf.h
概述
Given a tag to an object, this function returns the material tag
associated to the object.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_locate_material
(
tag_t object_tag,
tag_t* material_tag
)
| tag_t (tag_t类型) | object_tag | Input(输入) | The tag of object. |
| tag_t* | material_tag | Output(输出) | Tag of the material attached to the object. |
UF_SF_locate_mesh_mating_condition_by_name (查看源代码)
定义在: uf_sf.h
概述
Locate the assembly mesh object from an assembly mesh name.
环境
内部和外部
历史
This function was originally released in V16.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_mesh_mating_condition_by_name
(
char* assembly_name,
tag_t* assembly_mesh
)
| char* | assembly_name | Input(输入) | Assembly mesh name |
| tag_t* | assembly_mesh | Output(输出) | Tag of the assembly mesh object |
UF_SF_locate_mesh_mating_condition_list (查看源代码)
定义在: uf_sf.h
概述
Return a list of all the assembly_mesh objects.
环境
内部和外部
历史
This function was originally released in V16.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_mesh_mating_condition_list
(
int* assembly_mesh_cnt,
tag_t* * assembly_mesh_tags
)
| int* | assembly_mesh_cnt | Output(输出) | Count of Assembly mesh objects returned |
| tag_t* * | assembly_mesh_tags | Output to be freed 输出并释放 | Pointer to an array of tags. If not desired, input a NULL pointer. This array must be freed by calling UF_free. |
UF_SF_locate_named_dursol_nx (查看源代码)
定义在: uf_sf.h
概述
This function will return the tag of a Durability Solution, given its name.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_named_dursol_nx
(
const char* dursol_name,
tag_t* dursol_tag
)
| const char* | dursol_name | Input(输入) | Name of the durability solution The maximum name size is UF_SF_MAX_STRING_LEN characters. |
| tag_t* | dursol_tag | Output(输出) | Tag of the durability solution with the specified name. |
UF_SF_locate_named_material (查看源代码)
定义在: uf_sf.h
概述
-----
Given a name of material, this function returns the material tag
associated to the name.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_locate_named_material
(
char* material_name,
tag_p_t material_tag_ptr
)
| char* | material_name | Input(输入) | Material name string. The maximum number of allowable characters is 80. |
| tag_p_t | material_tag_ptr | Output(输出) | Tag of the material attached to object. |
UF_SF_locate_named_section (查看源代码)
定义在: uf_sf.h
概述
Given a name of a section, returns the section tag associated to the
name in the work part.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_locate_named_section
(
char* section_name,
tag_p_t section_tag_ptr
)
| char* | section_name | Input(输入) | Section name string |
| tag_p_t | section_tag_ptr | Output(输出) | Tag of the section attached to object. |
UF_SF_locate_named_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Given a name of a solution, this function finds the tag of the solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_named_solution_nx
(
const char* solution_name,
tag_t* solution_tag
)
| const char* | solution_name | Input(输入) | Name of the solution. |
| tag_t* | solution_tag | Output(输出) | Tag of the solution. |
UF_SF_locate_named_step_nx (查看源代码)
定义在: uf_sf.h
概述
Given the name of a step and the tag of its parent solution, this function
finds the step.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_named_step_nx
(
tag_t solution_tag,
const char* step_name,
tag_t* step_tag
)
| tag_t (tag_t类型) | solution_tag | Input(输入) | Tag of the solution. |
| const char* | step_name | Input(输入) | Name of the step. The maximum name size is UF_SF_MAX_STRING_LEN characters. |
| tag_t* | step_tag | Output(输出) | Tag of the step. |
UF_SF_locate_node_by_id (查看源代码)
定义在: uf_sf.h
概述
-----
Locates and returns the the list node tags which match the list of input
node ids. If there are no nodes , then returns num_of_nodes = 0 and
node_tags_p = NULL.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_locate_node_by_id
(
tag_t mesh_tag,
int num_of_ids,
int node_ids [ ] ,
int* num_of_node,
tag_t* * node_tags_p
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Mesh tag, pass in NULL_TAG to locate all nodes in current part. |
| int (整数型) | num_of_ids | Input(输入) | The number of node ids to look for. |
| int (整数型) | node_ids [ ] | Input(输入) | An array of node ids for which element tags are to be returned. |
| int* | num_of_node | Output(输出) | The number of nodes found. Could be zero. |
| tag_t* * | node_tags_p | Output to be freed 输出并释放 | pointer to an array of node tags or NULL. This must be freed by calling UF_free. |
UF_SF_locate_nodes_on_element (查看源代码)
定义在: uf_sf.h
概述
-----
Locates the nodes on a element. If there are no nodes, then returns
num_of_nodes = 0 and node_tags_not = NULL.
If given an element occurrence tag then node occurrences in the owning Simulation
part are returned. Similarly if the given an element tag then nodes in the owning
FEM part are returned.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_locate_nodes_on_element
(
tag_t element_tag,
int* num_of_nodes,
tag_t* * node_tags_p
)
| tag_t (tag_t类型) | element_tag | Input(输入) | Element tag. |
| int* | num_of_nodes | Output(输出) | The number of node. Could be zero. |
| tag_t* * | node_tags_p | Output to be freed 输出并释放 | pointer to an array of node tags or NULL. This array must be freed by calling UF_free. |
UF_SF_locate_nodes_on_geometry (查看源代码)
定义在: uf_sf.h
概述
Given a tag to a geometry, find all nodes on it
If given a polygon geometry (CAE geometry) occurrence then node occurrences
in the owning Simulation part are returned. Similarly if given a ploygon geometry
then nodes in the owning FEM part are returned.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_locate_nodes_on_geometry
(
tag_t geom_tag,
UF_SF_node_switch_t type_sw,
int * nodes_cnt,
tag_p_t * nodes_list
)
| tag_t (tag_t类型) | geom_tag | Input(输入) | Tag of CAE geometry. |
| UF_SF_node_switch_t | type_sw | Input(输入) | switch indicating face/solid interior nodes are desired, SFOM_node_switch_t It can be one of the three choices: UF_SF_SWITCH_ON_BOUNDARY: boundary nodes only UF_SF_SWITCH_IN_INTERIOR: internal nodes only UF_SF_SWITCH_ALL: all nodes |
| int * (整数型指针) | nodes_cnt | Output(输出) | number of nodes on the geometry |
| tag_p_t * | nodes_list | Output to be freed 输出并释放 | list of node tags on the geometry |
UF_SF_locate_nodes_on_mesh (查看源代码)
定义在: uf_sf.h
概述
-----
Locates all nodes in a mesh.
If the given mesh tag is from a Simulation part or given a NULL_TAG and the
current work part is a Simulation part then node occurrences from that
Simulation part are returned. Similarly if the given mesh tag is from a
FEM part or given a NULL_TAG and the current work part is a FEM part then
nodes from that FEM part are returned.
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_locate_nodes_on_mesh
(
tag_t mesh_tag,
int* num_of_nodes,
tag_t* * node_tags_p
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Mesh tag, pass in NULL_TAG to locate all nodes in current part. |
| int* | num_of_nodes | Output(输出) | The number of nodes. Could be zero. |
| tag_t* * | node_tags_p | Output to be freed 输出并释放 | pointer to an array of node tags or NULL if the number of nodes is zero. This array must be freed by calling UF_free. |
UF_SF_locate_scenarios (查看源代码)
定义在: uf_sf.h
概述
Locates all scenario parts and finds names of Scenario parts in the
current working part.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_locate_scenarios
(
int* number_of_scenarios,
char* * * scenario_names
)
| int* | number_of_scenarios | Output(输出) | Number of Scenario part files found. |
| char* * * | scenario_names | Output to be freed 输出并释放 | pointer to array of names of Scenario part files. Maximum name size of each Scenario part file is 24 characters. This array must be freed by calling UF_free_string_array. |
UF_SF_locate_section (查看源代码)
定义在: uf_sf.h
概述
Returns sections associated to the input mesh recipe or geometry
object such as a curve/edge or point.
The input mesh_object has to belong to a FEM part
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_locate_section
(
tag_t mesh_object,
tag_t* section_tag
)
| tag_t (tag_t类型) | mesh_object | Input(输入) | Tag to mesh recipe or geometry object. Can be a mesh_recipe, a curve/edge, or a point. |
| tag_t* | section_tag | Output(输出) | Section tag or NULL_TAG if no section found. This must be freed by calling UF_SF_free_section_data |
UF_SF_locate_solution_boundary_conditions_nx (查看源代码)
定义在: uf_sf.h
概述
Locates the boundary conditions in a solution. Does not locate
boundary conditions in steps contained by the solution (see:
UF_SF_locate_step_boundary_conditions_nx).
The membs_pp pointer is undefined if num_members is zero.
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_solution_boundary_conditions_nx
(
tag_t solution,
int * num_members,
tag_t* * membs_pp
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag of the solution. |
| int * (整数型指针) | num_members | Output(输出) | Number of boundary conditions in the solution. |
| tag_t* * | membs_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the boundary conditions. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_locate_solution_loads_nx (查看源代码)
定义在: uf_sf.h
概述
Locates the loads in a solution. Does not locate loads
in steps contained by the solution (see: UF_SF_locate_step_loads_nx).
The membs_pp pointer is undefined if num_members is zero.
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_solution_loads_nx
(
tag_t solution,
int * num_members,
tag_t* * membs_pp
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag of the solution. |
| int * (整数型指针) | num_members | Output(输出) | Number of loads in the solution. |
| tag_t* * | membs_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the loads. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_locate_step_boundary_conditions_nx (查看源代码)
定义在: uf_sf.h
概述
Locates the boundary conditions in a step.
The membs_pp pointer is undefined if num_members is zero.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_step_boundary_conditions_nx
(
tag_t step,
int * num_members,
tag_t* * membs_pp
)
| tag_t (tag_t类型) | step | Input(输入) | Step tag. |
| int * (整数型指针) | num_members | Output(输出) | Number of boundary conditions in the step. |
| tag_t* * | membs_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the boundary conditions. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_locate_step_loads_nx (查看源代码)
定义在: uf_sf.h
概述
Locates the loads in a step.
The membs_pp pointer is undefined if num_members is zero.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_locate_step_loads_nx
(
tag_t step,
int * num_members,
tag_t* * membs_pp
)
| tag_t (tag_t类型) | step | Input(输入) | Step tag. |
| int * (整数型指针) | num_members | Output(输出) | Number of loads in the step. |
| tag_t* * | membs_pp | Output to be freed 输出并释放 | The pointer to the array of the tags of the loads. If num_members is zero, this pointer should not be used. If num_members is > 0, then this array must be freed by calling UF_free. |
UF_SF_map_object_to_current_part (查看源代码)
定义在: uf_sf.h
概述
Given an input object this function returns the corresponding object in the
current work part
This function was written to aid users who have developed applications based
on the Pre-NX4 data model that had a single scenario part the referenced a master cad
part. When Pre-NX4 structures scenario parts are migrated to NX4 the data in the scenario
will be moved into one of the following 3 parts. assumes the following part hierachy:
Sim part ( loads, contraints & solution data)
|
V
Fem Part ( CAE Geometry, Meshes, Elements & node)
|
V
Idealized Part ( Modeling data, idealize feature, midsurfaces ...... ) Optional layer
|
V
Master Cad Part
At this time the only mappings we will support are:
Part where
input object Current work
exists part type
=============== ============= ===============
Idealized part ==> Fem part Returns mapped object if possible
Idealized part ==> Sim part Returns mapped object if possible
Fem part ==> Sim part Returns mapped object if possible
Cad part ==> Cad part Return input tag
Idealized part ==> Idealized part Return input tag
Fem part ==> Fem part Return input tag
Sim part ==> Sim part Return input tag
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
tag_t UF_SF_map_object_to_current_part
(
tag_t object_tag
)
UF_SF_mc_2d_angle (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_2d_angle :
This function will calculate an element's angle between sides
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_2d_angle
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t results_format,
double min_threshold,
double max_threshold,
double* min_angle,
double* max_angle,
UF_SFMC_result_t* min_status_ptr,
UF_SFMC_result_t* max_status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | results_format | Input(输入) | format of result |
| double (实数型) | min_threshold | Input(输入) | minimum threshold value |
| double (实数型) | max_threshold | Input(输入) | maximum threshold value |
| double* | min_angle | Output(输出) | The Elements minimim angle |
| double* | max_angle | Output(输出) | The Elements maximum angle |
| UF_SFMC_result_t* | min_status_ptr | Output(输出) | minimum result status |
| UF_SFMC_result_t* | max_status_ptr | Output(输出) | maximum result status |
UF_SF_mc_aspect_ratio (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_aspect_ratio :
This function will check an element's aspect ratio value against
threshold value
环境
Internal & External
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_aspect_ratio
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double* aspect_ratio,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | result_format | Input(输入) | format of results |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | aspect_ratio | Output(输出) | aspect ratio for the element. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_element_check (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_element_check :
This function will check an element's all qualities, such as warp, taper,
skew, aspect ratio, jacobian ratio, against the threshold values .
环境
Internal & External
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_element_check
(
tag_t mesh_tag,
int * failed_elm_count
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | tag of mesh which needs to be checked |
| int * (整数型指针) | failed_elm_count | Output(输出) | |
UF_SF_mc_jacobian_ratio (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_jacobian_ratio:
This function will check an element's jacobian ratio against the threshold
value
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_jacobian_ratio
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t results_format,
double threshold,
double* jacobian_ratio,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | results_format | Input(输入) | format of result |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | jacobian_ratio | Output(输出) | The Elements jacobian ratio. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_jacobian_zero (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_jacobian_zero:
This function will check an element's jacobian zero against the
threshold value
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_jacobian_zero
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t results_format,
double threshold,
double* jacobian_zero,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | results_format | Input(输入) | format of result |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | jacobian_zero | Output(输出) | The Elements jacobian zero |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_skew (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_skew:
This function will check an element's skew against the threshold value
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_skew
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double* skew,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | result_format | Input(输入) | format of results |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | skew | Output(输出) | skew for the element. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_taper (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_taper:
This function will check an element's taper against the threshold value
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_taper
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double* taper,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | result_format | Input(输入) | format of results |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | taper | Output(输出) | taper for the element. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_tet_collapse (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_tet_collapse
This function will check elements' tet collapse. An element tet collapse is
defined as the ratio of its longest edge to its shortest altitude. This
check only applies to the Tet elements.
Input:
element_type element type
abs_node_coordinates[] Array of PNT3_t which contain absolute
node coordinates.
node_cnt The number of nodes in an array.
results_format Indicates whether how results are to be
presented. (i.e normalized or not)
threshold threshold aspect_ratio value.
Output:
tet_collapse The Elements tet collapse
status_ptr status whether passed or failed check.
Returns
int = 0 - successful completion
> 0 - error
需要许可证(S)
nx_masterfem
int UF_SF_mc_tet_collapse
(
UF_SF_element_type_t element_type,
double * abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double * tet_collapse,
UF_SFMC_result_t * status_ptr
)
UF_SF_mc_tetra_angle (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_tetra_angle:
This function will calculate an element's tet angle
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_tetra_angle
(
double* abspos,
int node_count,
UF_SF_mc_result_format_t results_format,
double min_threshold,
double max_threshold,
double* min_angle,
double* max_angle,
UF_SFMC_result_t* min_status_ptr,
UF_SFMC_result_t* max_status_ptr
)
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | results_format | Input(输入) | format of result |
| double (实数型) | min_threshold | Input(输入) | minimum threshold value |
| double (实数型) | max_threshold | Input(输入) | maximum threshold value |
| double* | min_angle | Output(输出) | The Elements minimim angle |
| double* | max_angle | Output(输出) | The Elements maximum angle |
| UF_SFMC_result_t* | min_status_ptr | Output(输出) | minimum result status |
| UF_SFMC_result_t* | max_status_ptr | Output(输出) | maximum result status |
UF_SF_mc_twist (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_twist:
This function will check an element's twist against the threshold value
环境
内部和外部
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_twist
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double* twist,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | result_format | Input(输入) | format of results |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | twist | Output(输出) | twist for the element. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_mc_warp (查看源代码)
定义在: uf_sf_element_check.h
概述
UF_SF_mc_warp:
This function will check an element's warp against the threshold value
环境
Internal
历史
released in v18.0
需要许可证(S)
nx_masterfem
int UF_SF_mc_warp
(
UF_SF_element_type_t element_type,
double* abspos,
int node_count,
UF_SF_mc_result_format_t result_format,
double threshold,
double* warp,
UF_SFMC_result_t* status_ptr
)
| UF_SF_element_type_t | element_type | Input(输入) | element type. |
| double* | abspos | Input(输入) | pointer to the node location in absolute coordinates. |
| int (整数型) | node_count | Input(输入) | number of nodes. |
| UF_SF_mc_result_format_t | result_format | Input(输入) | format of results |
| double (实数型) | threshold | Input(输入) | threshold value |
| double* | warp | Output(输出) | warp for the element. |
| UF_SFMC_result_t* | status_ptr | Output(输出) | result status |
UF_SF_modl_body_ask_body (查看源代码)
定义在: uf_sf.h
概述
This function will get Polygon body related to MODL body.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_modl_body_ask_body
(
tag_t modl_body,
tag_p_t cae_body_p
)
UF_SF_open_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine initializes Scenario
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_open_scenario
(
char* scenario_name,
tag_t master_part_tag
)
| char* | scenario_name | Input(输入) | scenario to be opened |
| tag_t (tag_t类型) | master_part_tag | Input(输入) | master part tag |
UF_SF_partition_body (查看源代码)
定义在: uf_sf.h
概述
This function will partition solid bodies into 2 solid bodies.
环境
内部和外部
参见
.
.
需要许可证(S)
nx_masterfem
int UF_SF_partition_body
(
int num_solid_bodies,
tag_p_t solid_body_tags,
tag_t tool_body,
int * num_partitioned_bodies,
tag_p_t * partitioned_bodies
)
| int (整数型) | num_solid_bodies | Input(输入) | The number of solid bodies to partition. |
| tag_p_t | solid_body_tags | Input(输入) | Array of solid bodies to partition. |
| tag_t (tag_t类型) | tool_body | Input(输入) | tag of the tool to use to define the partition. |
| int * (整数型指针) | num_partitioned_bodies | Output(输出) | Number of bodies generated after partitioning |
| tag_p_t * | partitioned_bodies | Output to be freed 输出并释放 | |
UF_SF_partition_body_nx5 (查看源代码)
定义在: uf_sf.h
概述
This function will partition solid bodies into 2 solid bodies.
The method of partitioning will be based on the "Associate" toggle
as follows ...
1. Associate toggle ON implies that the existing behavior (the
two resulting bodies are fully associated to the CAD master part)
will be maintained
2. Associate toggle OFF implies that the two resulting bodies become
unparameterized and not associated to the CAD master part.
环境
内部和外部
参见
.
.
需要许可证(S)
nx_masterfem
int UF_SF_partition_body_nx5
(
int associate,
int num_solid_bodies,
tag_p_t solid_body_tags,
tag_t tool_body,
int * num_partitioned_bodies,
tag_p_t * partitioned_bodies
)
| int (整数型) | associate | Input(输入) | Associative toggle state ( 1 implies resultant bodies are associated to CAD part 0 implies resultant bodies are not associated to CAD part .. they become unparameterized ) |
| int (整数型) | num_solid_bodies | Input(输入) | The number of solid bodies to partition. |
| tag_p_t | solid_body_tags | Input(输入) | Array of solid bodies to partition. |
| tag_t (tag_t类型) | tool_body | Input(输入) | tag of the tool to use to define the partition. |
| int * (整数型指针) | num_partitioned_bodies | Output(输出) | Number of bodies generated after partitioning |
| tag_p_t * | partitioned_bodies | Output to be freed 输出并释放 | |
UF_SF_polygon_body_ask_type (查看源代码)
定义在: uf_sf.h
概述
This function will get polygon body type : i.e, Sheet body or Solid body.
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
nx_masterfem
int UF_SF_polygon_body_ask_type
(
tag_t polygon_body,
int * body_type
)
| tag_t (tag_t类型) | polygon_body | Input(输入) | Polygon body tag |
| int * (整数型指针) | body_type | Output(输出) | Polygon body type; 0=>Solid; 1=>Sheet not mid-surface; 2=>sheet mid surface |
UF_SF_property_ask_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given a property tag, returns the name of the property.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_property_ask_name_nx
(
tag_t property_tag,
char* * property_name_pp
)
| tag_t (tag_t类型) | property_tag | Input(输入) | The tag of the property. |
| char* * | property_name_pp | Output to be freed 输出并释放 | The name of the property. NOTE: Caller must UF_free the string. |
UF_SF_property_ask_type_nx (查看源代码)
定义在: uf_sf.h
概述
Given a property tag, returns the property type.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_property_ask_type_nx
(
tag_t property_tag,
UF_SF_fem_value_type_t * property_type
)
UF_SF_property_ask_value_nx (查看源代码)
定义在: uf_sf.h
概述
Given a property tag, returns the property value.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_property_ask_value_nx
(
tag_t property_tag,
logical * bool_value,
int * int_value,
double * scalar_value,
char* * text_value,
int * num_lines,
char* * * multi_text_value
)
| tag_t (tag_t类型) | property_tag | Input(输入) | The tag of the property. |
| logical * | bool_value | Output(输出) | Property value, if type SFOM_FEM_VALUE_BOOL. |
| int * (整数型指针) | int_value | Output(输出) | Property value, if type is one of the following: UF_SF_FEM_VALUE_INT UF_SF_FEM_VALUE_ENUM |
| double * (实数型指针) | scalar_value | Output(输出) | Property value, if type UF_SF_FEM_VALUE_SCALAR. |
| char* * | text_value | Output to be freed 输出并释放 | Property value, if type is UF_SF_FEM_VALUE_TEXT. NOTE: Caller must UF_free the string. |
| int * (整数型指针) | num_lines | Output(输出) | If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the number of text lines in the property. |
| char* * * | multi_text_value | Output to be freed 输出并释放 | If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the array of text lines in the property. NOTE: Call UF_free_string_array to free the storage allocated within the structure. |
UF_SF_property_set_value_nx (查看源代码)
定义在: uf_sf.h
概述
Sets a property value.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_property_set_value_nx
(
tag_t property_tag,
logical bool_value,
int int_value,
double scalar_value,
char* const text_value,
int num_lines,
char* * const multi_text_value
)
| tag_t (tag_t类型) | property_tag | Input(输入) | The tag of the property. |
| logical | bool_value | Input(输入) | Property value, if type SFOM_FEM_VALUE_BOOL. |
| int (整数型) | int_value | Input(输入) | Property value, if type is one of the following: UF_SF_FEM_VALUE_INT UF_SF_FEM_VALUE_ENUM |
| double (实数型) | scalar_value | Input(输入) | Property value, if type is UF_SF_FEM_VALUE_SCALAR. |
| char* const | text_value | Input(输入) | Property value, if type is UF_SF_FEM_VALUE_TEXT. |
| int (整数型) | num_lines | Input(输入) | If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the number of text lines in the property. |
| char* * const | multi_text_value | Input(输入) | If type is UF_SF_FEM_VALUE_MULTI_STRING, this is the array of text lines in the property. |
UF_SF_remove_from_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Removes the specified number of loads and boundary conditions from
the active solution.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_remove_from_solution_nx
(
int num_of_lbc,
tag_t* lbc
)
| int (整数型) | num_of_lbc | Input(输入) | Number of loads and boundary conditions. |
| tag_t* | lbc | Input(输入) | Pointer to the array of tags for loads or boundary conditions. |
UF_SF_remove_from_step_nx (查看源代码)
定义在: uf_sf.h
概述
Removes the specified number of loads and boundary conditions from
the active step.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_remove_from_step_nx
(
int num_of_lbc,
tag_t* lbc
)
| int (整数型) | num_of_lbc | Input(输入) | Number of loads and boundary conditions. |
| tag_t* | lbc | Input(输入) | Pointer to the array of tags for loads or boundary conditions. |
UF_SF_rename_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine renames the current Scenario
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_rename_scenario
(
tag_t master_tag,
char * old_scenario,
char * new_scenario
)
| tag_t (tag_t类型) | master_tag | Input(输入) | master part tag |
| char * (字符型指针) | old_scenario | Input(输入) | old scenario name |
| char * (字符型指针) | new_scenario | Input(输入) | new scenario name |
UF_SF_reset_element_ids (查看源代码)
定义在: uf_sf.h
概述
This function resets all element IDs, starting at a specified ID.
Each time you update a Scenario model, the mesher numbers elements
starting from the highest available ID when it remeshes the model.
After multiple updates, element ID numbers can become too high.
Use this function to reset the element IDs.
This call works only when a FEM part is the work part
环境
内部和外部
历史
Originally released in NX3
需要许可证(S)
nx_masterfem
int UF_SF_reset_element_ids
(
int start_id
)
| int (整数型) | start_id | Input(输入) | Start ID |
UF_SF_reset_node_ids (查看源代码)
定义在: uf_sf.h
概述
This function resets all node IDs, starting at a specified ID.
Each time you update a Scenario model, the mesher numbers nodes
starting from the highest available ID when it remeshes the model.
After multiple updates, node ID numbers can become too high.
Use this function to reset the node IDs.
This call works only when a FEM part is the work part
环境
内部和外部
历史
Originally released in NX3
需要许可证(S)
nx_masterfem
int UF_SF_reset_node_ids
(
int start_id
)
| int (整数型) | start_id | Input(输入) | Start ID |
UF_SF_retrieve_library_material (查看源代码)
定义在: uf_sf.h
概述
Given a material libref from the NX Material library,
retrieve the material from the library into the context part.
Use UF_SF_ask_library_materials to read the librefs.
Use UF_SF_ask_material to read the properties of the new material.
If a material of the same name or libref already exists in the
context part file, then an error is returned.
环境
内部和外部
参见
历史
Originally released in NX2
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_retrieve_library_material
(
char* libref,
tag_p_t material_tag
)
| char* | libref | Input(输入) | The library reference string read from the NX Material Library. |
| tag_p_t | material_tag | Output(输出) | Tag of the retrieved material, or NULL_TAG if an error. |
UF_SF_save_scenario (查看源代码)
定义在: uf_sf.h
概述
This routine saves the current Scenario (Not valid for FEMs or Simulation parts)
环境
Internal and External
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_save_scenario
(
void
)
UF_SF_set_active_solution_and_step_nx (查看源代码)
定义在: uf_sf.h
概述
Set the active solution and step. The step must belong to the solution.
Valid only when the work part is a Simulation.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_set_active_solution_and_step_nx
(
tag_t active_solution,
tag_t active_step
)
| tag_t (tag_t类型) | active_solution | Input(输入) | Tag of the active solution for the scenario part. |
| tag_t (tag_t类型) | active_step | Input(输入) | Tag of the active step which belongs to the above solution. |
UF_SF_set_edge_density (查看源代码)
定义在: uf_sf.h
概述
This function will set the edge density given an input
object.
The edge density is defined as the number of elements to be created
along the input object. There are several cases:
需要许可证(S)
nx_masterfem
int UF_SF_set_edge_density
(
tag_t object_tag,
UF_SF_edge_density_data_t edge_density_data
)
UF_SF_set_elem_node_results (查看源代码)
定义在: uf_sf.h
概述
Takes a UF_SF_mesh_elem_node_result_t structure that has been set up
by UF_SF_ask_elem_node_results or any application and store them for
display or other query purposes.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_set_elem_node_results
(
UF_SF_mesh_elem_node_result_p_t results_p
)
UF_SF_set_idealize_parm_exp (查看源代码)
定义在: uf_sf.h
概述
This routine sets a specified expression from a parameter object for an
idealize feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_set_idealize_parm_exp
(
UF_SF_idealize_parms_p_t parms_p,
UF_SF_idealize_parm_exp_t parm_exp_t,
tag_t exp_tag
)
| UF_SF_idealize_parms_p_t | parms_p | Input(输入) | Idealize parameter entity to set |
| UF_SF_idealize_parm_exp_t | parm_exp_t | Input(输入) | Specific expression to set in the idealize parameter entity |
| tag_t (tag_t类型) | exp_tag | Input(输入) | Tag of the expression to be used for the specific idealize parameter Can be NULL_TAG which means that this parameter will not be used |
UF_SF_set_idealize_parm_faces (查看源代码)
定义在: uf_sf.h
概述
This routine sets a specified set of faces from a parameter object for an
idealize feature
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_set_idealize_parm_faces
(
UF_SF_idealize_parms_p_t parms_p,
UF_SF_idealize_parm_face_t parm_face_t,
int num_faces,
tag_t * faces
)
UF_SF_set_mesh_visuals (查看源代码)
定义在: uf_sf.h
概述
Sets a mesh's visual attributes.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_set_mesh_visuals
(
tag_t mesh_tag,
UF_SF_mesh_visuals_t* mesh_vis
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | The tag of the mesh |
| UF_SF_mesh_visuals_t* | mesh_vis | Output(输出) | Structure to mesh visual properties. Set members to UF_SF_MESH_VISUAL_NO_CHANGE whose attribute you do not want to change. |
UF_SF_set_nodes_delta_by_id (查看源代码)
定义在: uf_sf.h
概述
Sets the displacements associated with a node array of IDs.
环境
内部和外部
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_set_nodes_delta_by_id
(
tag_t mesh_tag,
int num_nodes,
int * node_id_a,
double * delta_vals_a
)
| tag_t (tag_t类型) | mesh_tag | Input(输入) | Tag of mesh object. If mesh_tag = NULL_TAG then search all meshes in the model. |
| int (整数型) | num_nodes | Input(输入) | Number of nodes in the given mesh to set diplacements for. |
| int * (整数型指针) | node_id_a | Input(输入) | Array of node IDs the size of num_nodes. |
| double * (实数型指针) | delta_vals_a | Input(输入) | Array of displacement values the size of num_nodes3, The displacements of the i-th node are given by delta_vals_a[3i+0], delta_vals_a[3i+1], delta_vals_a[3i+2] |
UF_SF_set_shell_thickness (查看源代码)
定义在: uf_sf.h
概述
Applies shell thickness to 2D meshes.
Valid only when the work part is a FEM
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_set_shell_thickness
(
char* shell_thick_exp,
int num_items,
tag_t* items_array
)
| char* | shell_thick_exp | Input(输入) | Shell thickness value |
| int (整数型) | num_items | Input(输入) | Number of items to associate shell thickness. |
| tag_t* | items_array | Input(输入) | pointer to the array of 2D mesh tags. |
UF_SF_simulation_ask_fem (查看源代码)
定义在: uf_sf.h
概述
Returns the Fem for the given Simulation ( NULL_TAG if no fem exists )
环境
内部和外部
历史
Originally released in NX4.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
tag_t UF_SF_simulation_ask_fem
(
tag_t simulation_tag
)
UF_SF_solution_ask_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Get the descriptor for a existing solution.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_descriptor_nx
(
tag_t solution,
tag_t* descriptor
)
UF_SF_solution_ask_language_nx (查看源代码)
定义在: uf_sf.h
概述
Get the language of a solution.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_language_nx
(
tag_t solution,
tag_t* language
)
UF_SF_solution_ask_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given the tag of a solution, this function finds the name of the solution.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_name_nx
(
tag_t solution,
char* solution_name
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag of the solution. |
| char* | solution_name | Output(输出) | Name of the solution. The maximum number of allowable characters is UF_SF_MAX_STRING_LEN. |
UF_SF_solution_ask_nth_step_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution and an index into the list of steps for the solution, returns
the tag of the step. This function can be used to loop over all steps in a
solution.
The number of steps can be obtained from function
UF_SF_solution_ask_num_steps_nx.
The index is just a counter.
Valid indices are from 0 to (number of steps-1).
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_nth_step_nx
(
tag_t solution_tag,
int step,
tag_t * step_tag
)
| tag_t (tag_t类型) | solution_tag | Input(输入) | Tag of the solution. |
| int (整数型) | step | Input(输入) | Index of the step to query. Valid indices are from 0 to (number of steps-1). |
| tag_t * (tag_t型的指针) | step_tag | Output(输出) | Tag of the step. |
UF_SF_solution_ask_num_steps_nx (查看源代码)
定义在: uf_sf.h
概述
Query the number of steps.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_num_steps_nx
(
tag_t solution_tag,
int * step_count
)
| tag_t (tag_t类型) | solution_tag | Input(输入) | Tag of the solution. |
| int * (整数型指针) | step_count | Output(输出) | Number of steps. |
UF_SF_solution_ask_property_by_index_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution and index into the solution's property list, returns the
tag of the property descriptor. This function can be used to loop over all
property descriptors in the solution.
The number of property descriptors can be obtained from function
UF_SF_solution_ask_property_count_nx.
The index is just a counter.
Valid indices are from 0 to (number of property descriptors-1).
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_property_by_index_nx
(
tag_t solution,
int property,
tag_t* property_tag
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| int (整数型) | property | Input(输入) | Index into list of properties. Valid indices are from 0 to (number of properties-1). The number of properties can be obtained from function UF_SF_solution_ask_property_count_nx. |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_solution_ask_property_count_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution, query the number of properties that it references.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_property_count_nx
(
tag_t solution,
int* num_props
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| int* | num_props | Output(输出) | Number of properties. |
UF_SF_solution_ask_property_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution and the name of a property that it references, returns
the tag of the property.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_property_nx
(
tag_t solution,
const char* property_name,
tag_t* property_tag
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| const char* | property_name | Input(输入) | Property name. |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_solution_ask_solver_property_by_index_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution and index into the solution's solver property list,
returns the tag of the solver property descriptor. This function can be
used to loop over all solver property descriptors in the solution.
The number of solver property descriptors can be obtained from function
UF_SF_solution_ask_solver_property_count_nx.
The index is just a counter.
Valid indices are from 0 to (number of solver property descriptors-1).
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_solver_property_by_index_nx
(
tag_t solution,
int property,
tag_t* property_tag
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| int (整数型) | property | Input(输入) | Index into list of solver properties for the solution. Valid indices are from 0 to (number of solver properties-1). The number of solver properties can be obtained from function UF_SF_solution_ask_solver_property_count_nx. |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_solution_ask_solver_property_count_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution, query the number of solver properties that it references.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_solver_property_count_nx
(
tag_t solution,
int* num_props
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| int* | num_props | Output(输出) | Number of properties. |
UF_SF_solution_ask_solver_property_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution and the name of a solver property that it references,
returns the tag of the solver property.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_ask_solver_property_nx
(
tag_t solution,
const char* property_name,
tag_t* property_tag
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag for the solution. |
| const char* | property_name | Input(输入) | Property name. |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_solution_set_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given the tag of a solution and a new name, this function sets the name
of the solution associated to the given tag.
Returns
0(success) OR > 1(failure):
UF_NAME_CONFLICT - solution name name not unique
UF_NAME_INVALID_CHAR - invalid character in name
UF_RESULT_FILE_NAME_CONFLICT - solution name has potential
conflict with existing result files.
UF_NAME_TOO_LONG - solution name too long
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_solution_set_name_nx
(
tag_t solution,
const char* solution_name,
logical rename_result_file
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag of the solution attached to name. |
| const char* | solution_name | Input(输入) | Name of the solution. The maximum number of allowable characters is UF_SF_MAX_STRING_LEN. |
| logical | rename_result_file | Input(输入) | Flag for renaming any associated result file. If set to TRUE, the solution and result file will be renamed the part will automatically be saved in order to maintain the association between the solution and the result file. If set to FALSE, the solution will be renamed, but the result file will retain its current name. The association between the solution and the result file will be lost. |
UF_SF_solve_active_solution_nx (查看源代码)
定义在: uf_sf.h
概述
Initiates solve of the active solution.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SF_solve_active_solution_nx
(
int format_choice
)
| int (整数型) | format_choice | Input(输入) | Format/Solve option 0 (for format and solve) 1 (for format only) |
UF_SF_step_ask_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given the tag of a step, this function finds the name of the step.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_step_ask_name_nx
(
tag_t step,
char* step_name
)
| tag_t (tag_t类型) | step | Input(输入) | Step tag. |
| char* | step_name | Output(输出) | Name of the step. The maximum number of allowable characters is UF_SF_MAX_STRING_LEN. |
UF_SF_step_ask_property_by_index_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution step and index into the step's property list, returns the
tag of the property descriptor. This function can be used to loop over all
property descriptors in the step.
The number of property descriptors can be obtained from function
UF_SF_step_ask_property_count_nx.
The index is just a counter.
Valid indices are from 0 to (number of property descriptors-1).
环境
内部和外部
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_step_ask_property_by_index_nx
(
tag_t step,
int property,
tag_t* property_tag
)
| tag_t (tag_t类型) | step | Input(输入) | Tag for the step. |
| int (整数型) | property | Input(输入) | Index into list of properties for the step. Valid indices are from 0 to (number of property descriptors-1). |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_step_ask_property_count_nx (查看源代码)
定义在: uf_sf.h
概述
Given a step, query the number of properties that it references.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_step_ask_property_count_nx
(
tag_t step,
int* num_props
)
| tag_t (tag_t类型) | step | Input(输入) | Tag for the step. |
| int* | num_props | Output(输出) | Number of properties. |
UF_SF_step_ask_property_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution step and the name of a property that it references,
returns the tag of the property.
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_step_ask_property_nx
(
tag_t step,
const char* property_name,
tag_t* property_tag
)
| tag_t (tag_t类型) | step | Input(输入) | Tag for the step. |
| const char* | property_name | Input(输入) | Property name. |
| tag_t* | property_tag | Output(输出) | Tag for the property. |
UF_SF_step_set_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given the tag of a step and a new name, this function sets the name
of the step associated to the given tag.
Returns
0(success) OR > 1(failure).
UF_NAME_CONFLICT - step name name not unique
UF_NAME_INVALID_CHAR - invalid character in name
UF_NAME_TOO_LONG - step name too long
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_step_set_name_nx
(
tag_t solution,
tag_t step,
const char* step_name
)
| tag_t (tag_t类型) | solution | Input(输入) | Tag of the parent solution. |
| tag_t (tag_t类型) | step | Input(输入) | Tag of the step attached to name. |
| const char* | step_name | Input(输入) | Name of the step. The maximum number of allowable characters is UF_SF_MAX_STRING_LEN. |
UF_SF_switch_scenarios (查看源代码)
定义在: uf_sf.h
概述
Switches between two scenarios.
环境
内部和外部
历史
Written in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_switch_scenarios
(
char * scenario_1_name,
char * scenario_2_name
)
| char * (字符型指针) | scenario_1_name | Input(输入) | Name of first scenario |
| char * (字符型指针) | scenario_2_name | Input(输入) | Name of second scenario |
UF_SF_temp_disp_results (查看源代码)
定义在: uf_sf_ugopenint.h
概述
Generates the temporary display of a mesh and the associated resutst.
环境
Internal
历史
Originally released in V19.0
需要许可证(S)
nx_masterfem
int UF_SF_temp_disp_results
(
UF_SF_COLOR_attr_p_t color_att_p,
UF_SF_LEGEND_attr_p_t legend_attr_p
)
UF_SF_temp_display_element (查看源代码)
定义在: uf_sf_ugopenint.h
概述
Generates the temporary display of an element.
环境
Internal
需要许可证(S)
nx_masterfem
int UF_SF_temp_display_element
(
tag_t node_tag,
int color,
double height,
logical display_edges,
logical display_id,
logical display_nodes,
UF_DISP_poly_marker_t node_marker,
logical display_orientation
)
| tag_t (tag_t类型) | node_tag | Input(输入) | Tag of the element to be displayed. |
| int (整数型) | color | Input(输入) | Color to be used in temporary display. See uf_obj.h for color constants. |
| double (实数型) | height | Input(输入) | Size of display for ID and symbol display. |
| logical | display_edges | Input(输入) | Indicates whether element edges are to be displayed. |
| logical | display_id | Input(输入) | Indicates whether element label is to be displayed. |
| logical | display_nodes | Input(输入) | Indicates whether element nodes are to be displayed. |
| UF_DISP_poly_marker_t | node_marker | Input(输入) | node_marker (uf_disp.h) |
| logical | display_orientation | Input(输入) | Indicates whether element orientation is to be displayed. (some 1d and 2d elms only) |
UF_SF_temp_display_node (查看源代码)
定义在: uf_sf_ugopenint.h
概述
Generates the temporary display of a node.
环境
Internal
需要许可证(S)
nx_masterfem
int UF_SF_temp_display_node
(
tag_t node_tag,
int color,
double height,
logical display_id,
char* object_symbol,
UF_DISP_poly_marker_t node_marker
)
| tag_t (tag_t类型) | node_tag | Input(输入) | Tag of the node to be displayed. |
| int (整数型) | color | Input(输入) | Color to be used in temporary display. See uf_obj.h for color constants. |
| double (实数型) | height | Input(输入) | Height of display for ID and symbol display. |
| logical | display_id | Input(输入) | Indicates whether element label is to be displayed. |
| char* | object_symbol | Input(输入) | Object Symbol or NULL to concatenate preceding to display id. |
| UF_DISP_poly_marker_t | node_marker | Input(输入) | node_marker (uf_disp.h) |
UF_SF_test_gpe (查看源代码)
定义在: uf_sf.h
概述
Test the GPE module
环境
内部和外部
历史
------
需要许可证(S)
nx_masterfem
int UF_SF_test_gpe
(
FILE * fp
)
| FILE * | fp | Input(输入) | file pointer |
UF_SF_unlink_material (查看源代码)
定义在: uf_sf.h
概述
Given and a tag to a mesh or geometry, this function unlinks the
material from the object.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_unlink_material
(
tag_t object_tag
)
| tag_t (tag_t类型) | object_tag | Input(输入) | Tag of the object to which material is attached. |
UF_SF_unlink_section (查看源代码)
定义在: uf_sf.h
概述
Unlinks the section from the object.
环境
内部和外部
需要许可证(S)
nx_masterfem
int UF_SF_unlink_section
(
tag_t section_tag,
tag_t mesh_geom_tag
)
| tag_t (tag_t类型) | section_tag | Input(输入) | The tag of section property. |
| tag_t (tag_t类型) | mesh_geom_tag | Input(输入) | Tag of the the 1D mesh, edge/ curve or point to which section is to be attached. |
UF_SF_update_fatigue (查看源代码)
定义在: uf_sf.h
概述
Similar to UF_SF_update_material but updates the fatigue material
object only.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_update_fatigue
(
tag_t material_tag,
UF_SF_material_fatigue_prop_p_t property_values
)
UF_SF_update_material (查看源代码)
定义在: uf_sf.h
概述
Given a material tag and optionally name, categary, lib_reference and
property_values, this function will update a material.
Note that the type of the material cannot be updated.
Rather, delete and create a new material.
Returns
Completion status.
=0 successful completion
= SFMAT_INVALID_MATERIAL_NAME
= SFMAT_INVALID_DUPLICATE_NAME
= SFMAT_INVALID_TYPE
= SFMAT_MATERIAL_FAILED_TO_UPDATED
>0 error
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_update_material
(
tag_t material_tag,
char* name_str,
char* category_str,
char* lib_reference,
UF_SF_material_prop_p_t property_values
)
| tag_t (tag_t类型) | material_tag | Input(输入) | The tag of material to be updated. |
| char* | name_str | Input(输入) | Pointer to string representing the the name to be given to the material. |
| char* | category_str | Input(输入) | Pointer to string representing the the Category to be given to the material. |
| char* | lib_reference | Input(输入) | Pointer to string representing the the library reference to be given to the material. |
| UF_SF_material_prop_p_t | property_values | Input(输入) | Contains the material property values. |
UF_SF_update_scenario (查看源代码)
定义在: uf_sf.h
概述
This function updates a structures part file.
This call works only when a FEM part is the work part
Returns
int error = 0 --> Success
= UF_SF_NON_SCENARIO_PART -> Not a scenario file
环境
内部和外部
历史
Originally released in V17.0
需要许可证(S)
nx_masterfem
int UF_SF_update_scenario
(
void
)
UF_SF_update_strength (查看源代码)
定义在: uf_sf.h
概述
Similar to UF_SF_update_material but updates the strength material
object only.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_update_strength
(
tag_t material_tag,
UF_SF_material_strength_prop_p_t property_values
)
UF_SF_validate_meshes (查看源代码)
定义在: uf_sf_mshvld.h
概述
Function: UF_SF_validate_meshes
DESCRIPTION
This user function is used to perform mesh validation.
It's prototype is available in uf_sf_mshvld.h
INPUT
tag_p_t mesh_ents_p : the list of mesh/ mesh_recipe tags
If mesh_ents_tag = NULL, mesh validation
is performed on all mesh recipes/meshes.
For this case, we do not care about the
value of num_mesh_ents.
int num_mesh_ents : The number of tags in the list mesh_ents_p.
unsigned int option_mask : the mesh validation options are defined in
the head file uf_sf_mshvld.h.
OUTPUT
UF_SF_mesh_error_container_p_t error_container :
the structure holding the mesh errors found.
The caller is required to free the memory of all mesh_errors of type
UF_SF_mesh_error_p_t in each mesh error list in this container.
RETURN
0 for success
Error code for failure
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SF_validate_meshes
(
tag_p_t mesh_ents_p,
int num_mesh_ents,
unsigned int option_mask,
UF_SF_mesh_error_container_p_t error_container
)
UF_SF_write_report (查看源代码)
定义在: uf_sf.h
概述
Exports html files comprising the report generated by UF_SF_create_report.
Valid only when a Simulation part is the work part
环境
Internal or External
历史
Released in NX3
需要许可证(S)
nx_masterfem
int UF_SF_write_report
(
void
)
UF_SFL_ask_bc_descriptor_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given an boundary condition descriptor tag, returns the boundary condition
descriptor name.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_bc_descriptor_name_nx
(
tag_t bc_desc_tag,
char* * name_pp
)
| tag_t (tag_t类型) | bc_desc_tag | Input(输入) | The tag of the bc descriptor. |
| char* * | name_pp | Output to be freed 输出并释放 | The name of the bc descriptor. NOTE: Caller must UF_free the string. |
UF_SFL_ask_bc_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and boundary condition descriptor name, returns the
tag of the boundary condition descriptor.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_bc_descriptor_nx
(
tag_t language_tag,
const char* name,
tag_t * bc_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| const char* | name | Input(输入) | Name of the bc descriptor. |
| tag_t * (tag_t型的指针) | bc_descriptor_tag | Output(输出) | The tag of the bc descriptor. |
UF_SFL_ask_cur_language_nx (查看源代码)
定义在: uf_sf.h
概述
Returns tag of the current language. Valid only when a FEM or Simulation
is the work part. When a Simulation is active, he active Solution defines
the current language. If no Solution is active, then the default environment
defines the current language. When a FEM is active, the default language of
the FEM is the current language.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_cur_language_nx
(
tag_t * language_tag
)
UF_SFL_ask_element_descriptor_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given an element descriptor tag, returns the element descriptor name.
Valid only when the work part is a FEM or a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_element_descriptor_name_nx
(
tag_t elem_desc_tag,
char* * name_pp
)
| tag_t (tag_t类型) | elem_desc_tag | Input(输入) | The tag of the element descriptor. |
| char* * | name_pp | Output to be freed 输出并释放 | The name of the element descriptor. NOTE: Caller must UF_free the string. |
UF_SFL_ask_element_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and element descriptor name, returns the tag of the
element descriptor. Valid only when the work part is a FEM or a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_element_descriptor_nx
(
tag_t language_tag,
const char* name,
tag_t * elem_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| const char* | name | Input(输入) | Name of the element descriptor. |
| tag_t * (tag_t型的指针) | elem_descriptor_tag | Output(输出) | The tag of the element descriptor. |
UF_SFL_ask_language_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solver descriptor tag and language name, returns the
tag of the language.
Valid only if the work part is a Simulation
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_language_nx
(
tag_t solver_desc_tag,
const char* lang_name,
tag_t * language_tag
)
| tag_t (tag_t类型) | solver_desc_tag | Input(输入) | Solver descriptor tag. |
| const char* | lang_name | Input(输入) | Name of the language. |
| tag_t * (tag_t型的指针) | language_tag | Output(输出) | The tag of the language. |
UF_SFL_ask_load_descriptor_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given a load descriptor tag, returns the load descriptor name.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_load_descriptor_name_nx
(
tag_t load_desc_tag,
char* * name_pp
)
| tag_t (tag_t类型) | load_desc_tag | Input(输入) | The tag of the load descriptor. |
| char* * | name_pp | Output to be freed 输出并释放 | The name of the load descriptor. NOTE: Caller must UF_free the string. |
UF_SFL_ask_load_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and load descriptor name, returns the
tag of the load descriptor.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_load_descriptor_nx
(
tag_t language_tag,
const char* name,
tag_t * load_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| const char* | name | Input(输入) | Name of the load descriptor. |
| tag_t * (tag_t型的指针) | load_descriptor_tag | Output(输出) | The tag of the load descriptor. |
UF_SFL_ask_nth_bc_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and index into the boundary condition (bc) descriptor
list, returns the tag of the bc descriptor. This function can be used to loop
over all bc descriptors in the language.
The number of bc descriptors can be obtained from function
UF_SFL_ask_num_bc_descriptors_nx.
The index is just a counter.
Valid indices are from 0 to (number of bc descriptors-1).
Valid only when the work part is a Simulation.
环境
Internal and External
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_bc_descriptor_nx
(
tag_t language_tag,
int index,
tag_t * bc_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int (整数型) | index | Input(输入) | Index into list of bc descriptors. Valid indices are from 0 to (number of bc descriptors-1). The number of bc descriptors can be obtained from function UF_SFL_ask_num_bc_descriptors_nx. |
| tag_t * (tag_t型的指针) | bc_descriptor_tag | Output(输出) | The tag of the bc descriptor. |
UF_SFL_ask_nth_element_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and index into the element descriptor list, returns the
tag of the element descriptor. This function can be used to loop over all
element descriptors in the language.
The number of element descriptors can be obtained from function
UF_SFL_ask_num_element_descriptors_nx.
The index is just a counter.
Valid indices are from 0 to (number of element descriptors-1).
Valid only when the work part is a FEM or a Simulation.
环境
Internal and External
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_element_descriptor_nx
(
tag_t language_tag,
int index,
tag_t * elem_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int (整数型) | index | Input(输入) | Index into list of element descriptors. Valid indices are from 0 to (number of element descriptors-1). The number of element descriptors can be obtained from function UF_SFL_ask_num_element_descriptors_nx. |
| tag_t * (tag_t型的指针) | elem_descriptor_tag | Output(输出) | The tag of the element descriptor. |
UF_SFL_ask_nth_language_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solver descriptor tag and index into the solver's language list,
returns the tag of the language. This function can be used to loop over all
languages that are valid for the solver.
The number of languages for the solver can be obtained from function
UF_SFL_ask_num_languages_nx.
The index is just a counter.
Valid indices are from 0 to (number of languages-1).
Valid only if the work part is a Simulation
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_language_nx
(
tag_t solver_desc_tag,
int index,
tag_t * language_tag
)
| tag_t (tag_t类型) | solver_desc_tag | Input(输入) | Solver descriptor tag. |
| int (整数型) | index | Input(输入) | Index into list of languages. Valid indices are from 0 to (number of languages-1). The number of languages can be obtained from function UF_SFL_ask_num_languages_nx. |
| tag_t * (tag_t型的指针) | language_tag | Output(输出) | The tag of the language. |
UF_SFL_ask_nth_load_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and index into the load descriptor list, returns the
tag of the load descriptor. This function can be used to loop over all
load descriptors in the language.
The number of load descriptors can be obtained from function
UF_SFL_ask_num_load_descriptors_nx.
The index is just a counter.
Valid indices are from 0 to (number of load descriptors-1).
Valid only when the work part is a Simulation.
环境
Internal and External
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_load_descriptor_nx
(
tag_t language_tag,
int index,
tag_t * load_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int (整数型) | index | Input(输入) | Index into list of load descriptors. Valid indices are from 0 to (number of load descriptors-1). The number of load descriptors can be obtained from function UF_SFL_ask_num_load_descriptors_nx. |
| tag_t * (tag_t型的指针) | load_descriptor_tag | Output(输出) | The tag of the load descriptor. |
UF_SFL_ask_nth_solution_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and index into the solution descriptor list, returns the
tag of the solution descriptor. This function can be used to loop over all
solution descriptors in the language.
The number of solution descriptors can be obtained from function
UF_SFL_ask_num_solution_descriptors_nx.
The index is just a counter.
Valid indices are from 0 to (number of solution descriptors-1).
Valid only when the work part is a Simulation.
环境
Internal and External
参见
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_solution_descriptor_nx
(
tag_t language_tag,
int index,
tag_t * solution_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int (整数型) | index | Input(输入) | Index into list of solution descriptors. Valid indices are from 0 to (number of solution descriptors-1). The number of solution descriptors can be obtained from function UF_SFL_ask_num_solution_descriptors_nx. |
| tag_t * (tag_t型的指针) | solution_descriptor_tag | Output(输出) | The tag of the solution descriptor. |
UF_SFL_ask_nth_solver_nx (查看源代码)
定义在: uf_sf.h
概述
Given a index into the list of solvers, returns the tag of the solver
descriptor. This function can be used to loop over all solver descriptors.
The number of solver descriptors can be obtained from function
UF_SFL_ask_num_solvers_nx.
The index is just a counter.
Valid indices are from 0 to (number of solver descriptors-1).
Valid only if the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_nth_solver_nx
(
int index,
tag_t * solver_desc_tag
)
| int (整数型) | index | Input(输入) | Index into list of solvers. Valid indices are from 0 to (number of solvers-1). The number of solvers can be obtained from function UF_SFL_ask_num_solvers. |
| tag_t * (tag_t型的指针) | solver_desc_tag | Output(输出) | The tag of the solver descriptor. |
UF_SFL_ask_num_bc_descriptors_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag, returns the number of bc descriptors.
The bc descriptors define what boundary condition types are valid for the
language.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_bc_descriptors_nx
(
tag_t language_tag,
int* num_bc_descriptors
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int* | num_bc_descriptors | Output(输出) | The number of bc descriptors. |
UF_SFL_ask_num_element_descriptors_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag, returns the number of element descriptors.
The element descriptors define what elements are valid for the language.
Valid only when the work part is a FEM or a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_element_descriptors_nx
(
tag_t language_tag,
int* num_elem_descriptors
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int* | num_elem_descriptors | Output(输出) | The number of element descriptors. |
UF_SFL_ask_num_languages_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solver descriptor, returns number of languages that are valid for
the solver.
Valid only if the work part is a Simulation
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_languages_nx
(
tag_t solver_desc_tag,
int * num_languages
)
| tag_t (tag_t类型) | solver_desc_tag | Input(输入) | Solver descriptor tag. |
| int * (整数型指针) | num_languages | Output(输出) | The number of languages. |
UF_SFL_ask_num_load_descriptors_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag, returns the number of load descriptors.
The load descriptors define what load types are valid for the language.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_load_descriptors_nx
(
tag_t language_tag,
int* num_load_descriptors
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int* | num_load_descriptors | Output(输出) | The number of load descriptors. |
UF_SFL_ask_num_solution_descriptors_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag, returns the number of solution descriptors.
The solution descriptors define what solution types are valid for the
language.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_solution_descriptors_nx
(
tag_t language_tag,
int* num_solution_descriptors
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| int* | num_solution_descriptors | Output(输出) | The number of solution descriptors. |
UF_SFL_ask_num_solvers_nx (查看源代码)
定义在: uf_sf.h
概述
Returns number of solvers.
Valid only when the work part is a Simulation
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_num_solvers_nx
(
int * num_solvers
)
| int * (整数型指针) | num_solvers | Output(输出) | The number of solvers. |
UF_SFL_ask_solution_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a language tag and solution descriptor name, returns the
tag of the solution descriptor. The solution descriptor name
appears as "Analysis Type" on the "Create Solution" dialog.
Alternatively, one can call UF_SFL_ask_num_solution_descriptors_nx,
UF_SFL_ask_nth_solution_descriptor_nx, and then
UF_SFL_solution_descriptor_ask_name_nx to find the name for each solution
descriptor.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_solution_descriptor_nx
(
tag_t language_tag,
const char* name,
tag_t * solution_descriptor_tag
)
| tag_t (tag_t类型) | language_tag | Input(输入) | Language tag. |
| const char* | name | Input(输入) | Name of the solution descriptor. |
| tag_t * (tag_t型的指针) | solution_descriptor_tag | Output(输出) | The tag of the solution descriptor. |
UF_SFL_ask_solver_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solver name, returns the tag of the solver descriptor.
Valid only when the work part is a Simulation
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_ask_solver_nx
(
const char* solver_name,
tag_t * solver_desc_tag
)
| const char* | solver_name | Input(输入) | Name of the solver. |
| tag_t * (tag_t型的指针) | solver_desc_tag | Output(输出) | The tag of the solver descriptor. |
UF_SFL_set_default_env_nx (查看源代码)
定义在: uf_sf.h
概述
Set the default environment for the FE Model.
The default environment is used when no Solution is active.
Valid only when the work part is a FEM
环境
内部和外部
历史
Originally released in NX3.0
需要许可证(S)
nx_masterfem
int UF_SFL_set_default_env_nx
(
const char* language_name
)
| const char* | language_name | Input(输入) | Language name. The name of the current language. The syntax of the language name is "<solver name> - <analysis type>". For example: "NX NASTRAN - Structural" |
UF_SFL_solution_ask_lbc_desc_valid_nx (查看源代码)
定义在: uf_sf.h
概述
Identifies whether a lbc descriptor is valid for a given solution descriptor.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_solution_ask_lbc_desc_valid_nx
(
tag_t sol_desc_tag,
tag_t lbc_desc_tag,
logical * valid
)
| tag_t (tag_t类型) | sol_desc_tag | Input(输入) | Solution descriptor tag. |
| tag_t (tag_t类型) | lbc_desc_tag | Input(输入) | LBC descriptor tag. |
| logical * | valid | Output(输出) | True if the lbc descriptor is valid for the solution, otherwise false. |
UF_SFL_solution_ask_nth_allowable_step_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution descriptor tag and index into the allowable step descriptor
list, returns the tag of the allowable step descriptor.
This function can be used to loop over all allowable step descriptors for a
given solution descriptor.
The number of allowable step descriptors can be obtained from function
UF_SFL_solution_ask_num_allowable_step_descriptors_nx.
The index is just a counter.
Valid indices are from 0 to (number of allowable step descriptors-1).
Valid only if the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_solution_ask_nth_allowable_step_descriptor_nx
(
tag_t sol_desc_tag,
int index,
tag_t * step_descriptor_tag
)
| tag_t (tag_t类型) | sol_desc_tag | Input(输入) | Solution descriptor tag. |
| int (整数型) | index | Input(输入) | Index into list of allowable step descriptors. Valid indices are from 0 to (number of allowable step descriptors-1). The number of allowable step descriptors can be obtained from function UF_SFL_solution_num_allowable_step_descriptors_nx. |
| tag_t * (tag_t型的指针) | step_descriptor_tag | Output(输出) | The tag of the allowable step descriptor. |
UF_SFL_solution_ask_num_allowable_step_descriptors_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution descriptor tag, returns the number of allowable step
descriptors. An allowable step descriptor defines a step type that is valid for
a given solution type.
Valid only if the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_solution_ask_num_allowable_step_descriptors_nx
(
tag_t sol_desc_tag,
int* num_allow_step_descs
)
| tag_t (tag_t类型) | sol_desc_tag | Input(输入) | Solution descriptor tag. |
| int* | num_allow_step_descs | Output(输出) | The number of allowable step descriptors. |
UF_SFL_solution_ask_step_descriptor_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution descriptor tag and allowable step descriptor name,
returns the tag of the step descriptor.
Valid only when the work part is a Simulation.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_solution_ask_step_descriptor_nx
(
tag_t sol_desc_tag,
char * const step_desc_name,
tag_t * step_descriptor_tag
)
| tag_t (tag_t类型) | sol_desc_tag | Input(输入) | Solution descriptor tag. |
| char * const | step_desc_name | Input(输入) | Step descriptor name. |
| tag_t * (tag_t型的指针) | step_descriptor_tag | Output(输出) | The tag of the allowable step descriptor. |
UF_SFL_solution_descriptor_ask_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given a solution descriptor tag, returns the solution descriptor name.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_solution_descriptor_ask_name_nx
(
tag_t sol_desc_tag,
char* * name_pp
)
| tag_t (tag_t类型) | sol_desc_tag | Input(输入) | Solution descriptor tag. |
| char* * | name_pp | Output to be freed 输出并释放 | The name of the solution descriptor. NOTE: Caller must UF_free the string. |
UF_SFL_step_ask_lbc_desc_valid_nx (查看源代码)
定义在: uf_sf.h
概述
Identifies whether a lbc descriptor is valid for a given step descriptor.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_step_ask_lbc_desc_valid_nx
(
tag_t step_desc_tag,
tag_t lbc_desc_tag,
logical * valid
)
| tag_t (tag_t类型) | step_desc_tag | Input(输入) | Step descriptor tag. |
| tag_t (tag_t类型) | lbc_desc_tag | Input(输入) | LBC descriptor tag. |
| logical * | valid | Output(输出) | True if the lbc descriptor is valid for the step, otherwise false. |
UF_SFL_step_descriptor_ask_name_nx (查看源代码)
定义在: uf_sf.h
概述
Given a step descriptor tag, returns the step descriptor name.
环境
Internal and External
历史
Originally released in NX3.0
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_SFL_step_descriptor_ask_name_nx
(
tag_t step_desc_tag,
char* * name_pp
)
| tag_t (tag_t类型) | step_desc_tag | Input(输入) | Step descriptor tag. |
| char* * | name_pp | Output to be freed 输出并释放 | The name of the step descriptor. NOTE: Caller must UF_free the string. |