Tutorial Toolkit Function Descriptions > Finite Element Model > Mesh
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Mesh
  
fem_create_mesh_sol_3
(<mesher_pick>,<flag>,<solid_list>,<num_val>,<g_leng>,
<elem_topo>,<node_list>,<elem_list>,<a_coord_frame>,
<r_coord_frame>,<num_nodes>,<num_elems>,
<nodes_created>, < elems_created> )
Description:
This function creates a finite element mesh on solids and returns the FEM data for the solid. It returns an integer status of zero on successful completion.
Input:
STRING
mesher_pick [ ]
Mesher to be used: "IsoMesh" or "Tetmesh".
INTEGER
flag
Integer to specify use of preview. Used only with “Tetmesh”.
STRING
solid_list[ ]
List of solids to be meshed.
INTEGER
num_val
Number of float values.
REAL
g_leng
Global element edge length.
STRING
elem_topo[ ]
Element topology.
STRING
node_list[ ]
List of output node ids.
STRING
elem_list[ ]
List of output element ids.
STRING
a_coord_frame[ ]
Analysis coordinate frame id.
STRING
r_coord_frame[ ]
Reference coordinate frame id.
Output:
INTEGER
num_nodes
Number of nodes created.
INTEGER
num_elems
Number of elements created.
STRING
nodes_created[ ]
Ids of nodes created.
STRING
elems_created[ ]
Ids of elements created.
INTEGER
<Return Value>
0 for success, 1 for error.
Error Conditions:
None.
Example:
Please see fem_create_mesh_sol_3 (p. 746) in the MSC Acumen Toolkit - Code Example.
  
fem_seed_display_dir_arrows
( arrow_segment )
Description:
Display direction arrows on all visible curves.
Input:
INTEGER
arrow_segment
Graphics manager segment id for arrows.
Output:
INTEGER
<Return Value>
Integer indicating the success or failure of the routine.
Error Conditions:
2001060
List overflow in %A%. Call customer support.
4
Interrupted system call.
Example:
Please see fem_seed_display_dir_arrows (p. 756) in the MSC Acumen Toolkit - Code Example.
  
db_get_mesh_params
( wmesh, mshcyc, relaxm, tolmsh, dgmesh, itrngl )
Description:
Gets the definition of an edge mesh from the database.
Input:
None.
Output:
REAL
wmesh
The unique internal line wmesh identifying the mesh to be retrieved from the database.
INTEGER
mshcyc
The number of elements on the edge.
REAL
relaxm
The mesh relaxm of the edge.
REAL
tolmsh
The tolmsh of the edge.
INTEGER
dgmesh
The number of meshes on the edge.
INTEGER
itrngl
True if the edge has been itrngled.
INTEGER
<Return Value>
Integer indicating success or failure of the routine. If the routine failed, this value contains an indication of the reason.
Error Conditions:
13000002
Unrecoverable database error.
External Dependencies and Side Effects:
Accesses one record in the “line” table in the database.
Example:
Please see db_get_mesh_params (p. 721) in the MSC Acumen Toolkit - Code Example.
  
move_mesh
( <surface_id_2 >, <surface_id_1>, <user_tolerance >)
Description:
The function moves the finite element entities – vertex nodes, edge nodes and the face nodes with the elements from one surface to another. The size of the two surfaces should be equal and the user tolerance should be at least equal to the normal distance between the two surfaces. It returns an integer status of 0 on success and 1 on failure.
Input:
INTEGER
surface_id_2
The id of the surface to which the mesh is to be moved.
INTEGER
surface_id_1
The id of the surface from which the mesh is to be moved.
REAL
user_tolerance
The value of the user tolerance specified by the user.
Output:
INTEGER
<Return Value>
0 for success and 1 for failure.
Error Conditions:
None.
Example:
Please see move_mesh (p. 778) in the MSC Acumen Toolkit - Code Example.
  
move_mesh_1
( <surface_name_ 2 >, <surface_name _1>, <user_tolerance >)
Description:
The function moves the finite element entities – vertex nodes, edge nodes and the face nodes with the elements from one surface to another. The size of the two surfaces should be equal and the user tolerance should be at least equal to the normal distance between the two surfaces. It returns an integer status of 0 on success and 1 on failure.
Input:
STRING
surface_name_2[]
The name of the surface to which the mesh is to be moved.
STRING
surface_name_1[]
The name of the surface from which the mesh is to be moved.
REAL
user_tolerance
The value of the user tolerance specified by the user.
Output:
INTEGER
<Return Value>
0 for success and 1 for failure.
Error Conditions:
None.
Example:
Please see move_mesh_1 (p. 780) in the MSC Acumen Toolkit - Code Example.