CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Conflicting declaration of "typedef" class in OpenFOAM

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

LinkBack Thread Tools Display Modes
Old   March 13, 2014, 05:11
Default Conflicting declaration of "typedef" class in OpenFOAM
New Member
Join Date: Oct 2011
Posts: 12
Rep Power: 7
SKLee is on a distinguished road
Sponsored Links
Hi all,

I am trying to implemente the power law transport into thermoPhysical model by modifying sutherland model in OpenFoam. When I compile it and have errors belows

lnInclude/thermoPhysicsTypes.H:228:7: error: conflicting declaration ‘typedef class Foam:owerLawTransport<Foam::species::thermo<Foam ::janafThermo<Foam::incompressiblePerfectGas<Foam: :specie> >, Foam::sensibleInternalEnergy> > Foam::incompressibleGasEThermoPhysics’
> incompressibleGasEThermoPhysics;

lnInclude/thermoPhysicsTypes.H:215:7: error: ‘Foam::incompressibleGasEThermoPhysics’ has a previous declaration as ‘typedef classFoam::sutherlandTransport<Foam::species::ther mo<Foam::janafThermo<Foam::incompressiblePerfectGa s<Foam::specie> >, Foam::sensibleInternalEnergy> > Foam::incompressibleGasEThermoPhysics’
> incompressibleGasEThermoPhysics;

Error messages show that I have a conflicting declaration of "typedef" class with sutherland model in openFoam. How can I set declaration "typedef' for my own model and where can I do this?

SKLee is offline   Reply With Quote
Sponsored Links


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
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50
OpenFoam 12 Adding a user application class vvqf OpenFOAM Pre-Processing 3 October 27, 2005 13:18

Sponsored Links

All times are GMT -4. The time now is 06:58.