CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Conversion 13 14 of dynamicBodyFvMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 11, 2007, 11:36
Default Hi everybody, The followi
  #1
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 8
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Old   June 19, 2007, 06:13
Default Hi Frank! Did you resolve thi
  #2
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 209
Rep Power: 8
fra76 is on a distinguished road
Hi Frank!
Did you resolve this problem? How?

Francesco
fra76 is offline   Reply With Quote

Old   June 19, 2007, 06:38
Default not yet, busy with other thing
  #3
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 8
lr103476 is on a distinguished road
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
lr103476 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:09.