You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FITK_Interface/FITKInterfaceFlowOF/FITKOFPhysicsData.h

242 lines
7.7 KiB
C

#ifndef _FITKOF_PHYSICS_DATA_H___
#define _FITKOF_PHYSICS_DATA_H___
#include "FITKInterfaceFlowOFAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractDataObject.h"
#include <QList>
namespace Interface
{
class FITKAbstractOFSolver;
class FITKAbstractOFTurbulence;
class FITKOFTransportProp;
class FITKOFDiscretization;
class FITKOFSolution;
class FITKOFBoundaryManager;
class FITKOFInitialConditions;
class FITKOFRunControl;
class FITKOFOperatingConditions;
class FITKInterfaceFlowOFAPI FITKOFPhysicsData : public Core::FITKAbstractDataObject
{
public:
explicit FITKOFPhysicsData();
virtual ~FITKOFPhysicsData();
/**
* @brief
* @return FITKAbstractOFSolver *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKAbstractOFSolver* getSolver();
/**
* @brief
* @return bool
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
bool isEnableTurbulenceEqu();
/**
* @brief
* @return FITKAbstractOFTurbulence *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKAbstractOFTurbulence* getTurbulence();
/**
* @brief
* @return FITKOFTransportProp *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
FITKOFTransportProp* getTransportProp();
/**
* @brief
* @return FITKOFDiscretization *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-22
*/
FITKOFDiscretization* getDiscretization();
/**
* @brief solution
* @return FITKOFSolution *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-22
*/
FITKOFSolution* getSolution();
/**
* @brief InitialConditions
* @return FITKOFInitialConditions *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
FITKOFInitialConditions* getInitialConditions();
/**
* @brief
* @return FITKOFBoundaryManager *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-26
*/
FITKOFBoundaryManager* getBoundaryManager();
/**
* @brief
* @return FITKOFRunControl *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-31
*/
FITKOFRunControl* getRunControl();
/**
* @brief
* @return FITKOFOperatingConditions *
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-04
*/
FITKOFOperatingConditions* getOperatingConditions();
/**
* @brief
* @param[i] solver
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
void setSolver(FITKAbstractOFSolver* solver);
/**
* @brief
* @param[i] isEnable
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
void setEnableTurbulenceEqu(bool isEnable);
/**
* @brief
* @param[i] turbulence
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
void setTurbulence(FITKAbstractOFTurbulence* turbulence);
/**
* @brief
* @param[i] transProp
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
void setTransportProp(FITKOFTransportProp* transProp);
/**
* @brief
* @param[i] discretization
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
void setDiscretization(FITKOFDiscretization* discretization);
/**
* @brief
* @param[i] solution
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
void setSolution(FITKOFSolution* solution);
/**
* @brief InitialCondition
* @param[i] initial
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
void setInitialConditions(FITKOFInitialConditions* initial);
/**
* @brief boundary manager
* @param[i] manager
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-26
*/
void setBoundaryManager(FITKOFBoundaryManager* manager);
/**
* @brief
* @param[i] run
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-31
*/
void setRunControl(FITKOFRunControl* run);
/**
* @brief
* @param[i] operatingCond
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-04
*/
void setOperatingConditions(FITKOFOperatingConditions* operatingCond);
private:
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
bool _enableTurb{ false };
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKAbstractOFSolver* _solver{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKAbstractOFTurbulence* _turbulence{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKOFTransportProp* _transPortProp{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-21
*/
FITKOFDiscretization* _discretization{};
/**
* @brief solution
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-22
*/
FITKOFSolution* _solution{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-26
*/
FITKOFBoundaryManager* _boundaryManager{};
/**
* @brief InitialConditions
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-23
*/
FITKOFInitialConditions* _initialCond{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-31
*/
FITKOFRunControl* _runControl{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-04
*/
FITKOFOperatingConditions* _operatingCond{};
};
}
#endif