# nicky-ac/trabajo-grado architecture

> Architecture diagram of the GitHub repository nicky-ac/trabajo-grado, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nicky-ac/trabajo-grado
- Repository: https://github.com/nicky-ac/trabajo-grado

## Overview

This repository presents a stationary fluid–structure interaction study, with FreeFem++ programs as its computational product. The principal workflow is to solve the partitioned Stokes–elasticity problem, export meshes and fields, then render the reported figures. The README also documents mesh-convergence and relaxation studies, a presentation demo, and a simpler beam example. The solver source was not excerpted, so solver stages and its internal calls are represented only at the documented level; plotting relationships are supported by the shown Python source.

Main entry points: [`programas/FSI_Particionado.edp`](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp) (Partitioned FSI solver), [`programas/figuras_FSI.py`](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_FSI.py) (Result figure generator), [`programas/figuras_demo.py`](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_demo.py) (Presentation figure demo), [`programas/salida_demo`](https://github.com/nicky-ac/trabajo-grado/tree/main/programas/salida_demo) (Simulation figures)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_solver["Numerical simulation"]
  node_solver_main["Partitioned FSI solver"]
  node_fluid["Stokes fluid solve"]
  node_solid["Elasticity solve"]
  node_coupling["Dirichlet–Neumann coupling"]
  node_convergence["Mesh convergence study"]
  node_relaxation["Relaxation study"]
  node_demo_solver["Interactive FSI demo"]
  node_beam_example["Beam example"]
  node_poisson_example["Poisson installation check<br/>[Poisson.edp]"]
end

subgraph group_analysis["Results and analysis"]
  node_exports["Meshes and fields"]
  node_plot_fsi["Result figure generator<br/>[figuras_FSI.py]"]
  node_plot_demo["Presentation figure demo<br/>[figuras_demo.py]"]
  node_outputs["Simulation figures"]
end

subgraph group_research["Research materials"]
  node_thesis["Thesis and results"]
  node_slides["Defense slides<br/>[main.tex]"]
end

node_user(("Researcher"))

node_user -->|"runs"| node_solver_main
node_solver_main -->|"solves fluid"| node_fluid
node_solver_main -->|"solves structure"| node_solid
node_solver_main -->|"iterates coupling"| node_coupling
node_solver_main -->|"exports fields"| node_exports
node_solver_main -->|"supports comparison"| node_convergence
node_solver_main -->|"supports testing"| node_relaxation
node_exports -->|"reads meshes and fields"| node_plot_fsi
node_plot_fsi -->|"generates figures"| node_outputs
node_exports -->|"reads meshes and fields"| node_plot_demo
node_plot_demo -.->|"renders figures"| node_outputs
node_user -->|"runs"| node_demo_solver
node_user -->|"runs"| node_beam_example
node_user -->|"runs"| node_poisson_example
node_user -->|"reads or builds"| node_thesis
node_user -->|"views or builds"| node_slides

click node_solver_main "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_fluid "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_solid "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_coupling "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_convergence "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_relaxation "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_exports "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp"
click node_plot_fsi "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_FSI.py"
click node_plot_demo "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_demo.py"
click node_outputs "https://github.com/nicky-ac/trabajo-grado/tree/main/programas/salida_demo"
click node_demo_solver "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/Demo_Sustentacion.edp"
click node_beam_example "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FluidoEstructura.edp"
click node_poisson_example "https://github.com/nicky-ac/trabajo-grado/blob/main/programas/Poisson.edp"
click node_thesis "https://github.com/nicky-ac/trabajo-grado/blob/main/tesis/IFSA_Version_Final.tex"
click node_slides "https://github.com/nicky-ac/trabajo-grado/blob/main/presentacion/main.tex"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_solver_main,node_fluid,node_solid,node_coupling,node_convergence,node_relaxation,node_demo_solver,node_beam_example,node_poisson_example toneBlue
class node_exports,node_plot_fsi,node_plot_demo,node_outputs toneAmber
class node_thesis,node_slides toneMint
class node_user toneIndigo
```

## Components

### Numerical simulation

- [Partitioned FSI solver](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Stokes fluid solve](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Elasticity solve](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Dirichlet–Neumann coupling](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Mesh convergence study](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Relaxation study](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Interactive FSI demo](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/Demo_Sustentacion.edp): `programas/Demo_Sustentacion.edp`
- [Beam example](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FluidoEstructura.edp): `programas/FluidoEstructura.edp`
- [Poisson installation check](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/Poisson.edp): `programas/Poisson.edp`

### Results and analysis

- [Meshes and fields](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/FSI_Particionado.edp): `programas/FSI_Particionado.edp`
- [Result figure generator](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_FSI.py): `programas/figuras_FSI.py`
- [Presentation figure demo](https://github.com/nicky-ac/trabajo-grado/blob/main/programas/figuras_demo.py): `programas/figuras_demo.py`
- [Simulation figures](https://github.com/nicky-ac/trabajo-grado/tree/main/programas/salida_demo): `programas/salida_demo`

### Research materials

- [Thesis and results](https://github.com/nicky-ac/trabajo-grado/blob/main/tesis/IFSA_Version_Final.tex): `tesis/IFSA_Version_Final.tex`
- [Defense slides](https://github.com/nicky-ac/trabajo-grado/blob/main/presentacion/main.tex): `presentacion/main.tex`

### Other components

- **Researcher**

## Connections

- Researcher → Partitioned FSI solver: runs (evidence: `README.md`)
- Partitioned FSI solver → Stokes fluid solve: solves fluid (evidence: `README.md`)
- Partitioned FSI solver → Elasticity solve: solves structure (evidence: `README.md`)
- Partitioned FSI solver → Dirichlet–Neumann coupling: iterates coupling (evidence: `README.md`)
- Partitioned FSI solver → Meshes and fields: exports fields (evidence: `README.md`)
- Partitioned FSI solver → Mesh convergence study: supports comparison (evidence: `README.md`)
- Partitioned FSI solver → Relaxation study: supports testing (evidence: `README.md`)
- Meshes and fields → Result figure generator: reads meshes and fields (evidence: `README.md`)
- Result figure generator → Simulation figures: generates figures (evidence: `programas/figuras_FSI.py`)
- Meshes and fields → Presentation figure demo: reads meshes and fields (evidence: `programas/figuras_demo.py`)
- Presentation figure demo → Simulation figures: renders figures
- Researcher → Interactive FSI demo: runs (evidence: `README.md`)
- Researcher → Beam example: runs (evidence: `README.md`)
- Researcher → Poisson installation check: runs (evidence: `README.md`)
- Researcher → Thesis and results: reads or builds (evidence: `README.md`)
- Researcher → Defense slides: views or builds (evidence: `README.md`)
