Skip to content

Commit 9e4714c

Browse files
committed
unremembered modi
1 parent 2a4583f commit 9e4714c

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

src/bc.F90

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -692,10 +692,10 @@ subroutine immbody(timerept)
692692
vel(i,j,k,1)= -1.d0*var_u(1)*pb%dis2ghost/pb%dis2image
693693
vel(i,j,k,2)= -1.d0*var_u(2)*pb%dis2ghost/pb%dis2image
694694
vel(i,j,k,3)= -1.d0*var_u(3)*pb%dis2ghost/pb%dis2image
695-
! tmp(i,j,k)=tinf-(var_t-tinf)*pb%dis2ghost/pb%dis2image
695+
! isothernal
696+
tmp(i,j,k)=tinf-(var_t-tinf)*pb%dis2ghost/pb%dis2image
696697
! adiabatic
697-
tmp(i,j,k)=var_t
698-
! tmp(i,j,k)=twall(3)
698+
! tmp(i,j,k)=var_t
699699
prs(i,j,k)=var_p
700700
if(nondimen) then
701701
rho(i,j,k)=thermal(pressure=prs(i,j,k),temperature=tmp(i,j,k))
@@ -714,8 +714,9 @@ subroutine immbody(timerept)
714714
vel(i,j,k,2)=0.d0
715715
vel(i,j,k,3)=0.d0
716716
! aidabatic
717-
tmp(i,j,k)=var_t
718-
! tmp(i,j,k)=twall(3)
717+
! tmp(i,j,k)=var_t
718+
! isothermal
719+
tmp(i,j,k)=twall(3)
719720
prs(i,j,k)=var_p
720721
!
721722
if(nondimen) then
@@ -767,8 +768,8 @@ subroutine immbody(timerept)
767768
vel(i,j,k,1)=0.d0
768769
vel(i,j,k,2)=0.d0
769770
vel(i,j,k,3)=0.d0
770-
! tmp(i,j,k) =twall(3)
771-
tmp(i,j,k) =tinf
771+
tmp(i,j,k) =twall(3)
772+
! tmp(i,j,k) =tinf
772773
prs(i,j,k) =pinf
773774
if(nondimen) then
774775
rho(i,j,k) =thermal(pressure=prs(i,j,k),temperature=tmp(i,j,k))

src/geom.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4674,7 +4674,7 @@ subroutine solid_udf_cavity(xp,inside,bnode)
46744674
step_right_x=xcav_right
46754675
step_upper_y=ycav_upper
46764676
!
4677-
if(xp(2)<step_upper_y .and. xp(1)<=step_left_x) then
4677+
if(xp(2)<=step_upper_y .and. xp(1)<=step_left_x) then
46784678
!
46794679
if(present(inside)) inside=.true.
46804680
!
@@ -4703,7 +4703,7 @@ subroutine solid_udf_cavity(xp,inside,bnode)
47034703
!
47044704
endif
47054705
!
4706-
elseif(xp(2)<step_upper_y .and. xp(1)>=step_right_x) then
4706+
elseif(xp(2)<=step_upper_y .and. xp(1)>=step_right_x) then
47074707
!
47084708
if(present(inside)) inside=.true.
47094709
!

src/parallel.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,6 +1747,8 @@ subroutine updatable_rel2d_a2a_v(datasend,datarecv, &
17471747
!
17481748
deallocate(senddispls,recvdispls)
17491749
!
1750+
call mpi_type_free(newtype,ierr)
1751+
!
17501752
if(present(timerept) .and. timerept) then
17511753
!
17521754
subtime=subtime+ptime()-time_beg

0 commit comments

Comments
 (0)