Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
renchao.lu
ogs
Commits
10e698bf
Commit
10e698bf
authored
Feb 19, 2021
by
Dmitry Yu. Naumov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PL/RM] Comment the whole block for empty if-cnd.
parent
d8efbc3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h
ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h
+11
-11
No files found.
ProcessLib/RichardsMechanics/RichardsMechanicsFEM-impl.h
View file @
10e698bf
...
...
@@ -995,17 +995,17 @@ void RichardsMechanicsLocalAssembler<ShapeFunctionDisplacement,
.
noalias
()
+=
N_u_op
.
transpose
()
*
phi
*
rho_LR
*
dS_L_dp_cap
*
b
*
N_p
*
w
;
if
(
medium
->
hasProperty
(
MPL
::
PropertyType
::
saturation_micro
))
{
// For the swelling str
es
s
w
ith double structure model the
// corresponding Jacobian u-p entry would be:
// -B.transpose() *
//
dsigma_sw_dS_L_m* dS_L_m_dp_cap_m*(p_L_m - p_L_m_prev
)
/
//
p_cap_dot_ip / dt* N_p* w;
// but it does not improve convergence and sometimes worsen it.
}
else
if
(
solid_phase
.
hasProperty
(
MPL
::
PropertyType
::
swelling_stress_rate
))
// For the swelling stress with double structure model the corresponding
// Jacobian u-p entry would be required, but it does not improve
// convergence and sometim
es w
orsens it:
// if (medium->hasProperty(MPL::PropertyType::saturation_micro))
// {
//
-B.transpose(
)
*
//
dsigma_sw_dS_L_m* dS_L_m_dp_cap_m*(p_L_m - p_L_m_prev) /
//
p_cap_dot_ip / dt* N_p* w;
//
}
if
(
!
medium
->
hasProperty
(
MPL
::
PropertyType
::
saturation_micro
)
&&
solid_phase
.
hasProperty
(
MPL
::
PropertyType
::
swelling_stress_rate
))
{
using
DimMatrix
=
Eigen
::
Matrix
<
double
,
3
,
3
>
;
auto
const
dsigma_sw_dS_L
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment