Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
MostafaMollaali
dynamic
Commits
585a1185
Commit
585a1185
authored
6 years ago
by
Tom Fischer
Committed by
Dmitri Naumov
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[PL/HT] Clang format HTFEM.h.
parent
447524bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ProcessLib/HT/HTFEM.h
+14
-14
14 additions, 14 deletions
ProcessLib/HT/HTFEM.h
with
14 additions
and
14 deletions
ProcessLib/HT/HTFEM.h
+
14
−
14
View file @
585a1185
...
...
@@ -92,10 +92,9 @@ public:
/// Computes the flux in the point \c pnt_local_coords that is given in
/// local coordinates using the values from \c local_x.
Eigen
::
Vector3d
getFlux
(
MathLib
::
Point3d
const
&
pnt_local_coords
,
double
const
t
,
std
::
vector
<
double
>
const
&
local_x
)
const
override
Eigen
::
Vector3d
getFlux
(
MathLib
::
Point3d
const
&
pnt_local_coords
,
double
const
t
,
std
::
vector
<
double
>
const
&
local_x
)
const
override
{
// eval dNdx and invJ at given point
using
FemType
=
...
...
@@ -121,8 +120,8 @@ public:
// local_x contains the local temperature and pressure values
double
T_int_pt
=
0.0
;
double
p_int_pt
=
0.0
;
NumLib
::
shapeFunctionInterpolate
(
local_x
,
shape_matrices
.
N
,
T_int_pt
,
p_int_pt
);
NumLib
::
shapeFunctionInterpolate
(
local_x
,
shape_matrices
.
N
,
T_int_pt
,
p_int_pt
);
vars
[
static_cast
<
int
>
(
MaterialPropertyLib
::
Variable
::
temperature
)]
=
T_int_pt
;
...
...
@@ -184,7 +183,8 @@ protected:
auto
const
specific_heat_capacity_solid
=
_material_properties
.
specific_heat_capacity_solid
(
t
,
pos
)[
0
];
auto
const
solid_density
=
_material_properties
.
density_solid
(
t
,
pos
)[
0
];
auto
const
solid_density
=
_material_properties
.
density_solid
(
t
,
pos
)[
0
];
return
solid_density
*
specific_heat_capacity_solid
*
(
1
-
porosity
)
+
fluid_density
*
specific_heat_capacity_fluid
*
porosity
;
...
...
@@ -230,13 +230,13 @@ protected:
return
thermal_conductivity
*
I
;
}
GlobalDimMatrixType
const
thermal_dispersivity
=
fluid_density
*
specific_heat_capacity_fluid
*
(
thermal_dispersivity_transversal
*
velocity_magnitude
*
I
+
(
thermal_dispersivity_longitudinal
-
thermal_dispersivity_transversal
)
/
velocity_magnitude
*
velocity
*
velocity
.
transpose
());
return
thermal_conductivity
*
I
+
thermal_dispersivity
;
GlobalDimMatrixType
const
thermal_dispersivity
=
fluid_density
*
specific_heat_capacity_fluid
*
(
thermal_dispersivity_transversal
*
velocity_magnitude
*
I
+
(
thermal_dispersivity_longitudinal
-
thermal_dispersivity_transversal
)
/
velocity_magnitude
*
velocity
*
velocity
.
transpose
());
return
thermal_conductivity
*
I
+
thermal_dispersivity
;
}
std
::
vector
<
double
>
const
&
getIntPtDarcyVelocityLocal
(
...
...
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