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

porousSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2012, 10:30
Default porousSimpleFoam and rotating porous media
  #1
Per
New Member
 
Per Christian Endresen
Join Date: Feb 2012
Location: Trondheim, Norway
Posts: 13
Rep Power: 14
Per is on a distinguished road
Hi

I want to use a rotating porous media in order to disturb/set up a flow in a tank. Think of it as a porous screen or disk. From the tutorial of porousSimpleFoam I see that porous media is used for flow control, rather than setting up a flow. From the source term in the governing equation it can be seen that one needs a flow velocity in order to have a contribution from the porous media on the flow.

Does anyone know if it is possible to define a moving/rotating porous media by for instance using a moving reference frame (without altering the source code)? I have noticed that a solver named rhoPorousSimpleFoam exists. But this is for incompressible flow (I have incompressible flow), and the example did not have any MRFZones that I could see. Btw, I am using OF 2.1.0.

Thanks in advance for replies
Regards
Per

Last edited by Per; March 30, 2012 at 04:36.
Per is offline   Reply With Quote

Old   April 15, 2012, 19:32
Default
  #2
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Hi

Try the MRFSimpleFoam. It has a tutorial!

Also a wiki entry: http://openfoamwiki.net/index.php/MR...eFoam_Tutorial

I hope these help!

Regards,
Hisham
Hisham is offline   Reply With Quote

Old   April 16, 2012, 05:01
Default
  #3
Per
New Member
 
Per Christian Endresen
Join Date: Feb 2012
Location: Trondheim, Norway
Posts: 13
Rep Power: 14
Per is on a distinguished road
Thanks for the reply Hisham I have already tested MRFSimpleFoam on a case quite similar with the one you posted. This takes care of rotation of a boundary face, but I still need to include a porous zone or porous volume (which must be rotating). Any ideas?

Regards
Per
Per is offline   Reply With Quote

Old   April 16, 2012, 09:42
Default
  #4
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Hi Per,

Support for moving meshes has to be implemented in the code if it is not there. Look at interDyMFoam and interFoam to compare what you need to do. The tutorial/mesh has a dynamicMovingMesh directory for tutorials on how to move the mesh using the dynamicMoveMesh utility but not actually solving anything!

If you need to start a rotation in fluid, why not add a source term to the solver equation for body forces and set it up with some criteria to initialize the tank! This will also need digging into code.

Also, why not set the initial velocity field for a non zero value. You can use funkySetFields utility for adding an expression for cell values (i.e. based on position).

I hope you find a solution soon

Regards
Hisham
Hisham is offline   Reply With Quote

Old   April 19, 2012, 09:29
Default
  #5
Per
New Member
 
Per Christian Endresen
Join Date: Feb 2012
Location: Trondheim, Norway
Posts: 13
Rep Power: 14
Per is on a distinguished road
In the beginning I am trying to avoid adding new functionality (time consuming). But it might be that I have to in the end. Thanks for the tip

Regards
Per
Per is offline   Reply With Quote

Old   October 24, 2015, 16:42
Default
  #6
New Member
 
Amjad
Join Date: May 2012
Posts: 21
Rep Power: 14
Amjad Asad is on a distinguished road
Hello,
I would like to know, if you could solve your problem. My case is similar to yours. I have a porous body rotating on its axis in a Cylinder filled up with water. Here, i need to consider the rotation of the porous body
Best regards,
Amjad
Amjad Asad is offline   Reply With Quote

Reply

Tags
mrf, polar, porous, rotating, simplefoam


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
Adding temperature equation to porousSimpleFoam David_010 OpenFOAM Programming & Development 9 February 14, 2018 02:22
porousSimpleFoam: oscillating velocity in the porous zone Se9a OpenFOAM Running, Solving & CFD 22 August 22, 2017 04:22
porousSimpleFoam multiple soil regions sdp203 OpenFOAM Pre-Processing 1 August 19, 2014 20:42
porousSimpleFoam - crash Sebaj OpenFOAM 2 January 4, 2012 17:16
porousSimpleFoam bug in 1.7.x chibsen OpenFOAM Bugs 4 August 6, 2010 18:26


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