-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
34 changed files
with
614 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
--- | ||
title: Week 6 | ||
layout: default | ||
parent: 2) Calender | ||
nav_order: 6 | ||
parent: Calendar | ||
nav_order: 7 | ||
--- | ||
|
||
# Week 6 | ||
|
||
At the end of this week you will be able to: <br> | ||
Define numerical methods to analyse systems governed by nonlinear Partial Differential Equations. This entails:<br> | ||
<i>1. Define the formulation that characterizes the dynamics of structures subject to large deformations</i><br> | ||
<i>2. Define numerical methods to solve nonlinear systems of PDEs</i> <br> | ||
<i>3. Analyse and justify the results</i><br> | ||
{: .learningobjectives } | ||
|
||
Week 6. Geometrically nonlinear structures [[pdf 1]](https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek6&files=6.1_Geometrically_nonlinear_structures.pdf),[[pdf 2]](https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek6&files=7.1_Geometrically_nonlinear_structures.pdf) :<br> | ||
<i>1. Geometric nonlinearity [5.4](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/geometric_nonlinearity.html)</i> <br> | ||
{: .content } | ||
|
||
[Workshop 1 (Static String)](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/Exercises/geometric_nonlinear_exercises/Workshop_1_Static_String.html)<br> | ||
[Workshop 2 (Expanded Static String)](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/Exercises/geometric_nonlinear_exercises/Workshop_2_Offset_Calc.html)<br> | ||
[Workshop 6 (Dynamic String)](https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_Dynamic_String.html)<br> | ||
{: .exercises } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: "Week 6: Geometrically Nonlinear Structures" | ||
--- | ||
|
||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
Lecture | ||
: Geometrically Nonlinear Structures | ||
<br><em>Wednesday, 08:45-12:45, Flux Hall D</em> | ||
|
||
Homework | ||
: Study content of week 6 | ||
|
||
Workshop | ||
: Workshop: Workshop 1 (Static String), Workshop 2 (Expanded Static String), Workshop 6 (Dynamic String) | ||
<br><em>Wednesday, 08:45-12:45, Flux Hall D</em> | ||
<br><em>Thursday, 13:45-15:45, Flux Hall D</em> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
At the end of this week you will be able to: <br> | ||
Define numerical methods to analyse systems governed by nonlinear Partial Differential Equations. This entails:<br> | ||
<i>1. Define the formulation that characterizes the dynamics of structures subject to large deformations</i><br> | ||
<i>2. Define numerical methods to solve nonlinear systems of PDEs</i> <br> | ||
<i>3. Analyse and justify the results</i><br> | ||
{: .learningobjectives } | ||
|
||
Week 6. Geometrically nonlinear structures [[pdf 1]](https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek6&files=6.1_Geometrically_nonlinear_structures.pdf),[[pdf 2]](https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek6&files=7.1_Geometrically_nonlinear_structures.pdf) :<br> | ||
<i>1. Geometric nonlinearity [5.4](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/geometric_nonlinearity.html)</i> <br> | ||
{: .content } | ||
|
||
[Workshop 1 (Static String)](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/Exercises/geometric_nonlinear_exercises/Workshop_1_Static_String.html)<br> | ||
[Workshop 2 (Expanded Static String)](https://teachbooks.tudelft.nl/computational-modelling/solid_nonlinear/Exercises/geometric_nonlinear_exercises/Workshop_2_Offset_Calc.html)<br> | ||
[Workshop 6 (Dynamic String)](https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_Dynamic_String.html)<br> | ||
{: .exercises } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h1 id="assessment">Assessment</h1> | ||
|
||
<p>The assessment of this <strong>unit</strong> will be embedded on the project/exercise portfolio and individual exam of each <strong>B module</strong>. The following percentages will be applied:</p> | ||
<ul> | ||
<li>Probabilistic Design: 20%,</li> | ||
<li>Numerical Modelling: 25%</li> | ||
<li>Marine Renewables / Dams, Dikes and Breakwaters / Floating and Submerged Structures: 55%</li> | ||
</ul> | ||
|
||
<p>The assessment for <strong>Computational Modelling</strong> is tailored for each B module as follows:</p> | ||
<ul> | ||
<li><strong>HOS-B1 Marine Renewables</strong>:</li> | ||
<li>Stand-alone project on floating wind turbine. The description of the project can be found <a href="./assets/projects/CIEM4210-Project-2024.pdf">here</a>.</li> | ||
<li>Specific questions in the multiple-choice exam</li> | ||
<li><strong>HOS-B2 Dams, Dikes and Breakwaters</strong>:</li> | ||
<li>Stand-alone project on structural analysis of a breakwater. The description of the project can be found <a href="./assets/projects/CIEM4220-Project-2024.pdf">here</a>.</li> | ||
<li>Specific questions in the oral exam</li> | ||
<li><strong>HOS-B3 Floating and Submerged Structures</strong>:</li> | ||
<li>Embedded chapters on the floating-submerged tunnel project. The description of the project can be found <a href="./assets/projects/CIEM4230-Project-2024.pdf">here</a>.</li> | ||
<li>Specific questions in the oral exam</li> | ||
<li><strong>OE44090 Introduction to Computational Dynamics of Offshore Structures</strong>:</li> | ||
<li>Stand-alone project on floating wind turbine. The description of the project can be found <a href="./assets/projects/OE44090-Project-2024.pdf">here</a>.</li> | ||
<li>Written exam</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h1 id="forms-of-instruction">Forms of instruction</h1> | ||
|
||
<p>In this unit we will use a problem-based teaching approach. At each week we will provide theoretical material in form of lectures that will later be used in hands-on tutorials and exercises. You are expected to use the concepts practiced during the tutorials and exercises in your final group project.</p> | ||
|
||
<p>Each week we will have a <strong>4 hours workshop</strong> where we will cover basic theory (~1h), work on a guided tutorial (~1h) and work on exercises with applications of interest (~2h). In addition, we will have a <strong>2h walk-in feedback session</strong> every week.</p> | ||
|
||
<h1 id="lecture-and-study-materials">Lecture and study materials</h1> | ||
|
||
<p>This course/unit will use the following materials: Lecture slides, lecture notes, papers and chapters from relevant literature.</p> | ||
|
||
<p>We will use the <a href="https://interactivetextbooks.citg.tudelft.nl/computational-modelling"><strong>Computational Modelling in Civil Engineering and Geosciences</strong></a> book as a reference (link also available on the top-right corner of this page).</p> | ||
|
||
<p>In the <a href="./Calender.md"><em>Calender</em></a> section of this page you will find the links to the material for each week.</p> | ||
|
||
<p>For each week you will have the description of the theory, with links to the pre-recorded videos, some solved exercises applying the concepts given in the theory and tutorials with applications to examples relevant to the modules. You will also find a set of exercises to be developed in the workshop sessions. Other than the Python notebooks some comparisons are made using other programs and laguages suchs as <a href="https://www.maplesoft.com/">Maple</a> and <a href="https://julialang.org/">Julia</a>. If the installation of additional software is required, we will provide instructions on how to do it.</p> | ||
|
||
<p><strong>A note on the course structure</strong></p> | ||
|
||
<p>The course is built up of a series of theory pages, as well as tutorial notebooks. It is advised for students to look into the theory pages first. Here a series of texts and videos explains the course material. After that the tutorial pages show ways of implementing the theory lectures. Tutorials are either example-only, with the full example and implementation shown, or they are exercise-solution based. This is indicated in the title. While all exercises have an example solution directly availible at the bottom of the page, it is advised to try it yourself first. In coding there are always different possible paths, so discuss your approach with fellow students or your lecturers. The correctness and efficiency of the solution is key, and even the provided solutions have room for improvement.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<h1 id="week-1">Week 1</h1> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyse numerical methods to solve Ordinary Differential Equations (ODEs). This entails:<br /> | ||
<i>1. Define a simple solver to approximate solutions of ODEs based on Taylor Series</i> <br /> | ||
<i>2. Quantify the numerical error of an approximated solution</i><br /> | ||
<i>3. Define adaptive time stepping approaches to control the numerical error</i><br /> | ||
<i>4. Distinguish between different ODE solvers</i><br /></p> | ||
|
||
<p class="content">Week 1. Computational methods for ODEs <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek1&files=1_1_Computational_methods_for_ODEs.pdf">[pdf]</a>:<br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Introduction.html">Introduction to numerical methods for ODEs</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Taylor-series.html">Taylor series</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Solvers.html">ODE solvers</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Error_stability.html">Error and stability</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Error_control.html">Error control</a><br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/w1_t1.html">Workshop: ODE Solver</a><br /></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h1 id="week-2">Week 2</h1> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Defining and solving an Equation of Motion using the Lagrangian approach. This entails:<br /> | ||
<i>1. Recognize structural elements and understand their contribution in the Equation of Motion</i><br /> | ||
<i>2. Deriving the Equation of Motion using Lagrangian approach</i> <br /> | ||
<i>3. Solve Equation of Motion using numerical methods</i><br /></p> | ||
|
||
<p class="content">Week 2. Computational methods for rigid body dynamics <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek2&files=2_1_Dynamics_of_rigid_bodies.pdf">[pdf]</a>:<br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_Linearizing_EOM.html">Workshop 2</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_Pendulum.html">Workshop 3</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_2DOF.html">Workshop 4</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_4DOF.html">Workshop 5</a><br /></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<h1 id="week-3">Week 3</h1> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyze numerical methods to solve systems governed by Partial Differential Equations. This entails:<br /> | ||
<i>1. Define the system of PDEs that characterize the behaviour of structures composed by rods and beams</i><br /> | ||
<i>2. Define numerical methods to solve a system of PDEs</i> <br /> | ||
<i>3. Implement a solver for a system of PDEs</i><br /> | ||
<i>4. Analyse and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 3. Computational methods for time-dependent Partial Differential Equations <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek3&files=3_1_Numerical_methods_for_PDEs.pdf">[pdf]</a>:<br /> | ||
<i>1. Introduction to Finite Differences for time-dependent PDEs</i><br /> | ||
<i>2. Introduction to Finite Elements for time-dependent PDEs (<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/semi_discrete.html">6.4</a> and <a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/time_steppers.html">6.5</a>)</i> <br /> | ||
<i>3. Theory: Beam equation <a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/euler_bernouilli.html">4.1</a></i> <br /> | ||
<i>4. Theory: Space frames <a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/space_frame.html">4.3</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_FEM_dyn_rod.html">Workshop 1</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/Exercises/Workshop_FEM_dyn_beam.html">Workshop 2</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/Exercises/Workshop_FEM_dyn_space_frames.html">Workshop 3</a><br /></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h1 id="week-4">Week 4</h1> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyse numerical methods to solve systems governed by Partial Differential Equations in 2-dimensional domains. This entails:<br /> | ||
<i>1. Define the system of PDEs that characterize the behaviour of linear elastic structures in 2D</i><br /> | ||
<i>2. Define numerical methods to solve a system of PDEs</i> <br /> | ||
<i>3. Implement a solver for a system of PDEs</i><br /> | ||
<i>4. Analyse and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 4. Computational methods for time-dependent Partial Differential Equations in 2D <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek4&files=4_1_Numerical_methods_for_PDEs_in%202D.pdf">[pdf]</a>:<br /> | ||
<i>1. Isoparametric mapping <a href="https://teachbooks.tudelft.nl/computational-modelling/introduction/isoparametric_mapping.html">2.8</a></i> <br /> | ||
<i>2. Numerical integration <a href="https://teachbooks.tudelft.nl/computational-modelling/introduction/numerical_integration.html">2.6</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/continuum_linear/Exercises/Workshop_FEM_Linear_Elasticity.html">Workshop 1</a><br /></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<h1 id="week-5">Week 5</h1> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define numerical methods to perform a modal analysis of systems governed by Partial Differential Equations. This entails:<br /> | ||
<i>1. Characterize the modal properties of a system of PDEs</i><br /> | ||
<i>2. Define numerical methods that return characteristics eigenfrequencies and eigenmodes of a system of PDEs</i> <br /> | ||
<i>3. Analyze and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 5. Modal analysis for time-dependent Partial Differential Equations <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek5&files=5_1_Modal_analysis.pptx">[pdf]</a>:<br /> | ||
<i>1. Modal analysis <a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/modal_analysis.html">6.6</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_modal_sup_pos_jacket.html">Workshop 4</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_Full_FEM_sup_pos_jacket.html">Workshop 5</a><br /></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
<h1 id="overview-of-all-weeks">Overview of All Weeks</h1> | ||
|
||
<h2 class="fs-4" id="week-1-introduction-unit-ciem42x0-cm">Week 1: Introduction Unit CIEM42X0-CM</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Introduction to Computational Dynamics of Offshore Structure | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 1</dd> | ||
<dt>Workshop</dt> | ||
<dd>ODE Solver | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyse numerical methods to solve Ordinary Differential Equations (ODEs). This entails:<br /> | ||
<i>1. Define a simple solver to approximate solutions of ODEs based on Taylor Series</i> <br /> | ||
<i>2. Quantify the numerical error of an approximated solution</i><br /> | ||
<i>3. Define adaptive time stepping approaches to control the numerical error</i><br /> | ||
<i>4. Distinguish between different ODE solvers</i><br /></p> | ||
|
||
<p class="content">Week 1. Computational methods for ODEs <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek1&files=1_1_Computational_methods_for_ODEs.pdf">[pdf]</a>:<br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Introduction.html">Introduction to numerical methods for ODEs</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Taylor-series.html">Taylor series</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Solvers.html">ODE solvers</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Error_stability.html">Error and stability</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/ODEs/Error_control.html">Error control</a><br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/w1_t1.html">Workshop: ODE Solver</a><br /></p> | ||
|
||
</div> | ||
|
||
<h2 class="fs-4" id="week-2-computational-methods-for-rigid-body-dynamics">Week 2: Computational methods for rigid body dynamics</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Types of structural elements, Lagrangian mechanics and Linearization | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 2</dd> | ||
<dt>Workshop</dt> | ||
<dd>Workshop 2, Workshop 3, Workshop 4 and Workshop 5 | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em> | ||
<br /><em>Thursday, 13:45-15:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Defining and solving an Equation of Motion using the Lagrangian approach. This entails:<br /> | ||
<i>1. Recognize structural elements and understand their contribution in the Equation of Motion</i><br /> | ||
<i>2. Deriving the Equation of Motion using Lagrangian approach</i> <br /> | ||
<i>3. Solve Equation of Motion using numerical methods</i><br /></p> | ||
|
||
<p class="content">Week 2. Computational methods for rigid body dynamics <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek2&files=2_1_Dynamics_of_rigid_bodies.pdf">[pdf]</a>:<br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_Linearizing_EOM.html">Workshop 2</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_Pendulum.html">Workshop 3</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_2DOF.html">Workshop 4</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_EOM_4DOF.html">Workshop 5</a><br /></p> | ||
|
||
</div> | ||
|
||
<h2 class="fs-4" id="week-3-computational-methods-for-time-dependent-partial-differential-equations">Week 3: Computational methods for time-dependent Partial Differential Equations</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Introduction to Finite Differences for time-dependent PDEs & Introduction to Finite Elements for time-dependent PDEs | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 3</dd> | ||
<dt>Workshop</dt> | ||
<dd>Workshop 6, Workshop 7, Workshop 8 | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em> | ||
<br /><em>Thursday, 13:45-15:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyze numerical methods to solve systems governed by Partial Differential Equations. This entails:<br /> | ||
<i>1. Define the system of PDEs that characterize the behaviour of structures composed by rods and beams</i><br /> | ||
<i>2. Define numerical methods to solve a system of PDEs</i> <br /> | ||
<i>3. Implement a solver for a system of PDEs</i><br /> | ||
<i>4. Analyse and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 3. Computational methods for time-dependent Partial Differential Equations <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek3&files=3_1_Numerical_methods_for_PDEs.pdf">[pdf]</a>:<br /> | ||
<i>1. Introduction to Finite Differences for time-dependent PDEs</i><br /> | ||
<i>2. Introduction to Finite Elements for time-dependent PDEs (<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/semi_discrete.html">6.4</a> and <a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/time_steppers.html">6.5</a>)</i> <br /> | ||
<i>3. Theory: Beam equation <a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/euler_bernouilli.html">4.1</a></i> <br /> | ||
<i>4. Theory: Space frames <a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/space_frame.html">4.3</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/Workshop_FEM_dyn_rod.html">Workshop 1</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/Exercises/Workshop_FEM_dyn_beam.html">Workshop 2</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/structural_linear/Exercises/Workshop_FEM_dyn_space_frames.html">Workshop 3</a><br /></p> | ||
|
||
</div> | ||
|
||
<h2 class="fs-4" id="week-4-numerical-methods-for-time-dependent-partial-differential-equations-in-2d">Week 4: Numerical methods for time-dependent Partial Differential Equations in 2D</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Numerical methods for time-dependent PDEs in 2D | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 4</dd> | ||
<dt>Workshop</dt> | ||
<dd>Workshop: FEM for Linear Elasticity | ||
<br /><em>Wednesday, 08:45-12:45, Flux Hall D</em> | ||
<br /><em>Thursday, 13:45-15:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define and analyse numerical methods to solve systems governed by Partial Differential Equations in 2-dimensional domains. This entails:<br /> | ||
<i>1. Define the system of PDEs that characterize the behaviour of linear elastic structures in 2D</i><br /> | ||
<i>2. Define numerical methods to solve a system of PDEs</i> <br /> | ||
<i>3. Implement a solver for a system of PDEs</i><br /> | ||
<i>4. Analyse and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 4. Computational methods for time-dependent Partial Differential Equations in 2D <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek4&files=4_1_Numerical_methods_for_PDEs_in%202D.pdf">[pdf]</a>:<br /> | ||
<i>1. Isoparametric mapping <a href="https://teachbooks.tudelft.nl/computational-modelling/introduction/isoparametric_mapping.html">2.8</a></i> <br /> | ||
<i>2. Numerical integration <a href="https://teachbooks.tudelft.nl/computational-modelling/introduction/numerical_integration.html">2.6</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/continuum_linear/Exercises/Workshop_FEM_Linear_Elasticity.html">Workshop 1</a><br /></p> | ||
|
||
</div> | ||
|
||
<h2 class="fs-4" id="week-5-modal-analysis-for-time-dependent-partial-differential-equations">Week 5: Modal analysis for time-dependent Partial Differential Equations</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Modal analysis for time-dependent Partial Differential Equations | ||
<br /><em>Wednesday, 08:45-12:45, CEG 1.98</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 5</dd> | ||
<dt>Workshop</dt> | ||
<dd>Workshop: Modal Analysis for FEM | ||
<br /><em>Wednesday, 08:45-12:45, CEG 1.98</em> | ||
<br /><em>Thursday, 13:45-15:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define numerical methods to perform a modal analysis of systems governed by Partial Differential Equations. This entails:<br /> | ||
<i>1. Characterize the modal properties of a system of PDEs</i><br /> | ||
<i>2. Define numerical methods that return characteristics eigenfrequencies and eigenmodes of a system of PDEs</i> <br /> | ||
<i>3. Analyze and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 5. Modal analysis for time-dependent Partial Differential Equations <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek5&files=5_1_Modal_analysis.pptx">[pdf]</a>:<br /> | ||
<i>1. Modal analysis <a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/modal_analysis.html">6.6</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_modal_sup_pos_jacket.html">Workshop 4</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_Full_FEM_sup_pos_jacket.html">Workshop 5</a><br /></p> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<h1 id="announcements">Announcements</h1> | ||
|
||
<div class="announcement"> | ||
<h2>Getting Started</h2> | ||
<span class="announcement-meta"> | ||
|
||
Apr 24 | ||
· | ||
|
||
|
||
0 min read | ||
</span> | ||
<div> | ||
<!-- <a href="" target="_blank">link</a> --> | ||
<!-- <a href="https://tudelft-citg.github.io/HOS-prob-design/unlisted/assignment.html" target="_blank">Start HW 1</a> --> | ||
|
||
<p class="fs-5"><em>More information coming soon!</em></p> | ||
|
||
</div> | ||
</div> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<h1 id="calendar">Calendar</h1> | ||
|
||
<p>Use the links below or the sub-pages on the left side of this website to find an overview of the in-class sessions, homework assignments and reading material.</p> | ||
|
||
<p>Here is another useful link to the <a href="info.md">Unit Information page</a>.</p> | ||
|
||
<p>The topics covered in each week are:</p> | ||
<ul> | ||
<li>Week 1: Computational Methods for ODEs</li> | ||
<li>Week 2: Computational methods for rigid body dynamics</li> | ||
<li>Week 3: Computational methods for Partial Differential Equations</li> | ||
<li>Week 4: Computational methods for Partial Differential Equations in 2D</li> | ||
</ul> | ||
|
||
<!-- - Week 2: | ||
- Week 3: | ||
- Week 4: | ||
- Week 5: | ||
- Week 6: | ||
- Week 7: | ||
- Week 8: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: / | ||
schedule: | ||
interval: daily | ||
allow: | ||
- dependency-type: direct |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<h1 id="welcome-to-ciem42x0-cm-computational-modelling">Welcome to CIEM42X0-CM Computational Modelling</h1> | ||
<!-- {: .mb-2 } | ||
Hydraulic and Offshore Structures track, Civil Engineering Program at TU Delft. | ||
{: .fs-6 .fw-300 } --> | ||
|
||
<p><em>This page shows the most recent announcement and the schedule for the current week. For more information visit the <a href="./info">Unit Information page</a> and/or the <a href="./calendar">Calendar</a>. Links to external sites are at top right (e.g., Brightspace, online textbook(s), etc). Remember that the unit <a href="https://tudelft-citg.github.io/HOS-prob-design-24/" target="_blank">Probabilistic Design</a> also has a separate website (like this one), which can be accessed <a href="https://tudelft-citg.github.io/HOS-prob-design-24/" target="_blank">here</a>.</em></p> | ||
|
||
<!-- Read the ["Getting Started" announcement](https://tudelft-citg.github.io/announcements) to know what to do during the first week of class. --> | ||
<!--[Jump to the current week](https://tudelft-citg.github.io/calendar#week-1){: .btn .btn-blue }--> | ||
|
||
<div class="announcement"> | ||
<h2>Getting Started</h2> | ||
<span class="announcement-meta"> | ||
|
||
Apr 24 | ||
· | ||
|
||
|
||
0 min read | ||
</span> | ||
<div> | ||
<!-- <a href="" target="_blank">link</a> --> | ||
<!-- <a href="https://tudelft-citg.github.io/HOS-prob-design/unlisted/assignment.html" target="_blank">Start HW 1</a> --> | ||
|
||
<p class="fs-5"><em>More information coming soon!</em></p> | ||
|
||
</div> | ||
</div> | ||
|
||
<p><a href="announcements.md" class="btn btn-outline fs-3">Previous Announcements</a></p> | ||
|
||
<h2 class="fs-4" id="week-5-modal-analysis-for-time-dependent-partial-differential-equations">Week 5: Modal analysis for time-dependent Partial Differential Equations</h2> | ||
<div class="module"> | ||
<!-- This will make a piece of text, followed by a button that is a hyperlink that opens in a new tab --> | ||
<!-- In-Class Session <a href="https://tudelft-citg.github.io/HOS-prob-design/homework/HW_05_assignment.html" target="_blank">HW 5 Due</a>{: .label .label-red } --> | ||
|
||
<dl> | ||
<dt>Lecture</dt> | ||
<dd>Modal analysis for time-dependent Partial Differential Equations | ||
<br /><em>Wednesday, 08:45-12:45, CEG 1.98</em></dd> | ||
<dt>Homework</dt> | ||
<dd>Study content of week 5</dd> | ||
<dt>Workshop</dt> | ||
<dd>Workshop: Modal Analysis for FEM | ||
<br /><em>Wednesday, 08:45-12:45, CEG 1.98</em> | ||
<br /><em>Thursday, 13:45-15:45, Flux Hall D</em></dd> | ||
</dl> | ||
|
||
<!-- Holidays | ||
: None --> | ||
|
||
<p class="learningobjectives">At the end of this week you will be able to: <br /> | ||
Define numerical methods to perform a modal analysis of systems governed by Partial Differential Equations. This entails:<br /> | ||
<i>1. Characterize the modal properties of a system of PDEs</i><br /> | ||
<i>2. Define numerical methods that return characteristics eigenfrequencies and eigenmodes of a system of PDEs</i> <br /> | ||
<i>3. Analyze and justify the results</i><br /></p> | ||
|
||
<p class="content">Week 5. Modal analysis for time-dependent Partial Differential Equations <a href="https://surfdrive.surf.nl/files/index.php/s/Jm8e95QGRS97bDq/download?path=%2FWeek5&files=5_1_Modal_analysis.pptx">[pdf]</a>:<br /> | ||
<i>1. Modal analysis <a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/modal_analysis.html">6.6</a></i> <br /></p> | ||
|
||
<p class="exercises"><a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_modal_sup_pos_jacket.html">Workshop 4</a><br /> | ||
<a href="https://teachbooks.tudelft.nl/computational-modelling/dynamics/Exercises/str_elem_dyn_workshops/Workshop_Full_FEM_sup_pos_jacket.html">Workshop 5</a><br /></p> | ||
|
||
</div> | ||
|
||
<p><a href="calendar.md" class="btn btn-outline fs-3">Calendar (all weeks)</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<p>The <em>Computational Modelling</em> unit is part of all modules B in the <strong>Hydraulic and Offshore Structures</strong> track, embedded in the modules:</p> | ||
|
||
<ul> | ||
<li><a href="https://studiegids.tudelft.nl/a101_displayCourse.do?course_id=63755">CIEM4210 Marine Renewables</a></li> | ||
<li><a href="https://studiegids.tudelft.nl/a101_displayCourse.do?course_id=63756">CIEM4220 Dams, Dikes and Breakwaters</a></li> | ||
<li><a href="https://studiegids.tudelft.nl/a101_displayCourse.do?course_id=63757">CIEM4230 Floating and Submerged Structures</a></li> | ||
</ul> | ||
|
||
<p>This unit is also shared with the course on <em>Introduction to Computational Dynamics of Offshore Structures (OE44090)</em> from the <strong>Offshore and Dredging Engineering</strong> MSc program.</p> | ||
|
||
<p>The central topic of the unit is the definition and analysis of numerical methods to solve PDEs that govern hydraulic and offshore structures. In this unit it is assumed that the students have already the basic knowledge of the following basic concepts (acquired in the <a href="https://mude.citg.tudelft.nl/book/intro.html">MUDE</a>):</p> | ||
|
||
<ul> | ||
<li>Basic numerical methods for ODEs (explicit/implicit).</li> | ||
<li>Basic understanding of Finite Differences method for static PDEs.</li> | ||
<li>Basic understanding of Finite Element method for static PDEs.</li> | ||
</ul> | ||
|
||
<p>A short recap on these contents will be given to refresh concepts during the lectures.</p> | ||
|
||
<h1 id="learning-objectives">Learning Objectives</h1> | ||
|
||
<p>On completion of this unit, the student will be able to</p> | ||
|
||
<ul> | ||
<li>LO1: <strong>Construct a conceptual model that represents an hydraulic/offshore engineering application</strong>, limited to models that can be constructed from a combination of: point masses, rigid bodies, rods, Euler-Bernoulli beams, geometrically non-linear rods or simple 2-dimensional geometries.</li> | ||
<li>LO2: <strong>Apply different numerical methods to solve the equations of motion of the model</strong>, subject to typical hydraulic/offshore loads such as: wind, waves and currents.</li> | ||
<li>LO3: <strong>Implement the numerical methods and solve the problem</strong> using Matlab/Python/others.</li> | ||
<li>LO4: <strong>Analyse the results</strong> by: validating against analytical solutions or experimental data, identifying the range of applicability of a given method, evaluating errors and assessing the convergence of the solution.</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h1 id="instructors">Instructors</h1> | ||
|
||
<p>A number of instructors are involved in this unit.</p> | ||
<h2 id="instructors-1">Instructors</h2> | ||
|
||
<div class="staffer"><div> | ||
<h3 class="staffer-name" id="oriol-colomes">Oriol Colomes</h3><p><a href="mailto:J.O.ColomesGene@tudelft.nl">J.O.ColomesGene@tudelft.nl</a></p><!-- [Schedule an appointment](#){: .btn .btn-outline } --> | ||
|
||
</div> | ||
</div> | ||
|
||
<h2 id="teaching-assistant">Teaching Assistant</h2> | ||
|
||
<div class="staffer"><div> | ||
<h3 class="staffer-name" id="kareem-el-sayed">Kareem El Sayed</h3><p><a href="mailto:kelsayed@tudelft.nl">kelsayed@tudelft.nl</a></p><p>I am available to assist you with the workshops/exercises via Teams Chat.</p> | ||
|
||
</div> | ||
</div> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.1' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
- name: Install bundle | ||
run: bundle install | ||
- name: Build with Jekyll | ||
run: bundle exec jekyll build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Deploy Jekyll site to Pages | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.1' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build with Jekyll | ||
# Outputs to the './_site' directory by default | ||
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: production | ||
- name: Upload artifact | ||
# Automatically uploads an artifact from the './_site' directory by default | ||
uses: actions/upload-pages-artifact@v1 | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |