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

fan patch acting as porous jump

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2010, 16:23
Default fan patch acting as porous jump
  #1
Member
 
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 17
roth is on a distinguished road
In 1.5.x, the fan boundary condition allowed a negative pressure jump across a cyclic patch. That is, with something like this for pressure
Code:
{
    type          fan;
    patchType     cyclic;
    f             List<scalar> 3(0.0 0.0 -1.0);
    value         uniform 0;
}
we would get a porous jump, here delta p = -1.0 V^2

However, in 1.6.x & 1.7.x it appears that the jump is not allowed to drop below zero. i.e. in fanFvPatchFields.C we now have

Code:
-- snip --
        for(label i=1; i<f_.size(); i++)
        {
            jump_ += f_[i]*pow(Un, i);
        }

        jump_ = max(jump_, scalar(0)); 
-- snip --
I imagine this was put in for stability reasons and perhaps because it is, after all, a fan boundary condition but perhaps there could a minimum allowable pressure instead of zero added? i.e. defaults to zero but, if specified, allows negative jumps?

Mike
roth 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
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 02:34
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 23:12.