fedoo.constitutivelaw.FE2
- class FE2(assemb, name='', *, micro_nr_options=None)
FE² constitutive law based on periodic microscopic problems.
A microscopic finite-element problem is solved at each macroscopic integration point. The macroscopic strain is prescribed through the problem-level
MeanStraindegrees of freedom created byPeriodicBC.At each update of the macroscopic problem, every microscopic problem starts again from its state at the beginning of the macroscopic increment and is loaded up to the current macroscopic strain. The microscopic states are committed only when the macroscopic increment has converged. The homogenized tangent matrix is computed at the converged microscopic state. A cell keeps a separate copy of its macro increment start state only when it needs to commit an intermediate micro substep.
- Parameters:
assemb (Assembly, str, or list of Assembly) – Microscopic assembly, its registered name, or one microscopic assembly per macroscopic integration point.
name (str, optional) – Name of the constitutive law.
micro_nr_options (mapping, optional) – Pass the microscopic Newton settings together in a dictionary using the keyword-only
micro_nr_optionsargument. FE² unpacks the dictionary into keyword arguments for each microscopic problem’sset_nr_criterion(). Usetolas the tolerance key inside the dictionary. FE² defaults totol=0.05anddt_increase_niter=0(once a substep is cut, it is kept at the smaller size).
- use_elastic_lt
If True, the elastic homogenized matrix is used for the prediction of each macroscopic increment.
- Type:
bool, default=True
Notes
With an algorithmic microscopic tangent and a single substep, the homogenized tangent linearizes the macroscopic stress response. If a microscopic problem requires several substeps, the tangent linearizes only the final substep. A cell that cannot converge above the minimum substep size (1e-6 of the macro increment) rejects the macro trial.
The outputs added to a microscopic problem are written once per converged macroscopic increment.
Examples
Configure the microscopic convergence criterion, tolerance and iteration limit together:
law = fedoo.constitutivelaw.FE2( micro_assembly, micro_nr_options={ "criterion": "Displacement", "tol": 1e-8, "max_subiter": 30, }, )
- __init__(assemb, name='', *, micro_nr_options=None)
Methods
FE2.condense_tangent(H, dimension)Condense a 3D tangent onto the stress state
dimension.FE2.get_H_condensed(H, kept)Statically condense a 3D tangent onto the Voigt slots
kept.Convert a full 3D tangent matrix H in an equivalent behavior in 2D with the plane stress assumption.
Return a dict with all the known ConstitutiveLaw (with a name).
FE2.get_current_local_frame([assembly])Return the trial material frame in global coordinates.
FE2.get_local_frame([assembly])Return material frames, resolved at
assemblyGauss points.FE2.get_local_rotation([assembly, current, ...])Return a Simcoon rotation for the requested material frame.
FE2.global2local_H(H[, assembly, current])Rotate a global stiffness to material axes using Simcoon.
FE2.global2local_rotation_increment(DR[, ...])Express a finite rotation increment in the initial material basis.
FE2.global2local_strain(strain[, assembly, ...])Express engineering-strain vector(s) from global to material axes.
FE2.global2local_stress(stress[, assembly, ...])Express stress Voigt vector(s) from global to material axes.
FE2.global2local_tensor(tensor[, assembly])Change both axes of 3x3 tensor fields to the initial material basis.
FE2.initialize(assembly, pb)Initialize the constitutive law for the current problem.
FE2.local2global_H(H[, assembly, current])Rotate a material stiffness to global axes using Simcoon.
FE2.local2global_strain(strain[, assembly, ...])Express engineering-strain vector(s) from material to global axes.
FE2.local2global_stress(stress[, assembly, ...])Express stress Voigt vector(s) from material to global axes.
Reset the constitutive law.
FE2.set_density(density)Set the mass density associated with this mechanical material.
FE2.set_local_frame(local_frame[, location])Define the material coordinate frame.
FE2.set_start(assembly, pb)Begin a new time iteration.
FE2.to_start(assembly, pb)Restart the current time iteration.
FE2.update(assembly, pb)Update the constitutive law for the current problem state.
the objective rate is
weakform.corate.Name of the constitutive law.
Tag set to True once the law is intialized.