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

A question to the partialSlip boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 08:52
Default A question to the partialSlip boundary condition
  #1
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Hi,

The UserManual says, that the partialSlip is a mixture of zeroGradient and slip BC. The following listing is the evaluate() function of partialSlipFvPatchField.

If the value of valueFraction_ is zero, then the BC behaves like a slip BC. If the value of valueFraction is one, then - as far as I understand the code - a zero value is prescribed.

Did I get something wrong? To me it seems partialSlip is a mix of slip and zeroValue rather than zeroGradient.

Code:
template<class Type>
void Foam::partialSlipFvPatchField<Type>::evaluate
(
    const Pstream::commsTypes
)
{
    if (!this->updated())
    {
        this->updateCoeffs();
    }

    tmp<vectorField> nHat = this->patch().nf();

    Field<Type>::operator=
    (
        (1.0 - valueFraction_)
       *transform(I - sqr(nHat), this->patchInternalField())
    );

    transformFvPatchField<Type>::evaluate();
}
paddy.here likes this.
GerhardHolzinger is offline   Reply With Quote

Reply

Tags
boundary condition, partial slip


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
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 11:54
velocity profile inlet boundary condition question Lcw FLUENT 3 August 3, 2012 06:53
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 01:55
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 03:53
a simple Boundary condition question prapanj OpenFOAM Running, Solving & CFD 1 March 16, 2009 08:51


All times are GMT -4. The time now is 21:24.