Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LDD-for-two-phase-flow-systems
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
David Seus
LDD-for-two-phase-flow-systems
Commits
ca083472
Commit
ca083472
authored
4 years ago
by
David Seus
Browse files
Options
Downloads
Patches
Plain Diff
finish grid and mesh block
parent
b185d161
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Usecases/README.md
+38
-5
38 additions, 5 deletions
Usecases/README.md
with
38 additions
and
5 deletions
Usecases/README.md
+
38
−
5
View file @
ca083472
...
...
@@ -133,11 +133,44 @@ In detail:
might be an issue depending on your machine.
>>>
-
`starttimes = {0: 0.0}`
starttimes gives a list of starttimes to run the simulation from.
The list is looped over and a simulation is run with t_0 as initial time
for each element t_0 in starttimes
-
timestep_size = 0.001
-
number_of_timesteps = 20
-
`starttimes = {0: 0.0}`
:
`starttimes`
is a dictionary containing pairs
`t0_index: t0`
specifying starttimes
`t0`
along with the number this start time should be given
`t0_index`
. Usually you will want to have
`t0_index`
set to zero because
`t0`
is the intial timestep.
However, if the simulation stopped for some reason and part of the data is
valid, a later time can be specified along with the index of the timestep
it had in the first attempt of the simulation.
>>>
**Example:**
Say you wanted start
the simulation at
`t0 = 0.5`
and let that be the 87th timestep, you would set
`starttimes = {87: 0.5}`
.
>>>
In case more than one element is given parallel simulations are started starting from the specified starttimes.
>>>
**Example:**
Assume
`timestep_size = 0.01`
and
`number_of_timesteps = 50`
`starttimes = {
0: 0.0,
50: 0.5
}`
yields a simulation over [0.0,1.0] but split into to processes and saved into
two different folders.
>>>
This is also usefull to test parameters if
`number_of_timesteps = 1`
and
the behaviour of the solver want to be tested at various timesteps one
could set up an example as
~~~
python
starttimes
=
{
0
:
0.0
,
1
:
0.5
,
2
:
1.0
3
:
1.5
}
~~~
to test the behaviour of the solver at different times.
-
`timestep_size`
: Set size of the timestep.
-
`number_of_timesteps`
: Set numbers of timesteps to calculate.
### LDD SCHEME PARAMATERS
~~~
python
...
...
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