|
[Sponsors] |
error:compiling a porous dict/solver in cylindricalCS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2011, 11:36 |
error:compiling a porous dict/solver in cylindricalCS
|
#1 |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
Hello Foamers!
I'm trying to compile some libraries to use a solver for porous media in cylindrical CS and im getting this error.. i'm not too good in c++ and the like so i'd like to ask u if this is a compiling/version kinda error or is it a bad implementation case... here's my wmake error folloed by the log ****************************** In file included from cylPorousZone.C:27: cylPorousZone.H: In constructor ‘Foam::cylPorousZone::iNew::iNew(const Foam::fvMesh&)’: cylPorousZone.H:223: error: no matching function for call to ‘Foam::coordinateSystems::coordinateSystems() ’ /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H:85: note: candidates are: Foam::coordinateSystems::coordinateSystems(const Foam::IOobject&, const Foam::Xfer<Foam::PtrList<Foam::coordinateSystem> >&) /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H:78: note: Foam::coordinateSystems::coordinateSystems(const Foam::IOobject&, const Foam::PtrList<Foam::coordinateSystem>&) /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H:75: note: Foam::coordinateSystems::coordinateSystems(const Foam::IOobject&) /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H:61: note: Foam::coordinateSystems::coordinateSystems(const Foam::coordinateSystems&) /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H: In constructor ‘Foam::cylPorousZone::iNew::iNew(const Foam::fvMesh&, const Foam::coordinateSystems&)’: /opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude/coordinateSystems.H:61: error: ‘Foam::coordinateSystems::coordinateSystems(c onst Foam::coordinateSystems&)’ is private cylPorousZone.H:229: error: within this context cylPorousZone.H: In member function ‘Foam::autoPtr<Foam::cylPorousZone> Foam::cylPorousZone::iNew:perator()(Foam::Istrea m&) const’: cylPorousZone.H:236: error: ‘rewriteDict’ was not declared in this scope cylPorousZone.H: In member function ‘const Foam::vector& Foam::cylPorousZone::axis() const’: cylPorousZone.H:280: warning: returning reference to temporary make: ** [Make/linux64GccDPOpt/cylPorousZone.o] Erro 1 log SOURCE=cylPorousZone.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.0.0/src/triSurface/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.0.0/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.0.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/cylPorousZone.o rousMedia ************************** PS:files compiled are attached thanks a lot /calim Last edited by calim_cfd; August 10, 2011 at 08:00. Reason: partially solved |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Porous media setup issues in Fluent | Bernard Van | FLUENT | 29 | January 26, 2017 05:09 |
Modelling Combustion in Porous Zone | tanjinjack | FLUENT | 2 | September 26, 2016 05:10 |
species mass source in porous media ? | PK | FLUENT | 0 | February 16, 2007 12:12 |
Testing the integrity of POROUS media and por jump | Azman | FLUENT | 0 | July 31, 2006 12:11 |
porous media: Fluent or Star-CD? | Igor | Main CFD Forum | 0 | December 5, 2002 16:16 |