CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

Conversion form .ccm to openFoam

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   September 16, 2011, 05:35
Question Conversion form .ccm to openFoam
  #1
New Member
 
Viktoria Erfurt
Join Date: Sep 2011
Posts: 1
Rep Power: 0
ViktoriaE is on a distinguished road
Hello,

I'm trying to converge a .ccm file to openFoam but first I need ccm26ToFoam. By using the comand:

$FOAM_APP/utilities/mesh/conversion/Optional/Allwmake

I get this reply:


+ /opt/ThirdParty-2.0.1/AllwmakeLibccmio
+ cd libccmio-2.6.1
+ cpMakeFiles libccmio
+ set +x
cpMakeFiles libccmio .
+ wmake libso
'/opt/ThirdParty-2.0.1/platforms/linux64GccDPOpt/lib/libccmio.so' is up to date.
+ '[' -e /opt/ThirdParty-2.0.1/platforms/linux64GccDPOpt/lib/libccmio.so ']'
+ wmake ccm26ToFoam
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam201/src/finiteVolume/lnInclude -I/opt/openfoam201/src/meshTools/lnInclude -I/opt/ThirdParty-2.0.1/libccmio-2.6.1 -I/opt/ThirdParty-2.0.1/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/opt/openfoam201/src/OpenFOAM/lnInclude -I/opt/openfoam201/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/ccm26ToFoam.o -L/opt/openfoam201/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -L/opt/ThirdParty-2.0.1/platforms/linux64GccDPOpt/lib -lccmio -lOpenFOAM -ldl -lm -o /opt/openfoam201/platforms/linux64GccDPOpt/bin/ccm26ToFoam
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: warning: libtriSurface.so, needed by /opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: warning: libPstream.so, needed by /opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so, not found (try using -rpath or -rpath-link)
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::read(Foam::UPstream::commsTypes, int, char*, long, int)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UIPstream::UIPstream(Foam::UPstream::commsT ypes, int, Foam:ynamicList<char, 0u, 2u, 1u>&, int&, int, bool, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::scalePoints(double)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::fileName const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::abort()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch:perator==(Foam::geo metricSurfacePatch const&) const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::lab elledTri> const&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> > const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::init(int&, char**&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::geometricSurfacePatch::geometricSurfacePatc h()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::UIPstream::UIPstream(int, Foam::PstreamBuffers&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::triSurface::~triSurface()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface:perator=(Foam::triSurface const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::sortedEdgeFaces() const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::lab elledTri> const&, Foam::Field<Foam::Vector<double> > const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::lab elledTri>&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> >&, bool)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::addValidParOptions(Foam::HashTabl e<Foam::string, Foam::word, Foam::string::hash>&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so: undefined reference to `Foam::UPstream::exit(int)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::faceTriangulation::faceTriangulation(Foam:: Field<Foam::Vector<double> > const&, Foam::face const&, Foam::Vector<double> const&, bool)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::triSurface::write(Foam::fileName const&, bool) const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `typeinfo for Foam::triSurface'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::movePoints(Foam::Field<Foam::Ve ctor<double> > const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam:imensionedField<int, Foam::triSurfaceGeoMesh>::typeName'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::UOPstream::write(Foam::UPstream::commsTypes , int, char const*, long, int)'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::writeStats(Foam::Ostream&) const'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()'
/opt/openfoam201/platforms/linux64GccDPOpt/lib/libfiniteVolume.so: undefined reference to `Foam::UPstream::waitRequests()'
collect2: ld returned 1 exit status
make: *** [/opt/openfoam201/platforms/linux64GccDPOpt/bin/ccm26ToFoam] Fehler 1


I'm using openFoam 2.0.1, which I has just installed on openSuse 11.3. Can somebody please help me to solve this problem?

Do I need to recompile gcc in order to compile openFoam first, like it is written in the
http://openfoamwiki.net/index.php/Ho...nFOAM#Preamble
Or can I avoid it by this problem?

Thanks in advance!

With regards,
Viktoria
ViktoriaE is offline   Reply With Quote

Old   November 29, 2011, 16:40
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Viktoria,

Sorry for the really late reply, but I only saw your post now...
Anyway, the solution is already posted here: star-ccm mesh to O\/F - post #29. I haven't tested it with the openSUSE version but it should work.

Best regards,
Bruno
crossley90 likes this.
wyldckat is offline   Reply With Quote

Reply

Tags
ccm, ccm+, ccm+ 4, ccm26tofoam

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
Fluent case to OpenFOAM conversion umichsct OpenFOAM 4 April 23, 2011 14:59
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
Conversion Fluent cas and dat file to OpenFoam matteo_gautero OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 9 April 3, 2008 02:32


All times are GMT -4. The time now is 02:56.