MotionModel folder completed

This commit is contained in:
Hamidreza Norouzi
2024-03-22 09:42:23 -07:00
parent f27fbdd82c
commit be56d8ee2e
16 changed files with 127 additions and 900 deletions

View File

@ -34,7 +34,7 @@ namespace pFlow
*
* This class is used for simulaiton that at least one wall components
* is moving according to rotatingAxis motion mode. One or more than one
* motion components can be defined in rotatingAxisMotionInfo dictionary
* motion components can be defined in rotatingAxisInfo dictionary
*
\verbatim
// In geometryDict file, this will defines rotating walls during simulation
@ -63,10 +63,21 @@ class rotatingAxisMotion
{
protected:
friend MotionModel<rotatingAxisMotion, rotatingAxis>;
/// is the geometry attached to this component moving
bool impl_isMoving()const
{
return true;
}
/// move the component itself
bool impl_move(uint32, real, real)const
{
return true;
}
void impl_setTime(uint32 iter, real t, real dt)const;
public: