Skip to content

Commit f7b24bd

Browse files
committed
remove benchmark processes
1 parent f6044ea commit f7b24bd

6 files changed

Lines changed: 1 addition & 27 deletions

File tree

kratos.gid/apps/ShallowWater/app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"unique_names": {
2727
"parts": "SWParts",
2828
"materials": "SWMaterials",
29-
"benchmarks": "SWBenchmarks",
3029
"topography_data": "SWTopographicData",
3130
"initial_conditions": "SWInitialConditions",
3231
"conditions": "SWConditions",

kratos.gid/apps/ShallowWater/xml/Benchmarks.spd

Lines changed: 0 additions & 4 deletions
This file was deleted.

kratos.gid/apps/ShallowWater/xml/Main.spd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<container n="ShallowWater" pn="Shallow Water" icon="app" prefix="SW" tree_state="open" open_window="0">
33
<include n="Parts" active="1" path="apps/ShallowWater/xml/Parts.spd"/>
4-
<include n="Benchmarks" active="0" path="apps/ShallowWater/xml/Benchmarks.spd"/>
54
<include n="TopographicData" active="1" path="apps/ShallowWater/xml/TopographicData.spd"/>
65
<include n="InitialConditions" active="1" path="apps/ShallowWater/xml/InitialConditions.spd"/>
76
<include n="BoundaryConditions" active="1" path="apps/ShallowWater/xml/BoundaryConditions.spd"/>

kratos.gid/apps/ShallowWater/xml/NodalConditions.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,4 @@
2525
<parameter n="TOPOGRAPHY" pn="Topography" v="Yes"/>
2626
</outputs>
2727
</NodalConditionItem>
28-
<NodalConditionItem
29-
n="DamBreakBenchmark"
30-
pn="Dam Break benchmark"
31-
ProcessName="DamBreakBenchmark"
32-
App="ShallowWater"
33-
Type="Benchmark"
34-
ImplementedInApplication="ShallowWaterApplication"
35-
Interval="False">
36-
<outputs>
37-
</outputs>
38-
</NodalConditionItem>
3928
</NodalConditionList>

kratos.gid/apps/ShallowWater/xml/Processes.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,4 @@
3131
</inputs>
3232
</Process>
3333

34-
<Process n="DamBreakBenchmark" pn="Dam break benchmark" python_module="dam_break_benchmark" kratos_module="KratosMultiphysics.ShallowWaterApplication.benchmarks" help="">
35-
<inputs>
36-
<parameter n="left_height" pn="Left height" v="1.0" />
37-
<parameter n="right_height" pn="Right height" v="1.0" />
38-
<parameter n="dam_position" pn="Dam position" v="1.0" />
39-
</inputs>
40-
</Process>
41-
4234
</ProcessList>

kratos.gid/apps/ShallowWater/xml/XmlController.tcl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ proc ::ShallowWater::xml::getUniqueName {name} {
2121

2222
proc ::ShallowWater::xml::CustomTree {args} {
2323
# Set the nodal conditions active
24-
gid_groups_conds::setAttributes "[spdAux::getRoute [GetUniqueName benchmarks]]/condition" [list state normal]
2524
gid_groups_conds::setAttributes "[spdAux::getRoute [GetUniqueName topography_data]]/condition" [list state normal]
2625
gid_groups_conds::setAttributes "[spdAux::getRoute [GetUniqueName initial_conditions]]/condition" [list state normal]
2726

@@ -31,6 +30,6 @@ proc ::ShallowWater::xml::CustomTree {args} {
3130
gid_groups_conds::setAttributes "[spdAux::getRoute NodalResults]/value\[@n = 'HEIGHT'\]" [list state normal]
3231
gid_groups_conds::setAttributes "[spdAux::getRoute NodalResults]/value\[@n = 'FREE_SURFACE_ELEVATION'\]" [list state normal]
3332

34-
#
33+
# Set the default value for the Z component in the boundary conditions
3534
gid_groups_conds::setAttributes "[spdAux::getRoute [GetUniqueName conditions]]/condition\[@n = 'ImposedFlowRate'\]/value\[@n = 'selector_component_Z'\]" [list v Not]
3635
}

0 commit comments

Comments
 (0)