CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2014, 05:11
Default Conflicting declaration of "typedef" class in OpenFOAM
  #1
New Member
 
Lee
Join Date: Oct 2011
Posts: 12
Rep Power: 6
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

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
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


All times are GMT -4. The time now is 02:37.