-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/add-pfem-fluid-thermic
- Loading branch information
Showing
734 changed files
with
17,631 additions
and
18,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"id": "Buoyancy", | ||
"name": "Buoyancy", | ||
"prefix": "Buoyancy_", | ||
"themed": false, | ||
"kratos_name": "Buoyancyapplication", | ||
"python_packages": [ | ||
"KratosFluidDynamicsApplication", | ||
"KratosConvectionDiffusionApplication" | ||
], | ||
"dimensions": [ | ||
"2D", | ||
"3D" | ||
], | ||
"script_files": [ | ||
"start.tcl", | ||
"examples/examples.tcl", | ||
"examples/HeatedSquare.tcl", | ||
"xml/XmlController.tcl", | ||
"write/write.tcl", | ||
"write/writeProjectParameters.tcl" | ||
], | ||
"start_script": "::Buoyancy::Init", | ||
"requeriments": { | ||
"apps": [ | ||
"Fluid", | ||
"ConvectionDiffusion" | ||
], | ||
"minimum_gid_version": "15.1.3d" | ||
}, | ||
"permissions": { | ||
"open_tree": true, | ||
"show_toolbar": true, | ||
"intervals": true, | ||
"wizard": false | ||
}, | ||
"write": { | ||
"coordinates": "all", | ||
"properties_location": "json", | ||
"model_part_name": "ThermalModelPart" | ||
}, | ||
"main_launch_file": "../../exec/MainKratos.py", | ||
"examples": "examples/examples.xml" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
namespace eval Buoyancy::examples { | ||
|
||
} | ||
|
||
proc Buoyancy::examples::Init { } { | ||
uplevel #0 [list source [file join $::Buoyancy::dir examples HeatedSquare.tcl]] | ||
namespace eval ::Buoyancy::examples { | ||
namespace path ::Buoyancy | ||
Kratos::AddNamespace [namespace current] | ||
} | ||
|
||
proc Buoyancy::examples::UpdateMenus { } { | ||
GiDMenu::InsertOption "Kratos" [list "---"] 8 PRE "" "" "" insertafter = | ||
GiDMenu::InsertOption "Kratos" [list "Heated square" ] 8 PRE [list ::Buoyancy::examples::HeatedSquare] "" "" insertafter = | ||
GiDMenu::UpdateMenus | ||
proc ::Buoyancy::examples::ErasePreviousIntervals { } { | ||
set root [customlib::GetBaseRoot] | ||
set interval_base [spdAux::getRoute "Intervals"] | ||
foreach int [$root selectNodes "$interval_base/blockdata\[@n='Interval'\]"] { | ||
if {[$int @name] ni [list Initial Total Custom1]} {$int delete} | ||
} | ||
} | ||
|
||
Buoyancy::examples::Init | ||
proc ::Buoyancy::examples::AddCuts { } { | ||
# Cuts | ||
set results "[spdAux::getRoute Results]/container\[@n='GiDOutput'\]" | ||
set cp [[customlib::GetBaseRoot] selectNodes "$results/container\[@n = 'CutPlanes'\]/blockdata\[@name = 'CutPlane'\]"] | ||
[$cp selectNodes "./value\[@n = 'point'\]"] setAttribute v "0.0,0.5,0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Group id="Thermic" name="Thermic examples"> | ||
<Example id="BuoyancyHeatedSquare2D" app="Buoyancy" logo="HeatedSquare2D.png" name="Buoyancy heated\nsquare 2D" dim="2D" cmd="::Buoyancy::examples::HeatedSquare::Init"> | ||
<Description></Description> | ||
</Example> | ||
</Group> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.