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

@ -30,7 +30,7 @@ pFlow::stationaryWall::stationaryWall
fileDictionary(objf, owner)
{
if(! getModel().impl_readDictionary(*this) )
if(!impl_readDictionary(*this) )
{
fatalErrorInFunction;
fatalExit;
@ -46,7 +46,7 @@ pFlow::stationaryWall::stationaryWall
:
fileDictionary(objf, dict, owner)
{
if(! getModel().impl_readDictionary(*this) )
if(!impl_readDictionary(*this) )
{
fatalErrorInFunction;
fatalExit;

View File

@ -30,6 +30,26 @@ namespace pFlow
{
/**
* stationary model for walls
*
* This class is used for simulaiton that all wall components
* are fixed.
*
\verbatim
// In geometryDict file, this will defines stationary walls
...
motionModel stationary;
// this dictionary is optional
stationaryInfo
{
}
...
\endverbatim
*
*/
class stationaryWall
:
public fileDictionary,
@ -37,11 +57,21 @@ class stationaryWall
{
protected:
friend MotionModel<stationaryWall, stationary>;
bool impl_isMoving()const
{
return false;
}
bool impl_move(uint32, real, real)const
{
return true;
}
void impl_setTime(uint32 ,real ,real )const
{}
public:
TypeInfo("stationaryWall");