


{"id":355038,"date":"2024-03-04T08:00:20","date_gmt":"2024-03-04T08:00:20","guid":{"rendered":"\/forum\/forums\/reply\/355038\/"},"modified":"2024-03-04T08:00:20","modified_gmt":"2024-03-04T08:00:20","slug":"355038","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/355038\/","title":{"rendered":"Reply To: coupled simulation of vehicle and fluid tank"},"content":{"rendered":"<p>&lt;div&gt;real fluid_force_x = 10.0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; real fluid_force_y = 0.0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; real fluid_force_z = 0.0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; real fluid_moment_x = 0.0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; real fluid_moment_y = 5.0;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; real fluid_moment_z = 0.0;&lt;\/div&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; Thread *t;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; face_t f;&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; cell_t c;&lt;\/div&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/* Loop over all cells *\/&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; begin_c_loop(c, t)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;\/div&gt;&lt;div&gt;showing error in step 2 for real fluid force and moments in x,y,z direction showing parse error and showinfg t as undeclared variable.&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-355038","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/355038","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\/355038\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=355038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}