21 #ifndef CT_TRANSPORTBASE_H
22 #define CT_TRANSPORTBASE_H
30 class TransportParams;
31 class GasTransportParams;
32 class LiquidTransportParams;
39 const int CK_Mode = 10;
43 const int cMulticomponent = 200;
44 const int CK_Multicomponent = 202;
45 const int cMixtureAveraged = 210;
46 const int CK_MixtureAveraged = 211;
47 const int cSolidTransport = 300;
48 const int cDustyGasTransport = 400;
49 const int cUserTransport = 500;
50 const int cFtnTransport = 600;
51 const int cLiquidTransport = 700;
52 const int cAqueousTransport = 750;
53 const int cSimpleTransport = 770;
54 const int cRadiativeTransport = 800;
55 const int cWaterTransport = 721;
284 return err(
"viscosity");
294 err(
"getSpeciesViscosities");
304 return err(
"bulkViscosity");
311 return err(
"ionConductivity");
321 err(
"getSpeciesIonConductivity");
343 err(
"mobilityRatio");
353 err(
"getSpeciesMobilityRatio");
383 err(
"selfDiffusion");
397 err(
"getSpeciesSelfDiffusion");
407 return err(
"thermalConductivity");
414 return err(
"electricalConductivity");
436 err(
"getMobilities");
458 err(
"getFluidMobilities");
483 err(
"getElectricConduct");
501 const doublereal* grad_T,
503 const doublereal* grad_X,
505 const doublereal* grad_V,
506 doublereal* current) {
507 err(
"getElectricCurrent");
534 size_t ldx,
const doublereal*
const grad_X,
535 size_t ldf, doublereal*
const fluxes);
561 const doublereal* grad_T,
563 const doublereal* grad_X,
565 const doublereal* grad_Phi,
566 doublereal* fluxes) {
594 const doublereal* grad_T,
596 const doublereal* grad_X,
599 err(
"getSpeciesVdiff");
626 const doublereal* grad_T,
628 const doublereal* grad_X,
630 const doublereal* grad_Phi,
651 const doublereal*
const state2,
const doublereal delta,
652 doublereal*
const cfluxes) {
653 err(
"getMolarFluxes");
672 const doublereal* state2, doublereal delta,
673 doublereal* mfluxes) {
674 err(
"getMassFluxes");
694 err(
"getThermalDiffCoeffs");
706 err(
"getBinaryDiffCoeffs");
722 err(
"getMultiDiffCoeffs");
739 err(
"getMixDiffCoeffs");
745 err(
"getMixDiffCoeffsMole");
750 err(
"getMixDiffCoeffsMass");
767 virtual void setParameters(
const int type,
const int k,
const doublereal*
const p);
891 doublereal
err(std::string msg)
const;