CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Cannot convert Ansys .msh to OpenFoam (https://www.cfd-online.com/Forums/openfoam-meshing/248121-cannot-convert-ansys-msh-openfoam.html)

Aarib February 25, 2023 16:01

Cannot convert Ansys .msh to OpenFoam
 
I have created a 3D .msh file in Ansys and I'm trying to convert it into openfoam but it says file not found. File is in the same directory as you can see but it's still giving the same error.

Code:

aarib12@DESKTOP-1HJ559V:~/OpenFoam/test/backwardFacingStep2D$ ls
0  Allclean  Allrun  README  constant  mesh.msh  system  test.msh
aarib12@DESKTOP-1HJ559V:~/OpenFoam/test/backwardFacingStep2D$ fluent3DMeshToFoam test.msh
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  v2012                                |
|  \\  /    A nd          | Website:  www.openfoam.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : _7bdb509494-20201222 OPENFOAM=2012
Arch  : "LSB;label=32;scalar=64"
Exec  : fluent3DMeshToFoam test.msh
Date  : Feb 26 2023
Time  : 01:58:32
Host  : DESKTOP-1HJ559V
PID    : 1007
I/O    : uncollated
Case  : /home/aarib12/OpenFoam/test/backwardFacingStep2D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL ERROR: (openfoam-2012)
: file "test.msh" not found

    From int main(int, char**)
    in file fluent3DMeshToFoam.L at line 843.

FOAM exiting

https://imgur.com/a/WAL79XF


All times are GMT -4. The time now is 11:01.