Ansys preliminary development preliminary knowledge

The ANSYS program of ANSYS program is a powerful and versatile finite element analysis program. It also has good openness. Users can perform function expansion and system integration on the standard ANSYS version according to their needs. Generate ANSYS programs with industry analysis features and user versions that meet user needs. The development function consists of four components:

Parametric Programming Language (APDL)

User Interface Design Language (UIDL)

User Program Features (UPFs)

ANSYS data interface <br> <br> parametric programming language (APDL)

The parametric programming language consists essentially of a programming language part similar to FORTRAN77 and more than 1000 ANSYS commands. Among them, the programming language part has the same parameters as other programming languages, including parameters, array expressions, functions, flow control (loops and branches), repeated execution commands, abbreviations, macros, and user programs. The standard ANSYS program is driven by more than 1000 commands. These commands can be written into a program written in the programming language. The parameters of the command can be assigned values, or they can be assigned by the result of the expression or the parameters. From the function of the ANSYS command, they correspond to the definition of the geometric model, the division of the cell grid, the material definition, the addition of loads and boundary conditions, the control and execution of the solution and the post-processing calculation results in the ANSYS analysis process.

Users can use the programming language to organize the ANSYS commands and write the parameterized user program to realize the whole process of finite element analysis, that is, to establish a parameterized CAD model, parameterized meshing and control, and parameterized materials. Definition, parameterized load and boundary condition definition, parametric analysis control and solution, and parameterized post-processing.

A macro is a combination of commands with a special function. It is essentially a parameterized user applet that can be treated as an ANSYS command with or without input parameters.

Abbreviation is an alternative name of a command or macro. It has a one-to-one correspondence with the replaced command or macro. In ANSYS, the two are completely equivalent, but the abbreviation is more in line with the user's habits, easier to remember, and less tapping the keyboard. The number of times. The ANSYS toolbar is a good example of abbreviations.

User Interface Design Language (UIDL)

The standard ANSYS interactive graphical interface can drive ANSYS commands, provide various input parameter interfaces and control switches for commands, and the user performs finite element analysis at the graphics driver level. The whole process becomes intuitive and easy. User Graphical Interface Design Language (UIDL) is to write or modify ANSY

The special design language of the graphical interface mainly completes the design of the following three graphical interfaces:

The main menu system and menu item dialog box and pick-up dialog help the system through the user interface design language (UIDL), the user can expand the ANSYS function while establishing the corresponding graphical driver interface, such as adding menu items in a certain position of the main menu, Design corresponding dialog boxes, pick-up dialog boxes, realize parameter input and control of other program operations, and provide corresponding online help, so that operators can easily obtain system help.

User Program Features (UPFs)

User Program Features (UPFs) provide users with a rich set of FORTRAN77 user program development subroutines and functions that users can use to extend the functionality of ANSYS from the level of source code. Using these subroutines and functions, the source code program for writing user functions is recompiled and linked on a FORTRAN or C++ compiler that matches the ANSYS version requirements to generate a user version of the ANSYS program. In addition, an external command function is provided to allow users to create shared libraries that ANSYS can utilize. Users can develop functional programs in the following areas:

Next page

Aluminum Alloy Handle

Aluminum Alloy Handle,Circular Door Handle,Invisible Door Handle,Bathroom Glass Door Handle

Zhaoqing Muyi Hardware Products Co., Ltd , https://www.muyihardware.com