View Issue Details

IDProjectCategoryView StatusLast Update
0003747OpenFOAMBugpublic2021-10-27 23:49
Reporterhussam Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSCentOSOS Version7
Summary0003747: constAnIso works rather than constAnIsoSolid
DescriptionUsing constAnIsoSolid for transport in solids triggers a dynamicCode compilation and ends with the following error message. But if one uses constAnIso (old keyword) everything works fine.


--> FOAM FATAL ERROR:
Compilation and linkage of solidThermo type
thermoType
{
    type heSolidThermo;
    mixture pureMixture;
    transport constAnIsoSolid;
    thermo eConst;
    equationOfState rhoConst;
    specie specie;
    energy sensibleInternalEnergy;
}


failed.

Valid solidThermo types are:

type mixture transport thermo equationOfState specie energy

heSolidThermo pureMixture constAnIso eConst rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constAnIso eIcoTabulated rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constAnIso ePolynomial rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constAnIso ePower rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constIsoSolid eConst rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constIsoSolid eIcoTabulated rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constIsoSolid ePolynomial rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture constIsoSolid ePower rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture exponentialSolid eConst rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture exponentialSolid eIcoTabulated rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture exponentialSolid ePolynomial rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture exponentialSolid ePower rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture polynomialSolid eConst rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture polynomialSolid eIcoTabulated rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture polynomialSolid ePolynomial rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture polynomialSolid ePower rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture tabulatedSolid eConst rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture tabulatedSolid eIcoTabulated rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture tabulatedSolid ePolynomial rhoConst specie sensibleInternalEnergy
heSolidThermo pureMixture tabulatedSolid ePower rhoConst specie sensibleInternalEnergy
Steps To ReproduceUse coolingSphere tutorial and use the physicalProperties file in the attachments to replace the physicalProperties of the region "solid"
Additional InformationEvery thing works fine by using the old keyword "constAnIso"
TagsNo tags attached.

Activities

hussam

2021-10-27 15:07

reporter  

physicalProperties (1,578 bytes)   
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      physicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
    type            heSolidThermo;
    mixture         pureMixture;
    //transport       constAnIso;
    transport       constAnIsoSolid;
    //transport       falafel;
    thermo          eConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleInternalEnergy;
}

coordinateSystem
 {
 type cartesian; // global co-ordinate system (redundant)
 origin (0 0 0); // redundant in this case
 coordinateRotation
 {
 type axesRotation; // local Cartesian co-ordinates
 e1 (1 0 0);
 e2 (0 1 0);
 }
 }

mixture
{
    specie
    {
        nMoles      1;
        molWeight   63.5;   // [g/mol]
    }

    transport
    {
        //kappa   380;        // [W/m/K]
        kappa   (380 300 300);        // [W/m/K]
    }

    thermodynamics
    {
        Hf      0;
        Cv      385;        // [J/kg/K]
    }

    equationOfState
    {
        rho     8940;       // [kg/m^3]
    }
}

// ************************************************************************* //
physicalProperties (1,578 bytes)   

henry

2021-10-27 16:33

manager   ~0012259

Last edited: 2021-10-27 16:49

Try
OpenFOAM-dev commit 40e072670efe02b09c8a37334766c2e7a77d0413
OpenFOAM-9 commit 0e7658d0993197a2df1ed494c0afbe8c50a2970b

hussam

2021-10-27 21:03

reporter   ~0012260

confirming: issue solved using dev commit above.. thanks!

Issue History

Date Modified Username Field Change
2021-10-27 15:07 hussam New Issue
2021-10-27 15:07 hussam File Added: physicalProperties
2021-10-27 16:33 henry Note Added: 0012259
2021-10-27 16:33 henry Note Edited: 0012259
2021-10-27 16:49 henry Note Edited: 0012259
2021-10-27 21:03 hussam Note Added: 0012260
2021-10-27 23:49 henry Assigned To => henry
2021-10-27 23:49 henry Status new => resolved
2021-10-27 23:49 henry Resolution open => fixed
2021-10-27 23:49 henry Fixed in Version => 9