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

star-ccm mesh to O\/F

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

Like Tree5Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   September 18, 2012, 14:38
Default
  #41
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Alright... if you had checked the last link I posted, you would have seen the respective command for openSUSE... OK, it's not very similar, but the idea is still there.

Anyway, assuming you're the administrator of the machine:
Code:
su -
#the command above will ask for the password of administrator

zypper install -t pattern devel_C_C++

#after installing, run:
exit
Then try build "libccmio" once again.
wyldckat is offline   Reply With Quote

Old   September 19, 2012, 04:19
Default
  #42
New Member
 
Join Date: Sep 2012
Posts: 29
Rep Power: 2
emirust is on a distinguished road
Hey all!

Will the procedure in post 27, with the file in post 29 work on OpenFoam 2.1.1 ?

Thanks!
emirust is offline   Reply With Quote

Old   September 19, 2012, 16:57
Default
  #43
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Greetings emirust,

I haven't tested with 2.1.1, but I think it should work.

I don't have time to test it now, so why don't you test it and tell us if it worked or not!?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 20, 2012, 12:18
Default
  #44
New Member
 
Join Date: Sep 2012
Posts: 29
Rep Power: 2
emirust is on a distinguished road
Hey all!

I followed the procedure and built it on OF 2.1.1. Works well!

Thanks for the easy way wyldckat!

E.
emirust is offline   Reply With Quote

Old   May 7, 2013, 05:31
Default
  #45
New Member
 
Slamer
Join Date: Jun 2010
Posts: 2
Rep Power: 0
Slamer is on a distinguished road
Hi,
I am not able to compile it with OpenFOAM 2.2.0

I compile it with :
sudo bash
sudo wmake

and I get this error :
Code:
Making dependency list for source file ccm26ToFoam.C
SOURCE=ccm26ToFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/ThirdParty-2.2.0/libccmio-2.6.1 -I/opt/ThirdParty-2.2.0/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o
ccm26ToFoam.C: In function ‘int main(int, char**)’:
ccm26ToFoam.C:954:17: erreur: no matching function for call to ‘Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:954:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:97:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::wallPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:87:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::wallPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:83:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:73:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:62:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:49:7: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:966:17: erreur: no matching function for call to ‘Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:966:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:97:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::symmetryPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:87:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::symmetryPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:83:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:73:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:62:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:49:7: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:979:17: erreur: no matching function for call to ‘Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:979:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:97:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::emptyPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:87:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::emptyPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:83:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:73:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:62:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:49:7: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:993:17: erreur: no matching function for call to ‘Foam::polyPatch::polyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:993:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:214:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:214:9: note:   candidate expects 1 argument, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:204:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:204:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::polyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:194:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:194:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::polyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:190:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:190:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:180:9: note: Foam::polyPatch::polyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:180:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:169:9: note: Foam::polyPatch::polyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:169:9: note:   candidate expects 6 arguments, 5 provided
make: *** [Make/linux64GccDPOpt/ccm26ToFoam.o] Erreur 1
root@sabre2:/opt/openfoam220/applications/utilities/mesh/conversion/Optional# 
root@sabre2:/opt/openfoam220/applications/utilities/mesh/conversion/Optional# 
root@sabre2:/opt/openfoam220/applications/utilities/mesh/conversion/Optional# 
root@sabre2:/opt/openfoam220/applications/utilities/mesh/conversion/Optional# 
root@sabre2:/opt/openfoam220/applications/utilities/mesh/conversion/Optional# wmake ccm26ToFoam
SOURCE=ccm26ToFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/ThirdParty-2.2.0/libccmio-2.6.1 -I/opt/ThirdParty-2.2.0/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o
ccm26ToFoam.C: In function ‘int main(int, char**)’:
ccm26ToFoam.C:954:17: erreur: no matching function for call to ‘Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:954:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:97:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::wallPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:87:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::wallPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:83:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:73:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:62:9: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:49:7: note: Foam::wallPolyPatch::wallPolyPatch(const Foam::wallPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/wallPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:966:17: erreur: no matching function for call to ‘Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:966:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:97:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::symmetryPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:87:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::symmetryPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:83:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:73:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:62:9: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:49:7: note: Foam::symmetryPolyPatch::symmetryPolyPatch(const Foam::symmetryPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/symmetryPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:979:17: erreur: no matching function for call to ‘Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:979:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:97:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:97:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::emptyPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:87:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:87:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::emptyPolyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:83:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:83:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:73:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:73:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:62:9: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:62:9: note:   candidate expects 6 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:49:7: note: Foam::emptyPolyPatch::emptyPolyPatch(const Foam::emptyPolyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/emptyPolyPatch.H:49:7: note:   candidate expects 1 argument, 5 provided
ccm26ToFoam.C:993:17: erreur: no matching function for call to ‘Foam::polyPatch::polyPatch(const Foam::word&, int&, Foam::label&, Foam::label&, const Foam::polyBoundaryMesh&)’
ccm26ToFoam.C:993:17: note: candidates are:
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:214:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:214:9: note:   candidate expects 1 argument, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:204:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&, Foam::label, const labelUList&, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:204:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::polyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:194:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&, Foam::label, Foam::label, Foam::label)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:194:9: note:   no known conversion for argument 1 from ‘const Foam::word’ to ‘const Foam::polyPatch&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:190:9: note: Foam::polyPatch::polyPatch(const Foam::polyPatch&, const Foam::polyBoundaryMesh&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:190:9: note:   candidate expects 2 arguments, 5 provided
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:180:9: note: Foam::polyPatch::polyPatch(const Foam::word&, const Foam::dictionary&, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:180:9: note:   no known conversion for argument 4 from ‘Foam::label {aka int}’ to ‘const Foam::polyBoundaryMesh&’
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:169:9: note: Foam::polyPatch::polyPatch(const Foam::word&, Foam::label, Foam::label, Foam::label, const Foam::polyBoundaryMesh&, const Foam::word&)
/opt/openfoam220/src/OpenFOAM/lnInclude/polyPatch.H:169:9: note:   candidate expects 6 arguments, 5 provided
I don't know what do I miss ?
I modified the options file in Make/options as mentionned before but I'm not sure it points to the correct target. What file are supposed to be missing ?

Thanks in advance.
Slamer is offline   Reply With Quote

Old   May 7, 2013, 16:45
Default
  #46
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Greetings Slammer and welcome to the forum!

OpenFOAM 2.2.0 had a bug in the "ccm26ToFoam.C" source code file. The fix is this one: https://github.com/OpenFOAM/OpenFOAM...8af7a51d41fc4b
You can edit the file and manually replace the text in red for the text in green

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   Today, 08:23
Default
  #47
New Member
 
Slamer
Join Date: Jun 2010
Posts: 2
Rep Power: 0
Slamer is on a distinguished road
Hi,
I was not able to remeber where the git repo was.
It helps me more than expected

It compiles and 'work' on an exemple. Now, I just need to check if it does the right things.

Thanks a lot.
Slamer is offline   Reply With Quote

Reply

Tags
.msh, .vrt, mesh conversion, star-ccm

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
Mesh Transfer from ICEM to STAR CCM+ Waseem Siddique CD-adapco 4 February 12, 2009 06:02
Problem wih MESh in Star Design Waseem Siddique CD-adapco 3 January 28, 2009 07:19
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
basic of mesh refinement arya CFX 4 June 19, 2007 12:21
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09


All times are GMT -4. The time now is 20:40.