mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
vibrating wall added, tested; time interval for wall motion added, tested
This commit is contained in:
@ -23,9 +23,10 @@ bool pFlow::geometryMotion<MotionModel>::moveGeometry()
|
||||
{
|
||||
|
||||
real dt = this->dt();
|
||||
real t = this->currentTime();
|
||||
|
||||
auto pointMIndex= pointMotionIndex_.deviceVector();
|
||||
auto mModel = motionModel_.getModel();
|
||||
auto mModel = motionModel_.getModel(t);
|
||||
realx3* points = triSurface_.pointsData_D();
|
||||
auto numPoints = triSurface_.numPoints();
|
||||
|
||||
|
@ -104,9 +104,9 @@ public:
|
||||
|
||||
//// - Methods
|
||||
|
||||
auto getModel()const
|
||||
auto getModel(real t)const
|
||||
{
|
||||
return motionModel_.getModel();
|
||||
return motionModel_.getModel(t);
|
||||
}
|
||||
|
||||
word motionModelTypeName()const override
|
||||
|
@ -24,11 +24,14 @@ Licence:
|
||||
#include "geometryMotion.hpp"
|
||||
#include "fixedWall.hpp"
|
||||
#include "rotatingAxisMotion.hpp"
|
||||
#include "vibratingMotion.hpp"
|
||||
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
|
||||
typedef geometryMotion<vibratingMotion> vibratingMotionGeometry;
|
||||
|
||||
typedef geometryMotion<rotatingAxisMotion> rotationAxisMotionGeometry;
|
||||
|
||||
typedef geometryMotion<fixedWall> fixedGeometry;
|
||||
|
@ -20,9 +20,12 @@ Licence:
|
||||
|
||||
#include "fixedWall.hpp"
|
||||
#include "rotatingAxisMotion.hpp"
|
||||
#include "vibratingMotion.hpp"
|
||||
|
||||
template class pFlow::geometryMotion<pFlow::fixedWall>;
|
||||
|
||||
template class pFlow::geometryMotion<pFlow::rotatingAxisMotion>;
|
||||
|
||||
template class pFlow::geometryMotion<pFlow::vibratingMotion>;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user