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

Abnormal velocity when modelling wall boiling using reactingTwoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2020, 08:43
Default Abnormal velocity when modelling wall boiling using reactingTwoPhaseEulerFoam
  #1
ZZW
New Member
 
Zhao
Join Date: Dec 2019
Posts: 4
Rep Power: 6
ZZW is on a distinguished road
Hi Foamers,


I am modelling water-vapour wall boiling inside a vertical pipe, using a wedge asymmetric mesh. The length is 2m, with 15.4 mm diameter.



Pipe wall heat flux is 570000w.m-2 and the average velocity at the inlet is 1m.s-1, working at 45 bar pressure. Turbulence model for both phases is k-epsilon.
The simulation runs good at the beginning, but when the vapour volume fraction be closing to 0.1 the max velocity increases rapidly to around 3m.s-1, and then the volume fraction as well.


For reference, I have attached some files here. If my question is unclear, please let me know in the comment.


Regards,
Zao


Liquid velocity code:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 1);

boundaryField
{
    inlet
    {
        type            mapped;
        field           U.liquid;
        setAverage      1;
        average         (0 0 1);
        interpolationScheme cell;
        value           uniform (0 0 1);
    }
    outlet
    {
        type            pressureInletOutletVelocity;
        phi             phi.liquid;
        value           uniform (0 0 1);
    }
    
    wall
    {
        type            noSlip;
    }
    front
    {
        type            wedge;
    }
    back
    {
        type            wedge;
    }

   
}


// ************************************************************************* //

alphat.liquid code:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    location    "0";
    object      alphat.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -1 0 0 0 0];

internalField   uniform 1e-8;

boundaryField
{
    inlet
    {
        type            calculated;
        value           uniform 1e-8;
    }
    outlet
    {
        type            calculated;
        value           uniform 1e-8;
    }
    
    wall
    {
        type            compressible::alphatWallBoilingWallFunction;
        otherPhase      gas;
        phaseType       liquid;
        Prt             0.85;
        /*Cmu             0.09;
        kappa           0.41;
        E               9.8;
        relax           0.01;
        dmdt            uniform 0;*/
        partitioningModel
        {
            type        Lavieville;
            alphaCrit   0.2;
        }
        nucleationSiteModel
        {
            type        LemmertChawla;
        }
        departureDiamModel
        {
            type        TolubinskiKostanchuk;
        }
        departureFreqModel
        {
            type        Cole;
        }
        value           uniform 0.01;
    }
    front
    {
        type           wedge;
    }
    back
    {
        type            wedge;
    }
   

}


// ************************************************************************* //
Attached Files
File Type: txt phaseProperties.txt (2.9 KB, 29 views)
File Type: txt thermophysicalProperties.gas.txt (1.2 KB, 21 views)
File Type: txt thermophysicalProperties.liquid.txt (1.4 KB, 20 views)
File Type: txt fvSchemes.txt (1.7 KB, 16 views)
File Type: txt fvSolution.txt (2.2 KB, 16 views)
ZZW is offline   Reply With Quote

Old   January 31, 2020, 16:06
Default
  #2
ZZW
New Member
 
Zhao
Join Date: Dec 2019
Posts: 4
Rep Power: 6
ZZW is on a distinguished road
Reason found.


mu coefficients is supposed to be corrected as:


Code:
 transport
    {
        muCoeffs<8>  (0.0004282 -6.19667e-7 0 0 0 0 0 0);
        kappaCoeffs<8> (1.14518355 -0.001017 0 0 0 0 0 0);
    }
ZZW is offline   Reply With Quote

Old   February 15, 2020, 10:59
Default
  #3
New Member
 
Tolu
Join Date: Feb 2020
Posts: 1
Rep Power: 0
skizzz is on a distinguished road
where did you get the coefficients from
skizzz is offline   Reply With Quote

Reply

Tags
reactingtwophaseeulerfoam, wall boiling


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
UDF comilation error. urgent help please m zubair Fluent UDF and Scheme Programming 4 February 10, 2019 11:19
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 06:08
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
wall velocity in remeshing case mahdinili CFX 1 June 7, 2012 18:49
Problem Interface Solid Fluid with wall velocity Solver v12 hills1 CFX 2 October 12, 2009 05:36


All times are GMT -4. The time now is 07:49.