Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dorie
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • dorie
  • dorie
  • Issues
  • #107

Closed
Open
Opened Sep 06, 2018 by Santiago Ospina De Los Ríos@sospinarMaintainer3 of 4 tasks completed3/4 tasks

Allow multiple models in one inifile

Description

Initialisation values for one model (Richards equation) are already well stablished. When adding more models to dorie, it is easy to ask for a ini file for the respective model (see #101 (closed)), however, this approach is not maintainable in time since dune-testtools can't handle several inifiles. Therefore, we have to find a workaround for this.

Proposal

Modify the current ini file so that it can accept values for several models.

  • Define API
  • Split xml files according to the model
  • Allow parser scraper to recognize different models
    • Restructure folders structure

Here are our current inifile as a reference:

# Parameter file created by the DORiE parameter scraper
# 06-09-2018, 17:28

# Make sure to at least define all parameters marked with 'UNDEFINED'


[output]
verbose = 0
outputPath = ./
fileName = UNDEFINED
vertexData = false
subsamplingLevel = 0
asciiVtk = false

[grid]

# Choose grid type: rectangular, gmsh
gridType = rectangular
dimensions = 2
FEorder = 1
gridFile = UNDEFINED
extensions = 1 1
cells = 100 100
initialLevel = 0

[boundary]
file = UNDEFINED

# Choose type of boundary segmentation: rectangularGrid
fileType = rectangularGrid
interpolateBCvalues = false

[initial]

# Choose initial condition: hydrEquilibrium, gravityFlow
condition = hydrEquilibrium
headLower = 0
headGradient = -1

[time]
start = 0
end = 1E6
minTimestep = 0.1
startTimestep = 10
maxTimestep = 1E5
minIterations = 1
maxIterations = 12
timestepIncreaseFactor = 1.5
timestepDecreaseFactor = 0.5

[parameters]

# Create with 'dorie pfg'
arrayFile = UNDEFINED
scale = 1 1
offset = 0 0
interpolation = nearest

[dg]
penaltyFactor = 10

[NewtonParameters]
ForceIteration = false
AbsoluteLimit = 1E-10
Reduction = 1E-4
ReassembleThreshold = 5E-2
LineSearchMaxIterations = 10
MinLinearReduction = 1E-3

[adaptivity]
useAdaptivity = false
maxLevel = 10
minLevel = 0

# elementFraction, errorFraction, threshold
markingStrategy = elementFraction
refinementFraction = 0.1
coarseningFraction = 0.2
threshold = 1E-8

[misc]
debugMode = false

[dg.experimental]

# Experimental settings are enabled by the appropriate CMake flag. 
method = SIPG
upwinding = none
weights = true

How to test the implementation?

pipeline passing

Related issues

See #

Edited Oct 08, 2018 by Santiago Ospina De Los Ríos
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Solute Transport Feature
Milestone
Solute Transport Feature
Assign milestone
Time tracking
None
Due date
None
Reference: dorie/dorie#107