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

ccm26ToFOAM problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 24, 2014, 14:18
Default ccm26ToFOAM problem
  #1
New Member
 
gao
Join Date: Feb 2014
Posts: 7
Rep Power: 4
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: Prague, Czech Republic
Posts: 63
Rep Power: 6
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: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 3 February 23, 2013 21: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 02:33.