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/)
-   -   [Other] ccm26ToFOAM problem (https://www.cfd-online.com/Forums/openfoam-meshing/130342-ccm26tofoam-problem.html)

leguichet February 24, 2014 13:18

ccm26ToFOAM problem
 
Hi,

I installed the OpenFOAM-2.2.0 in Ubuntu12.04 and ccm26ToFOAM, it gives an error
Can someone tell me what is wrong?

It is installed in /home/gao/OpenFOAM/gao-2.2.0/platforms/linux64GccDPOpt/bin/ccm26ToFoam

I tested with OpenFOAM-2.3.0 and got the same results.

Thank you very much!

Best regards

Zhenlan


gao@A:~/Documents$ ccm26ToFoam test1.ccm
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : ccm26ToFoam test1.ccm
Date : Feb 24 2014
Time : 19:09:11
Host : "A"
PID : 1928
Case : /home/gao/Documents
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/gao/Documents/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting

petr.f. March 31, 2014 14:11

Hi Zhenlan, when using the ccm26ToFoam utility you have to prepare the whole case (without the mesh of course), i.e. your case directory should contain 0, constant and system sub-directories including all the files as controlDict etc.

leguichet March 31, 2014 14:53

Hi, Petr

Thank you for your reply. I figured it out several days later, after I posted the question here. Indeed, we need to create a whole case. I downloaded a file tar.gz in the forum, and copy the mesh in the folder, then it works.

Thank you again.

Cheers

Zhenlan


All times are GMT -4. The time now is 18:06.