Using special functions (bessel, gamma, etc) in parsed expressions #29677
-
Check these boxes if you have followed the posting rules.
QuestionHi, I was wondering if there was a way to use special functions in MOOSE. I looked at the function parser documentation: http://warp.povusers.org/FunctionParser/fparser.html#literals and saw that it only really covers basic ones like sin/tan/etc. I was wondering if there is a way to implement gamma, bessel functions, etc without needing to use an approximation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 25 replies
-
Hello I don't think they can be used in parsed expressions. |
Beta Was this translation helpful? Give feedback.
-
The function parser is quite easy to extend. This would have to be done in libmesh to get the derivatives implemented as well. If there is interest I could add bessel functions etc. However the standard library only supports a subset of those functions. What exactly do you need? |
Beta Was this translation helpful? Give feedback.
I'm not sure why I did not get notifications on this thread. Sorry about that.
yes that's all you need to do
If you need to define a BC, why are you creating a Material? I think you might want to create a BC object instead
hM is defined by the material. So effectively I d …