1.8.1. Setting Up Your .p3rc Files

When you start Ansys Polyflow (or one of its modules), it will look in different files on the system in order to determine if a keyword has been defined. On Linux systems, it first looks in your personal .p3rc file located in your home directory, if such a file exists. On Windows systems, it looks for a file named .p3rc in the directory that you have defined with the %HOME% variable.

If it does not find all the keywords in your personal .p3rc file and you have not redefined the $Polyflow variable, it will look in the following file:

  • For Linux:

    path /ansys_inc/v242/polyflow/polyflow24.2. /.p3rc

  • For Windows:

    path \ANSYS Inc\v242\polyflow\polyflow24.2. \ ARCH \.p3rc

where path is the directory in which Ansys Polyflow has been installed, represents the appropriate number for the release (for example, 0 for polyflow24.2.0), and ARCH is the architecture (for example, win64). However, if you have redefined the $Polyflow variable, it will instead look in $Polyflow/.p3rc.

Note that it is possible to have Ansys Polyflow or Ansys Polydata access a personal .p3rc file located somewhere other than your home directory. To look for keywords in a file called mystartupfile, use the following command line option:

 polyflow -s mystartupfile 

or

 polydata -s mystartupfile 

It is recommended that you keep information that is shared by all users in the standard (common) .p3rc file in the Ansys Polyflow installation area that is accessed by all users. User-specific information (interface and memory management keywords) can be placed in a personal .p3rc file located in each user’s home directory.


Important:  Note that, if a keyword is defined in more than one .p3rc file, the one that Ansys Polyflow finds first (based on the search procedure described above) is the one that will be used.