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

Peclet number for multiphase systems

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2020, 11:56
Question Peclet number for multiphase systems
  #1
New Member
 
sut
Join Date: Feb 2020
Posts: 2
Rep Power: 0
sutcfd is on a distinguished road
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
sutcfd is offline   Reply With Quote

Old   February 14, 2020, 15:59
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
You request for a field which doesnt exist, can you share the other dicts as well?
HPE is offline   Reply With Quote

Old   February 16, 2020, 06:06
Default
  #3
New Member
 
sut
Join Date: Feb 2020
Posts: 2
Rep Power: 0
sutcfd is on a distinguished road
Quote:
Originally Posted by HPE View Post
You request for a field which doesnt exist, can you share the other dicts as well?
Dear HPE,
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
sutcfd is offline   Reply With Quote

Reply

Tags
peclet number, reactingmultiphasefoam, turbulence models


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
[mesh manipulation] mergeMeshes for more than two fluid domains Vishsel OpenFOAM Meshing & Mesh Conversion 17 May 20, 2019 07:05
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 22:29
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37


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