Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psaap3-weno
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Andreas Klöckner
psaap3-weno
Commits
273ca58f
Commit
273ca58f
authored
5 years ago
by
Timothy A. Smith
Browse files
Options
Downloads
Patches
Plain Diff
more partial progress
parent
708ac8cc
No related branches found
Branches containing commit
No related tags found
2 merge requests
!29
Data fixtures
,
!28
WENO flux bug
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
input.py
+13
-7
13 additions, 7 deletions
input.py
with
13 additions
and
7 deletions
input.py
+
13
−
7
View file @
273ca58f
...
...
@@ -40,7 +40,13 @@ class FluxDataSingle:
self
.
direction
=
self
.
dirs
[
direction
]
# FIXME:
# - finish adding data from B (one case for all)
# - add data from A (one case for all)
# - rotate fluxes in input for all y,z
# - add rotation routines so y,z data is setup correctly
# (even though values are different, we are still working with x as the
# dominant frame, so need to swap at the end)
single_data
=
{}
single_data
[
"
Case a:x
"
]
=
FluxDataSingle
(
states_str
=
"
2 4 4 4 20,1 1 1 1 5.5
"
,
...
...
@@ -197,17 +203,17 @@ single_data["Case b:z"] = FluxDataSingle(
char_fluxes_neg_str
=
weno_weights_pos_str
=
weno_weights_pos_str
=
0.9999965203327451
,
0.999999959029252
,
0.999999959029252
,
0.9999835300215946
,
0.9999999975371708
},{
3.2217041402391125
*
10
^-
6
,
3.793560951911702
*
10
^-
8
,
3.793560951911702
*
10
^-
8
,
0.000015247816238787948
,
2.2803933579018906
*
10
^-
9
},{
2.579631146567429
*
10
^-
7
,
3.0351383606886035
*
10
^-
9
,
3.0351383606886035
*
10
^-
9
,
1.2221621667041045
*
10
^-
6
,
1.824357365679662
*
10
^-
10
weno_weights_neg_str
=
weno_weights_neg_str
=
0.999999997585736
,
0.9999999999716082
,
0.9999999999716082
,
0.9999909282503908
,
0.9999999999997268
},{
2.2354258683870077
*
10
^-
9
,
2.6288602366075745
*
10
^-
11
,
2.6288602366075745
*
10
^-
11
,
8.39888391917283
*
10
^-
6
,
2.5299566294114733
*
10
^-
13
},{
1.788382117901561
*
10
^-
10
,
2.1030934718853924
*
10
^-
12
,
2.1030934718853924
*
10
^-
12
,
6.728656898188601
*
10
^-
7
,
2.0239658022589593
*
10
^-
14
consistent_str
=
consistent_str
=
-
2.5
,
6.899999999999999
,
4.5
,
4.5
,
-
26.75
dissipation_pos_str
=
dissipation_pos_str
=
-
0.17685508040141606
,
0.523974175351619
,
0.49761166908056337
,
0.49761166908056337
,
-
2.495196349669178
dissipation_neg_str
=
dissipation_neg_str
=
-
1.6768551393982627
,
4.823974372333487
,
3.9976117689805504
,
3.9976117689805504
,
-
22.145196359962693
weno_flux
=
weno_flux
=
4.353710219799678
,
12.247948547685105
,
8.995223438061114
,
8.995223438061114
,
-
51.390392709631875
direction
=
"
z
"
)
single_data
[
"
Case c:x
"
]
=
FluxDataSingle
(
...
...
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