How to edit user function
Hi,
When trying to create new geometric or I/O parameter using formula, there is the option of 'User function'. How do I create and use my own function 'func' such that I can use it like I use the function 'Sin'? (I tried 'Edit user function' but don't know what to do next...)
For example, I want to use such a function (just as an example, function can be something else and much more complicated):
func(para1, para2, para3)
return(para1**(para3-para2))
Hope I made my question clear.
Kind regards,
Chen
Find more posts tagged with
Hi,
About your formula, in this case you don’t need to use the « user function ». You can create your parameter using the equation editor of Flux.
About the function “User” in Flux, you can use it when you have some kind of algorithm or program. For example:
If X>0
Y=X^2-1
Else
Y=0
Hope this will help.
Best regards.
Thank you this it exactly what I wanted to do! So how can I realize this by 'User' in Flux?
Hi,
About your formula, in this case you don’t need to use the « user function ». You can create your parameter using the equation editor of Flux.
About the function “User” in Flux, you can use it when you have some kind of algorithm or program. For example:
If X>0
Y=X^2-1
Else
Y=0
Hope this will help.
Best regards.
Hi could you please show how to do this in Flux? Thank you.
Hello,
Here is an example of a groovy function.
FYI, only customers under maintenance have access to the support. In this case Qchen seems to belong to a Chinese university so the correct mail to use for him should be flux_support_apac@altair.com.
Best regards
Hi,
About your formula, in this case you don’t need to use the « user function ». You can create your parameter using the equation editor of Flux.
About the function “User” in Flux, you can use it when you have some kind of algorithm or program. For example:
If X>0
Y=X^2-1
Else
Y=0
Hope this will help.
Best regards.