Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
22 feb 2017, 14:20 GMT-5
In COMSOL, you can type in spatially-varying functions for your material properties.
If, for instance, you want an electric conductivity to vary as 1+x, simply type 1+x in the text field for the electric conductivity.
There are many pre-implemented mathematical functions for you to use. Please refer to the Reference Manual for COMSOL Multiphysics, version 5.2a, around page 232.
Best,
Jeff
In COMSOL, you can type in spatially-varying functions for your material properties.
If, for instance, you want an electric conductivity to vary as 1+x, simply type 1+x in the text field for the electric conductivity.
There are many pre-implemented mathematical functions for you to use. Please refer to the Reference Manual for COMSOL Multiphysics, version 5.2a, around page 232.
Best,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 04:17 GMT-5
Thanks for your reply. Unfortunately values can not be define by a function.
Thanks for your reply. Unfortunately values can not be define by a function.
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 07:56 GMT-5
How are they defined?
Jeff
How are they defined?
Jeff
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 08:43 GMT-5
They are defined by a matrix. for each voxel there is a different value.
They are defined by a matrix. for each voxel there is a different value.
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 09:08 GMT-5
You have several possibilities. Off the top of my head: interpolation functions, image functions and calling a MATLAB function (that last one assumes you have LiveLink for MATLAB on your license). See the COMSOL Multiphysics Reference Manual's section on functions for more info on these options.
Best,
Jeff
You have several possibilities. Off the top of my head: interpolation functions, image functions and calling a MATLAB function (that last one assumes you have LiveLink for MATLAB on your license). See the COMSOL Multiphysics Reference Manual's section on functions for more info on these options.
Best,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 10:23 GMT-5
I think Interpolation function can help in this case. Thank you very much for your help!
I think Interpolation function can help in this case. Thank you very much for your help!
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
23 feb 2017, 12:05 GMT-5
Hello,
Just to supplement Jeff's response, an interesting post to look into (Walter Frei's response).
www.comsol.it/community/forums/general/thread/1381
Suresh
Hello,
Just to supplement Jeff's response, an interesting post to look into (Walter Frei's response).
https://www.comsol.it/community/forums/general/thread/1381
Suresh