Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Creating (and using) an involute coordinate system
Posted 1 mag 2013, 11:48 GMT-4 Materials, Parameters, Variables, & Functions, Results & Visualization Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
I've defined an involute coordinate system using an interpolation function. For an unstructured grid of x and z coordinates, I have defined two new coordinates t_coord and h_coord which have vectors everywhere parallel to a circular involute and everywhere perpindicular to a circular involute, respectively.
I can't figure out to make COMSOL recognize them as a new reference frame however. For instance, in the general projection model coupling feature I would like to be able to use t_coord and h_coord as my directions of value storage and integration. Also, in output plots I would like to be able to enter them as expressions to use along my x and y plot axes.
I've tried making variables out of the interpolation functions (t_coord_var = t_coord(x,z) ...) but that still does not seem to work. I've also tried making a new coordinate system with the option under "definitions" using these new coordinates, but that doesn't seem to work either. It's also possible that one of these methods have worked but I am calling the resultant variables by the wrong thing when attempting to access them later. But, for instance, if the variable t_coord_var is valid then I would think I should be able to access it simply by typing "t_coord_var" into the coordinate expression field.
Any help is appreciated.
Thanks
Adam
I can't figure out to make COMSOL recognize them as a new reference frame however. For instance, in the general projection model coupling feature I would like to be able to use t_coord and h_coord as my directions of value storage and integration. Also, in output plots I would like to be able to enter them as expressions to use along my x and y plot axes.
I've tried making variables out of the interpolation functions (t_coord_var = t_coord(x,z) ...) but that still does not seem to work. I've also tried making a new coordinate system with the option under "definitions" using these new coordinates, but that doesn't seem to work either. It's also possible that one of these methods have worked but I am calling the resultant variables by the wrong thing when attempting to access them later. But, for instance, if the variable t_coord_var is valid then I would think I should be able to access it simply by typing "t_coord_var" into the coordinate expression field.
Any help is appreciated.
Thanks
Adam
1 Reply Last Post 1 mag 2013, 14:44 GMT-4