2D_Curves

define curves with two independent variables

2D curves are characterized by a vertical and a horizontal independent variable as well as one dependent variable. The first row is the horizontal variable (dhj, padded by a void 0.0 at the beginning). The first column is the vertical variable (dvi). Both variables have to be sorted ascendingly. The values inside the table (rij) represent the corresponding results.
begin_curve{$CurveName$}, depvar_horizontal{...}, depvar_vertical{...} 0.0 dh1 dh2 ... dhm dv1 r11 r12 ... r1m dv2 r21 r22 ... r2m . . . . . . . . . . . . . . . dvn rn1 rn2 ... rnm end_curve
Example: impact angle depending on velocity magnitude and mean diameter
begin_curve{$angle_of_impact$}, depvar_horizontal{equn{$velocity_magnitude$}}, depvar_vertical{equn{$mean_diameter_micrometers$}} 0.0 0.0 22.0 32.0 45.0 56.0 63.0 77.0 10.0 0.0 0.0 0.0 0.0 0.01 0.01 0.01 54.0 0.0 0.98 1.50 2.66 3.56 4.69 5.93 107.5 0.0 10.42 15.92 28.24 37.90 49.84 63.11 152.5 0.0 32.04 48.94 86.80 116.52 153.22 194.00 215.0 0.0 91.73 140.10 248.51 333.57 438.65 555.40 427.5 0.0 634.38 968.87 1718.59 2306.84 3033.49 3840.88 605.0 0.0 1522.37 2325.07 4124.23 5535.88 7279.68 9217.24 855.0 0.0 3426.73 5233.56 9283.34 12460.85 16386.02 20747.32 end_curve
Note:
  • Instead of references to equations by equn{...}, also references to MESHFREE variables can be used, i.e. depvar_horizontal{%ind_...%}.
  • Currently, it is not possible to use Equations in the horizontal (dhj) and vertical (dvi) variables, i.e. equn{...} or []. This is only possible for the results (rij).
  • However, a ConstructClause can be used to define aliases that can be referenced in the horizontal and vertical variables, c.f. 1D_Curves for an example.
List of members:
depvar_horizontal defines the index for the horizontal independent variable in 2D curves
depvar_vertical defines the index for the vertical independent variable in 2D curves