PCL and Customization > Modifying the Database Using PCL > Loading Definitions for MSC Supported Preferences
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Loading Definitions for MSC Supported Preferences
MSC supplies a number of PCL functions which will load the analysis code specific definitions required for each of the MSC supported interfaces. These functions make it easy for the user to create his own template database instead of using $P3_HOME/template.db which is excessively large and complex. The general steps for creating a new template database are:
1. Within Patran, open a new database using $P3_HOME/base.db as the template. You could call this new database “<analysis_code>.db,” (e.g., “mscnastran.db”).
2. In the Patran command line, type the command “load_<analysis_code>(),” (e.g., “load_mscnastran()”). The complete list of the available commands is given below.
3. When the command is finished (heart beat is green), close the database, saving it as a new template database.
4. When opening a new database, choose the newly created template database, instead of $P3_HOME/template.db
The complete list of MSC supplied loading functions is:
load_mscnastran()
for Patran MSC Nastran
load_marck5()
for MSC.Marc (K5)
load_marc()
for MSC.Marc (pre K5)
load_ansys5()
for Patran ANSYS (Revision 5.0)
load_ansys()
for Patran ANSYS (pre Revision 5.0)
load_abaqus()
for Patran ABAQUS
load_dyna3d()
for Patran LS-DYNA3D
load_padvancedfea()
for Patran Advanced FEA
load_pfea()
for Patran FEA
load_pcfd()
for Patran CFD
load_pthermal()
for Patran Thermal
load_pteam()
for Patran TEAM
load_samcef()
for Patran SAMCEF
load_patran2nf()
for PATRAN 2 Neutral File Preference
These functions can be used on any database which does not already contain definitions for the particular interface. Any number of interfaces can be added to a database at any time, even after the model has been created.