Skip to content

Commit 0fdaf9d

Browse files
Add dependencies to app.json
1 parent 9cd6a3f commit 0fdaf9d

12 files changed

Lines changed: 103 additions & 44 deletions

File tree

kratos.gid/apps/Buoyancy/app.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"prefix": "Buoyancy_",
55
"themed": false,
66
"kratos_name": "Buoyancyapplication",
7+
"python_packages": [],
78
"dimensions": [
89
"2D",
910
"3D"
@@ -16,10 +17,13 @@
1617
"write/write.tcl",
1718
"write/writeProjectParameters.tcl"
1819
],
19-
"start_script":"::Buoyancy::Init",
20-
"requeriments":{
21-
"apps":["Fluid", "ConvectionDiffusion"],
22-
"minimum_gid_version":"15.1.3d"
20+
"start_script": "::Buoyancy::Init",
21+
"requeriments": {
22+
"apps": [
23+
"Fluid",
24+
"ConvectionDiffusion"
25+
],
26+
"minimum_gid_version": "15.1.3d"
2327
},
2428
"permissions": {
2529
"open_tree": true,
@@ -34,4 +38,4 @@
3438
},
3539
"main_launch_file": "python/MainKratos.py",
3640
"examples": "examples/examples.xml"
37-
}
41+
}

kratos.gid/apps/CDEM/app.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"name": "CDEM",
44
"prefix": "DEM",
55
"themed": false,
6-
"kratos_name": "DEMapplication",
6+
"kratos_name": "DEMApplication",
7+
"python_packages": [
8+
"KratosDEMApplication","numpy"
9+
],
710
"dimensions": [
811
"2D",
912
"3D"
@@ -21,10 +24,12 @@
2124
"xml/XmlController.tcl",
2225
"xml/BulkGroup.tcl"
2326
],
24-
"start_script":"::CDEM::Init",
25-
"requeriments":{
26-
"apps":["DEM"],
27-
"minimum_gid_version":"15.1.3d"
27+
"start_script": "::CDEM::Init",
28+
"requeriments": {
29+
"apps": [
30+
"DEM"
31+
],
32+
"minimum_gid_version": "15.1.3d"
2833
},
2934
"permissions": {
3035
"open_tree": true,
@@ -34,4 +39,4 @@
3439
},
3540
"main_launch_file": "python/MainKratos.py",
3641
"examples": "examples/examples.xml"
37-
}
42+
}

kratos.gid/apps/ConjugateHeatTransfer/app.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"prefix": "CHT",
55
"themed": false,
66
"kratos_name": "ConvectionDiffusionApplication",
7+
"python_packages": [
8+
"KratosConvectionDiffusionApplication",
9+
"KratosFluidDynamicsApplication"
10+
],
711
"dimensions": [
812
"2D",
913
"3D"
@@ -18,10 +22,12 @@
1822
"write/write.tcl",
1923
"write/writeProjectParameters.tcl"
2024
],
21-
"start_script":"::ConjugateHeatTransfer::Init",
22-
"requeriments":{
23-
"apps":["Buoyancy"],
24-
"minimum_gid_version":"15.1.3d"
25+
"start_script": "::ConjugateHeatTransfer::Init",
26+
"requeriments": {
27+
"apps": [
28+
"Buoyancy"
29+
],
30+
"minimum_gid_version": "15.1.3d"
2531
},
2632
"permissions": {
2733
"open_tree": true,
@@ -36,4 +42,4 @@
3642
},
3743
"main_launch_file": "python/MainKratos.py",
3844
"examples": "examples/examples.xml"
39-
}
45+
}

kratos.gid/apps/ConvectionDiffusion/app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"prefix": "CNVDFF",
55
"themed": false,
66
"kratos_name": "ConvectionDiffusionApplication",
7+
"python_packages": [
8+
"KratosConvectionDiffusionApplication"
9+
],
710
"dimensions": [
811
"2D",
912
"3D"

kratos.gid/apps/DEM/app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"prefix": "DEM",
55
"themed": false,
66
"kratos_name": "DEMApplication",
7+
"python_packages": [
8+
"KratosDEMApplication"
9+
],
710
"dimensions": [
811
"2D",
912
"3D"

kratos.gid/apps/Dam/app.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"prefix": "Dam",
55
"themed": false,
66
"kratos_name": "DamApplication",
7+
"python_packages": [
8+
"KratosDamApplication"
9+
],
710
"dimensions": [
811
"2D",
912
"3D"

kratos.gid/apps/EmbeddedFluid/app.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"prefix": "EMBFL",
55
"themed": false,
66
"kratos_name": "FluidDynamicsApplication",
7+
"python_packages": [
8+
"KratosFluidDynamicsApplication"
9+
],
710
"dimensions": [
811
"3D"
912
],
@@ -17,17 +20,19 @@
1720
"write/write.tcl",
1821
"write/writeProjectParameters.tcl"
1922
],
20-
"start_script":"::EmbeddedFluid::Init",
21-
"requeriments":{
22-
"apps":["Fluid"],
23-
"minimum_gid_version":"15.1.3d"
23+
"start_script": "::EmbeddedFluid::Init",
24+
"requeriments": {
25+
"apps": [
26+
"Fluid"
27+
],
28+
"minimum_gid_version": "15.1.3d"
2429
},
2530
"permissions": {
2631
"open_tree": true,
2732
"show_toolbar": true,
2833
"intervals": true,
2934
"wizard": false,
30-
"import_files":true
35+
"import_files": true
3136
},
3237
"unique_names": {
3338
"materials": "EMBFLMaterials"
@@ -39,4 +44,4 @@
3944
},
4045
"main_launch_file": "python/MainKratos.py",
4146
"examples": "examples/examples.xml"
42-
}
47+
}

kratos.gid/apps/FSI/app.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
"name": "Fluid Strucure Interaction",
44
"prefix": "FSI",
55
"themed": false,
6-
"kratos_name": "FSIapplication",
6+
"kratos_name": "FSIApplication",
7+
"python_packages": [
8+
"KratosStructuralApplication",
9+
"KratosFluidDynamicsApplication",
10+
"KratosFSIApplication",
11+
"KratosMeshMovingApplication",
12+
"KratosMappingApplication"
13+
],
714
"dimensions": [
815
"2D",
916
"3D"
@@ -18,10 +25,13 @@
1825
"write/write.tcl",
1926
"write/writeProjectParameters.tcl"
2027
],
21-
"start_script":"::FSI::Init",
22-
"requeriments":{
23-
"apps":["Fluid", "Structural"],
24-
"minimum_gid_version":"15.1.3d"
28+
"start_script": "::FSI::Init",
29+
"requeriments": {
30+
"apps": [
31+
"Fluid",
32+
"Structural"
33+
],
34+
"minimum_gid_version": "15.1.3d"
2535
},
2636
"permissions": {
2737
"open_tree": true,
@@ -37,7 +47,6 @@
3747
"time_parameters": "STTimeParameters",
3848
"results": "STResults",
3949
"materials": "STMaterials"
40-
4150
},
4251
"write": {
4352
"coordinates": "all",
@@ -47,4 +56,4 @@
4756
},
4857
"main_launch_file": "python/MainKratos.py",
4958
"examples": "examples/examples.xml"
50-
}
59+
}

kratos.gid/apps/Fluid/app.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"prefix": "FL",
55
"themed": false,
66
"kratos_name": "FluidDynamicsApplication",
7+
"python_packages": [
8+
"KratosFluidDynamicsApplication"
9+
],
710
"dimensions": [
811
"2D",
912
"3D"
@@ -17,10 +20,10 @@
1720
"write/write.tcl",
1821
"write/writeProjectParameters.tcl"
1922
],
20-
"start_script":"::Fluid::Init",
21-
"requeriments":{
22-
"apps":[],
23-
"minimum_gid_version":"15.1.3d"
23+
"start_script": "::Fluid::Init",
24+
"requeriments": {
25+
"apps": [],
26+
"minimum_gid_version": "15.1.3d"
2427
},
2528
"permissions": {
2629
"open_tree": true,
@@ -47,4 +50,4 @@
4750
"main_launch_file": "python/MainKratos.py",
4851
"examples": "examples/examples.xml",
4952
"description": ""
50-
}
53+
}

kratos.gid/apps/FluidDEM/app.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"prefix": "DEM",
55
"themed": false,
66
"kratos_name": "FluidDEMapplication",
7+
"python_packages": [
8+
"KratosSwimmingDEMApplication",
9+
"KratosFluidDynamicsApplication",
10+
"KratosDEMApplication"
11+
],
712
"dimensions": [
813
"3D"
914
],
@@ -15,10 +20,13 @@
1520
"write/write.tcl",
1621
"write/writeProjectParameters.tcl"
1722
],
18-
"start_script":"::FluidDEM::Init",
19-
"requeriments":{
20-
"apps":["DEM", "Fluid"],
21-
"minimum_gid_version":"15.1.3d"
23+
"start_script": "::FluidDEM::Init",
24+
"requeriments": {
25+
"apps": [
26+
"DEM",
27+
"Fluid"
28+
],
29+
"minimum_gid_version": "15.1.3d"
2230
},
2331
"permissions": {
2432
"open_tree": true,
@@ -31,4 +39,4 @@
3139
},
3240
"main_launch_file": "python/MainKratos.py",
3341
"examples": "examples/examples.xml"
34-
}
42+
}

0 commit comments

Comments
 (0)