the MATC expression has a length limit of 128 characters (viewtopic.php?f=3&t=110).
For expressions longer than 128 characters, we have to formulate a function (the function feature in elmer has no limit in length) and link it as a function in MATC expression, as shown in the following examples.
1. In, viewtopic.php?f=3&t=4070 ,
Code: Select all
Heat Source = Variable Coordinate 1, Coordinate 2, Time; Real MATC "test(tx)"
2. In, https://github.com/anilkunwar/elmerfem/ ... oKthml.sif,
Code: Select all
Heat conductivity(3,3) = Variable Coordinate 1, Coordinate 2
Real MATC "test(tx)"
The name of the function is arbitrary:
anyfuncname(y), where y is arbitrarily chosen (= it can be any alphabet), and within MATC expression, it is written as : anyfuncname(tx)
Yours Sincerely,
Anil Kunwar