CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

moveDynamicMesh for moving a patch (Tz and Ry)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2012, 15:40
Default moveDynamicMesh for moving a patch (Tz and Ry)
  #1
Member
 
Ben Vernieres
Join Date: Jul 2011
Location: Valencia, Spain
Posts: 42
Rep Power: 14
bouclette is on a distinguished road
Send a message via Skype™ to bouclette
Hi All,

I am trying to obtain the equilibrium attitude of a floating object without having to use the interDyMFoam solver. I have no interest at all in the transient solutions.

I was hopping to make a script that moves my patch (not the whole domain) in order to match the mass and moments every n seconds in order to reach a steady state attitude after a few motion iterations.

I thought I could use the motion solver moveDynamicMesh but I haven't been successful at moving my patch in both translation and rotation at the same time.

I have tried some of the available patchFields in the pointDisplacement file but either couldn't figure the correct syntax to make them work or they do not seem to suit my needs. Couldn't find much in the tutorials neither as my case is a bit off the usual applications I think.

Has any of you got some tips and advises to give me in order to move a patch in a mesh?

Regards,

B.
bouclette is offline   Reply With Quote

Old   August 24, 2013, 08:29
Default
  #2
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Ben,

You should think that OF at least would include a tool which would be able to modify the position of a patch with a simple rotate/translate command...however, so far I'm not able to find it! Any luck on your side yet?

Cheers,

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Old   August 25, 2013, 07:29
Default
  #3
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 16
fredo490 is on a distinguished road
OpenFoam has a mesh translation tool... It's quite undocumented but it is there.

For this problem, I wouldn't use a dynamic mesh but rather dynamic boundary conditions. The equilibrium of the object depends mainly of the pressure. You can use "groovyBC" which is able to modify a boundary condition depending of a measurement.

You can use the force on the object to modify the pressure. For example, if the force goes up, then the boundary condition lower the pressure. If the force goes down, the boundary condition rise the pressure. At the end, you get the equilibrium pressure and therefore the altitude
fredo490 is offline   Reply With Quote

Old   August 26, 2013, 15:59
Default
  #4
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 15
Ralph M is on a distinguished road
Dear Frédéric,

Thank you for you reply, I greatly appreciate your comments on this problem. However, one thing I didn't told you about is that I have a similar (more coarse) mesh with results (i.e. flow pattern) available. I'm looking forward to generate this fine mesh and then map the results from the coarse mesh on the fine mesh. For this mapping process I need to impose the motion of the ship in the new mesh.

So do you have any ideas how this mesh translation tool is called? I looked in the source code several times but without succes so far.

Regards,

Ralph
__________________
CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:28.