diff --git a/docs/pages/Kratos/For_Users/Crash_Course/1_Obtain_Kratos.md b/docs/pages/Kratos/For_Users/Crash_Course/1_Obtain_Kratos.md index 040c7968b4ea..7e6c7dc015a9 100644 --- a/docs/pages/Kratos/For_Users/Crash_Course/1_Obtain_Kratos.md +++ b/docs/pages/Kratos/For_Users/Crash_Course/1_Obtain_Kratos.md @@ -48,7 +48,7 @@ python -m venv kratos_venv This will create an isolated environment for Kratos. To activate or deactivate it, use the following commands: Windows: -```ps1 +```bash # In cmd.exe kratos_venv\bin\activate.bat @@ -74,7 +74,7 @@ python -m pip install KratosMultiphysics-all ``` {: data-lang="Bash"} -⚠️ If you are a windows user, please also install: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 +⚠️ If you are a windows user, please also install [Windows Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) To verify the installation, run the following test in a Python session: diff --git a/docs/pages/Kratos/For_Users/Crash_Course/2_Basics.md b/docs/pages/Kratos/For_Users/Crash_Course/2_Basics.md index 76a56e3e8ff4..b3df1923cfcf 100644 --- a/docs/pages/Kratos/For_Users/Crash_Course/2_Basics.md +++ b/docs/pages/Kratos/For_Users/Crash_Course/2_Basics.md @@ -26,7 +26,7 @@ The model part file defines the geometry, mesh, boundary conditions, and initial By organizing these files in a structured manner, you can define, configure, and execute a full Kratos simulation. Each of these files plays a critical role in building, solving, and post-processing your multiphysics problem. In the following sections, we’ll cover these files in detail, providing examples and explaining key configurations required for typical use cases. -These files are usually created by a GUI (GiD, Salome, Flowgraph) and used to directly start the simulation. As the aim of the course is not to learn how to use these tools, you can download the input files for a simple structural mechanics case [here](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Workshops_files/Kratos_Workshop_2019/Sources/2_Kratos_input_files_and_IO/2_Kratos_input_files_and_IO.zip). +These files are usually created by a GUI (GiD, Salome, Flowgraph) and used to directly start the simulation. As the aim of the course is not to learn how to use these tools, you can download the input files for a simple structural mechanics case [here](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/2_Basics.zip). ### 1.2. Run Kratos from the command line Let's jump in and try the code: diff --git a/docs/pages/Kratos/For_Users/Crash_Course/3_Geometry.md b/docs/pages/Kratos/For_Users/Crash_Course/3_Geometry.md index 6838f90c5792..bbd24a661fa0 100644 --- a/docs/pages/Kratos/For_Users/Crash_Course/3_Geometry.md +++ b/docs/pages/Kratos/For_Users/Crash_Course/3_Geometry.md @@ -327,4 +327,4 @@ vtk_output.PrintOutput() vtk_output.ExecuteFinalizeSolutionStep() vtk_output.ExecuteFinalize() ``` -{: data-lang="Python"} +{: data-lang="Python"} \ No newline at end of file diff --git a/docs/pages/Kratos/For_Users/Crash_Course/6_Multiphysics.md b/docs/pages/Kratos/For_Users/Crash_Course/6_Multiphysics.md index e9ce7d0e32ac..7f216e46939f 100644 --- a/docs/pages/Kratos/For_Users/Crash_Course/6_Multiphysics.md +++ b/docs/pages/Kratos/For_Users/Crash_Course/6_Multiphysics.md @@ -16,9 +16,9 @@ The goal of this section is to become familiar with key aspects of multiphysics The chosen problem is a case of fluid-thermal interaction. One should become familiar with the various components involved in setting up and running such simulations, as well as the necessary steps to ensure the quality and physical relevance of results. -This tutorial will should one of the most simple multiphyscis applications, but we have tutorials for more complex examples with solver-level coupling in the [wiki]() +This tutorial will should one of the most simple multiphyscis applications, but we have tutorials for more complex examples with solver-level coupling in the [this advanced tutorial](../Tutorials/Multiphysics_Example.md) -Due to the complexity of the task and the time constraints, we will provide you with all the material. Please download the case from [here]() so you can follow the rest of the sections. +Due to the complexity of the task and the time constraints, we will provide you with all the material. Please download the case from [here](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/6_Multistage.zip) so you can follow the rest of the sections. # 2. A brief note on how to do multiphysics diff --git a/docs/pages/Kratos/For_Users/Crash_Course/7_Exercices.md b/docs/pages/Kratos/For_Users/Crash_Course/7_Exercices.md new file mode 100644 index 000000000000..62d70c168d88 --- /dev/null +++ b/docs/pages/Kratos/For_Users/Crash_Course/7_Exercices.md @@ -0,0 +1,19 @@ +--- +title: 7 - Exercises +keywords: +tags: [Kratos Crash Course Multiphyscis Exercices] +sidebar: kratos_for_users +summary: +--- + +# Exercices + +In this section wou will find gides to severa exercices that you may find usefull during the coruse. For every exercice, you will have a link with the corresponding files to run. some of them are the ones that you have used as examples during the course with some aditional steps: + +- [Basics](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/2_Basics.zip) +- [Data Management](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/3_Data_management.zip) +- [Solving Strategies](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/4_Solving_strategies.zip) +- [Solution Values](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/5_Manipulating_solution_values.zip) +- [Multistage](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/6_Multistage.zip) +- [Multiphyscis](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/7_Multiphysics.zip) +- [Eigen Values](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/8_Eigen_Values.zip) diff --git a/docs/pages/Kratos/For_Users/Crash_Course/menu_info.json b/docs/pages/Kratos/For_Users/Crash_Course/menu_info.json index 492772bafad1..9ef873f86ce3 100644 --- a/docs/pages/Kratos/For_Users/Crash_Course/menu_info.json +++ b/docs/pages/Kratos/For_Users/Crash_Course/menu_info.json @@ -5,6 +5,7 @@ "3_Geometry.md", "4_Data.md", "5_Simulation_Loop.md", - "6_Multiphysics.md" + "6_Multiphysics.md", + "7_Exercices.md" ] } \ No newline at end of file diff --git a/docs/pages/Kratos/For_Users/Tutorials/Multiphysics_Example.md b/docs/pages/Kratos/For_Users/Tutorials/Multiphysics_Example.md index a9495059a604..1079d9589a07 100644 --- a/docs/pages/Kratos/For_Users/Tutorials/Multiphysics_Example.md +++ b/docs/pages/Kratos/For_Users/Tutorials/Multiphysics_Example.md @@ -1,5 +1,5 @@ --- -title: Multiphysics Example +title: solver-level Multiphysics Example keywords: tags: [multiphysics_example.md] sidebar: kratos_for_users @@ -12,7 +12,7 @@ The main goal is to become familiar with key aspects of multiphysics simulations The first example will be used in a black-box manner to discuss the most important details related to setting up such cases and the corresponding parameters. The second example depicts how one could create own - so customized - mapping and solvers to further enhance existing capabilities. -**Suggestion:** as soon as you are here, you should download the [source files](https://github.com/KratosMultiphysics/Documentation/blob/master/Workshops_files/Kratos_Workshop_2019/Sources/6_multiphysics/6_multiphysics.zip) and start running the respective simulations from the command line as explained in [Kratos input files and IO](https://github.com/KratosMultiphysics/Kratos/wiki/Kratos-input-files-and-IO) (section 2.2: _Run Kratos from the command line_) . As there are 2 examples intended to be shown, it would be sufficient if every other person would run one and the remaining participants the other, preferably in groups of two. +**Suggestion:** as soon as you are here, you should download the [source files](https://github.com/KratosMultiphysics/Documentation/raw/refs/heads/master/Crash_Course/7_Multiphysics.zip) and start running the respective simulations from the command line as explained in [Kratos input files and IO](https://github.com/KratosMultiphysics/Kratos/wiki/Kratos-input-files-and-IO) (section 2.2: _Run Kratos from the command line_) . As there are 2 examples intended to be shown, it would be sufficient if every other person would run one and the remaining participants the other, preferably in groups of two. * Simulation 1: in `6_multiphysics\FSIBlackboxGeneric\MainKratos.py` * Simulation 2: in `6_multiphysics\FSICustomizedSDoFVortexShedding\MainKratosFSI.py`