Skip to content

Commit cd9d6f9

Browse files
Merge branch 'download-dependencies' into launch-configuration-selector
2 parents 49209be + 962d159 commit cd9d6f9

22 files changed

Lines changed: 267 additions & 150 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
*.lnk
33

44
# Kratos execution folder
5-
kratos.gid/exec/*
6-
!kratos.gid/exec/README.md
5+
kratos.gid/exec/Kratos*
6+
# !kratos.gid/exec/README.md
77
*.orig
88
.vscode/
99

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
1-
# GiDInterface
1+
# KratosMultiphysics <-> GiD Interface
22

33
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/36d3d305c87e4bb398bc87ea2e3b890e)](https://www.codacy.com/gh/KratosMultiphysics/GiDInterface/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=KratosMultiphysics/GiDInterface&amp;utm_campaign=Badge_Grade)
44

5-
The interface of Kratos with [GiD](http://www.gidhome.com).
5+
The user interface of Kratos with [GiD](http://www.gidhome.com).
66

7-
If you need the latest release, launch your GiD, navigate to Data > Problemtype > Internet retrieve and download Kratos there. Available for Linux. Windows, and macOS. If you need the developer version, you are on the right place
7+
If you need the latest stable release, launch your GiD, navigate to Data > Problemtype > Internet retrieve and download Kratos there.
8+
Available for Linux. Windows, and macOS.
9+
10+
If you need the developer version, you are on the right place.
811

912
## First steps
10-
* 1- Clone this repository, or install a [release](https://github.com/KratosMultiphysics/GiDInterface/releases)
13+
* 1- Clone this repository, or install a stable [release](https://github.com/KratosMultiphysics/GiDInterface/releases)
1114
* 2- Install the latest GiD developer version -> [Developer version](http://www.gidhome.com/download/developer-versions)
12-
* 3- Navigate to GiD's problemtype folder and delete previous kratos.gid
15+
* 3- Navigate to GiD's problemtype folder and delete any previous kratos.gid
1316
* Create there a link to our [kratos.gid](./kratos.gid/) downloaded in step 1
17+
* Windows: Simple shortcut to kratos.gid folder
1418
* 4- Navigate to kratos.gid/exec/
1519
* Create there a symbolic link to the kratos installation folder (where runkratos is located)
16-
* Unix : `ln -s ~/Kratos Kratos` or maybe `ln -s ~/Kratos/bin/Release Kratos` if that's the destination folder
17-
* Windows : `mklink /J Kratos C:\kratos` or maybe `mklink /J Kratos C:\kratos\bin\Release` (choose actual Kratos installation folder)
20+
* Unix : `ln -s ~/Kratos Kratos` or maybe `ln -s ~/Kratos/bin/Release Kratos` if that's the destination folder
21+
* Windows : `mklink /J Kratos C:\kratos\bin\Release` (choose actual Kratos installation folder)
1822

19-
### More information on this video
20-
https://studio.youtube.com/video/zZq7ypDdudo/edit
23+
### Step by step video
24+
https://www.youtube.com/watch?v=zZq7ypDdudo
2125

2226
## Usage
2327
* Run GiD
2428
* Go to: Data / Problem type / kratos
2529
* kratos top menu / Developer mode (recommended)
30+
31+
### Examples
2632
* [Fluid dynamics example](https://github.com/KratosMultiphysics/Kratos/wiki/Running-an-example-from-GiD#3-set-a-fluid-dynamics-problem)
2733
* [Structural mechanics example](https://github.com/KratosMultiphysics/Kratos/wiki/Running-an-example-from-GiD#4-set-a-structural-mechanics-problem)
2834
* [Fluid-Structure interaction example](https://github.com/KratosMultiphysics/Kratos/wiki/Running-an-example-from-GiD#5-set-a-fluid-structure-interaction-problem)

kratos.gid/apps/Buoyancy/app.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"prefix": "Buoyancy_",
55
"themed": false,
66
"kratos_name": "Buoyancyapplication",
7+
"python_packages": [
8+
"KratosFluidDynamicsApplication",
9+
"KratosConvectionDiffusionApplication"
10+
],
711
"dimensions": [
812
"2D",
913
"3D"
@@ -16,10 +20,13 @@
1620
"write/write.tcl",
1721
"write/writeProjectParameters.tcl"
1822
],
19-
"start_script":"::Buoyancy::Init",
20-
"requeriments":{
21-
"apps":["Fluid", "ConvectionDiffusion"],
22-
"minimum_gid_version":"15.1.3d"
23+
"start_script": "::Buoyancy::Init",
24+
"requeriments": {
25+
"apps": [
26+
"Fluid",
27+
"ConvectionDiffusion"
28+
],
29+
"minimum_gid_version": "15.1.3d"
2330
},
2431
"permissions": {
2532
"open_tree": true,
@@ -34,4 +41,4 @@
3441
},
3542
"main_launch_file": "python/MainKratos.py",
3643
"examples": "examples/examples.xml"
37-
}
44+
}

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+
}

0 commit comments

Comments
 (0)