Skip to content

Commit 66acb0b

Browse files
committed
Fix ALE with free surface, broken by commits 0f58035 and 84c8252 (2022-12).
Cherry picked from commit 83dde48 on master. This fixes GitLab issue #491.
1 parent 54a2b16 commit 66acb0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/base/cs_parameters.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ enum {
9999
CS_COUPLED_FD = 13, /*!< coupled face with decentered flux */
100100
CS_FREE_INLET = 14, /*!< free outlet or inlet (based on Bernoulli
101101
relationship) */
102-
CS_FREE_SURFACE = 15, /*!< free surface */
102+
CS_FREE_SURFACE = 64, /*!< free surface (CS_BOUNDARY_FREE_SURFACE) */
103103
CS_CONVECTIVE_INLET = 16 /*!< inlet with zero diffusive flux for all
104104
transported variables (species and velocity) */
105105

src/base/paramx.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ module paramx
201201

202202
parameter(iindef=1, ientre=2, isolib=3, isymet=4, iparoi=5, &
203203
iparug=6, iesicf=7, isspcf=8, isopcf=9, iephcf=10, &
204-
ieqhcf=11, icscpl=12, icscpd=13, ifrent=14, ifresf=15, &
204+
ieqhcf=11, icscpl=12, icscpd=13, ifrent=14, ifresf=64, &
205205
i_convective_inlet=16)
206206

207207
! Note the ifresf maps to CS_BOUNDARY_ALE_FREE_SURFACE (1 << 6) in C,

0 commit comments

Comments
 (0)