Skip to main content

optiSLang 3D Postprocessing Script API 2024 R2 SP02

ComputeNodalCoorDeviation Struct Reference

Last update: 16.07.2025

a struct which collects settings for computeNodalCoorDeviation More...

Public Member Functions

 check (Structure database, Structure other)
 checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine. More...
 
 compute (Structure database, Structure other)
 computes the deviation of nodal coordinates between two meshes for multiple designs More...
 
 ComputeNodalCoorDeviation (Structure database, DataObjectContainer the_data)
 constructor which sets suitable defaults for all members More...
 
DataObjectContainer::string_vector_type getDesignList () const
 determins a minimal list of possible designs More...
 

Public Attributes

bool associate_face_normals
 if true, then the detection tries to associate only those boundary faces which point into the same half space This may be good for thin-walled structures, but may fail in case of large deformations.
 
DataObjectContainer data
 the data set to be analyzed
 
number max_search_distance
 the maximum search distance used in closest-point projection. default: 1/1000. of the maximum geometry dimension
 
string new_normal_deviation_ident
 the ident of the nodal deviation object along normal direction (if empty: no object will be created)
 
string new_x_deviation_ident
 the ident of the nodal deviation object along x direction (if empty: no object will be created)
 
string new_y_deviation_ident
 the ident of the nodal deviation object along y direction (if empty: no object will be created)
 
string new_z_deviation_ident
 the ident of the nodal deviation object along z direction (if empty: no object will be created)
 
bool number_sided_n2s_contact
 defines if a number sided node-to-surface projection is used in closest-point projection (recommended). If not, only the boundary nodes of mesh_project_contactor are chosen.
 
bool overwrite_existing
 is true if already existing output data objects will be replaced. In this case, also all depending objects of the already existing one will be deleted.
 
string x_coor_ident
 quantity representing x-coordiante
 
string y_coor_ident
 quantity representing y-coordiante
 
string z_coor_ident
 quantity representing z-coordiante
 

Detailed Description

a struct which collects settings for computeNodalCoorDeviation

Constructor & Destructor Documentation

◆ ComputeNodalCoorDeviation()

constructor which sets suitable defaults for all members

Parameters
the_datathe subset of field data to be token as input.
databaseis the database to which the_data refers to. Is used to get information on the mesh geometry. The quantity idents are token as coordinate idents (in increasing alphabetical order). (the 1st 3 are token)

Member Function Documentation

◆ check()

check ( Structure  database,
Structure  other 
)

checks the settings on plausibility It throws an exception if there is a problem with the settings. Important: It tries to find out all problems with these settings and then exits the routine.

Parameters
databasethe SoS structure
otherthe other mesh from which the deviation is meshed

◆ compute()

compute ( Structure  database,
Structure  other 
)

computes the deviation of nodal coordinates between two meshes for multiple designs

Parameters
databasethe database where all new quantities are added to.
otherthe other mesh. The deviation will be computed between the design meshes with respect to this mesh. Each design mesh is obtained by modifying the coordinates of the mesh stored in database. Then the deviation between /a other and this design mesh is computed.

◆ getDesignList()

DataObjectContainer::string_vector_type getDesignList ( ) const

determins a minimal list of possible designs

Returns
a vector of design sidents

Connect with Ansys