


{"id":294559,"date":"2023-07-24T16:42:14","date_gmt":"2023-07-24T16:42:14","guid":{"rendered":"\/forum\/forums\/reply\/294559\/"},"modified":"2023-07-24T16:42:14","modified_gmt":"2023-07-24T16:42:14","slug":"294559","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/294559\/","title":{"rendered":"Reply To: Apply variable young modulus along radial axis in a hemisphere"},"content":{"rendered":"<p>&lt;p&gt;Aniket,&lt;\/p&gt;&lt;p&gt;I do appreciate your reply. I will check that.&lt;\/p&gt;&lt;p&gt;Beside that, I have been working to apply the variable elastic modulus as a user define function by writing a command in workbench. For now I kept it simple and considered my model as a block and just used a simple function for elastic modulus(EZ) to see how I can make the code worked. I am assuming that later for my hemisphere model, by generating element orientation and adding the element coordineate system, I should be able to solve my model in workbench and get what I need. Please correct me if I am wrong!&lt;\/p&gt;&lt;p&gt;Unfortunately, I am a novice with ansys commanding in workbench. So, I wrote the following commands with the help of some Ansys Tutorials. However I get error about not finding the Macro Library. I would really be appreciated if you could look into my code to see what is wrong with it.&nbsp; I guess my problem is that I don&#8217;t know if and how I need to open a Macro library and how I can assing the function to that library. Here are two images to show the code and error.&lt;\/p&gt;&lt;p&gt;<img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/07\/24-07-2023-1690216707-ansy2.png\" alt=\"\" width=\"1032\" height=\"582\" \/>&lt;\/p&gt;&lt;p&gt;<img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/07\/24-07-2023-1690216732-ansy1.png\" alt=\"\" width=\"429\" height=\"155\" \/>&lt;\/p&gt;&lt;p&gt;Thank you, again!&lt;\/p&gt;&lt;p&gt;Maral&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-294559","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/294559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/294559\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=294559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}