greole / owls

A data exploration library written in python for (OpenFOAM) CFD data
http://greole.github.io
32 stars 11 forks source link

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

Open fbob opened 9 years ago

fbob commented 9 years ago

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.

greole commented 9 years ago

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.

fbob commented 9 years ago

Yep good point :)

greole commented 9 years ago

Done 9355ce1e7ce824af283bceaa7bc9ccd49ac4f587