Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
waLBerla
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Bindgen
waLBerla
Commits
118612d1
Commit
118612d1
authored
4 years ago
by
Sebastian Bindgen
Browse files
Options
Downloads
Patches
Plain Diff
Repair test
parent
9f82e3f5
No related branches found
No related tags found
No related merge requests found
Pipeline
#31986
failed
4 years ago
Stage: pretest
Stage: test
Stage: benchmark
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/showcases/LeesEdwards/LeesEdwards.prm
+1
-1
1 addition, 1 deletion
apps/showcases/LeesEdwards/LeesEdwards.prm
apps/showcases/LeesEdwards/LeesEdwards.py
+3
-3
3 additions, 3 deletions
apps/showcases/LeesEdwards/LeesEdwards.py
with
4 additions
and
4 deletions
apps/showcases/LeesEdwards/LeesEdwards.prm
+
1
−
1
View file @
118612d1
Parameters
Parameters
{
{
timesteps
501
;
timesteps
100000
;
vtkWriteFrequency 500;
vtkWriteFrequency 500;
remainingTimeLoggerFrequency 3; // in seconds
remainingTimeLoggerFrequency 3; // in seconds
}
}
...
...
This diff is collapsed.
Click to expand it.
apps/showcases/LeesEdwards/LeesEdwards.py
+
3
−
3
View file @
118612d1
...
@@ -16,7 +16,7 @@ from lbmpy_walberla import RefinementScaling, generate_boundary, generate_lb_pac
...
@@ -16,7 +16,7 @@ from lbmpy_walberla import RefinementScaling, generate_boundary, generate_lb_pac
import
sympy
as
sp
import
sympy
as
sp
omega
=
1.0
# relaxation rate of first component
omega
=
1.0
# relaxation rate of first component
shear_velocity
=
0.
1
# shear velocity
shear_velocity
=
0.
5
# shear velocity
shear_dir
=
0
# direction of shear flow
shear_dir
=
0
# direction of shear flow
shear_dir_normal
=
1
# direction normal to shear plane, for interpolation
shear_dir_normal
=
1
# direction normal to shear plane, for interpolation
...
@@ -33,8 +33,8 @@ counters = [LoopOverCoordinate.get_loop_counter_symbol(i) for i in range(dim)]
...
@@ -33,8 +33,8 @@ counters = [LoopOverCoordinate.get_loop_counter_symbol(i) for i in range(dim)]
points_up
=
sp
.
Symbol
(
'
points_up
'
)
points_up
=
sp
.
Symbol
(
'
points_up
'
)
points_down
=
sp
.
Symbol
(
'
points_down
'
)
points_down
=
sp
.
Symbol
(
'
points_down
'
)
u_p
=
sp
.
Piecewise
((
1
,
sp
.
And
(
type_all_numbers
(
counters
[
1
]
<=
1
,
'
int
'
),
points_down
)),
u_p
=
sp
.
Piecewise
((
1
,
sp
.
And
(
type_all_numbers
(
counters
[
1
]
<=
0
,
'
int
'
),
points_down
)),
(
-
1
,
sp
.
And
(
type_all_numbers
(
counters
[
1
]
>=
6
6
-
2
,
'
int
'
),
points_up
)),
(
-
1
,
sp
.
And
(
type_all_numbers
(
counters
[
1
]
>=
6
3
,
'
int
'
),
points_up
)),
(
0
,
True
))
*
shear_velocity
(
0
,
True
))
*
shear_velocity
collision
=
create_lb_update_rule
(
stencil
=
stencil
,
collision
=
create_lb_update_rule
(
stencil
=
stencil
,
...
...
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