Skip to content
Snippets Groups Projects
Unverified Commit ae5fc3f6 authored by Dmitri Naumov's avatar Dmitri Naumov Committed by GitHub
Browse files

Merge pull request #2575 from ThieJan/RM_fix_bulk_density

RichardsM: Add missing saturation in bulk density computation
parents c7db17f0 d170ecc4
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 40 deletions
...@@ -243,7 +243,7 @@ void RichardsMechanicsLocalAssembler< ...@@ -243,7 +243,7 @@ void RichardsMechanicsLocalAssembler<
displacement_index, displacement_index) displacement_index, displacement_index)
.noalias() += B.transpose() * C * B * w; .noalias() += B.transpose() * C * B * w;
double const rho = rho_SR * (1 - porosity) + porosity * rho_LR; double const rho = rho_SR * (1 - porosity) + S_L * porosity * rho_LR;
rhs.template segment<displacement_size>(displacement_index).noalias() += rhs.template segment<displacement_size>(displacement_index).noalias() +=
N_u_op.transpose() * rho * b * w; N_u_op.transpose() * rho * b * w;
...@@ -452,7 +452,7 @@ void RichardsMechanicsLocalAssembler<ShapeFunctionDisplacement, ...@@ -452,7 +452,7 @@ void RichardsMechanicsLocalAssembler<ShapeFunctionDisplacement,
displacement_index, displacement_index) displacement_index, displacement_index)
.noalias() += B.transpose() * C * B * w; .noalias() += B.transpose() * C * B * w;
double const rho = rho_SR * (1 - porosity) + porosity * rho_LR; double const rho = rho_SR * (1 - porosity) + S_L * porosity * rho_LR;
local_rhs.template segment<displacement_size>(displacement_index) local_rhs.template segment<displacement_size>(displacement_index)
.noalias() -= .noalias() -=
(B.transpose() * sigma_eff - N_u_op.transpose() * rho * b) * w; (B.transpose() * sigma_eff - N_u_op.transpose() * rho * b) * w;
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment