Skip to content

Commit 4cdabd9

Browse files
committed
Ran formatter
1 parent d0914c9 commit 4cdabd9

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

src/common/m_phase_change.fpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,18 @@ contains
162162
! depleting the mass of liquid
163163
q_cons_vf(lp + contxb - 1)%sf(j, k, l) = mixM*rM
164164

165-
! transferring the total mass to vapor
166-
q_cons_vf(vp + contxb - 1)%sf(j, k, l) = (1.0_wp - mixM)*rM
165+
! transferring the total mass to vapor
166+
q_cons_vf(vp + contxb - 1)%sf(j, k, l) = (1.0_wp - mixM)*rM
167167

168168
! calling pT-equilibrium for overheated vapor, which is MFL = 0
169169
call s_infinite_pt_relaxation_k(j, k, l, 0, pSOV, p_infOV, q_cons_vf, rhoe, TSOV)
170170

171171
! calculating Saturation temperature
172172
call s_TSat(pSOV, TSatOV, TSOV)
173173

174-
! subcooled liquid case
175-
! transferring the total mass to liquid
176-
q_cons_vf(lp + contxb - 1)%sf(j, k, l) = (1.0_wp - mixM)*rM
174+
! subcooled liquid case
175+
! transferring the total mass to liquid
176+
q_cons_vf(lp + contxb - 1)%sf(j, k, l) = (1.0_wp - mixM)*rM
177177

178178
! depleting the mass of vapor
179179
q_cons_vf(vp + contxb - 1)%sf(j, k, l) = mixM*rM

src/simulation/m_ibm.fpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -250,24 +250,24 @@ contains
250250
end if
251251
end if
252252

253-
! Calculate velocity of ghost cell
254-
if (gp%slip) then
255-
norm(1:3) = levelset_norm%sf(gp%loc(1), gp%loc(2), gp%loc(3), gp%ib_patch_id, 1:3)
256-
buf = sqrt(sum(norm**2))
257-
norm = norm/buf
258-
vel_norm_IP = sum(vel_IP*norm)*norm
259-
vel_g = vel_IP - vel_norm_IP
260-
else
261-
if (patch_ib(patch_id)%moving_ibm == 0) then
262-
! we know the object is not moving if moving_ibm is 0 (false)
263-
vel_g = 0._wp
264-
else
265-
do q = 1, 3
266-
! if mibm is 1 or 2, then the boundary may be moving
267-
vel_g(q) = patch_ib(patch_id)%vel(q)
268-
end do
269-
end if
270-
end if
253+
! Calculate velocity of ghost cell
254+
if (gp%slip) then
255+
norm(1:3) = levelset_norm%sf(gp%loc(1), gp%loc(2), gp%loc(3), gp%ib_patch_id, 1:3)
256+
buf = sqrt(sum(norm**2))
257+
norm = norm/buf
258+
vel_norm_IP = sum(vel_IP*norm)*norm
259+
vel_g = vel_IP - vel_norm_IP
260+
else
261+
if (patch_ib(patch_id)%moving_ibm == 0) then
262+
! we know the object is not moving if moving_ibm is 0 (false)
263+
vel_g = 0._wp
264+
else
265+
do q = 1, 3
266+
! if mibm is 1 or 2, then the boundary may be moving
267+
vel_g(q) = patch_ib(patch_id)%vel(q)
268+
end do
269+
end if
270+
end if
271271

272272
! Set momentum
273273
$:GPU_LOOP(parallelism='[seq]')

0 commit comments

Comments
 (0)