Skip to content

71 add massonaffineformulation behaviours#72

Open
antoinecea wants to merge 10 commits intomasterfrom
71-add-massonaffineformulation-behaviours
Open

71 add massonaffineformulation behaviours#72
antoinecea wants to merge 10 commits intomasterfrom
71-add-massonaffineformulation-behaviours

Conversation

@antoinecea
Copy link
Copy Markdown
Collaborator

Added Affin_formulation.mfront (with self-consistent approach)
and Affine_tensors.mfront (with morphological tensors)

@antoinecea antoinecea linked an issue Feb 2, 2026 that may be closed by this pull request
@thelfer thelfer self-requested a review February 2, 2026 19:30
@thelfer thelfer added this to the 2.2 milestone Feb 2, 2026
@PerturbationValueForNumericalJacobianComputation 1e-10;
@Epsilon 1e-14;

@TFELLibraries {"Material"};
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Not required for behaviours

if (r<5){tau0[r]=tau1;}
else{tau0[r]=tau2;}
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change

Comment on lines +13 to +16
@ImposedStrain 'EZZ' {0 : 0, 1 : 0};
@ImposedStrain 'EXY' {0 : 0, 1 : 0};
@ImposedStrain 'EXZ' {0 : 0, 1 : 0};
@ImposedStrain 'EYZ' {0 : 0, 1 : 0};
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
@ImposedStrain 'EZZ' {0 : 0, 1 : 0};
@ImposedStrain 'EXY' {0 : 0, 1 : 0};
@ImposedStrain 'EXZ' {0 : 0, 1 : 0};
@ImposedStrain 'EYZ' {0 : 0, 1 : 0};
@ImposedStrain 'EZZ' 0;
@ImposedStrain 'EXY' 0;
@ImposedStrain 'EXZ' 0;
@ImposedStrain 'EYZ' 0;

Comment on lines +18 to +19

@OutputFilePrecision 14;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
@OutputFilePrecision 14;

@PerturbationValueForNumericalJacobianComputation 1e-10;
@Epsilon 1e-14;

@TFELLibraries {"Material"};
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
@TFELLibraries {"Material"};

Comment on lines +12 to +13
@ImposedStrain 'EXX' {0 : 1, 1 : 1};
@ImposedStrain 'EYY' {0 : -1, 1 : -1};
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Is a strain of 1 something realistic ?

Comment on lines +19 to +20

@OutputFilePrecision 14;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
@OutputFilePrecision 14;

Comment on lines +35 to +39
@MaterialProperty real nexp;
@MaterialProperty real tau1;
@MaterialProperty real tau2;
@MaterialProperty real kap;
@MaterialProperty real r0;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Description and or entry names ?

@StateVariable Stensor sigma[Np];
sigma.setEntryName("PhaseReferenceStress");

@AuxiliaryStateVariable real ne;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

?

@Behaviour Affine_tensors;
@Author Martin Antoine;
@Date 26 / 01 / 26;
@Description{"Affine formulation for homogenization of a viscoplastic polycrystal, (Masson et al. 2001.), based on Green interaction tensors"};
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Maybe add a link to the tutorial ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add MassonAffineFormulation behaviours

2 participants