|
[Sponsors] | |||||
|
|
|
#41 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
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
__________________
|
|
|
|
|
|
|
|
|
#42 |
|
New Member
Join Date: Sep 2012
Posts: 29
Rep Power: 2 ![]() |
Hey all!
Will the procedure in post 27, with the file in post 29 work on OpenFoam 2.1.1 ? Thanks! |
|
|
|
|
|
|
|
|
#43 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
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
__________________
|
|
|
|
|
|
|
|
|
#44 |
|
New Member
Join Date: Sep 2012
Posts: 29
Rep Power: 2 ![]() |
Hey all!
I followed the procedure and built it on OF 2.1.1. Works well! Thanks for the easy way wyldckat! E. |
|
|
|
|
|
|
|
|
#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. |
|
|
|
|
|
|
|
|
#46 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
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
__________________
|
|
|
|
|
|
|
|
|
#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.
|
|
|
|
|
|
![]() |
| Tags |
| .msh, .vrt, mesh conversion, star-ccm |
| Thread Tools | |
| Display Modes | |
|
|
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 |