Motion models integrated into geometryMotion, stationaryWall is added

This commit is contained in:
Hamidreza Norouzi
2024-02-05 21:27:24 -08:00
parent 9dfe98eea2
commit 5b4a524afe
39 changed files with 1203 additions and 726 deletions

View File

@ -14,6 +14,22 @@ pFlow::vibratingMotion::vibratingMotion
}
}
pFlow::vibratingMotion::vibratingMotion
(
const objectFile &objf,
const dictionary &dict,
repository *owner
)
:
fileDictionary(objf,dict,owner)
{
if(! getModel().impl_readDictionary(*this) )
{
fatalErrorInFunction;
fatalExit;
}
}
bool pFlow::vibratingMotion::write(iOstream &os, const IOPattern &iop) const
{
// a global dictionary

View File

@ -81,6 +81,11 @@ public:
vibratingMotion(const objectFile& objf, repository* owner);
vibratingMotion(
const objectFile& objf,
const dictionary& dict,
repository* owner);
/// Destructor
~vibratingMotion()override = default;