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

Conflicting declaration of "typedef" class in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2014, 04:11
Default Conflicting declaration of "typedef" class in OpenFOAM
  #1
New Member
 
Lee
Join Date: Oct 2011
Posts: 15
Rep Power: 14
SKLee is on a distinguished road
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?

SungKi
SKLee is offline   Reply With Quote

Old   March 10, 2018, 05:19
Default
  #2
New Member
 
saurabh gupta
Join Date: Jun 2014
Posts: 9
Rep Power: 11
saurabhg2014 is on a distinguished road
Did you figure it out? I am facing the same problem..
saurabhg2014 is offline   Reply With Quote

Reply


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 Off
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 20: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


All times are GMT -4. The time now is 23:24.