Allow multiple models in one inifile
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.
Modify the current ini file so that it can accept values for several models.
- Define API
xmlfiles 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?