Patran的PCL用户手册 - 图文(2)

2019-03-10 22:21

fem_geom_edge_length(…) ............................................................................................................................. 179 fem_geom_face_area(…) .................................................................................................................................. 179 fem_geom_elem_volume(…) ............................................................................................................................ 179 fem_geom_elem_location(…) .......................................................................................................................... 180

Appendix D ............................................................................................................................. 181 Form Spacing Parameters (appforms.p) ......................................................................................................... 181 * SPACING .................................................................................................................................................... 182 Appendix E .............................................................................................................................. 207 MSC.Patran Architecture .................................................................................................................................. 207 Appendix F .............................................................................................................................. 209 Shareware Compiling Functions ..................................................................................................................... 209 Appendix G ............................................................................................................................. 212 Parametric Patran .............................................................................................................................................. 212 Appendix H ............................................................................................................................. 218 Additional List Processor Notes ...................................................................................................................... 218 List Processor Mechanics ................................................................................................................................................ 219 List Processor Functions ................................................................................................................................................. 220 List Processor Sublist Functions ..................................................................................................................................... 221 List Processor Attribute Functions .................................................................................................................................. 222 Miscellaneous List Processor Functions ......................................................................................................................... 223 List Processor Examples ................................................................................................................................................. 224 Easy to Use List Processor Functions ............................................................................................................................. 228 Appendix I ............................................................................................................................... 229 Key Mapping ...................................................................................................................................................... 229 Appendix J .............................................................................................................................. 232 Widget Classification ........................................................................................................................................ 232 Appendix K ............................................................................................................................. 235 User Defined AOM ............................................................................................................................................. 235

MSC.Patran PCL Workshop Notes 04/13/16 6/236

In a Nutshell

What is PCL?

? ?

PCL stands for Patran Command Language Comprehensive, fully functional computer programming language

Specifically and uniquely suited for MCAE applications Delivered as a part of MSC.Patran Versatile and easy to use

? ? ?

MSC.Patran PCL Workshop Notes 04/13/16 7/236

In a Nutshell

What can PCL be used for?

?

Integrate application or site-specific programs with the MSC.Patran user interface and database

Generate parametric/variational models for design/optimization Integrate commercial and/or in-house analysis codes with MSC.Patran

Display custom graphics Access the MSC.Patran database

Create new and/or enhanced MSC.Patran functionality Database management for analysis files Eliminate tedious, repetitive procedures

? ?

? ? ? ? ?

MSC.Patran PCL Workshop Notes 04/13/16 8/236

In a Nutshell

How does PCL work?

?

All MSC.Patran commands are first interpreted by the PCL command interpreter

PCL expressions are interpreted by a C program

PCL functions can be compiled into libraries (more efficient binary representation) and “linked” with a MSC.Patran session “Built-in” PCL functions are written in C or FORTRAN MSC.Patran forms and menus can be created via PCL calls to Xlib, the X-window function library

FORTRAN and C functions can be “linked” with MSC.Patran through PCL

? ?

? ?

?

You MSC.Patran PCL C, C++ Fortran Other

MSC.Patran PCL Workshop Notes 04/13/16 9/236

In a Nutshell

All you really need to know is on this page!

Documentation

?

PCL and Customization - General programming guide for PCL. How to build forms, compile, manage libraries, access the database, read/write files, etc.

PCL Reference – Description of functions written to the session file.

Develop: The MSC.Patran Toolkit – Documentation of additional functions for database access, etc.

Documentation PCL & Customization, chapters 2 & 3 ?

?

Programming Task Basic programming Comments Math functions, string functions, file access functions, compiling, library management, etc. Functions for creating forms Functions for parsing a string or picklist, i.e., “Elm 1:9:2” All functions written to the session file Functions for drawing graphic primitives such as lines, arrows, text, etc. Functions to access data in the database (i.e., node coordinates, element connectivity, element properties, etc.) Functions for creating analysis preferences Graphical user interface List processor Applications, session file, result utilities Graphics PCL & Customization, chapter 5 PCL & Customization, chapter 5.5 PCL Reference Guide PCL & Customization, chapter 3.2 PCL & Customization, chapter 8 Database functions Architecture PCL & Customization, chapters 6 & 7

MSC.Patran PCL Workshop Notes 04/13/16 10/236


Patran的PCL用户手册 - 图文(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:12年7月劳动法串讲资料

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: