security factor of 1.2 for CFL condition in constitutive_nonlocal_dotState

This commit is contained in:
Christoph Kords 2011-04-06 11:47:24 +00:00
parent a989aa979e
commit 4d0fefd231
1 changed files with 2 additions and 2 deletions

View File

@ -1614,8 +1614,8 @@ forall (s = 1:ns, t = 1:4, rhoSgl(s,t+4) * constitutive_nonlocal_v(s,t,g,ip,el)
!**************************************************************************** !****************************************************************************
!*** check CFL condition for flux !*** check CFL condition for flux
if (any(minval(mesh_ipVolume(ip,el) / max(tiny(1.0_pReal),mesh_ipArea(:,ip,el))) & if (any(1.2_pReal * constitutive_nonlocal_v(1:ns,1:4,g,ip,el) * timestep & ! security factor 1.2
< constitutive_nonlocal_v(1:ns,1:4,g,ip,el) * timestep)) then > mesh_ipVolume(ip,el) / maxval(mesh_ipArea(:,ip,el)))) then
dotState%p = NaN dotState%p = NaN
return return
endif endif