Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Özgür Ozan Sen
ogs
Commits
26097b27
Commit
26097b27
authored
7 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[PL] LIE/HM; remove unused computations in output.
parent
ab1f227d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerFracture-impl.h
+0
-21
0 additions, 21 deletions
...ocalAssembler/HydroMechanicsLocalAssemblerFracture-impl.h
with
0 additions
and
21 deletions
ProcessLib/LIE/HydroMechanics/LocalAssembler/HydroMechanicsLocalAssemblerFracture-impl.h
+
0
−
21
View file @
26097b27
...
@@ -323,7 +323,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
...
@@ -323,7 +323,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
computeSecondaryVariableConcreteWithVector
(
const
double
t
,
computeSecondaryVariableConcreteWithVector
(
const
double
t
,
Eigen
::
VectorXd
const
&
local_x
)
Eigen
::
VectorXd
const
&
local_x
)
{
{
auto
const
nodal_p
=
local_x
.
segment
(
pressure_index
,
pressure_size
);
auto
const
nodal_g
=
local_x
.
segment
(
displacement_index
,
displacement_size
);
auto
const
nodal_g
=
local_x
.
segment
(
displacement_index
,
displacement_size
);
auto
const
&
frac_prop
=
*
_process_data
.
fracture_property
;
auto
const
&
frac_prop
=
*
_process_data
.
fracture_property
;
...
@@ -332,12 +331,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
...
@@ -332,12 +331,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
// in a displacement vector
// in a displacement vector
auto
const
index_normal
=
GlobalDim
-
1
;
auto
const
index_normal
=
GlobalDim
-
1
;
using
GlobalDimMatrix
=
Eigen
::
Matrix
<
double
,
GlobalDim
,
GlobalDim
>
;
using
GlobalDimVector
=
Eigen
::
Matrix
<
double
,
GlobalDim
,
1
>
;
GlobalDimMatrix
local_k_tensor
=
GlobalDimMatrix
::
Zero
();
auto
const
&
gravity_vec
=
_process_data
.
specific_body_force
;
SpatialPosition
x_position
;
SpatialPosition
x_position
;
x_position
.
setElementID
(
_element
.
getID
());
x_position
.
setElementID
(
_element
.
getID
());
...
@@ -348,7 +341,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
...
@@ -348,7 +341,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
auto
&
ip_data
=
_ip_data
[
ip
];
auto
&
ip_data
=
_ip_data
[
ip
];
auto
const
&
H_g
=
ip_data
.
H_u
;
auto
const
&
H_g
=
ip_data
.
H_u
;
auto
const
&
dNdx_p
=
ip_data
.
dNdx_p
;
auto
&
mat
=
ip_data
.
fracture_material
;
auto
&
mat
=
ip_data
.
fracture_material
;
auto
&
effective_stress
=
ip_data
.
sigma_eff
;
auto
&
effective_stress
=
ip_data
.
sigma_eff
;
auto
const
&
effective_stress_prev
=
ip_data
.
sigma_eff_prev
;
auto
const
&
effective_stress_prev
=
ip_data
.
sigma_eff_prev
;
...
@@ -357,9 +349,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
...
@@ -357,9 +349,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
auto
&
C
=
ip_data
.
C
;
auto
&
C
=
ip_data
.
C
;
auto
&
state
=
*
ip_data
.
material_state_variables
;
auto
&
state
=
*
ip_data
.
material_state_variables
;
auto
&
b_m
=
ip_data
.
aperture
;
auto
&
b_m
=
ip_data
.
aperture
;
auto
q
=
ip_data
.
darcy_velocity
.
head
(
GlobalDim
);
double
const
mu
=
_process_data
.
fluid_viscosity
(
t
,
x_position
)[
0
];
auto
const
rho_fr
=
_process_data
.
fluid_density
(
t
,
x_position
)[
0
];
// displacement jumps in local coordinates
// displacement jumps in local coordinates
w
.
noalias
()
=
R
*
H_g
*
nodal_g
;
w
.
noalias
()
=
R
*
H_g
*
nodal_g
;
...
@@ -382,16 +371,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
...
@@ -382,16 +371,6 @@ void HydroMechanicsLocalAssemblerFracture<ShapeFunctionDisplacement,
mat
.
computeConstitutiveRelation
(
mat
.
computeConstitutiveRelation
(
t
,
x_position
,
ip_data
.
aperture0
,
stress0
,
w_prev
,
w
,
t
,
x_position
,
ip_data
.
aperture0
,
stress0
,
w_prev
,
w
,
effective_stress_prev
,
effective_stress
,
C
,
state
);
effective_stress_prev
,
effective_stress
,
C
,
state
);
// permeability
double
const
local_k
=
ip_data
.
permeability
;
local_k_tensor
.
diagonal
().
head
(
GlobalDim
-
1
).
setConstant
(
local_k
);
GlobalDimMatrix
const
k
=
R
.
transpose
()
*
local_k_tensor
*
R
;
// velocity
GlobalDimVector
const
grad_head
=
dNdx_p
*
nodal_p
+
rho_fr
*
gravity_vec
;
q
.
noalias
()
=
-
k
/
mu
*
grad_head
;
}
}
double
ele_b
=
0
;
double
ele_b
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment