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

buoyantSimpleRadiationFoam - "Attempt to return primitive entry [...] mixture [...]"

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2011, 18:20
Default buoyantSimpleRadiationFoam - "Attempt to return primitive entry [...] mixture [...]"
  #1
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 9
javad814 is on a distinguished road
hi friends
can anyone understand the fallowing error:
reza@reza-N43SN:~/hotradiationroom1$ buoyantSimpleRadiationFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.0-d79727c3fca7
Exec : buoyantSimpleRadiationFoam
Date : Aug 25 2011
Time : 02:39:31
Host : reza-N43SN
PID : 3479
Case : /home/reza/hotradiationroom1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>


--> FOAM FATAL ERROR:
Attempt to return primitive entry ITstream : /home/reza/hotradiationroom1/constant/thermophysicalProperties::mixture, line 20, IOstream: Version 2.0, format ASCII, line 0, OPENED, GOOD
primitiveEntry 'mixture' comprises
on line 20 the word 'air'
on line 20 the label 1
on line 20 the doubleScalar 28.9
on line 20 the label 1000
on line 20 the label 0
on line 20 the doubleScalar 1.8e-05
on line 20 the doubleScalar 0.7
as a sub-dictionary

From function const dictionary& primitiveEntry::dict() const
in file db/dictionary/primitiveEntry/primitiveEntry.C at line 159.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Foam:rimitiveEntry::dict() const in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#3 Foam::dictionary::subDict(Foam::word const&) const in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4 Foam:ureMixture<Foam::constTransport<Foam::speci eThermo<Foam::hConstThermo<Foam:erfectGas> > > >:ureMixture(Foam::dictionary const&, Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#5 Foam::hPsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::hPsiThermo(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#6 Foam::basicPsiThermo::addfvMeshConstructorToTable< Foam::hPsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > > >::New(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#7 Foam::basicPsiThermo::New(Foam::fvMesh const&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libbasicThermophysicalModels.so"
#8
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/buoyantSimpleRadiationFoam"
#9 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#10
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/buoyantSimpleRadiationFoam"
Aborted
reza@reza-N43SN:~/hotradiationroom1$
javad814 is offline   Reply With Quote

Old   August 25, 2011, 05:46
Default
  #2
New Member
 
Alex
Join Date: Apr 2011
Location: München
Posts: 13
Rep Power: 8
al_pr is on a distinguished road
Hello,
I think the error is caused by your thermophysicalproperties file. The structure of this file has changed in OpenFOAM 2.0.0. Could you maybe post your thermophysicalproperties?

I hope this helps.

Regards,

Alex
al_pr is offline   Reply With Quote

Old   August 29, 2011, 17:03
Default
  #3
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 9
javad814 is on a distinguished road
hello
thanks
I will check it.
this is the file:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>;

mixture air 1 28.9 1000 0 1.8e-05 0.7;

pRef 100000;


// ************************************************** *********************** //
javad814 is offline   Reply With Quote

Old   August 30, 2011, 01:29
Default
  #4
suh
New Member
 
Suhas
Join Date: Jul 2011
Location: Pune
Posts: 21
Rep Power: 8
suh is on a distinguished road
Hi Javed,

You are using OF 2.0.0 but you are using the old OF 1.7.1 version file for thermoPhysical model. As an example below is file from OF 2.0.0


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>;
mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1007;
Hf 0;
}
transport
{
As 1.4792e-06;
Ts 116;
}
}

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

Best luck

Regards
Suhas
suh is offline   Reply With Quote

Old   September 9, 2011, 16:47
Default
  #5
New Member
 
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 9
javad814 is on a distinguished road
thanks alot
javad814 is offline   Reply With Quote

Old   November 7, 2017, 12:50
Default
  #6
New Member
 
Guillaume
Join Date: Oct 2017
Posts: 7
Rep Power: 2
gdum is on a distinguished road
Hi there,

I received the following error.
Can somebody help me to fix it?

Best regards,

Guillaume

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 5.0-dbb428a3a855
Exec : simpleReactingParcelFoam
Date : Nov 07 2017
Time : 10:25:39
Host : "guillaume-VirtualBox"
PID : 17846
I/O : uncollated
Case : /home/guillaume/OpenFOAM/FM_in_duct
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
field p tolerance 0.001
field U tolerance 0.0001
field "(k|epsilon|air|H2O)" tolerance 0.0001


Reading g
Creating combustion model

Selecting combustion model noCombustion<rhoThermoCombustion>
Selecting thermodynamics package
{
type heRhoThermo;
mixture reactingMixture;
transport polynomial;
thermo hPolynomial;
energy sensibleEnthalpy;
equationOfState icoPolynomial;
specie specie;
}

Selecting chemistryReader foamChemistryReader
elements not defined in "/home/guillaume/OpenFOAM/FM_in_duct/constant/reactions"
Creating component thermo properties:
multi-component carrier - 2 species
liquids - 1 components
solids - 0 components

Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RAS
Selecting RAS turbulence model realizableKE
RAS
{
turbulence on;
RASModel realizableKE;
printCoeffs on;
A0 4;
C2 1.9;
sigmak 1;
sigmaEps 1.2;
}

Creating multi-variate interpolation scheme

No MRF models present

Selecting radiationModel none

Constructing reacting cloud
Constructing particle forces
Selecting particle force sphereDrag
Selecting particle force gravity
Constructing cloud functions
none
Constructing particle injection models
Creating injector: model1
Selecting injection model coneInjection
Constructing 3-D injection
Selecting distribution model RosinRammler
Creating injector: dispersionModel


--> FOAM FATAL ERROR:
Attempt to return primitive entry ITstream : /home/guillaume/OpenFOAM/FM_in_duct/constant/reactingCloud1Properties.subModels.injectionModels .dispersionModel, line 122, IOstream: Version 2.0, format ASCII, line 0, OPENED, GOOD
primitiveEntry 'dispersionModel' comprises
on line 122 the word 'none'
as a sub-dictionary

From function virtual const Foam::dictionary& Foam:rimitiveEntry::dict() const
in file db/dictionary/primitiveEntry/primitiveEntry.C at line 189.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam:rimitiveEntry::dict() const at primitiveEntry.C:?
#3 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#4 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#5 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#6 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#7 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#8 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
#9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam"
Aborted (core dumped)
gdum is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
castellatedMeshControls seems to be undefined reza1980 OpenFOAM Native Meshers: snappyHexMesh and Others 25 March 12, 2015 12:04
Creating a new field from terms of the turbulence model HaZe OpenFOAM Programming & Development 15 November 24, 2014 14:51
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 11 April 22, 2014 12:32
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48


All times are GMT -4. The time now is 00:33.