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

solid body rotation, immersed boundary method, foam-extend

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ali Blues

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2016, 05:19
Default solid body rotation, immersed boundary method, foam-extend
  #1
Member
 
Join Date: Jun 2015
Posts: 30
Rep Power: 11
Ali Blues is on a distinguished road
Hi,
I had a look at the tutorial in foam-extend 3.2 for the case of oscillating cylinder in a channel (movingCylinderInChannelIco) using the immersed boundary method.

Now imagine that i have a square instead of a cylinder and i only want to rotate the square about the out of the plane axis, without any translation. Now I think I can make use of the GGI approach and enclose the square in a "rotating Zone". But that kind of spoils the whole idea of using IBM.

So looking at available solid body motion solvers in src/dynamicMesh/meshMotion/solidBodyMotion/ it seems I could use the rotatingOscillation motion solver. I'll give it a shot. Let's see how it goes.

Ali
Xiaoyao likes this.

Last edited by Ali Blues; April 14, 2016 at 04:16.
Ali Blues is offline   Reply With Quote

Old   April 15, 2016, 08:42
Default
  #2
New Member
 
Robert Grandl
Join Date: Aug 2015
Posts: 16
Rep Power: 11
RobertG is on a distinguished road
Quote:
Originally Posted by Ali Blues View Post
Hi,
I had a look at the tutorial in foam-extend 3.2 for the case of oscillating cylinder in a channel (movingCylinderInChannelIco) using the immersed boundary method.

Now imagine that i have a square instead of a cylinder and i only want to rotate the square about the out of the plane axis, without any translation. Now I think I can make use of the GGI approach and enclose the square in a "rotating Zone". But that kind of spoils the whole idea of using IBM.

So looking at available solid body motion solvers in src/dynamicMesh/meshMotion/solidBodyMotion/ it seems I could use the rotatingOscillation motion solver. I'll give it a shot. Let's see how it goes.

Ali
Hello,
You have to write your owen rotation Function. Based on the oscillation... Function at the movingIB tutorial, it should not be that complicated. I was a beginner when I did it and it tock me only 1 h. (OpenFoam has already one, but it is more easy to write your owen based on the oscillation... Function then make the one of OF work).
Just adapt the translate part, make the rotation matrix dependent to the simulation time and adapt the variables which are read at the dynamicMeshDict

Hope that helps

RobertG
RobertG is offline   Reply With Quote

Old   December 17, 2022, 10:27
Default
  #3
New Member
 
Yateng Qiao
Join Date: Nov 2022
Posts: 13
Rep Power: 3
YatengQ is on a distinguished road
Hi Robert,

Sorry to bother you, I wonder how to define the self-motion function based on the rotatingOscillation.C.

You say movingIB tut, I can't find it, can you explain in more details?

PS:you mean I need to define the rotation motion by creat the "myrotation.C" & "myrotation.H"?

I'm new in IBM, maybe these questions are simple enough..........

Thanks!
B.W.

YT.Q
YatengQ 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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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