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

porousSimpleFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2012, 09: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: 5
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 03:36.
Per is offline   Reply With Quote

Old   April 15, 2012, 18:32
Default
  #2
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 8
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, 04:01
Default
  #3
Per
New Member
 
Per Christian Endresen
Join Date: Feb 2012
Location: Trondheim, Norway
Posts: 13
Rep Power: 5
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, 08:42
Default
  #4
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 8
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, 08:29
Default
  #5
Per
New Member
 
Per Christian Endresen
Join Date: Feb 2012
Location: Trondheim, Norway
Posts: 13
Rep Power: 5
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

Reply

Tags
mrf, polar, porous, rotating, simplefoam

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


All times are GMT -4. The time now is 18:40.