{"id":165267,"date":"2023-03-17T08:59:51","date_gmt":"2023-03-17T08:59:51","guid":{"rendered":"\/knowledge\/forums\/topic\/i-want-to-calculating-lorentz-force-based-upon-my-own-user-modified-b-field-for-subsequent-use-in-structural-analysis-ae-i-need-a-procedure-for-a-manual-ldreadforc-do-you-have-an-example\/"},"modified":"2023-07-31T12:30:55","modified_gmt":"2023-07-31T12:30:55","slug":"i-want-to-calculating-lorentz-force-based-upon-my-own-user-modified-b-field-for-subsequent-use-in-structural-analysis-ae-i-need-a-procedure-for-a-manual-ldreadforc-do-you-have-an-example","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/i-want-to-calculating-lorentz-force-based-upon-my-own-user-modified-b-field-for-subsequent-use-in-structural-analysis-ae-i-need-a-procedure-for-a-manual-ldreadforc-do-you-have-an-example\/","title":{"rendered":"I want to calculating Lorentz force based upon my own user-modified B field for subsequent use in structural analysis \u00e2\u20ac\u201c I need a procedure for a &#8220;manual&#8221; LDREAD,FORC. Do you have an example demonstrating such a procedure?"},"content":{"rendered":"<p>If you need to obtain Lorentz forces using a modified value of B superimposed on that which is calculated by modeled current sources, I think you will need to perform a cross product using element centroidal values with the VCROSS command, and then average the centroidal values at corner nodes. All this will have to be done with APDL. I expect you will have to write F commands to a command file using *CFOPEN, *CFWRITE, and *CFCLOSE, then read the command file into ANSYS after converting to a structural model.   Try the attached input file. After the transient electromagnetic run, I read the last results set and added a constant value to the x component of the B field. I did all the cross product calculation with centroidal data (all of it read in with the ETABLE command), and then averaged the centroidal data at nodes. I wrote nodal forces to a command file which was subsequently read into a structural model.<\/p>\n","protected":false},"template":"","class_list":["post-165267","topic","type-topic","status-publish","hentry","topic-tag-4653","topic-tag-low-frequency","topic-tag-mechanical-apdl-f-ansys","topic-tag-multiphysics-and-emag-apdl","topic-tag-structural-mechanics"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["3\/15\/2023 20:20"],"_bbp_forum_id":["27789"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["834"],"siebel_km_number":["626049"],"product_version":["11"],"km_published_date":["2007-05-18T00:00:00.000Z"],"family":["Structural Mechanics"],"application_name":["Mechanical APDL (f. ANSYS)"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/165267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/165267\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=165267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}