Module “cct_diagram”¶
- class tc_python.property_model_definitions.cct_diagram.CCTDiagram¶
Bases:
objectEncapsulation class for the “CCT Diagram” property model Arguments, ArgumentOptions, and Results.
- ArgumentOptions¶
alias of
CCT_ArgumentOptions
- Arguments¶
alias of
CCT_Arguments
- Results¶
alias of
CCT_Results
- classmethod get_aliases() list[str]¶
List of aliases for “CCT Diagram” property model.
- classmethod get_name() str¶
String name of “CCT Diagram” property model.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions¶
Bases:
objectValid options for CCT Diagram property model arguments which requires specific options to be entered.
- AUSTENITE_COMPOSITION¶
- CALCULATION_SETTING¶
- CARBIDE_IN_BAINITE¶
- CARBIDE_IN_PEARLITE¶
- COOLING_PROFILE¶
alias of
CCT_ArgumentOptions_COOLING_PROFILE
- FERRITE_MODE¶
alias of
CCT_ArgumentOptions_FERRITE_MODE
- PEARLITE_CRITERION¶
- PEARLITE_MODE¶
alias of
CCT_ArgumentOptions_PEARLITE_MODE
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_AUSTENITE_COMPOSITION¶
Bases:
ArgumentBaseValid options for
CCT_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.cct_diagram.CCT_ArgumentOptions_CALCULATION_SETTING¶
Bases:
ArgumentBaseValid options for
CCT_Arguments.CALCULATION_SETTING.- ACCURATE = 'Accurate'¶
Accurate calculation preset.
- CUSTOM = 'Custom'¶
Custom settings.
- QUICK = 'Quick'¶
Quick calculation preset.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_CARBIDE_IN_BAINITE¶
Bases:
ArgumentBaseValid options for
CCT_Arguments.CARBIDE_IN_BAINITE.- CEMENTITE = 'CEMENTITE'¶
Bainite carbide: CEMENTITE_D011.
- M7C3 = 'M7C3'¶
Bainite carbide: M7C3.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_CARBIDE_IN_PEARLITE¶
Bases:
ArgumentBaseValid options for
CCT_Arguments.CARBIDE_IN_PEARLITE.- CEMENTITE = 'CEMENTITE'¶
Pearlite carbide: CEMENTITE_D011.
- M23C6 = 'M23C6'¶
Pearlite carbide: M23C6.
- M7C3 = 'M7C3'¶
Pearlite carbide: M7C3.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_COOLING_PROFILE¶
Bases:
ArgumentBaseValid options for
CCT_Arguments.COOLING_PROFILE.- CONSTANT = 'Constant cooling rate'¶
Cooling profile with constant cooling rate.
- NEWTONIAN = 'Newtonian cooling profile'¶
Newtonian (exponential) cooling profile.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_FERRITE_MODE¶
Bases:
ArgumentBaseValid options for
CCT_Arguments.FERRITE_MODE.- OE_ONLY = 'OE only'¶
Orthoequilibrium (OE) mode considers local equilibrium conditions.
- PE_IF_POSSIBLE = 'PE if possible, otherwise OE'¶
Use Paraequilibrium (PE) mode if the PE driving force is positive; otherwise use Orthoequilibrium (OE) mode.
- PE_ONLY = 'PE only'¶
Paraequilibrium (PE) mode for ferrite transformation.
- class tc_python.property_model_definitions.cct_diagram.CCT_ArgumentOptions_PEARLITE_CRITERION¶
Bases:
ArgumentBaseValid options for
CCT_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.cct_diagram.CCT_ArgumentOptions_PEARLITE_MODE¶
Bases:
ArgumentBaseValid options for
CCT_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.cct_diagram.CCT_Arguments¶
Bases:
ArgumentBaseValid entries for CCT Diagram property model arguments.
- ALLOW_COMPETING_MORPHOLOGY_GROWTH = 'Allow competing morphology growth'¶
Choose whether to allow all transformations or limit phase growth beyond key transformation temperatures.
If
True: all phases can grow competitively until the end of the calculation.If
False: restricts ferrite, pearlite, and bainite growth beyond Bs (2% Bainite fraction) and Ms (2% Martensite fraction).
- Argument options:
True,False- Default value:
True
- AUSTENITE_COMPOSITION = 'Austenite composition from'¶
Choose the source for austenite composition.
- Argument options:
- Default value:
- AUSTENITIZING_TEMPERATURE = 'Annealing temperature'¶
Austenitizing temperature used when equilibrium composition is selected as source.
This argument is used if
CCT_Arguments.AUSTENITE_COMPOSITIONis set toCCT_ArgumentOptions_AUSTENITE_COMPOSITION.EQUILIBRIUM.This argument can also be set with
PropertyModelCalculation.set_temperature(PropertyModelQuantity.annealing_temperature())().
- Default value:
1000.0 [K]
- CALCULATION_SETTING = 'Calculation setting'¶
Setting for transformation products and numerical settings for time integration.
- Argument options:
- Default value:
- CARBIDE_IN_BAINITE = 'Carbide in bainite'¶
Select the carbide to be present in bainite, which usually depends on Cr content.
- Argument options:
- Default value:
- 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:
- Default value:
- COOLING_PROFILE = 'Cooling profile'¶
Select the temperature-time function for cooling.
- Argument options:
- Default value:
- END_TEMPERATURE = 'End temperature'¶
Ending temperature of the calculation.
This argument can also be set with
PropertyModelCalculation.set_temperature(PropertyModelQuantity.end_temperature())().
- Default value:
500.0 [K]
- ERROR_TOLERANCE_XA = 'Error tolerance for austenite volume fraction'¶
Tolerance controlling integration error of austenite volume fraction.
Time-integration error for austenite fraction cannot exceed this value.
- Default value:
5e-4
- FERRITE_MODE = 'Ferrite mode'¶
Mode for ferrite transformation.
- Argument options:
- Default value:
- GRAIN_SIZE = 'GrainSize'¶
Grain size of the austenite phase in micrometers.
- Default value:
100.0 [μm]
- INTERPOLATION_ERROR_TOLERANCE = 'Interpolation error tolerance'¶
Relative error tolerance used for interpolation grids.
This argument is used if
CCT_Arguments.USE_INTERPOLATIONis set to “True”.Large error tolerance leads to quick but less accurate calculations, small error tolerance does the opposite.
- Default value:
0.1
- LOG_10_COOLING_RATE = 'Log10(cooling rate)'¶
Log10 of cooling rate in K/s.
- Default value:
0.0 [K/s]
- 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:
- Default value:
- PEARLITE_MODE = 'Pearlite Mode'¶
Mode for pearlite transformation.
- Argument options:
- Default value:
- SELECT_BAINITE = 'Bainite'¶
Option to include bainite in CCT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_FERRITE = 'Ferrite'¶
Option to include ferrite in CCT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_MARTENSITE = 'Martensite'¶
Option to include martensite in CCT calculation.
- Argument options:
True,False- Default value:
True
- SELECT_PEARLITE = 'Pearlite'¶
Option to include pearlite in CCT calculation.
- Argument options:
True,False- Default value:
True
- START_TEMPERATURE = 'Start temperature'¶
Starting temperature of the calculation.
This argument can also be set with
PropertyModelCalculation.set_temperature(PropertyModelQuantity.start_temperature())().
- Default value:
1000.0 [K]
- 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.cct_diagram.CCT_Results¶
Bases:
ArgumentBaseValid entries for CCT property model results.
- AUSTENITE_10 = '10% austenite transformed'¶
Time-temperature point at which 10% of the austenite phase has transformed.
- AUSTENITE_90 = '90% austenite transformed'¶
Time-temperature point at which 90% of the austenite phase has transformed.
- AUSTENITE_FINISH = '98% austenite transformed'¶
Time-temperature point at which 98% of the austenite phase has transformed (austenite “finish”).
- AUSTENITE_HALF = '50% austenite transformed'¶
Time-temperature point at which 50% of the austenite phase has transformed.
- AUSTENITE_START = '2% austenite transformed'¶
Time-temperature point at which 2% of the austenite phase has transformed (austenite “start”).
- BAINITE_START = 'Bainite start (2%)'¶
Time-temperature point at which 2% of bainite phase has transformed (bainite “start”).
- CCT = 'cct result'¶
Composite CCT result containing time-temperature pairs for key events.
- FERRITE_START = 'Ferrite start (2%)'¶
Time-temperature point at which 2% of the ferrite phase has transformed (transformation “start”).
- MARTENSITE_START = 'Martensite start'¶
Time-temperature point at which martensite begins to form (martensite “start”).
- PEARLITE_START = 'Pearlite start (2%)'¶
Time-temperature point at which 2% of pearlite phase has transformed (pearlite “start”).
- TERMINAL_FRACTION_BAINITE = 'Terminal fraction of bainite'¶
Terminal fraction of bainite phase.
- TERMINAL_FRACTION_FERRITE = 'Terminal fraction of ferrite'¶
Terminal fraction of ferrite phase.
- TERMINAL_FRACTION_MARTENSITE = 'Terminal fraction of martensite'¶
Terminal fraction of martensite phase.
- TERMINAL_FRACTION_PEARLITE = 'Terminal fraction of pearlite'¶
Terminal fraction of 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-temperature point at which 98% of austenite has transformed to ferrite, pearlite, and bainite phases (i.e., transformation “finishes”).
- TOTAL_FERRITE_CEMENTITE_START = 'Total ferrite+cementite start (2%)'¶
Time-temperature point at which 2% of the sum of pearlite and cementite-containing bainite phases have transformed (i.e., transformation “starts”).
- TOTAL_FERRITE_START = 'Total ferrite start (2%)'¶
Time-temperature point at which 2% of the sum of polygonal ferrite and bainitic ferrite phases have transformed (transformation “start”).