Caution: | If using degree-based trigonometric functions in your PCL expression, and the angular input is to be derived from a nodal or element position, Patran will internally return such angles in radians. Therefore, you will need to include a radians-to-degrees conversion factor in your expression, i.e. instead of sind( ‘T ), you will need to use sind( ‘T * 180/3.14159 ). You can also use radian-based trigonometric functions. |
Caution: | When creating Fields in Cylindrical and Spherical Coordinate Frames be aware of problems associated with discontinuities present in function and angle definition. These usually occur at degrees. For example, defining a Field from 0 to 360 degrees, and applying it where the internally defined angle abruptly changes from +180 degrees to -180 during the application. |
Caution: | Tabular theta values must fall between and . Values outside of this range are not valid. (This restriction does not apply to complex field phase values.) |
PCL Function | A unique name for the field should be entered by selecting the Field Name box. The Field Type (scalar or vector) is now selected, followed by the Coordinate System Type (real or parametric). The appropriate coordinate system for the field is chosen and indicated in the Coordinate System box. For parametric, this is the parametric coordinate system of the single geometrical entity specified. Fields using parametric coordinate systems are evaluated in the parametric coordinate system of the single geometrical entity specified. The PCL function(s) defining the field is (are) now input into the scalar or vector field function box(es). Any valid PCL expression may be used to define the field values. Valid independent variables for the functions are (c1, c2, c3) for parametric fields, and (X, Y, Z), (R, T, Z) and (R, P, T) for rectangular, cylindrical and spherical real fields, respectively. |
Tabular Input | A unique name for the field should be entered by selecting the Field Name box. The Field Type (scalar or vector) is not active for tabular input, as only scalar fields are permitted. The Coordinate System Type buttons (real or parametric) actually provide three types of fields: real tabular input, parametric tabular input, and endpoints only parametric tabular input. These three types are described below: • Real Tabular Input. This option permits the creation of one-, two- or three-dimensional scalar fields from tabular input. These fields are defined over the real space defined by the selected coordinate system. The dimensionality is determined by the Active Independent Variables selected. Independent variables are entered in the first row and column as well as an additional databox depending on the dimensionality of the table. The options button opens a form to specify the maximum number of entries into the table. (The default value is 30.) The operation of the data table forms is described in more detail in Data Tables, 192. • Parametric Tabular Input. This option is very similar to Real Tabular Input described above, except that the space is determined by the parametric directions of the single geometrical entity specified. The dimensionality of the field defines the geometric entity required (i.e., a two-dimensional field is applied to a patch). This option is available only when the Endpoints Only button at the bottom of the fields form is not selected. • Endpoints Only Parametric Tabular Input. This is the default spatial parametric field type. This field supplies a linear variation between values applied to the points c = 0 and c = 1 of the single geometrical entity specified. The dimensionality of the field defines the geometric entity required (i.e., a two-dimensional field is applied to a patch). |
General Field | See General Fields, 195 for detailed description. |
FEM | There are two types. 1. Continuous FEM Fields can be evaluated on any point in space over which they are defined. 2. Discrete FEM Fields can only be evaluated at defined points in space. A unique name for the field should be entered by selecting the Field Name box. • For a Continuous FEM field, select the “Continuous” FEM Field Definition switch. The Field Type (scalar or vector) is now selected. Select the group containing the mesh which defines the field. Note that the desired result (scalar or vector) must be displayed on the mesh. A vector field is created from vector markers plotted on the mesh, while a scalar field is created from a fringe plot of the scalar value. The “Options” form allows definition of the extrapolation option (used when the field is evaluated at a point outside the mesh region), and the 2D to 3D extrapolation feature. 2D to 3D extrapolation will set the value of the field constant along a given axis. • For a Discrete FEM Field, select the “Discrete” FEM Field Definition switch. The Field Type (scalar or vector) is now selected. Select the “Entity Type” (Node or Element) next and the “Input Data” button. The spreadsheet widget requires the creation of a table of node or element ids and values. Nodes or elements may be selected or typed in, and may not be combined in a single field. The values must be typed in, and will be automatically formatted to scalar or vector form. |
1D Table | The left-hand column of the table contains the independent variable. It is labeled with its parametric or real spatial axis. Data is entered by selecting the desired cell, which automatically activates the Input databox. Data typed into the box is stored in the cell when return is pressed, and the cell below is then automatically selected. Any other cell may be selected with the mouse. Numbers larger than the cell display will be entered in exponential format. |
2D Table | The left-hand column of the table contains the first independent variable, while the top row contains the second. Both are labeled with the corresponding parametric or real spatial axis. The top left cell naturally accepts no input. Data is entered by selecting the desired cell, which automatically activates the Input databox. Data typed into the box is stored in a cell when <return> is pressed, and the cell below is then automatically selected. Any other cell may be selected with the mouse. Numbers larger than the cell display will be entered in exponential format. |
3D Table | The left-hand column of the table contains the first independent variable, while the top row contains the second. The third independent variable is shown and controlled via the databox below the table; it defines the layers of tabular data. The row, column and databox are all labeled with the corresponding parametric or real spatial axis. As in the 2D case, the top left cells accept no input. The first two independent variables are entered by selecting the desired cell, which automatically activates the Input databox. Data typed into the box is stored in a cell when return is pressed, and the cell below is then automatically selected. Any other cell may be selected with the mouse. Numbers larger than the cell display will be entered in exponential format. The third independent variable is entered by selecting the databox at the bottom of the form. Different values may be entered for each layer of data. Layers are controlled by the two arrow buttons. |
Tabular Input | A unique descriptive name for the field should be entered by selecting the Field Name box. The Active Independent Variable for the field must now be chosen. A tabular non-spatial real-valued field may be a function of time, frequency, temperature, displacement, velocity, or a user-defined variable. A tabular non-spatial complex-valued field must be a function of frequency. Selecting the Input Data button displays the tabular input data form. The data entry rules for real-valued non-spatial fields are similar to those for the 1D case explained above in Data Tables, except that a PCL function may also be used to fill the data table. If PCL function input is desired, select the Map Function to Table button and the PCL function form will open. Any valid PCL function may be entered into the PCL Expression box. Note that the independent variable (“t “, “f “, “T”, “u”, “v”, or “UD”) in this expression must always be preceded by a “' “. Filling in the Start, End and Number of Points boxes will define points uniformly spaced with respect to the independent variable. Selecting the Use Existing...Points button will cause the function to be evaluated at all points previously entered in the table. Selecting Apply in the Map Function to Table form causes the function values to be mapped to the table. The data entry rules for complex-valued non-spatial fields differ from those of real-valued non-spatial fields in the following respects: first, you have the option to select the complex data format. It may be Real-Imaginary, Magnitude-Phase (degrees), or Magnitude-Phase (radians). Second, you (obviously) need to define two ordinate values instead of one. Spreadsheet data entry via the input databox works as it does for real-valued fields, but you also have the option (if cells from both complex component columns have been selected) to enter two values, or a complex expression, so that both columns may be loaded simultaneously. Finally, the Map Function To Table form that is displayed for complex fields is used to load one ordinate spreadsheet column at a time because PCL does not recognize complex expressions. The Options button allows the user to set the number of independent variables and the extrapolation procedure to be used for the field. The Apply button in the Fields form must be selected after entering data to create and store the field defined. |
Discrete FEM (SAMCEF Only) | A unique descriptive name for the field should be entered by selecting the Field Name box. Select the “Entity Type” (Node or Element). Select the “Active Dynamic Variable” of “Time(t)” or “Frequency(f)”. Select the “Input Data” button to enter the field data into the spreadsheet. The spreadsheet widget requires the creation of a table of node or element ids and values. Nodes, elements, element faces, element edges or element vertices may be selected or typed in. Nodes and elements may not be combined in a single field. The values must be typed in. Presently, only scalar values are allowed. The spreadsheet data is entered by layers. Each layer represents a different time or frequency value. Time or frequency must increase or stay the same with increasing layer numbers before the “Apply” button is selected on the main Fields form. If layer data is entered out of order, the “Sort Layers in Ascending Order” button may be used before selecting “Apply”. Layers or rows may be added or deleted by using the other button options on the spreadsheet form. |
Important: | While the function expression may be entered into the textbox, or edited via the keyboard, editing of a PCL function term will result in an error. A PCL function term (a term with an integer prefix) has argument data associated with it. Because of this, the modification of a function term must be done with the Modify Highlighted Function button. To modify a PCL function term, first highlight the desired term (double clicking the term will do). Selecting the Modify Highlighted Function button will display the corresponding form and any current data. Modifications will be stored when “OK” is selected. |
Note: |
Important: | The FEM field group/results should not be deleted before evaluation has taken place, as the field has no means of interpolation without the mesh. |
Important: | The original field will be deleted in all cases. To create a new field without deleting the old, refer to Create, 189. |
Input Data Databox | The Input Data databox is used to enter data into the spreadsheet. First one or more cells must be selected, and then data is entered into the databox. The keyboard “Enter” key causes the data to be copied into the cells. When a single cell is selected, the contents of the cell are copied to the databox. By default, if more than one cell is selected, the databox is cleared. Users who prefer that the upper leftmost selected cell contents be copied to the databox may do so by adding the following to their settings.pcl file: pref_env_set_logical("fields_spreadsheet_multicell", TRUE ) |
Auto Highlight Toggle | This toggle controls the behavior of the Input Data databox when a spreadsheet cell is selected. It is off by default. When a cell is selected, the contents of the cell are placed into the Input Data databox. If the toggle is off, it is not highlighted (selected) in the databox. If the toggle is on, it is. Users who prefer to default the toggle on may do so by adding the following to their settings.pcl file: pref_env_set_logical( "fields_spreadsheet_auto_highlight", TRUE ) |
Import/Export Button | Allows import and export of comma separated value (CSV) files. This provides compatibility with popular spreadsheet programs such as Microsoft Excel. See below for details. |
Undo Button | This button will undo the last change made to the spreadsheet. There is no limit to the number of undo-s that can be done. Closing the form, selecting an existing field from the main form or using Import cannot be undone and reset the undo level to zero. |
X,Y,Value
1.0000000E+000, 1.0000000E+001, 9.1000000E+001
1.0000000E+000, 2.0000000E+001, 9.4000000E+001
2.0000000E+000, 1.0000000E+001, 9.2000000E+001
2.0000000E+000, 2.0000000E+001, 9.5000000E+001
3.0000000E+000, 1.0000000E+001, 9.3000000E+001
3.0000000E+000, 2.0000000E+001, 9.6000000E+001
3.0000000E+000, 4.0000000E+001, 9.8000000E+001
Note: | Currently, Show is not enabled for the General Field. |