Commit 0bdea0b3 authored by Santiago Ospina's avatar Santiago Ospina

Fixed transport ini file for tests.

Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent 004cdf91
......@@ -159,3 +159,19 @@ create_default_config(
${CMAKE_CURRENT_SOURCE_DIR}/parameters.css
)
# Model: Transport
scrape_parameters(
SOURCE_DIR ${PROJECT_SOURCE_DIR}/dune/dorie/model/transport
XML_FILE ${CMAKE_CURRENT_SOURCE_DIR}/transport-parameters.xml
OUTPUT config.yml
MODEL "transport"
)
# Transport config (temporally hidden to the user)
# TODO: Include in API once transport is ready
create_default_config(
${CMAKE_CURRENT_BINARY_DIR}/config.yml
"transport-config.ini;transport-parameters.html;transport-parameters.rst"
${PROJECT_SOURCE_DIR}/dune/dorie
${CMAKE_CURRENT_SOURCE_DIR}/parameters.css
)
......@@ -31,7 +31,7 @@ adding an empty line, make text **bold** or ``monospaced``.
-->
<dorie>
<category name="transport.output">
<category name="output">
<parameter name="verbose">
<definition> Overall verbosity of the program </definition>
<suggestion> 0 </suggestion>
......@@ -83,7 +83,7 @@ adding an empty line, make text **bold** or ``monospaced``.
</parameter>
</category>
<category name="transport.boundary">
<category name="boundary">
<parameter name="file">
<definition> Path to the boundary condition file. </definition>
<values> path </values>
......@@ -105,7 +105,7 @@ adding an empty line, make text **bold** or ``monospaced``.
</parameter>
</category>
<category name="transport.initial">
<category name="initial">
<parameter name="value">
<definition> Initial constant value over the whole domain. </definition>
<values> float </values>
......@@ -113,7 +113,7 @@ adding an empty line, make text **bold** or ``monospaced``.
</parameter>
</category>
<category name="transport.time">
<category name="time">
<parameter name="start">
<definition> Starting time in seconds. </definition>
<values> float </values>
......@@ -177,7 +177,7 @@ adding an empty line, make text **bold** or ``monospaced``.
</parameter>
</category>
<category name="transport.parameters">
<category name="parameters">
<parameter name="molecularDiffusion">
<definition> Molecular diffusion of the fluid phase </definition>
<values> float &gt; 0 </values>
......@@ -185,7 +185,7 @@ adding an empty line, make text **bold** or ``monospaced``.
</parameter>
</category>
<category name="transport.numerics">
<category name="numerics">
<parameter name="timestepMethod">
<definition> Numerical scheme to perform time steps in the simulation
</definition>
......
include ${CMAKE_BINARY_DIR}/doc/default_files/config.ini
include ${CMAKE_BINARY_DIR}/doc/default_files/transport-config.ini
__name = test-simulation-dummy-transport
_test_command = run
......@@ -14,10 +15,6 @@ grid.globalIndex = 0
adaptivity.useAdaptivity = false
boundary.file = "{_asset_path}/bcs/infiltration_2d.dat", "{_asset_path}/bcs/infiltration_3d.dat" | expand dim
parameters.file = "{_asset_path}/param/param.yml"
[transport]
output.fileName = test-simulation-dummy-transport | unique
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment