Skip to content

Commit

Permalink
Use MainKratos
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinirazabal committed Jan 24, 2022
1 parent a91b3f8 commit c9fc824
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kratos.gid/apps/Dam/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"properties_location": "mdpa",
"model_part_name": "MainModelPart"
},
"main_launch_file": "python/MainKratos.py",
"main_launch_file": "../../exec/MainKratos.py",
"examples": "examples/examples.xml"
}
3 changes: 3 additions & 0 deletions kratos.gid/apps/Dam/write/writeProjectParameters.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ proc ::Dam::write::getParametersDict { } {

set projectParametersDict [dict create]

# Analysis stage field
dict set projectParametersDict analysis_stage "KratosMultiphysics.DamApplication.dam_analysis"

### Problem data
dict set projectParametersDict problem_data [Dam::write::GetProblemDataDict]

Expand Down
4 changes: 2 additions & 2 deletions kratos.gid/apps/Dam/xml/Conditions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<!--- Conditions: YOUNG VARIABLE -->
<ConditionItem n="YoungModulus3D" pn="Young Modulus Calibration" ImplementedInFile="process_factory" TypeofProblem="Mechanical,Thermo-Mechanical"
ImplementedInApplication="DamApplication" MinimumKratosVersion="13000" ProductionReady="ProductionReady" TypeofCondition="Calibration"
ImplementedInApplication="DamApplication" MinimumKratosVersion="13000" ProductionReady="ProductionReady" TypeofCondition="Mechanical"
WorkingSpaceDimension="3D" LocalSpaceDimension="0" RequiresLocalAxes="False" LargeDeformation="False"
ElementType="Volume" ProcessName="ImposeInputTableNodalYoungModulusProcess" VariableName="NODAL_YOUNG_MODULUS"
help="Application of variable young modulus in the nodes">
Expand All @@ -20,7 +20,7 @@
</ConditionItem>

<ConditionItem n="YoungModulus2D" pn="Young Modulus Calibration" ImplementedInFile="process_factory" TypeofProblem="Mechanical,Thermo-Mechanical"
ImplementedInApplication="DamApplication" MinimumKratosVersion="13000" ProductionReady="ProductionReady" TypeofCondition="Calibration"
ImplementedInApplication="DamApplication" MinimumKratosVersion="13000" ProductionReady="ProductionReady" TypeofCondition="Mechanical"
WorkingSpaceDimension="2D" LocalSpaceDimension="0" RequiresLocalAxes="False" LargeDeformation="False"
ElementType="Surface" ProcessName="ImposeInputTableNodalYoungModulusProcess" VariableName="NODAL_YOUNG_MODULUS"
help="Application of variable young modulus in the nodes">
Expand Down

0 comments on commit c9fc824

Please sign in to comment.