-
Beta Was this translation helpful? Give feedback.
Answered by
MarDiehl
May 10, 2025
Replies: 1 comment 4 replies
-
In nonlocal source code (lines 1497-1500), where it calls 'math_normal' subroutine to asign normal distribution of dislocation to the simulation domain at initial. However, it achieves a random distributio of the dislocation superimposed on the initial dislocation values say that 'rho_u_ed_neg_0' or 'rho_u_ed_pos_0', etc. What do we need to change to get a non-randon distribution (but has RED line shape) that conforms to this problem? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can create a microstructure with multiple materials (in you case slices along x) and define for each material a different dislocation density.
Alternatively, create one material, save a restart snapshot, modify the state variables, do a restart. The restart file is in HDF5 format, so modifying it's content is technically not difficult. But you need to understand the state layout (check
phase_mechanical_plastic_nonlocal.f90
)