CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] ccm26ToFOAM problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 13:18
Default ccm26ToFOAM problem
  #1
New Member
 
gao
Join Date: Feb 2014
Posts: 7
Rep Power: 12
leguichet is on a distinguished road
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
leguichet is offline   Reply With Quote

Old   March 31, 2014, 14:11
Default
  #2
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14
petr.f. is on a distinguished road
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.
petr.f. is offline   Reply With Quote

Old   March 31, 2014, 14:53
Default
  #3
New Member
 
gao
Join Date: Feb 2014
Posts: 7
Rep Power: 12
leguichet is on a distinguished road
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
leguichet is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 19:41
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 21:15.