GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KratosMultiphysics/GiDInterface: The graphical user interface of Kratos for GiD. Featuring CFD, CSM, DEM, PFEM, etc

BranchesTags
Open more actions menu

Latest commit

 

History

5,420 Commits
5,420 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
dockers
dockers
 
 
kratos.gid
kratos.gid
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 

Repository files navigation

KratosMultiphysics <-> GiD Interface

Codacy Badge Tester

The graphical user interface of Kratos Multiphysics for GiD, distributed as a GiD problemtype (kratos.gid).

  • Stable release: open GiD, go to Data > Problem type > Internet retrieve and download Kratos. Available for Linux, Windows and macOS.
  • Developer version: you are in the right place.

Current version: Kratos 10.4.3 — requires GiD 16.1.10d or newer (developer version recommended).

Installation (developer version)

  1. Clone this repository, or download a release.
  2. Install the latest GiD developer version (minimum 16.1.10d).
  3. Go to GiD's problemtypes folder and delete any previous kratos.gid.
  4. Create there a link to the kratos.gid folder of this repository:
    • Windows: a shortcut to the kratos.gid folder.
    • Linux / macOS: ln -s /path/to/GiDInterface/kratos.gid /path/to/GiD/problemtypes/kratos.gid
  5. Choose an execution mode (see below).

Execution modes

Select the mode in Kratos > Preferences.

Mode What you need Notes
GiD's python (default) Nothing Uses the Python bundled with GiD. Missing packages are detected and can be installed from the interface.
Pip packages Python + KratosMultiphysics[all] Use a Python version supported by the KratosMultiphysics 10.4.3 wheels.
Local compiled Your own Kratos build For Kratos developers.
Docker Docker No other dependency. Currently the only option on macOS. Default image: fjgarate/kratos-run.

GiD's python

If some package is missing, run this in the GiD command line:

-np- W [GiD_Python_PipInstall { $::Kratos::pip_packages_required } 1 ]

Pip packages

# Linux
python3 -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics[all]==10.4.3
# Windows
python -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics[all]==10.4.3

Local compiled

In Kratos > Preferences fill in:

  • the path to the Python folder
  • the path to the Kratos build folder

Step-by-step video: https://www.youtube.com/watch?v=zZq7ypDdudo

Usage

  1. Run GiD.
  2. Data > Problem type > kratos.
  3. Kratos > Preferences > Developer mode (recommended for developers).
  4. Pick an application in the application market window.

Examples

  • Fluid dynamics
  • Structural mechanics
  • Fluid-structure interaction

Many applications also ship ready-to-run examples (Examples tool inside the interface).

Applications

Public applications (shown in the application market): Structural, Fluid, FSI, Dam, Thermic, Pfem, DEM, MPM, Shallow water, GeoMechanics, and the tools Stenosis Wizard, Stent, Mdpa Generator and Examples.

Others (CompressibleFluid, EmbeddedFluid, Buoyancy, ConjugateHeatTransfer, PfemFluid, CDEM, …) are reachable through the launchers or in developer mode. The full list lives in the appLink entries of kratos.gid/kratos.spd.

Repository layout

kratos.gid/            The GiD problemtype
  kratos.tcl           Entry point (GiD events, init, version checks)
  kratos.xml           Problemtype metadata (version, min GiD version, pip packages)
  kratos.spd           Root of the data tree; lists the applications (appLink)
  kratos.transform     Rules to upgrade models saved with older versions
  apps/<App>/          One folder per application: app.json, start.tcl, xml/, write/, examples/
  apps/Common/         Shared XML/SPD definitions
  scripts/             Core: Model/ (entities), Writing/ (mdpa + json), Controllers/ (windows)
  exec/                Launch scripts per mode and OS, MainKratos.py
  libs/                Third-party Tcl libraries
tools/                 Release scripts
dockers/               Release / runner docker images

Testing

CI runs the kratos-gid-tester suite in the fjgarate/kratos-tester image on a self-hosted runner, on every push to master. Pull requests are tested only after a maintainer adds the safe-to-test label.

Contributing

  1. Fork the repository and create a branch from master.
  2. Make your changes and test them in GiD (see AGENTS.md for the code structure and conventions).
  3. Open a pull request against master.

Questions: open an issue.

License

See LICENSE.md.

About

The graphical user interface of Kratos for GiD. Featuring CFD, CSM, DEM, PFEM, etc

Topics

gidproblemtypetcl

Resources

Readme
License
Activity
Custom properties

Stars

39 stars

Watchers

22 watching

Forks

18 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.