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

refValue in the Boundary Conditions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 6, 2018, 23:07
Default refValue in the Boundary Conditions
  #1
New Member
 
Longism
Join Date: Mar 2018
Posts: 7
Rep Power: 2
mineralwater7 is on a distinguished road
Hi everyone,

Am very newbee to the OpenFoam. And now am looking at the Boundary conditions define.

For velocity in the slip condition, it is defined as below:

wall
{
type maxwellSlipU;
accommondationCoeff 1;
curvature on;
Uwall uniform (0 0 0);
value uniform (0 0 0);
refValue uniform (0 0 0);
}

Please help what is the differences in U wall, value and refValue.
As my understanding, Uwall is the velocity of the wall, value is the initial value of the velocity on the wall, refValue is reference value (from there you can find the absolute value of Uwall and initial velocity)
is my undertanding is correct? It is quite confusing.

Thanks
mineralwater7 is offline   Reply With Quote

Old   April 7, 2018, 03:20
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 560
Rep Power: 6
piu58 is on a distinguished road
What is the reason for using maxwellSlipU? I would start at least with a constant value.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   April 7, 2018, 06:59
Default
  #3
New Member
 
Longism
Join Date: Mar 2018
Posts: 7
Rep Power: 2
mineralwater7 is on a distinguished road
This is a sample code I found that using maxwell slip condition on the wall. Trying to understand it
mineralwater7 is offline   Reply With Quote

Old   April 11, 2018, 14:42
Default
  #4
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 2,333
Rep Power: 30
LuckyTran will become famous soon enoughLuckyTran will become famous soon enough
Uwall is the wall velocity. U wall is (0 0 0) if your wall is stationary.
value is the current solution/value, which is more-or-less the slip velocity.

I don't understand the model well enough to understand refValue. It is related to the thermalCreep and curvature options and it looks like it's a calculated variable.

Code:
    if (thermalCreep_)
    {
        const volScalarField& vsfT =
            this->db().objectRegistry::lookupObject<volScalarField>(TName_);
        label patchi = this->patch().index();
        const fvPatchScalarField& pT = vsfT.boundaryField()[patchi];
        Field<vector> gradpT(fvc::grad(vsfT)().boundaryField()[patchi]);
        vectorField n(patch().nf());

        refValue() -= 3.0*pnu/(4.0*pT)*transform(I - n*n, gradpT);
    }

    if (curvature_)
    {
        const fvPatchTensorField& ptauMC =
            patch().lookupPatchField<volTensorField, tensor>(tauMCName_);
        vectorField n(patch().nf());

        refValue() -= C1/prho*transform(I - n*n, (n & ptauMC));
    }
LuckyTran is offline   Reply With Quote

Reply

Tags
boundary condition u

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
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 10 June 16, 2015 15:48
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


All times are GMT -4. The time now is 04:30.