max size of crystallite result is now based on actual use within the mesh, not just picking the largest chunk from the material.config file...
This commit is contained in:
parent
7aed307bfc
commit
a26d9c844b
|
@ -284,7 +284,13 @@ do i = 1,material_Ncrystallite
|
||||||
endif
|
endif
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
crystallite_maxSizePostResults = maxval(crystallite_sizePostResults)
|
|
||||||
|
crystallite_maxSizePostResults = 0_pInt
|
||||||
|
do j = 1,material_Nmicrostructure
|
||||||
|
if (microstructure_active(j)) &
|
||||||
|
crystallite_maxSizePostResults = max(crystallite_maxSizePostResults,&
|
||||||
|
crystallite_sizePostResults(microstructure_crystallite(j)))
|
||||||
|
enddo
|
||||||
|
|
||||||
! write description file for crystallite output
|
! write description file for crystallite output
|
||||||
|
|
||||||
|
|
|
@ -3352,7 +3352,7 @@ if (mesh_maxValStateVar(2) < 1_pInt) call IO_error(120) ! no microstructure spec
|
||||||
allocate (mesh_HomogMicro(mesh_maxValStateVar(1),mesh_maxValStateVar(2))); mesh_HomogMicro = 0_pInt
|
allocate (mesh_HomogMicro(mesh_maxValStateVar(1),mesh_maxValStateVar(2))); mesh_HomogMicro = 0_pInt
|
||||||
do e = 1,mesh_NcpElems
|
do e = 1,mesh_NcpElems
|
||||||
if (mesh_element(3,e) < 1_pInt) call IO_error(110,e) ! no homogenization specified
|
if (mesh_element(3,e) < 1_pInt) call IO_error(110,e) ! no homogenization specified
|
||||||
if (mesh_element(4,e) < 1_pInt) call IO_error(120,e) ! no homogenization specified
|
if (mesh_element(4,e) < 1_pInt) call IO_error(120,e) ! no microstructure specified
|
||||||
mesh_HomogMicro(mesh_element(3,e),mesh_element(4,e)) = &
|
mesh_HomogMicro(mesh_element(3,e),mesh_element(4,e)) = &
|
||||||
mesh_HomogMicro(mesh_element(3,e),mesh_element(4,e)) + 1 ! count combinations of homogenization and microstructure
|
mesh_HomogMicro(mesh_element(3,e),mesh_element(4,e)) + 1 ! count combinations of homogenization and microstructure
|
||||||
enddo
|
enddo
|
||||||
|
|
Loading…
Reference in New Issue