Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
dumux-repositories
dumux
Commits
3f4b0313
Commit
3f4b0313
authored
4 years ago
by
Kilian Weishaupt
Browse files
Options
Downloads
Plain Diff
Merge branch 'cherry-pick-
ab3d1a5b
' into 'releases/3.3'
Merge branch 'fix/quad-precision-adl' into 'master' See merge request
!2404
parents
f61e7a5d
59409085
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!2449
WIP: python script to extract modules
,
!2404
Merge branch 'fix/quad-precision-adl' into 'master'
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dumux/common/timeloop.hh
+2
-1
2 additions, 1 deletion
dumux/common/timeloop.hh
dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh
+1
-1
1 addition, 1 deletion
...ial/fluidmatrixinteractions/diffusivitymillingtonquirk.hh
with
3 additions
and
2 deletions
dumux/common/timeloop.hh
+
2
−
1
View file @
3f4b0313
...
...
@@ -348,7 +348,8 @@ public:
if
(
verbose_
)
{
const
auto
cpuTime
=
wallClockTime
();
const
auto
percent
=
std
::
round
(
time_
/
endTime_
*
100
);
using
std
::
round
;
const
auto
percent
=
round
(
time_
/
endTime_
*
100
);
std
::
cout
<<
Fmt
::
format
(
"[{:3.0f}%] "
,
percent
)
<<
Fmt
::
format
(
"Time step {} done in {:.2g} seconds. "
,
timeStepIdx_
,
timeStepWallClockTime_
)
<<
Fmt
::
format
(
"Wall clock time: {:.2g}, time: {:.5g}, time step size: {:.5g}
\n
"
,
cpuTime
,
time_
,
previousTimeStepSize_
);
...
...
This diff is collapsed.
Click to expand it.
dumux/material/fluidmatrixinteractions/diffusivitymillingtonquirk.hh
+
1
−
1
View file @
3f4b0313
...
...
@@ -72,7 +72,7 @@ public:
using
std
::
max
;
const
Scalar
diffCoeff
=
volVars
.
diffusionCoefficient
(
phaseIdx
,
compIdxI
,
compIdxJ
);
const
Scalar
porosity
=
volVars
.
porosity
();
const
Scalar
sat
=
max
(
volVars
.
saturation
(
phaseIdx
),
0.0
);
const
Scalar
sat
=
max
<
Scalar
>
(
volVars
.
saturation
(
phaseIdx
),
0.0
);
return
porosity
*
(
sat
*
sat
*
sat
)
*
cbrt
(
porosity
*
sat
)
*
diffCoeff
;
}
...
...
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