Ansys preliminary knowledge of secondary development (2)

The development user subroutine implements extracting data from the ANSYS database or writing the data to the ANSYS database. The seed program can be compiled and connected to ANSYS. At this time, ANSYS provides 10 database operation commands; if it is handled as an external command, it can be run in any module of ANSYS;

Use subroutines provided by ANSYS to define various types of loads, including BF or BFE loads, pressure loads, convection loads, heat fluxes, and charge densities;

Use subroutines provided by ANSYS to define various material properties, including plasticity, creep, expansion, viscoplasticity, superelasticity, and layer element failure criteria;

Use the subroutine provided by ANSYS to define the new unit and adjust the node direction matrix;

Modify or control the units in the ANSYS cell library using subroutines provided by ANSYS;

User optimization is created using UEROP; the ANSYS program is called as a subroutine in the user program.

ANSYS data interface

The ANSYS program has a large amount of design analysis data during the analysis process. Some of them are placed in the memory of the computer at runtime, and some are stored in the working directory as files. Except for text files such as LOG files and error files, other files are binary files, which are written in different formats, such as: database files, result files, modal result files, unit matrix files, substructure matrix files, Diagonal stiffness matrix files, reduced displacement matrix files, reduced frequency matrix files, and complete stiffness-mass matrix files, and more. The ANSYS data interface elaborates on the format of each binary file, and then introduces subroutines or functions that extract various data from these data files to read, write, and modify binary data. Obviously, it satisfies the user's three basic needs: checking or observing process data or result data; controlling or correcting the calculation by modifying the ANSYS data file; and extracting the result data for analysis and processing.

The ANSYS data interface provides two model and database information conversion and transfer commands, namely CDREAD and CDWRITE. The former reads a model and database file information in accordance with ANSYS read or write format into the ANSYS database. exactly the opposite. At the same time, in order to reduce the conversion or transfer time and improve efficiency, it also provides redirection degree of freedom mapping and other database coded auxiliary commands, such as /DFLAB, NBLOCK, EBLOCK, EN and so on. This function greatly improves the transfer and conversion of model data between ANSYS and other finite element programs, and also realizes the convenience of storage or machine transfer between ANSYS's own database files.

The ANSYS data interface also describes the format of the graphics file, helping users convert ANSYS graphics files into other formats, such as AI.

Previous page

Double Handle Kitchen Mixers

Double Handle Kitchen Mixers,Modern Double Handle Kitchen Mixers,Double Handle Deck Mounted Kitchen Faucet

Wenzhou Yili Sanitary Ware Co., Ltd. , http://www.cn-faucet.com