ansys.mapdl.core.Mapdl.mfouri#
- Mapdl.mfouri(oper='', coeff='', mode='', isym='', theta='', curve='', **kwargs)#
Calculates the coefficients for, or evaluates, a Fourier series.
Mechanical APDL Command: *MFOURI
- Parameters:
- oper
str
Type of Fourier operation:
FIT
- Calculate Fourier coefficientsCOEFF
fromMODE
,ISYM
,THETA
, andCURVE
.EVAL
- Evaluate the Fourier curveCURVE
fromCOEFF
,MODE
,ISYM
andTHETA
- coeff
str
Name of the array parameter vector containing the Fourier coefficients (calculated if
Oper
= FIT, required as input ifOper
= EVAL). See starset for name restrictions.- mode
str
Name of the array parameter vector containing the mode numbers of the desired Fourier terms.
- isym
str
Name of the array parameter vector containing the symmetry key for the corresponding Fourier terms. The vector should contain keys for each term as follows:
0 or 1
- Symmetric (cosine) term-1
- Antisymmetric (sine) term.
- theta
str
Names of the array parameter vectors containing the theta vs. curve description, respectively. Theta values should be input in degrees. If
Oper
= FIT, one curve value should be supplied with each theta value. IfOper
= EVAL, one curve value will be calculated for each theta value.- curve
str
Names of the array parameter vectors containing the theta vs. curve description, respectively. Theta values should be input in degrees. If
Oper
= FIT, one curve value should be supplied with each theta value. IfOper
= EVAL, one curve value will be calculated for each theta value.
- oper
Notes
Warning
This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.
Argument Descriptions
oper : str
- Type of Fourier operation:FIT
- Calculate Fourier coefficientsCOEFF
fromMODE
,ISYM
,THETA
, andCURVE
.EVAL
- Evaluate the Fourier curveCURVE
fromCOEFF
,MODE
,ISYM
andTHETA
coeff : str
- Name of the array parameter vector containing the Fourier coefficients (calculated ifOper
= FIT, required as input ifOper
= EVAL). See starset for name restrictions.mode : str
- Name of the array parameter vector containing the mode numbers of the desired Fourier terms.isym : str
- Name of the array parameter vector containing the symmetry key for the
- corresponding Fourier terms.
The vector should contain keys for each term as follows:
0 or 1
- Symmetric (cosine) term-1
- Antisymmetric (sine) term.
theta, curve : str
- Names of the array parameter vectors containing the theta vs. curve description, respectively. Theta values should be input in degrees. IfOper
= FIT, one curve value should be supplied with each theta value. IfOper
= EVAL, one curve value will be calculated for each theta value.
Calculates the coefficients of a Fourier series for a given curve, or evaluates the Fourier curve from the given (or previously calculated) coefficients. The lengths of the
COEFF
,MODE
, andISYM
vectors must be the same–typically two times the number of modes desired, since two terms (sine and cosine) are generally required for each mode. The lengths of theCURVE
andTHETA
vectors should be the same or the smaller of the two will be used. There should be a sufficient number of points to adequately define the curve–at least two times the number of coefficients. A starting array element number (1) must be defined for each array parameter vector. The vector specifications vlen, vcol, vabs, vfact, and vcum do not apply to this command. Array elements should not be skipped with the vmask and theNINC
value of the vlen specifications. The vector being calculated (COEFF
ifOper
is FIT, orCURVE
ifOper
is EVAL) must exist as a dimensioned array ( dim ).This command is valid in any processor.