Go to the documentation of this file.
   20     const dynamicFvMesh& 
mesh,
 
   39     volVectorField& cellDisp =
 
   40         const_cast<volVectorField&
>(
mesh_.thisDb().lookupObject<volVectorField>(
"cellDisplacement"));
 
   42     scalar t = 
mesh_.time().value();
 
   44     const scalar& pi = Foam::constant::mathematical::pi;
 
   51         label patchI = 
mesh_.boundaryMesh().findPatchID(patchName);
 
   53         forAll(cellDisp.boundaryField()[patchI], faceI)
 
   55             cellDisp.boundaryFieldRef()[patchI][faceI] = y * 
direction_;
 
   60     Info << 
"Time: " << t << 
"  y: " << y << endl;
 
  
scalar phase_
phase of the translation oscillation
 
forAll(pseudoP.boundaryField(), patchI)
 
const dynamicFvMesh & mesh_
fvMesh
 
scalar amplitude_
amplitude of the translation oscillation
 
DAOption daOption(mesh, pyOptions_)
 
scalar frequency_
frequency of the translation oscillation
 
const DAOption & daOption_
DAOption object.
 
const dictionary & getAllOptions() const
return a reference of allOptions_ dictionary
 
wordList patchNames_
patch names for the moving body
 
vector direction_
direction of the translation oscillation
 
virtual void correct()
update the cell displacement
 
defineTypeNameAndDebug(DAFvSource, 0)
 
addToRunTimeSelectionTable(DAFvSource, DAFvSourceActuatorDisk, dictionary)
 
DAMotionTranslation(const dynamicFvMesh &mesh, const DAOption &daOption)