New fv fvs patch field vidtual function: update on motion. Immersed boundary support

This commit is contained in:
Hrvoje Jasak 2018-08-21 14:59:11 +01:00
parent 6ec2ad6239
commit a0ca6258df
2 changed files with 15 additions and 0 deletions

View file

@ -369,6 +369,14 @@ public:
);
//- Update on mesh motion
// This function is used for special conditions such as
// immersed boundary which need to be updated when the mesh
// is moving (as opposed to topo change update)
virtual void updateOnMotion()
{}
// Evaluation functions
//- Return patch-normal gradient

View file

@ -325,6 +325,13 @@ public:
const labelList&
);
//- Update on mesh motion
// This function is used for special conditions such as
// immersed boundary which need to be updated when the mesh
// is moving (as opposed to topo change update)
virtual void updateOnMotion()
{}
// Evaluation functions