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

Moving Reference Frame interFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 5, 2016, 19:04
Default Moving Reference Frame interFoam
  #1
Member
 
Arsalan
Join Date: Jul 2014
Posts: 72
Rep Power: 5
arsalan.dryi is on a distinguished road
Dear Foamers,

I'm doing some simulations of bubble rising in the quiescent liquid under gravity using interFoam. In order to reducing computational costs, I want to use a moving reference frame that follows the bubble during rising in the liquid in a manner that bubble placed in the middle of geometry. I have no idea about this purpose except Rusche's Phd thesis, but there is nothing about implementation of that!

Any help and comment will be appreciated.
Regards,
Arsalan.
arsalan.dryi is offline   Reply With Quote

Old   November 8, 2016, 10:27
Default
  #2
Member
 
Arsalan
Join Date: Jul 2014
Posts: 72
Rep Power: 5
arsalan.dryi is on a distinguished road
Dear Foamers,

According to Rusche's phd thesis, I should add the bubble acceleration in each time step to the momentum equation and also set velocity *BC's to the bubble center of mass velocity in a reverse direction.
Already I did these, but after 0.0025 s the solvers blows up because a very low time step value.
An another option is adding the bubble acceleration to the momentum equation again, and use dynamicMesh option for mesh movement. For this purpose, I modified a solid body motion function ("linearMotion") to a new function called "bubbleMotion" and set the vector displacement to bubble displacement as follows:
Code:
    // Translation of centre of gravity
    const vector displacement = xF; //xF=bubble displacement vector
The library and solver successfully compiled in this manner, but bubble displacement vector isn't updated for mesh movement, while xF is calculated and updated for each time step in the solver.
How should I tell the function to update xF for each time step?

I'm waiting for your comments about either of two methods.
Thanks in advance.
Regards,
Arsalan.
arsalan.dryi is offline   Reply With Quote

Reply

Tags
bubble rising, interfoam, moving mesh, moving reference frame

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
interFoam with moving reference frame Martin_K_lalelu OpenFOAM Running, Solving & CFD 0 November 4, 2014 03:41
OF211: ThirdParty and /src compiled, but not /applications... vkrastev OpenFOAM Installation 8 October 18, 2012 15:53
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 09:38
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Question about N-S eqs. in body fixed noninertial reference frame doctorWho Main CFD Forum 0 July 12, 2011 18:07


All times are GMT -4. The time now is 14:02.