Module “ttt_diagram”¶
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram¶
Bases:
objectEncapsulation class for the “TTT Diagram” property model Arguments, ArgumentOptions, and Results.
- ArgumentOptions¶
alias of
TTTDiagram_ArgumentOptions
- Arguments¶
alias of
TTTDiagram_Arguments
- Results¶
alias of
TTTDiagram_Results
- classmethod get_aliases() list[str]¶
List of aliases for “TTT Diagram” property model.
- classmethod get_name() str¶
String name of “TTT Diagram” property model.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions¶
Bases:
objectValid options for TTT Diagram property model arguments which requires specific options to be entered.
- AUSTENITE_COMPOSITION¶
- CALCULATION_SETTING¶
- CARBIDE_IN_BAINITE¶
- CARBIDE_IN_PEARLITE¶
- FERRITE_MODE¶
- PEARLITE_CRITERION¶
- PEARLITE_MODE¶
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_AUSTENITE_COMPOSITION¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.AUSTENITE_COMPOSITION.- EQUILIBRIUM = 'Equilibrium composition'¶
Use equilibrium composition at the specified austenitizing temperature.
- NOMINAL = 'Nominal composition'¶
Use nominal alloy composition as austenite composition.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_CALCULATION_SETTING¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.CALCULATION_SETTING.- ACCURATE = 'Accurate'¶
Accurate calculation preset.
- CUSTOM = 'Custom'¶
Custom settings.
- QUICK = 'Quick'¶
Quick calculation preset.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_CARBIDE_IN_BAINITE¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.CARBIDE_IN_BAINITE.- CEMENTITE = 'CEMENTITE'¶
Bainite carbide: CEMENTITE.
- M7C3 = 'M7C3'¶
Bainite carbide: M7C3.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_CARBIDE_IN_PEARLITE¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.CARBIDE_IN_PEARLITE.- CEMENTITE = 'CEMENTITE'¶
Pearlite carbide: CEMENTITE_D011 phase.
- M23C6 = 'M23C6'¶
Pearlite carbide: M23C6.
- M7C3 = 'M7C3'¶
Pearlite carbide: M7C3.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_FERRITE_MODE¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.FERRITE_MODE.- FASTER_START = 'Faster start'¶
Mode between OE and PE which gives a higher initial transformation rate.
- OE_ONLY = 'OE only'¶
Orthoequilibrium (OE) mode considers local equilibrium conditions.
- PE_ONLY = 'PE only'¶
Paraequilibrium (PE) mode for ferrite transformation.
- PE_OVER_OE = 'PE if possible, otherwise OE'¶
Use Paraequilibrium (PE) mode if the PE driving force positive; otherwise use Orthoequilibrium (OE) mode.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_PEARLITE_CRITERION¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.PEARLITE_CRITERION.- MAXIMIZE_GIBBS_DISSIPATION_RATE = 'MaximizeGibbsEnergyDissipationRate'¶
Maximize the Gibbs energy dissipation rate of the pearlite transformation.
- MAXIMIZE_GROWTH_RATE = 'MaximizeGrowthRate'¶
Maximize the growth rate of the pearlite transformation.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_ArgumentOptions_PEARLITE_MODE¶
Bases:
ArgumentBaseValid options for
TTTDiagram_Arguments.PEARLITE_MODE.- OPTIMAL = 'OptimalPearlite'¶
Optimal mode for pearlite transformation selected between PE and OE.
- ORTHO = 'Ortho-pearlite'¶
Orthoequilibrium (OE) mode for pearlite transformation.
Orthoequilibrium (OE) mode considers local equilibrium conditions.
- PARA = 'Para-pearlite'¶
Paraequilibrium (PE) mode for pearlite transformation.
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_Arguments¶
Bases:
ArgumentBaseValid entries for TTT Diagram property model arguments.
- AUSTENITE_COMPOSITION = 'Austenite composition from'¶
Argument which sets the composition of the austenite phase.
- Argument options:
TTTDiagram.ArgumentOptions.AUSTENITE_COMPOSITION- Default value:
TTTDiagram.ArgumentOptions.AUSTENITE_COMPOSITION.NOMINAL
- AUSTENITIZING_TEMPERATURE = 'Annealing temperature'¶
Austenitizing temperature.
This argument is used if
TTTDiagram_Arguments.AUSTENITE_COMPOSITIONis set toTTTDiagram_ArgumentOptions_AUSTENITE_COMPOSITION.EQUILIBRIUM.
- Default value:
1000 [K]
- CALCULATION_SETTING = 'Calculation setting'¶
Setting for transformation products and numerical settings for time integration.
- Argument options:
TTTDiagram.ArgumentOptions.CALCULATION_SETTING- Default value:
TTTDiagram.ArgumentOptions.CALCULATION_SETTING.QUICK
- CARBIDE_IN_BAINITE = 'Carbide in bainite'¶
Select the carbide to be present in bainite, which usually depends on Cr content.
- Argument options:
TTTDiagram.ArgumentOptions.CARBIDE_IN_BAINITE- Default value:
TTTDiagram.ArgumentOptions.CARBIDE_IN_BAINITE.CEMENTITE
- CARBIDE_IN_PEARLITE = 'Carbide in pearlite'¶
Select the carbide to be present in pearlite, which usually depends on Cr content.
If M23C6 is selected, parameters optimized for stainless steels will be invoked.
- Argument options:
TTTDiagram.ArgumentOptions.CARBIDE_IN_PEARLITE- Default value:
TTTDiagram.ArgumentOptions.CARBIDE_IN_PEARLITE.CEMENTITE
- ERROR_TOLERANCE_XA = 'Error tolerance for austenite volume fraction'¶
Tolerance controlling integration error of austenite fraction.
Time-integration error for austenite fraction cannot exceed this value.
- Default value:
5e-4
- EVALUATION_TEMPERATURE = 'Evaluation temperature'¶
Temperature at which the property evaluation occurs, corresponds to the measurement temperature.
This argument can also be set with
PropertyModelCalculation.set_temperature(PropertyModelQuantity.evaluation_temperature())()
- Default value:
1000.0 [K]
- FERRITE_MODE = 'Ferrite mode'¶
Mode for ferrite transformation.
- Argument options:
TTTDiagram.ArgumentOptions.FERRITE_MODE- Default value:
TTTDiagram.ArgumentOptions.FERRITE_MODE.FASTER_START
- GRAIN_SIZE = 'GrainSize'¶
Grain size of austenite in micrometers.
- Default value:
100.0 [μm]
- INTERPOLATION_ERROR_TOLERANCE = 'Interpolation error tolerance'¶
Relative error tolerance used for interpolation grids.
Large error tolerance leads to quick but less accurate calculations, small error tolerance does the opposite.
This argument is used if
TTTDiagram_Arguments.USE_INTERPOLATIONis set toTrue
- Default value:
0.1
- MAX_DELTA_X_ABS = 'Maximum change of phase fraction (absolute)'¶
Absolute maximum change of phase fraction allowed per time step.
- Default value:
5e-3
- MAX_DELTA_X_REL = 'Maximum change of phase fraction (relative)'¶
Relative maximum change of phase fraction allowed per time step.
- Default value:
5e-3
- PEARLITE_CRITERION = 'Pearlite criterion'¶
Criterion to determine pearlite growth rate and lamellar spacing.
- Argument options:
TTTDiagram.ArgumentOptions.PEARLITE_CRITERION- Default value:
TTTDiagram.ArgumentOptions.PEARLITE_CRITERION.MAXIMIZE_GROWTH_RATE
- PEARLITE_MODE = 'PearliteMode'¶
Mode for pearlite transformation.
- Argument options:
TTTDiagram.ArgumentOptions.PEARLITE_MODE- Default value:
TTTDiagram.ArgumentOptions.PEARLITE_MODE.OPTIMAL
- SELECT_BAINITE = 'Bainite'¶
Option to include bainite in TTT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_FERRITE = 'Ferrite'¶
Option to include ferrite in TTT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_MARTENSITE = 'Martensite'¶
Option to include martensite in TTT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_PEARLITE = 'Pearlite'¶
Option to include pearlite in TTT calculation.
- Argument options:
True,False- Default value:
True
- USE_INTERPOLATION = 'Use interpolation when necessary'¶
Enable/disable interpolation of growth/nucleation rates based on error tolerance.
- Argument options:
True,False- Default value:
True
- class tc_python.property_model_definitions.ttt_diagram.TTTDiagram_Results¶
Bases:
ArgumentBaseValid entries for TTT Diagram property model results.
- AUSTENITE_10 = '10% austenite transformed'¶
Time at which 10% of the austenite phase has transformed.
- AUSTENITE_90 = '90% austenite transformed'¶
Time at which 90% of the austenite phase has transformed.
- AUSTENITE_FINISH = '98% austenite transformed'¶
Time at which 98% of the austenite phase has transformed (austenite “finish”).
- AUSTENITE_HALF = '50% austenite transformed'¶
Time at which 50% of the austenite phase has transformed.
- AUSTENITE_START = '2% austenite transformed'¶
Time at which 2% of the austenite phase has transformed (austenite “start”).
- BAINITE_START = 'Bainite start (2%)'¶
Time at which 2% of bainite has transformed (bainite “start”).
- FERRITE_START = 'Ferrite start (2%)'¶
Time to reach 2% ferrite transformation (ferrite “start”).
- MARTENSITE_FINISH = 'Martensite 98%'¶
98% martensite temperature.
- MARTENSITE_HALF = 'Martensite 50%'¶
50% martensite temperature.
- MARTENSITE_START = 'Martensite start'¶
Time at which martensite begins to form (martensite “start”).
- PEARLITE_START = 'Pearlite start (2%)'¶
Time at which 2% of pearlite has transformed (pearlite “start”).
- TERMINAL_FRACTION_BAINITE = 'Terminal fraction of bainite'¶
Terminal fraction of the bainite phase.
- TERMINAL_FRACTION_FERRITE = 'Terminal fraction of ferrite'¶
Terminal fraction of the ferrite phase.
- TERMINAL_FRACTION_MARTENSITE = 'Terminal fraction of martensite'¶
Terminal fraction of martensite phase.
- TERMINAL_FRACTION_PEARLITE = 'Terminal fraction of pearlite'¶
Terminal fraction of the pearlite phase.
- TERMINAL_FRACTION_TOTAL_FERRITE = 'Terminal fraction of total ferrite'¶
Terminal fraction of total ferrite.
- TERMINAL_FRACTION_TOTAL_FERRITE_CEMENTITE = 'Terminal fraction of total ferrite+cementite'¶
Terminal fraction of total ferrite + cementite.
- TOTAL_FERRITE_CEMENTITE_FINISH = 'Total ferrite+cementite finish (98%)'¶
Time at which 98% of the sum of pearlite and cementite-containing bainite phases have transformed (i.e., transformation “finish”).
- TOTAL_FERRITE_CEMENTITE_START = 'Total ferrite+cementite start (2%)'¶
Time at which 2% of the sum of polygonal ferrite and bainitic ferrite phases have transformed (i.e., transformation “start”).
- TOTAL_FERRITE_START = 'Total ferrite start (2%)'¶
Time at which 2% of ferrite has transformed (ferrite “start”).