new solver solid reaction

Riccardo Maione's picture
Submitted by Riccardo Maione on Fri, 10/03/2014 - 10:04

Hello all,

I am trying to write a new solver to include solid reaction, so I wrote a new force model by changing the model for convection and I modified the solver cfdemPisoScalar to include 3 species, the effect the thermal diffusivity change in the temperature scalar equation, and a rotating frame of reference. here the equations

Velocity:
fvm::ddt(voidfraction*rho,U)
+ fvm::div(phi,U)
+ turbulence->divDevReff(U)
+ rho*(2*Omega ^ U)
+ rho*Fcent
==
- fvm::Sp(Ksl/rho,U)
Species:
fvm::ddt(voidfraction, Y)
- fvm::laplacian(DYeff,Y)
==
- fvm::div(phi, Y)
+ Qy

solve
(
fvm::ddt(rho,voidfraction)
+ fvc::div(phi)
==
Qgas
);

there is also energy equation, I am working on it.
I activated the "comp" option, and added the compressibility libraries to the option file, but he continuously give me these errors:

/cm/shared/apps/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_map.h:113:2: error: declaration does not declare anything [-fpermissive]
/cm/shared/apps/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/sstl_map.h:116:8: error: anachronistic old-style base class initializer [-fpermissive]
/cm/shared/apps/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_multimap.h:113:2: error: declaration does not declare anything [-fpermissive]
/cm/shared/apps/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_multimap.h:116:8: error: anachronistic old-style base class initializer [-fpermissive]

is it due to the compiler?

Thank you all for attention and help,