Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dorie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dorie
dorie
Commits
5e15de0e
Commit
5e15de0e
authored
Aug 09, 2019
by
Lukas Riedel
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flip signs in Richards FV local operator
Also remove the commented part on upwinding.
parent
b80ec79f
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
dune/dorie/model/richards/local_operator_FV.hh
dune/dorie/model/richards/local_operator_FV.hh
+3
-9
No files found.
dune/dorie/model/richards/local_operator_FV.hh
View file @
5e15de0e
...
...
@@ -139,10 +139,10 @@ public:
const
RangeU
u_o
=
x_o
(
lfsu_o
,
0
);
// Finite difference of u between the two entities
RangeU
dudn
=
(
u_
i
-
u_o
)
/
distance
;
RangeU
dudn
=
(
u_
o
-
u_i
)
/
distance
;
// Update gradient with gravity vector
dudn
+
=
_param
->
gravity
()
*
normal_f
;
dudn
-
=
_param
->
gravity
()
*
normal_f
;
// bind parameterization and retrieve functions
_param
->
bind
(
entity_i
);
...
...
@@ -199,13 +199,7 @@ public:
}
// Water flux in normal direction w.r.t the intersection
const
auto
water_flux_n
=
cond_f
*
dudn
;
// // Upwinding
// if (water_flux_n > 0.)
// water_flux_n = - cond_i*dudn;
// else
// water_flux_n = - cond_o*dudn;
const
auto
water_flux_n
=
-
cond_f
*
dudn
;
// Symmetric contribution to residual on inside element
r_i
.
accumulate
(
lfsv_i
,
0
,
water_flux_n
*
volume_f
);
...
...
Lukas Riedel
@lriedel
mentioned in issue
#159 (closed)
·
Aug 09, 2019
mentioned in issue
#159 (closed)
mentioned in issue #159
Toggle commit list
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