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

error:compiling a porous dict/solver in cylindricalCS

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2011, 10:36
Default error:compiling a porous dict/solver in cylindricalCS
  #1
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 136
Rep Power: 8
calim_cfd is on a distinguished road
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
Attached Files
File Type: zip cylindrical.zip (11.3 KB, 8 views)

Last edited by calim_cfd; August 10, 2011 at 07:00. Reason: partially solved
calim_cfd is offline   Reply With Quote

Reply

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
Porous media setup issues in Fluent Bernard Van FLUENT 26 July 24, 2015 18:24
Modelling Combustion in Porous Zone tanjinjack FLUENT 0 November 19, 2010 12:23
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 11:11
porous media: Fluent or Star-CD? Igor Main CFD Forum 0 December 5, 2002 16:16


All times are GMT -4. The time now is 07:19.