|
[Sponsors] |
February 14, 2020, 12:56 |
Peclet number for multiphase systems
|
#1 |
New Member
sut
Join Date: Feb 2020
Posts: 2
Rep Power: 0 |
Dear Foamers,
I am simulating a gas-liquid system using reactingMultiphaseEulerFoam and I would like to have the Peclet number for each phase or only one phase (gas). I included the following function object in the controlDict: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ peclet { type PecletNo; libs ("libfieldFunctionObjects.so"); writeControl adjustableRunTime; writeInterval 1e-6; log false; } // ************************************************** *********************** // But I got the following error: "--> FOAM FATAL ERROR: request for turbulenceModel turbulenceProperties from objectRegistry region0 failed available objects of type turbulenceModel are 2 ( turbulenceProperties.liquid turbulenceProperties.gas ) From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::turbulenceModel] in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::turbulenceModel const& Foam:bjectRegistry::lookupObject<Foam::turbulenc eModel>(Foam::word const&) const at ??:? #3 Foam::functionObjects::PecletNo::calc() at ??:? #4 Foam::functionObjects::fieldExpression::execute() at ??:? #5 Foam::functionObjectList::execute() at ??:? #6 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/reactingMultiphaseEulerFoam" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/reactingMultiphaseEulerFoam" Aborted (core dumped) " I was wondering if you could help me solve this problem. Kind Regards, Sut |
|
February 14, 2020, 16:59 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
You request for a field which doesnt exist, can you share the other dicts as well?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 16, 2020, 07:06 |
|
#3 | |
New Member
sut
Join Date: Feb 2020
Posts: 2
Rep Power: 0 |
Quote:
Thanks for your reply. Could you please tell me which dictionary do you mean? I guess the problem is with being multiphase. I tried to use pisoFoam solver and changed *.gas to *, e.g. U.gas ---> U and this worked. So, I guess the problem is that or 1) the PecletNo function object is unable to work with multiphase or 2) I should insert some additional lines in the peclet dict to ask it to choose only one phase, e.g. gas or liquid. Anyway, please tell me which dictionaries do you want to see. Kind Regards, Sut |
||
Tags |
peclet number, reactingmultiphasefoam, turbulence models |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
[mesh manipulation] mergeMeshes for more than two fluid domains | Vishsel | OpenFOAM Meshing & Mesh Conversion | 17 | May 20, 2019 08:05 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 23:29 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 11:37 |