|
[Sponsors] |
September 18, 2012, 15:38 |
|
#41 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 19, 2012, 05:19 |
|
#42 |
Member
Join Date: Sep 2012
Posts: 30
Rep Power: 14 |
Hey all!
Will the procedure in post 27, with the file in post 29 work on OpenFoam 2.1.1 ? Thanks! |
|
September 19, 2012, 17:57 |
|
#43 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
September 20, 2012, 13:18 |
|
#44 |
Member
Join Date: Sep 2012
Posts: 30
Rep Power: 14 |
Hey all!
I followed the procedure and built it on OF 2.1.1. Works well! Thanks for the easy way wyldckat! E. |
|
May 7, 2013, 06:31 |
|
#45 |
New Member
Slamer
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
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 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. |
|
May 7, 2013, 17:45 |
|
#46 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
May 13, 2013, 09:23 |
|
#47 |
New Member
Slamer
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
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. |
|
May 19, 2013, 16:52 |
|
#48 |
New Member
Join Date: May 2013
Posts: 6
Rep Power: 13 |
Hi,
I'm using the Ubuntu Deb package version 2.2.0. I already changed the ccm26ToFoam.C as mentioned above. It still doesn't work. Do I need to do something else? Thanks in advance |
|
May 19, 2013, 17:01 |
|
#49 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Jack220 and welcome to the forum!
OK, after you've adapted the source code, what else did you do? Did you follow the steps from post #37: http://www.cfd-online.com/Forums/ope...tml#post365682 Best regards, Bruno
__________________
|
|
May 21, 2013, 14:46 |
|
#50 |
New Member
Join Date: May 2013
Posts: 6
Rep Power: 13 |
Hi Bruno,
thank you for your fast answer! I went in the direction with my .ccm file and executed the command "ccm26ToFoam file.ccm". The following message appeared: "command not found". But in "/opt/openfoam220/applications/utilities/mesh/conversion/Optional/ccm26ToFoam" I can see my "ccm26ToFoam.C"-file. I can't do the steps described in post #37: First of all, I had to create the "ThirdParty-xxx" directory, because I could'nt find it. And when I execute "AllwmakeLibccmio" the following error occurs: /opt/openfoam220/ThirdParty-2.2.0/AllwmakeLibccmio: 39: .: Can't open tools/makeThirdPartyFunctions Best regards, Jack |
|
May 21, 2013, 18:28 |
|
#51 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Jack,
Attached is a new and improved installation script, specifically created for OpenFOAM 2.2.0 and 2.2.x, based on the one from my old posts, namely #27. To use it:
Bruno
__________________
|
|
May 22, 2013, 07:12 |
|
#52 |
New Member
Join Date: May 2013
Posts: 6
Rep Power: 13 |
Thank you very much, Bruno! That works fine!
|
|
June 6, 2013, 03:54 |
|
#53 |
New Member
Alexander
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hey all!
Can you help me? I have done all of instructions of the post #51. Instalation have installed correct. I have little experience in the use of Linux and OpenFoam. I have mesh from StarCCM+ 8.02. par example ~/Desktop/new/star_CCM.ccm I want to covert this mesh to Fluent. I understand that I have to convert this mesh to FOAM and FOAM to Fluent. Could you write commands or sequencing that need to run these? thanks in advance! |
|
August 2, 2013, 11:21 |
|
#54 |
New Member
Vimaldoss Jesudhas
Join Date: Aug 2013
Posts: 15
Rep Power: 13 |
Hi Alexander,
Any luck with your conversion from StarCCM to Fluent. I want to a similar thing, your inputs will be helpful |
|
August 17, 2013, 11:04 |
|
#55 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
It's somewhat simple to perform this conversion, but I would say that it is very likely to result in having a bad mesh on Fluent's side, due to the 2 step conversion process. Any way, the steps are:
Best regards, Bruno
__________________
|
|
March 23, 2014, 21:32 |
|
#56 |
New Member
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
Once you finish the steps in the post #51. Next I tried to do the following:
ccm26ToFoam yourmesh.ccm From here the terminal window gave me an error. --> FOAM FATAL IO ERROR: cannot find file file: /home/wilmer/Downloads/ccm26local220/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting I'm new to this. Could anyone tell me if I'm following the directions right? Any steps that I'm missing here? |
|
March 23, 2014, 23:48 |
|
#57 |
Senior Member
Join Date: Mar 2009
Location: My oyster
Posts: 124
Rep Power: 17 |
Set up your case properly including the full hierarchy of folders and files. The error means you need to have a system/ folder with a valid controlDict file in it.
|
|
March 27, 2014, 03:20 |
|
#58 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi Bruno,
I am using version 2.1.1 and first i downloaded file at post 29 and followed the procedure as you explained at post 27. However it gives following error: HTML Code:
baris@BICER:~/OpenFOAM/baris-2.1.1/applications/ccmio$ ./ccm26local + ./AllwmakeLibccmio downloading libccmio-2.6.1.tar.gz from https://wci.llnl.gov/codes/visit/3rd_party/libccmio-2.6.1.tar.gz --2014-03-27 16:14:11-- https://wci.llnl.gov/codes/visit/3rd_party/libccmio-2.6.1.tar.gz Resolving wci.llnl.gov (wci.llnl.gov)... 198.128.246.10 Connecting to wci.llnl.gov (wci.llnl.gov)|198.128.246.10|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2014-03-27 16:14:12 ERROR 404: Not Found. no download/libccmio-2.6.1.tar.gz to unpack + cd libccmio-2.6.1 ./AllwmakeLibccmio: 61: cd: can't cd to libccmio-2.6.1 + exit 1 + [ -e /home/baris/OpenFOAM/baris-2.1.1/platforms/linux64GccDPOpt/lib/libccmio.so ] baris@BICER:~/OpenFOAM/baris-2.1.1/applications/ccmio$ could you help to me how can i solve this problem. Thanks in advance. B |
|
March 28, 2014, 18:50 |
|
#59 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 30, 2014, 06:23 |
|
#60 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi Bruno,
Thanks so much. It is working well |
|
Tags |
.msh, .vrt, mesh conversion, star-ccm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |