|
[Sponsors] |
TomiyamaCorrelated drag model for reactingTwoPhaseEulerFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 1, 2019, 10:37 |
TomiyamaCorrelated drag model for reactingTwoPhaseEulerFoam
|
#1 |
New Member
Achref Rabhi
Join Date: Sep 2018
Posts: 6
Rep Power: 8 |
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, |
|
March 1, 2019, 13:06 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 134
Rep Power: 9 |
Hi achref_rabhi,
I'm not sure if I can help you, but please post your phaseProperties file. Kind regards, Krapf |
|
March 4, 2019, 05:08 |
|
#3 |
New Member
Achref Rabhi
Join Date: Sep 2018
Posts: 6
Rep Power: 8 |
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; // ************************************************** *********************** // |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 05:15 |
Drag model implementation | vbchris | OpenFOAM Running, Solving & CFD | 1 | March 31, 2015 09:28 |
about Subgrid-scale model | impecca | OpenFOAM Running, Solving & CFD | 4 | December 20, 2013 11:36 |
multiphase model and drag law | Yasmail AKARIOUH | FLUENT | 0 | April 29, 2008 08:44 |
multiphase flow modelling, Drag model | Anant | CFX | 1 | February 4, 2008 05:18 |