|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 ![]() |
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
__________________
Frank Bos |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 ![]() |
Hi Frank!
Did you resolve this problem? How? Francesco |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 ![]() |
not yet, busy with other things. Just waiting till Hrvoje transfers his stuff to 1.4. Basically, I only need the dynamicBodyFvMesh.
Frank
__________________
Frank Bos |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Coordinate conversion | Sae woong Kil | CFX | 2 | November 28, 2008 10:32 |
conversion | hari | Main CFD Forum | 0 | December 5, 2007 23:26 |
Sintax conversion from 102 to 11 | chris | OpenFOAM Running, Solving & CFD | 8 | March 17, 2005 05:31 |
conversion to iges | buildmesher | CFX | 0 | May 6, 2003 17:51 |
tet to hex conversion? | Henry | Main CFD Forum | 10 | June 8, 2001 07:03 |