Hi everybody,
The followi
Hi everybody,
The following piece of code occurs in the dynamicBodyFvMesh library. My question is, how do I translate this piece of code to the new openFoam 1.4? I slowly begin to understand the new approach of the motionSolver stuff. Certain occurances of tetDecompostionMotionSolver can just be replaced with motionSolver, but the following piece I do not understand.... ================================================== tetPointVectorField& motionU = mSolver.motionU(); if ( motionU.boundaryField()[bodyPatchID_].type() == fixedValueTetPolyPatchVectorField::typeName ) { fixedValueTetPolyPatchVectorField& motionUBodyPatch = refCast<fixedvaluetetpolypatchvectorfield> ( motionU.boundaryField()[bodyPatchID_] ); motionUBodyPatch == (trans + rot)/time().deltaT().value(); } ================================================== Regards and thanks, Frank |
Hi Frank!
Did you resolve thi
Hi Frank!
Did you resolve this problem? How? Francesco |
not yet, busy with other thing
not yet, busy with other things. Just waiting till Hrvoje transfers his stuff to 1.4. Basically, I only need the dynamicBodyFvMesh.
Frank |
All times are GMT -4. The time now is 13:31. |