add conveyor belt model

This commit is contained in:
wanqing0421 2024-12-24 16:39:40 +08:00
parent 5318610c1f
commit ef2a13dd7e
7 changed files with 15 additions and 12 deletions

View File

@ -1,7 +1,7 @@
export pFlow_PROJECT_VERSION=v-1.0 export pFlow_PROJECT_VERSION=v-1.0
export pFlow_PROJECT="phasicFlow-$pFlow_PROJECT_VERSION" export pFlow_PROJECT="phasicFlow"
projectDir="$HOME/PhasicFlow" projectDir="$HOME/PhasicFlow"

View File

@ -26,4 +26,6 @@ template class pFlow::geometryMotion<pFlow::rotatingAxisMotion>;
template class pFlow::geometryMotion<pFlow::stationaryWall>; template class pFlow::geometryMotion<pFlow::stationaryWall>;
template class pFlow::geometryMotion<pFlow::conveyorBeltMotion>;
//template class pFlow::geometryMotion<pFlow::multiRotatingAxisMotion>; //template class pFlow::geometryMotion<pFlow::multiRotatingAxisMotion>;

View File

@ -24,6 +24,7 @@ Licence:
#include "geometryMotion.hpp" #include "geometryMotion.hpp"
#include "stationaryWall.hpp" #include "stationaryWall.hpp"
#include "rotatingAxisMotion.hpp" #include "rotatingAxisMotion.hpp"
#include "conveyorBeltMotion.hpp"
//#include "multiRotatingAxisMotion.hpp" //#include "multiRotatingAxisMotion.hpp"
#include "vibratingMotion.hpp" #include "vibratingMotion.hpp"
@ -37,6 +38,8 @@ using rotationAxisMotionGeometry = geometryMotion<rotatingAxisMotion>;
using stationaryGeometry = geometryMotion<stationaryWall>; using stationaryGeometry = geometryMotion<stationaryWall>;
using conveyorBeltMotionGeometry = geometryMotion<conveyorBeltMotion>;
//typedef geometryMotion<multiRotatingAxisMotion> multiRotationAxisMotionGeometry; //typedef geometryMotion<multiRotatingAxisMotion> multiRotationAxisMotionGeometry;

View File

@ -11,6 +11,9 @@ vibratingMotion/vibratingMotion.cpp
stationaryWall/stationaryWall.cpp stationaryWall/stationaryWall.cpp
entities/stationary/stationary.cpp entities/stationary/stationary.cpp
conveyorBeltMotion/conveyorBeltMotion.cpp
entities/conveyorBelt/conveyorBelt.cpp
#entities/multiRotatingAxis/multiRotatingAxis.cpp #entities/multiRotatingAxis/multiRotatingAxis.cpp
#multiRotatingAxisMotion/multiRotatingAxisMotion.cpp #multiRotatingAxisMotion/multiRotatingAxisMotion.cpp

View File

@ -46,7 +46,7 @@ conveyorBeltInfo
{ {
conveyorBelt1 conveyorBelt1
{ {
// the definition based on class conveyorBelt1 // the definition based on class conveyorBelt
} }
} }
... ...

View File

@ -33,8 +33,6 @@ pFlow::conveyorBelt::conveyorBelt(const dictionary& dict)
} }
} }
FUNCTION_H FUNCTION_H
bool pFlow::conveyorBelt::read(const dictionary& dict) bool pFlow::conveyorBelt::read(const dictionary& dict)
{ {

View File

@ -6,18 +6,15 @@ objectName geometryDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII; fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
motionModel stationary; // motion model can be rotatingAxis or stationary or vibrating motionModel conveyorBelt; // motion model can be rotatingAxis or stationary or vibrating
stationaryInfo
{ conveyorBeltMotionInfo
}
/*conveyorBeltInfo
{ {
conveyorBelt1 conveyorBelt1
{ {
velocity (1, 0, 0); velocity (1, 0, 0);
} }
}*/ }
surfaces surfaces
{ {
@ -60,7 +57,7 @@ surfaces
type stlWall; // type of the wall type stlWall; // type of the wall
file belt.stl; // file name in stl folder file belt.stl; // file name in stl folder
material wallMat; // material name of this wall material wallMat; // material name of this wall
//motion conveyorBelt1; // motion component name motion conveyorBelt1; // motion component name
} }
box box