check for LFC only if there is any slip activity at all; also increased safety factor from 1.2 to 1.5
This commit is contained in:
parent
7033e84fc7
commit
6dc8a4d530
|
@ -1702,7 +1702,7 @@ forall (s = 1:ns, t = 1:4, rhoSgl(s,t+4) * v(s,t) < 0.0_pReal) &
|
||||||
!****************************************************************************
|
!****************************************************************************
|
||||||
!*** check CFL condition for flux
|
!*** check CFL condition for flux
|
||||||
|
|
||||||
if (any(1.2_pReal * abs(v) * timestep > mesh_ipVolume(ip,el) / maxval(mesh_ipArea(:,ip,el)))) then ! safety factor 1.2 (we use the reference volume and are for simplicity here)
|
if (any(abs(gdot) > 0.0_pReal .and. 1.5_pReal * v * timestep > mesh_ipVolume(ip,el) / maxval(mesh_ipArea(:,ip,el)))) then ! safety factor 1.5 (we use the reference volume and are for simplicity here)
|
||||||
#ifndef _OPENMP
|
#ifndef _OPENMP
|
||||||
if (debug_verbosity > 6) then
|
if (debug_verbosity > 6) then
|
||||||
write(6,*) '<< CONST >> CFL condition not fullfilled'
|
write(6,*) '<< CONST >> CFL condition not fullfilled'
|
||||||
|
|
Loading…
Reference in New Issue