CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

refValue in the Boundary Conditions

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2018, 00:07
Default refValue in the Boundary Conditions
New Member
Join Date: Mar 2018
Posts: 7
Rep Power: 3
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:

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.

mineralwater7 is offline   Reply With Quote

Old   April 7, 2018, 04:20
Senior Member
piu58's Avatar
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 590
Rep Power: 7
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
New Member
Join Date: Mar 2018
Posts: 7
Rep Power: 3
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
Senior Member
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 3,181
Rep Power: 39
LuckyTran 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.

    if (thermalCreep_)
        const volScalarField& vsfT =
        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


boundary condition u

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 09:44
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 11:53
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 10 June 16, 2015 16:48
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 06:16.