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

Lagrangian Boundary Condition: interstitialInletVelocity

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By maysmech
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2014, 02:27
Lightbulb Lagrangian Boundary Condition: interstitialInletVelocity
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Hello Foamers,

I have a question about interstitialInletVelocity inlet BC which is used in lagrangian/MPPIC/Goldschemidt testcase.
Code:
    bottom
    {
        type            interstitialInletVelocity;
        inletVelocity   uniform (0 0 1.875);
        value           uniform (0 0 1.875);
        phi             phi.air;
        alpha           alpha.air;
    }
What is its difference with fixedvalue in application?
in its .h description it says:

HTML Code:
Description
    Inlet velocity in which the actual interstitial velocity is calculated
    by dividing the specified inletVelocity field with the local phase-fraction.
To find its difference with uniformFixedValue I compared average magnitude of inlet velocity (By using Integration over bottom patch) and found that in fixedvalue (0 0 2) the average of inlet velocity is 2, But in interstitialInletVelocity of ( 0 0 2 ) the average velocity is 4.8 m/s.
I calculated average alpha.air magnitude in this patch = 0.42 and understood that 4.8 m/s=2.0/0.42 as described in .h file.
Seeing the contour of inlet in this condition shows the magnitude of air varies between 4 to 6.51 m/s with the average of 4.89 (is attached) and I don't know why it increases the stated 2 m/s to higher magnitudes. If it considers the solid fractions in inlet patch so it should be some zero magnitude velocities on inlet but there is not seen.
Attached Images
File Type: png value2-bottomContour-interstitialInletVelocity.png (13.1 KB, 95 views)
ms.hashempour and zzluozz11 like this.
maysmech is offline   Reply With Quote

Old   March 23, 2014, 13:29
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Maysam,

If you take a look into the C file:
Quote:
Originally Posted by src/finiteVolume/fields/fvPatchFields/derived/interstitialInletVelocity/interstitialInletVelocityFvPatchVectorField.C
Code:
void Foam::interstitialInletVelocityFvPatchVectorField::updateCoeffs()
{
    if (updated())
    {
        return;
    }

    const fvPatchField<scalar>& alphap =
        patch().lookupPatchField<volScalarField, scalar>(alphaName_);

    operator==(inletVelocity_/alphap);
    fixedValueFvPatchVectorField::updateCoeffs();
}
It essentially defines that the fixed boundary value for U at the inlet should be defined as "inletVelocity_/alphap". Therefore, this apparently assumes that:
  1. "inletVelocity_" is a reference velocity for a full "alphap" value, namely "1.0".
  2. "alphap" can never be zero, otherwise it would result in a crash with a SIGFPE: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE
  3. The logic might be that the phase proportion is inversely proportional to the velocity, possibly due to a vacuum-like effect. I.e., when there is very little of this phase (smaller than 1.0), it acts as high-speed+low-pressure combination.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 9, 2016, 17:09
Default
  #3
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Dear Bruno,

This boundary condition 'interstitialInletVelocity' is used in the lagrangian and multiphase solvers:

Code:
lagrangian/MPPICFoam/Goldschmidt/0/U.air:40:        type            interstitialInletVelocity;
lagrangian/DPMFoam/Goldschmidt/0/U.air:40:        type            interstitialInletVelocity;
multiphase/reactingTwoPhaseEulerFoam/laminar/fluidisedBed/0/U.air:25:        type               interstitialInletVelocity;
multiphase/reactingTwoPhaseEulerFoam/RAS/fluidisedBed/0/U.air:25:        type               interstitialInletVelocity;
multiphase/twoPhaseEulerFoam/laminar/fluidisedBed/0/U.air:25:        type               interstitialInletVelocity;
. It seems that this is always used in the inlet BC of continuous phase. So in this case, the item 'inletVelocity' corresponds to the actual velocity predicted from the mass flow rate? So the inlet velocity which is from 'inletVelocity / alpha' is always bigger than the actual one. Do we also need to use this BC for the dispersed phase inlet BC? Thank you so much.

OFFO
openfoammaofnepo is offline   Reply With Quote

Old   March 13, 2016, 11:58
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers:
Quote:
Originally Posted by openfoammaofnepo View Post
It seems that this is always used in the inlet BC of continuous phase.
Yes...

Quote:
Originally Posted by openfoammaofnepo View Post
So in this case, the item 'inletVelocity' corresponds to the actual velocity predicted from the mass flow rate?
yes...

Quote:
Originally Posted by openfoammaofnepo View Post
So the inlet velocity which is from 'inletVelocity / alpha' is always bigger than the actual one.
Greater or equal. If alpha is 1.0, then it's equal.

Quote:
Originally Posted by openfoammaofnepo View Post
Do we also need to use this BC for the dispersed phase inlet BC?
I'm out of context here.
  • If the dispersed phase is Lagrangian, then you probably cannot use this boundary condition.
  • If it's another fluid, you just need to configure it accordingly in the names.
The paradigm should be simple enough: if I'm not mistaken, the Lagrangian "phase" will act as a physical net that constrains the fluid passing through it.
openfoammaofnepo likes this.
__________________
wyldckat 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Boundary condition not met, although fully converged Zerzura FLUENT 0 January 20, 2016 04:21
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


All times are GMT -4. The time now is 03:34.