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

TomiyamaCorrelated drag model for reactingTwoPhaseEulerFoam

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

Like Tree1Likes
  • 1 Post By achref_rabhi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2019, 09:37
Default TomiyamaCorrelated drag model for reactingTwoPhaseEulerFoam
  #1
New Member
 
Achref Rabhi
Join Date: Sep 2018
Posts: 6
Rep Power: 7
achref_rabhi is on a distinguished road
Dear foamers!

I am trying to use the drag model for ractingTwoPhaseEulerFoam : TomiyamaCorrelated, but after few steps of the resolution, I got this error message in the terminal:

--> FOAM FATAL ERROR:

request for surfaceTensionModel surfaceTensionModel.liquidAndGas from objectRegistry region0 failed
available objects of type surfaceTensionModel are
1(surfaceTensionModel.gasAndLiquid)

From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::surfaceTensionModel]
in file X:/OpenFOAM-5.x/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C at line 193.

FOAM aborting
----------------------------------------

Can any one please explain what is this surfaceTensionModel and where to put it? I tried to put it in phaseProperties in surfaceTension section but without success.

Thank you in advance,
achref_rabhi is offline   Reply With Quote

Old   March 1, 2019, 12:06
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 121
Rep Power: 8
Krapf is on a distinguished road
Hi achref_rabhi,

I'm not sure if I can help you, but please post your phaseProperties file.

Kind regards,
Krapf
Krapf is offline   Reply With Quote

Old   March 4, 2019, 04:08
Default
  #3
New Member
 
Achref Rabhi
Join Date: Sep 2018
Posts: 6
Rep Power: 7
achref_rabhi is on a distinguished road
Hi Krapf

Please fin follow my phaseProperties file:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

type thermalPhaseChangeTwoPhaseSystem;

phases (gas liquid);

volatile "water";

massTransfer on;

gas
{
type multiComponentPhaseModel;
diameterModel IATE;

IATECoeffs
{
dMax 1e-2;
dMin 1e-4;
residualAlpha 1e-4;

sources
(
wakeEntrainmentCoalescence
{
Cwe 0.002;
}

randomCoalescence
{
Crc 0.04;
C 3;
alphaMax 0.75;
}

turbulentBreakUp
{
Cti 0.085;
WeCr 6;
}

phaseChange
{}

wallBoiling
{}
);
}

constantCoeffs
{
d 0.00045;
}

isothermalCoeffs
{
d0 0.00045;
p0 1e5;
}

Sc 0.7;

residualAlpha 1e-4;
}

liquid
{
type multiComponentPhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
Sc 0.7;

residualAlpha 1e-4;
}

blending
{
default
{
type linear;
continuousPhase liquid;
minFullyContinuousAlpha.gas 0.7;
minPartlyContinuousAlpha.gas 0.5;
minFullyContinuousAlpha.liquid 0.7;
minPartlyContinuousAlpha.liquid 0.5;
}

heatTransfer
{
type linear;
continuousPhase liquid;
minFullyContinuousAlpha.gas 1;
minPartlyContinuousAlpha.gas 0;
minFullyContinuousAlpha.liquid 1;
minPartlyContinuousAlpha.liquid 0;
}

massTransfer
{
type linear;
continuousPhase liquid;
minFullyContinuousAlpha.gas 1;
minPartlyContinuousAlpha.gas 0;
minFullyContinuousAlpha.liquid 1;
minPartlyContinuousAlpha.liquid 0;
}
}

surfaceTension
(
(gas and liquid)
{
type constant;
sigma 0.0717;
}

);


saturationModel
{
type polynomial;
C<8>
(
320.2
0.0009131
-5.768e-09
2.439e-14
-6.174e-20
9.02e-26
-6.999e-32
2.228e-38
/*
315.5
0.001161
-1.043e-08
6.732e-14
-2.816e-19
7.592e-25
-1.306e-30
1.382e-36
//-8.176e-43
//2.069e-49*/
);
};

aspectRatio
(
(gas in liquid)
{
type constant;
E0 1.0;
}

(liquid in gas)
{
type constant;
E0 1.0;
}
);

drag
(
(gas in liquid)
{

type TomiyamaCorrelated;
A 16.0;
swarmCorrection
{
type none;
}
}

(liquid in gas)
{

type TomiyamaCorrelated;
A 16.0;
swarmCorrection
{
type none;
}
}
);

virtualMass
(
(gas in liquid)
{
type Lamb;//constantCoefficient;
//Cvm 0.5;
}

(liquid in gas)
{
type Lamb;//constantCoefficient;
//Cvm 0.5;
}
);

interfaceComposition
();

heatTransfer.gas
(
(gas in liquid)
{
type spherical;
residualAlpha 1e-3;
}

(liquid in gas)
{
type RanzMarshall;
residualAlpha 1e-3;
}
);

heatTransfer.liquid
(
(gas in liquid)
{
type RanzMarshall;
residualAlpha 1e-3;
}

(liquid in gas)
{
type spherical;
residualAlpha 1e-3;
}
);

massTransfer.gas
();

massTransfer.liquid
();

lift
(
/*(gas in liquid)
{
type Tomiyama;
}

(liquid in gas)
{
type Tomiyama;

}*/
);

wallLubrication
(
(gas in liquid)
{
//type Antal;
type Frank;
//Cw1 -0.01;
//Cw2 0.05;
Cwc 10.0;
Cwd 6.8;
p 1.7;
}
);

turbulentDispersion
(
(gas in liquid)
{
type Burns;
sigma 0.7;
Ctd 1.0;
residualAlpha 1e-3;
}
);

// Minimum allowable pressure
pMin 10000;


// ************************************************** *********************** //
LSK likes this.
achref_rabhi is offline   Reply With Quote

Reply

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile a new drag force in Lagrangian model lilinmin OpenFOAM Programming & Development 4 June 9, 2016 04:15
Drag model implementation vbchris OpenFOAM Running, Solving & CFD 1 March 31, 2015 08:28
about Subgrid-scale model impecca OpenFOAM Running, Solving & CFD 4 December 20, 2013 10:36
multiphase model and drag law Yasmail AKARIOUH FLUENT 0 April 29, 2008 07:44
multiphase flow modelling, Drag model Anant CFX 1 February 4, 2008 04:18


All times are GMT -4. The time now is 20:32.