Skip to content

Running an example from GiD

Rubén Zorrilla edited this page Mar 22, 2019 · 12 revisions

Running an example from GiD

Introduction

This first tutorial is intended to serve as a base for the rest of practical exercises of the course. Based on a simplified high-rise building design, a Computational Fluid Dynamics (CFD) case solving the flow around the building, a Computational Structural Mechanics (CSM) case solving the mechanics of an ideal representation of the building and a Fluid-Structure Interaction (FSI) coupling are presented.

To do that, the GiD pre and post-processor together with its Kratos Multiphysics Graphical User Interface (GUI) are used.

Since the aim of this Workshop course is to learn the basics Kratos Multiphysics usage all the examples required to follow this tutorial have been already included as a part of the interface so they can be automatically generated by just clicking on its corresponding button.

Get Kratos GiD GUI

First of all it is needed to have GiD installed in your machine. The installer of Windows and Linux official versions can be downloaded from this link.

Provided that you have already installed GiD, Kratos Multiphysics can be obtained using GiD internet retrieve tool. To do that, search for Data tab in the top toolbar and click on DataProblem typeKratos to start the download.

Once it is finished, you will have the Kratos Multiphysics GiD GUI together with a pre-compiled version of the current release, which allows to run the cases directly from GiD.

Set a Fluid Dynamics problem

  • Load the GUI
  • Use the predefined example
  • Explain the geometry and domain parts
  • Explain the boundary conditions
  • Explain the solver settings
  • Explain how to mesh it
  • Explain how to run it (comment on the files that are generated when running): mdpa geometry, json as a translation of the tree to the input and a main script to be run which calls Kratos
  • Explain how to visualize the results (post-process)

Set a Structural Mechanics problem

(briefly since it is similar to the previous)

  • Use the predefined example
  • Explain the geometry and domain parts
  • Explain the boundary conditions
  • Explain the solver settings

Set a Fluid-Structure Interaction problem

(briefly since it is similar to the previous)

  • Use the predefined example
  • Explain the tree as a coupling of both previous tree plus the coupling stuff

Conclude

We have shown how to set some examples with the GiD GUI. There are more predefined examples to serve as example of other multiphysics problems in the GUI. To set or import custom geometries, we refer to GiD user manual (put the link) There are other post processors that can be used.

Project information

Getting Started

Tutorials

Developers

Kratos structure

Conventions

Solvers

Debugging, profiling and testing

HOW TOs

Utilities

Kratos API

Kratos Structural Mechanics API

Clone this wiki locally