FUN3D Analysis Interface Module (AIM)
FUN3D Analysis Interface Module (AIM)
Loading...
Searching...
No Matches
CFD Functional

Structure for the design functional tuple = {"Functional Name": "Expression"}. "Functional Name" defines the functional returned as a dynamic output. The "Value" must be a JSON String dictionary (see Section JSON String Dictionary).

For FUN3D, a functional in which the adjoint will be taken with respect to can be build up using:

Function Names Description
"cl", "cd" Lift, drag coefficients
"clp", "cdp" Lift, drag coefficients: pressure contributions
"clv", "cdv" Lift, drag coefficients: shear contributions
"cmx", "cmy", "cmz" x/y/z-axis moment coefficients
"cmxp", "cmyp", "cmzp" x/y/z-axis moment coefficients: pressure contributions
"cmxv", "cmyv", "cmzv" x/y/z-axis moment coefficients: shear contributions
"cx", "cy", "cz" x/y/z-axis force coefficients
"cxp", "cyp", "czp" x/y/z-axis force coefficients: pressure contributions
"cxv", "cyv", "czv" x/y/z-axis force coefficients: shear contributions
"powerx", "powery", "powerz" x/y/z-axis power coefficients
"clcd" Lift-to-drag ratio
"fom" Rotorcraft figure of merit
"propeff" Rotorcraft propulsive efficiency
"rtr" thrust Rotorcraft thrust function
"pstag" RMS of stagnation pressure in cutting plane disk
"distort" Engine inflow distortion
"boom" Near-field $p/p_\infty $ pressure target
"sboom" Coupled sBOOM ground-based noise metrics
"ae" Supersonic equivalent area target distribution
"press" box RMS of pressure in user-defined box, also pointwise $dp/dt,\; d\rho/dt $
"cpstar" Target pressure distributions

FUN3D calculates a functional using the following form: $
f = \sum_i (w_i *(C_i - C_i^*) ^ {p_i})
$
Where:
$f$ : Functional
$w_i$ : Weighting of function
$C_i$ : Function type (cl, cd, etc.)
$C_i^*$ : Function target
$p_i$ : Exponential factor of function

JSON String Dictionary

If "Value" is a JSON string dictionary (eg. "Value" = "Composite":[{"function": "cl", "weight": 3.0, "target": 10.7}, {"function": "cd", "weight": 2.0, "power": 2.0}])
which represents the composite functional: $Composite = 3 (c_l-10.7) + 2 c_d^2$
The following keywords ( = default values) may be used:

  • capsGroup = "GroupName"
    Name of boundary to apply for the function $C_i$.
  • function = NULL
    The name of the function $C_i$, e.g. "cl", "cd", etc.
  • weight = 1.0
    This weighting $w_i$ of the function.
  • target = 0.0
    This is the target value $C_i^*$ of the function.
  • power = 1.0
    This is the user defined power operator $p_i$ for the function.