Skip to content

Unable to use activity data in binary Fe-C with Graphite as reference state #226

Description

@tobiasspt

Hi,

We are currently trying to use activity data for Fe-C. Lobo1976 measured the activity of C in alpha-iron relative to Graphite as the standard state, but get erroneous results. (Lobo, Joseph A., and Gordon H. Geiger. "Thermodynamics and solubility of carbon in ferrite and ferritic Fe-Mo alloys." Metallurgical Transactions A 7.8 (1976): 1347-1357.)

I have added the input file below. With this input file, we get chemical potential difference: [nan] (verbosity 3 output).
Is the input file correct or are we missing something?
I have had a look at the value of ref_result within the activity_error.py and this does give only nan results for the specified reference state. Graphite only has C as a component. An equilibrium calculation of Graphite specifying x.V('C') gives an error as Number of dependent components different from one. Can this cause an error here as well?
Used versions: espei: 0.8.6 and pycalphad 0.9.2.
I have added a zip-file with the TDB file and espei input files which reproduces this behaviour.

Thank you for your help,
Tobias

{
        "components": ["FE", "C", "VA"],
        "phases": ["BCC_A2", "GRAPHITE"],
        "weight": 1000,
        "reference_state": {
                "phases": ["GRAPHITE"],
                "conditions": {
                        "P": 101325,
                        "T": 1056.15,
                        "X_C": 1

                }
        },
        "conditions": {
                "P": 101325,
                "T": 1056.15,
                "X_C": [0.00013017]
        },
        "output": "ACR_C",
        "values": [[[0.087]]
                ],
        "reference": "Lobo1976_1056K",
        "meta_data": {
                "DOI": "10.1007/BF02658820",
                "literature reference": "Thermodynamics and Solubility of Carbon in Ferrite and Ferritic Fe-Mo Alloys",
                "table/figure": "table 1",
                "measured data": "C-activity in Alpha-Iron",
                "experimental details": "not available",
                "weight": "default"
        }
}

minimal_example.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions