Conflicting declaration of "typedef" class in OpenFOAM
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::powerLawTransport<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 |
Did you figure it out? I am facing the same problem..
|
All times are GMT -4. The time now is 12:43. |