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
7012fdcd
Commit
7012fdcd
authored
4 years ago
by
David Seus
Browse files
Options
Downloads
Patches
Plain Diff
explain function.py
parent
88767050
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
LDDsimulation/README.md
+13
-0
13 additions, 0 deletions
LDDsimulation/README.md
with
13 additions
and
0 deletions
LDDsimulation/README.md
+
13
−
0
View file @
7012fdcd
...
...
@@ -19,10 +19,23 @@ which gets called by the `main()` of each usecase (more precisely by
## `boundary_and_interface.py`
## `solutionFile.py`
This file defines a class
`SolutionFile(dolfin.XDMFFile)`
around the
`dolfin`
`XDMFFile`
class and sets some parameters for the files in which the solution
gets saved.
## `domainSubstructuring.py`
This file defines various subdomains and their subdomain substructurings to be
used in the simulation. A lengthy explanation on how to define your own substructurings is given in the file itself.
Most likely, you will learn how to to this by looking at the examples given in the file.
## `functions.py`
This file defines data functions like relative permeabilities and pc-S relationships along with methods
`generate_relative_permeability_dicts`
and
`generate_Spc_dicts`
to generate dictionaries of callables that get passed to
the simulation class.
This was done in an attempt to tidy the usecases and have a central place in which to define data functions.
New relative permeabilites and pc-S relationships must be specified here and
the corresponding generator functions
`generate_relative_permeability_dicts`
and
`generate_Spc_dicts`
need to be adjusted accordingly.
## `helpers.py`
...
...
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