Skip to content

[CL App] Exposing MINIMUM_FATIGUE_REDUCTION_FACTOR for High cycle fatigue CL - #14070

Merged
SergioJimenezReyes merged 6 commits into
masterfrom
TFM_Jaume
Dec 19, 2025
Merged

[CL App] Exposing MINIMUM_FATIGUE_REDUCTION_FACTOR for High cycle fatigue CL#14070
SergioJimenezReyes merged 6 commits into
masterfrom
TFM_Jaume

Conversation

@SergioJimenezReyes

Copy link
Copy Markdown
Contributor

📝 Description
This PR updates the HCF fatigue law integrator by exposing a new variable that controls the minimum value
of the fatigue reduction factor. An admissibility check is added to ensure user-defined values remain
within valid bounds.

🆕 Changelog
Changes are limited to the fatigue law integrator and the definition of the new variable.

@SergioJimenezReyes
SergioJimenezReyes requested a review from a team as a code owner December 16, 2025 22:06
@SergioJimenezReyes SergioJimenezReyes added Applications FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Dec 16, 2025

// Determine minimum fatigue reduction factor and ensure it's within (0,1)
double min_fatigue_reduction_factor = rMaterialParameters.Has(MINIMUM_FATIGUE_REDUCTION_FACTOR) ? rMaterialParameters[MINIMUM_FATIGUE_REDUCTION_FACTOR] : rMaterialParameters[HIGH_CYCLE_FATIGUE_COEFFICIENTS][0];
KRATOS_ERROR_IF(min_fatigue_reduction_factor <= 0.0 || min_fatigue_reduction_factor >= 1.0) << "MINIMUM_FATIGUE_REDUCTION_FACTOR must be in (0,1). Provided: " << min_fatigue_reduction_factor << std::endl;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to verify this once, we should check this in the check method of the integrator or in the CL.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check created

const double min_fatigue_reduction_factor = rMaterialParameters[HIGH_CYCLE_FATIGUE_COEFFICIENTS][0];

// Determine minimum fatigue reduction factor and ensure it's within (0,1)
double min_fatigue_reduction_factor = rMaterialParameters.Has(MINIMUM_FATIGUE_REDUCTION_FACTOR) ? rMaterialParameters[MINIMUM_FATIGUE_REDUCTION_FACTOR] : rMaterialParameters[HIGH_CYCLE_FATIGUE_COEFFICIENTS][0];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
double min_fatigue_reduction_factor = rMaterialParameters.Has(MINIMUM_FATIGUE_REDUCTION_FACTOR) ? rMaterialParameters[MINIMUM_FATIGUE_REDUCTION_FACTOR] : rMaterialParameters[HIGH_CYCLE_FATIGUE_COEFFICIENTS][0];
const double min_fatigue_reduction_factor = rMaterialParameters.Has(MINIMUM_FATIGUE_REDUCTION_FACTOR) ? rMaterialParameters[MINIMUM_FATIGUE_REDUCTION_FACTOR] : rMaterialParameters[HIGH_CYCLE_FATIGUE_COEFFICIENTS][0];

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorted

Addressing Alejandro comment: new check in integrator and the corresponding call in the CL
@SergioJimenezReyes
SergioJimenezReyes merged commit a763d6c into master Dec 19, 2025
10 checks passed
@SergioJimenezReyes
SergioJimenezReyes deleted the TFM_Jaume branch December 19, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Applications FastPR This Pr is simple and / or has been already tested and the revision should be fast

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants