00001 00023 #ifndef FRICTIONINTERFACE_H 00024 #define FRICTIONINTERFACE_H 00025 00026 #include "plugininterface.h" 00027 #include "data.h" 00028 00030 class FrictionInterface : public PluginInterface 00031 { 00032 public: 00033 virtual ~FrictionInterface() {}; 00034 00035 virtual double calculateLiquidFrictionFactor(Data const &data, double reynolds, double hdiameter) const = 0; 00036 virtual double calculateGasFrictionFactor(Data const &data, double reynolds, double hdiameter) const = 0; 00037 virtual double calculateDispersedFrictionFactor(Data const &data, double alpha, double reynolds, double hdiameter, double UDisp, double viscosity) const = 0; 00038 virtual bool isLiquidWallFriction() const = 0; 00039 virtual bool isGasWallFriction() const = 0; 00040 virtual bool isDispersedFriction() const = 0; 00041 }; 00042 00043 Q_DECLARE_INTERFACE(FrictionInterface, "com.MariusStene.MultiPhase.FrictionInterface/1.0"); 00044 00045 #endif // FRICTIONINTERFACE_H