How can I use the function editor to obtain a half sine function?
The function below was created with the function editor. It correctly applies a sine function and uses the angular argument unit of radians. <EquationData ANSYS=100> <Comments> </Comments> <RegimeParameter> <Regime Var> </RegimeParameter> <AngularUnits type="0"> ! 0 = radian, 1 = degrees </AngularUnits> <CoordinateSystem type="0"> </CoordinateSystem> <FunctionType type="SINGLE"> </FunctionType> <Regime tab="0"> <TabTitle> Function </TabTitle> <Equation> sin(aaa*{TIME}) </Equation> <MaterialId active="0"> </MaterialId> <Constant number="1"> aaa </Constant> </Regime> </EquationData> <!-- ! ! ANSYS input ! :FUNC *DIM,%_FNCNAME%,TABLE,6,3,1,,,,%_FNCCSYS% ! ! Begin of equation: sin(aaa*{TIME}) %_FNCNAME%(0,0,1)= 0.0, -999 %_FNCNAME%(2,0,1)= 0.0 %_FNCNAME%(3,0,1)= %_FNC_C1(1)% %_FNCNAME%(4,0,1)= 0.0 %_FNCNAME%(5,0,1)= 0.0 %_FNCNAME%(6,0,1)= 0.0 %_FNCNAME%(0,1,1)= 1.0, -1, 0, 1, 17, 3, 1 %_FNCNAME%(0,2,1)= 0.0, -1, 9, 1, -1, 0, 0 %_FNCNAME%(0,3,1)= 0, 99, 0, 1, -1, 0, 0 ! End of equation: sin(aaa*{TIME}) !--> |
||
|