Skip to content

Commit

Permalink
Update applications/FluidDynamicsApplication/custom_elements/two_flui…
Browse files Browse the repository at this point in the history
…d_navier_stokes_fractional.cpp
  • Loading branch information
rubenzorrilla authored Jan 31, 2025
1 parent 08edd66 commit 88b765f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2058,8 +2058,6 @@ double TwoFluidNavierStokesFractional<TwoFluidNavierStokesFractionalData<2, 3>>:
const double art_dyn_visc_coeff = 0.8;
double grad_v_norm = 0.0;

// Check that velocity gradient norm is non-zero

grad_v_norm=sqrt(pow(fabs(DN(0,0)*v(0,0) + DN(1,0)*v(1,0) + DN(2,0)*v(2,0)), 2) + pow(fabs(DN(0,0)*v(0,1) + DN(1,0)*v(1,1) + DN(2,0)*v(2,1)), 2) + pow(fabs(DN(0,1)*v(0,0) + DN(1,1)*v(1,0) + DN(2,1)*v(2,0)), 2) + pow(fabs(DN(0,1)*v(0,1) + DN(1,1)*v(1,1) + DN(2,1)*v(2,1)), 2));


Expand Down

0 comments on commit 88b765f

Please sign in to comment.