|
[Sponsors] |
May 11, 2007, 11:36 |
Hi everybody,
The followi
|
#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 |
|
June 19, 2007, 06:13 |
Hi Frank!
Did you resolve thi
|
#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 |
|
June 19, 2007, 06:38 |
not yet, busy with other thing
|
#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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Coordinate conversion | Sae woong Kil | CFX | 2 | November 28, 2008 11:32 |
conversion | hari | Main CFD Forum | 0 | December 6, 2007 00:26 |
Sintax conversion from 102 to 11 | chris | OpenFOAM Running, Solving & CFD | 8 | March 17, 2005 06:31 |
conversion to iges | buildmesher | CFX | 0 | May 6, 2003 18:51 |
tet to hex conversion? | Henry | Main CFD Forum | 10 | June 8, 2001 08:03 |