View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003747 | OpenFOAM | Bug | public | 2021-10-27 15:07 | 2021-10-27 23:49 |
Reporter | hussam | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | CentOS | OS Version | 7 |
Summary | 0003747: constAnIso works rather than constAnIsoSolid | ||||
Description | Using 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 Reproduce | Use coolingSphere tutorial and use the physicalProperties file in the attachments to replace the physicalProperties of the region "solid" | ||||
Additional Information | Every thing works fine by using the old keyword "constAnIso" | ||||
Tags | No tags attached. | ||||
|
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] } } // ************************************************************************* // |
|
Try OpenFOAM-dev commit 40e072670efe02b09c8a37334766c2e7a77d0413 OpenFOAM-9 commit 0e7658d0993197a2df1ed494c0afbe8c50a2970b |
|
confirming: issue solved using dev commit above.. thanks! |
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 |