vibrating wall added, tested; time interval for wall motion added, tested

This commit is contained in:
hamidrezanorouzi
2023-01-03 19:31:12 +03:30
parent c8134eb3cf
commit 0d45a2b8a5
19 changed files with 941 additions and 22 deletions

View File

@ -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();

View File

@ -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

View File

@ -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;

View File

@ -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>;