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

refValue in the Boundary Conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2018, 00:07
Default refValue in the Boundary Conditions
  #1
New Member
 
Longism
Join Date: Mar 2018
Posts: 7
Rep Power: 8
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, 04:20
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
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, 07:59
Default
  #3
New Member
 
Longism
Join Date: Mar 2018
Posts: 7
Rep Power: 8
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, 15:42
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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


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


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