owls icon indicating copy to clipboard operation
owls copied to clipboard

provided test case "buoyantCavity" is not compatible with OF 2.4

Open fbob opened this issue 9 years ago • 3 comments

The provided test case buoyantCavity in owls-0.7/examples is not compatible with the last 2.4.0 OpenFOAM distribution :

| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.4.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.4.0-f0842aea0e77
Exec   : buoyantSimpleFoam
Date   : Oct 09 2015
Time   : 19:55:20
Host   : "zbook"
PID    : 17161
Case   : /home/beaubert/Téléchargements/owls-0.7/examples/buoyantCavity
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing 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: 
Unknown rhoThermo type hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>

Valid rhoThermo types are:

57
(
heRhoThermo<homogeneousMixture<const<hConst<incompressiblePerfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<homogeneousMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<homogeneousMixture<sutherland<janaf<incompressiblePerfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<homogeneousMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<inhomogeneousMixture<const<hConst<incompressiblePerfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<inhomogeneousMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<inhomogeneousMixture<sutherland<janaf<incompressiblePerfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<inhomogeneousMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
heRhoThermo<multiComponentMixture<const<hConst<incompressiblePerfectGas<specie>>,sensibleEnthalpy>>>

.
.
.

>>
)



    From function rhoThermo::New
    in file lnInclude/basicThermoTemplates.C at line 123.

FOAM exiting

Replacing the buoyantCavity directory with the one from the tutorial case in $FOAM_TUTORIALS/heatTransfer/buoyantSimpleFoam/buoyantCavity/ fix it.

fbob avatar Oct 15 '15 19:10 fbob

I think it would be better not to ship a complete test case, but to provide a simple script to generate one from the existing OpenFOAM tutorial cases. That would allow us to be version agnostic.

greole avatar Oct 23 '15 10:10 greole

Yep good point :)

fbob avatar Oct 23 '15 10:10 fbob

Done 9355ce1e7ce824af283bceaa7bc9ccd49ac4f587

greole avatar Oct 26 '15 12:10 greole