Skip to content

Commit ba23af0

Browse files
Remove up from URIS and Darcy/Brinkman residual contribution. Convergence improves and we think it is wrong to include it. But need to justify it theoretically
1 parent 0ae6a5c commit ba23af0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Code/Source/solver/fluid.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,12 +2238,12 @@ void fluid_3d_m(ComMod& com_mod, const int vmsFlag, const int eNoNw, const int e
22382238
// Residual contribution Birkman term
22392239
// Local residue
22402240
for (int a = 0; a < eNoNw; a++) {
2241-
lR(0,a) = lR(0,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[0]+up[0])
2242-
+ Res*DDir*w*Nw(a)*(u[0]+up[0]);
2243-
lR(1,a) = lR(1,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[1]+up[1])
2244-
+ Res*DDir*w*Nw(a)*(u[1]+up[1]);
2245-
lR(2,a) = lR(2,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[2]+up[2])
2246-
+ Res*DDir*w*Nw(a)*(u[2]+up[2]);
2241+
lR(0,a) = lR(0,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[0])
2242+
+ Res*DDir*w*Nw(a)*(u[0]);
2243+
lR(1,a) = lR(1,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[1])
2244+
+ Res*DDir*w*Nw(a)*(u[1]);
2245+
lR(2,a) = lR(2,a) + mu*K_inverse_darcy_permeability*w*Nw(a)*(u[2])
2246+
+ Res*DDir*w*Nw(a)*(u[2]);
22472247
}
22482248

22492249
}

0 commit comments

Comments
 (0)