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

solid cylinder motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2018, 14:19
Default solid cylinder motion
  #1
Member
 
Ben 017
Join Date: Nov 2017
Posts: 70
Rep Power: 8
Ben UWIHANGANYE is on a distinguished road
Hello,

Hope you are well!


May you help on this case?
Indeed i want to move a solid cylinder, I have coded in c++ the equation of motion(simple harmonic equation). The cylinder was created using cylinderTocell in topoSetDict.

Can you help to know how make that cylinder oscillating using that equation.

or if you know another way to use to make that cylinder oscillating without dynamic mesh, i will be happy to hear from you.

Attached is the c++ equation of motion.



Regard!

Thank you.
Ben UWIHANGANYE is offline   Reply With Quote

Old   June 24, 2018, 17:15
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
Hello,


first of all you do not need any ode solver for a harmonic oscillation. There exists an analytical solution.


I think there is no other option than to use the dynamicMesh in OpenFoam to model displacement. There exist an arbitrary mesh interface where two mesh can be moved along a common interface.
mAlletto 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamicFvMesh - tabulated motion of a solid body + mesh morphing HendrikW OpenFOAM Pre-Processing 3 December 3, 2019 02:05
FSI with motion of solid parts: Any tips? maccheese Fluent Multiphase 0 March 6, 2018 09:02
Motion trajectories of an oscillating cylinder Thaw Tar OpenFOAM Post-Processing 0 April 14, 2015 08:42
Solid motion Martin_Sz CFX 4 March 20, 2015 04:51
Help in Meshing Solid Cylinder in Gambit. Andy Singh FLUENT 5 August 31, 2004 07:31


All times are GMT -4. The time now is 08:07.