{"id":885,"date":"2011-02-01T08:34:53","date_gmt":"2011-02-01T06:34:53","guid":{"rendered":"http:\/\/142.93.241.207\/?p=885"},"modified":"2011-02-01T08:41:24","modified_gmt":"2011-02-01T06:41:24","slug":"exporting-mesh-from-ansys-workbench-to-openfoam","status":"publish","type":"post","link":"https:\/\/www.albertopassalacqua.com\/?p=885","title":{"rendered":"Exporting mesh from Ansys Workbench to OpenFOAM"},"content":{"rendered":"<p style=\"text-align: justify;\">If you use Ansys<sup>\u00ae<\/sup> Workbench<sup>\u00ae<\/sup> to build your mesh, you probably noticed that the .msh file exported is binary, and cannot be converted properly by the OpenFOAM<sup>\u00ae<\/sup> converter fluentMeshToFoam. However there is a workaround. Simply set the variable<\/p>\n<p style=\"text-align: justify;\">export AWP_WRITE_FLUENT_MESH_ASCII=1<\/p>\n<p style=\"text-align: justify;\">before launching workbench, or add it to your ~\/.bashrc file. This will automatically force the mesher to save .msh files in ASCII format, which can be then imported as usual in OpenFOAM.<\/p>\n<p style=\"text-align: justify;\">Source: <a href=\"http:\/\/www.cfd-online.com\/Forums\/ansys-meshing\/72929-ansys-fluent-mesh-export-ascii-format.html \" target=\"_blank\">Simon Pereira @ CFD Online<\/a><\/p>\n<p style=\"text-align: justify;\"><em>This offering is  not       approved       or endorsed by OpenCFD    Limited, the producer of  the OpenFOAM       software  and  owner  of     the  OPENFOAM\u00ae \u00a0and        OpenCFD\u00ae \u00a0trade marks.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use Ansys\u00ae Workbench\u00ae to build your mesh, you probably noticed that the .msh file exported is binary, and cannot be converted properly by the OpenFOAM\u00ae converter fluentMeshToFoam. However there is a workaround. Simply set the variable export AWP_WRITE_FLUENT_MESH_ASCII=1 before launching workbench, or add it to your ~\/.bashrc file. This will automatically force the mesher to save .msh files in ASCII format, which can be then imported as usual in OpenFOAM. Source: Simon Pereira @ CFD Online This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM\u00ae \u00a0and OpenCFD\u00ae \u00a0trade marks.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-885","post","type-post","status-publish","format-standard","hentry","category-cfd","category-openfoam"],"_links":{"self":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=885"}],"version-history":[{"count":7,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/885\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/885\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}