File tree Expand file tree Collapse file tree
kratos.gid/apps/ShallowWater Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "unique_names" : {
2727 "parts" : " SWParts" ,
2828 "materials" : " SWMaterials" ,
29- "benchmarks" : " SWBenchmarks" ,
3029 "topography_data" : " SWTopographicData" ,
3130 "initial_conditions" : " SWInitialConditions" ,
3231 "conditions" : " SWConditions" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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" />
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ proc ::ShallowWater::xml::getUniqueName {name} {
2121
2222proc ::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}
You can’t perform that action at this time.
0 commit comments