• CFD,  OpenFOAM

    Exporting mesh from Ansys Workbench to OpenFOAM

    If you use Ansys® Workbench® to build your mesh, you probably noticed that the .msh file exported is binary, and cannot be converted properly by the OpenFOAM® 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®  and OpenCFD®  trade marks.