From a498c11d3beb68e454b2a2aafeb0c90d8e7f3afb Mon Sep 17 00:00:00 2001 From: Andreas Holm <60451789+holm10@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:13:25 -0800 Subject: [PATCH] Rename temp4 to v2cc --- bbb/oderhs.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bbb/oderhs.m b/bbb/oderhs.m index d626e48f..15c60fab 100755 --- a/bbb/oderhs.m +++ b/bbb/oderhs.m @@ -4603,7 +4603,7 @@ ccc call volave(nx, ny, j2, j5, i2, i5, ixp1(0,0), ixm1(0,0), upgcc = 0.5*(up(ix,iy,iigsp)+up(ix1,iy,iigsp)) vycc = cfnidhgy*0.25*(vy(ix,iy,iigsp)+vy(ix1,iy,iigsp)) . *(vy(ix,iy,iigsp)+vy(ix1,iy,iigsp)) - temp4 = cfnidhg2*0.25*(v2(ix,iy,iigsp)+v2(ix1,iy,iigsp)) + v2cc = cfnidhg2*0.25*(v2(ix,iy,iigsp)+v2(ix1,iy,iigsp)) . *(v2(ix,iy,iigsp)+v2(ix1,iy,iigsp)) c Ion rate from CX @@ -4611,13 +4611,13 @@ ccc call volave(nx, ny, j2, j5, i2, i5, ixp1(0,0), ixm1(0,0), c Ion energy source/sink from ioniz & recom seik(ix,iy) = cfneut * cfneutsor_ei * cfnidh * - . 0.5*mi(1) * ( (up1cc-upgcc)*(up1cc-upgcc) + vycc + temp4 ) * + . 0.5*mi(1) * ( (up1cc-upgcc)*(up1cc-upgcc) + vycc + v2cc ) * . ( psor(ix,iy,1) + cftiexclg*psorrg(ix,iy,1) . + (1 + cftiexclg) * psicx(ix,iy) ) c Ion energy source from mol. diss seid(ix,iy) = cftiexclg * cfneut * cfneutsor_ei * cnsor - . * (eion*ev + cfnidhdis*0.5*mg(1)*(upgcc*upgcc + vycc + temp4) ) + . * (eion*ev + cfnidhdis*0.5*mg(1)*(upgcc*upgcc + vycc + v2cc) ) . * psordis(ix,iy) c Ion energy source from drift heating @@ -4639,18 +4639,18 @@ ccc call volave(nx, ny, j2, j5, i2, i5, ixp1(0,0), ixm1(0,0), . + (1.0-cftiexclg)*seit(ix,iy) c Atom kinetic energy source from recom & CX - seak(ix,iy) = 0.5*mg(1) * ( (up1cc-upgcc)*(up1cc-upgcc) + vycc + temp4 ) + seak(ix,iy) = 0.5*mg(1) * ( (up1cc-upgcc)*(up1cc-upgcc) + vycc + v2cc ) . * (psorrg(ix,iy,1)+psicx(ix,iy)) c Atom kinetic energy source from diss sead(ix,iy) = ( eion*ev + cfnidh*cfnidhdis*0.5*mg(1)* - . (upgcc*upgcc + vycc + temp4) )*psordis(ix,iy) + . (upgcc*upgcc + vycc + v2cc) )*psordis(ix,iy) c Atom energy source from drift heating seadh(ix,iy) = cfnidh2* ( -mg(1) *up1cc*upgcc . * (psorrg(ix,iy,1)+psicx(ix,iy)) - . + 0.5*mg(1) * (upgcc*upgcc + vycc + temp4) + . + 0.5*mg(1) * (upgcc*upgcc + vycc + v2cc) . * (psor(ix,iy,1)+psorrg(ix,iy,1)+2*psicx(ix,iy)) ) reseg(ix,iy,1) = reseg(ix,iy,1)