Skip to content

Commit 29ff255

Browse files
committed
add new models
1 parent 11dab4e commit 29ff255

File tree

83 files changed

+5715
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+5715
-102
lines changed

_toc.yml

+92-19
Original file line numberDiff line numberDiff line change
@@ -72,29 +72,102 @@ parts:
7272
chapters:
7373
- file: chapter5/cfd
7474
sections:
75-
- file: chapter5/buoyancy-driven_natural_convection
76-
- file: chapter5/compressible_flow_in_a_nozzle
77-
- file: chapter5/convection-diffusion_equation_in_a_channel
78-
- file: chapter5/free_surface_flow
79-
- file: chapter5/heat_conduction_in_a_solid
80-
- file: chapter5/incompressible_flow_past_a_cylinder
81-
- file: chapter5/magnetohydrodynamics_flow
82-
- file: chapter5/particle-laden_flow
83-
- file: chapter5/stokes_flow_in_a_lid-driven_cavity
84-
- file: chapter5/two-phase_flow
85-
- file: chapter5/non-newtonian-fluids
86-
sections:
87-
- file: chapter5/power_law_fluid_flow_in_a_channel
88-
- file: chapter5/bingham_plastic_flow_in_a_pipe
89-
- file: chapter5/oldroyd-b_fluid_flow_in_a_channel
90-
- file: chapter5/herschel-bulkley_fluid_flow_in_a_pipe
91-
- file: chapter5/cross_power_law_fluid_flow_in_a_channel
92-
- file: chapter5/casson_fluid_flow_in_a_channel
93-
- file: chapter5/papanastasiou_fluid_flow_in_a_channel
75+
- file: chapter5/cfd/buoyancy-driven_natural_convection
76+
- file: chapter5/cfd/compressible_flow_in_a_nozzle
77+
- file: chapter5/cfd/convection-diffusion_equation_in_a_channel
78+
- file: chapter5/cfd/free_surface_flow
79+
- file: chapter5/cfd/heat_conduction_in_a_solid
80+
- file: chapter5/cfd/incompressible_flow_past_a_cylinder
81+
- file: chapter5/cfd/magnetohydrodynamics_flow
82+
- file: chapter5/cfd/particle-laden_flow
83+
- file: chapter5/cfd/stokes_flow_in_a_lid-driven_cavity
84+
- file: chapter5/cfd/two-phase_flow
85+
- file: chapter5/cfd/non-newtonian-fluids
86+
sections:
87+
- file: chapter5/cfd/power_law_fluid_flow_in_a_channel
88+
- file: chapter5/cfd/bingham_plastic_flow_in_a_pipe
89+
- file: chapter5/cfd/oldroyd-b_fluid_flow_in_a_channel
90+
- file: chapter5/cfd/herschel-bulkley_fluid_flow_in_a_pipe
91+
- file: chapter5/cfd/cross_power_law_fluid_flow_in_a_channel
92+
- file: chapter5/cfd/casson_fluid_flow_in_a_channel
93+
- file: chapter5/cfd/papanastasiou_fluid_flow_in_a_channel
9494
- file: chapter5/fsi
95+
sections:
96+
- file: chapter5/fsi/flutter_analysis_of_a_flexible_wing_in_fluid_flow
97+
- file: chapter5/fsi/two-way_fluid-structure_interaction_in_a_tube
98+
- file: chapter5/fsi/fluid-structure_interaction_in_a_flexible_channel
9599
- file: chapter5/electromagnetics
96100
- file: chapter5/mhd
101+
sections:
102+
- file: chapter5/mhd/mhd-stability-analysis
103+
sections:
104+
- file: chapter5/mhd/mhd_rayleigh-taylor_instability_in_a_conducting_fluid
105+
- file: chapter5/mhd/mhd_kelvin-helmholtz_instability_in_magnetized_flows
106+
- file: chapter5/mhd/mhd_stability_of_a_current-carrying_plasma_column
107+
- file: chapter5/mhd/mhd-turbulence
108+
sections:
109+
- file: chapter5/mhd/mhd_turbulence_in_solar_winds
110+
- file: chapter5/mhd/mhd_turbulence_in_laboratory_plasmas
111+
- file: chapter5/mhd/mhd_turbulence_in_accretion_disks
112+
- file: chapter5/mhd/mhd-heat-transfer
113+
sections:
114+
- file: chapter5/mhd/mhd_heat_transfer_in_a_rectangular_domain
115+
- file: chapter5/mhd/mhd_heat_transfer_in_a_cylindrical_fusion_reactor
116+
- file: chapter5/mhd/mhd_heat_transfer_in_a_magma_convection_model
117+
- file: chapter5/mhd/mhd-dynamo
118+
sections:
119+
- file: chapter5/mhd/simple_kinematic_dynamo_model
120+
- file: chapter5/mhd/mhd_dynamo_in_a_rotating_sphere
121+
- file: chapter5/mhd/astrophysical_dynamo_in_a_stellar_interior
122+
- file: chapter5/mhd/mhd-astrophysics
123+
sections:
124+
- file: chapter5/mhd/mhd_star_formation_in_a_protostellar_cloud
125+
- file: chapter5/mhd/mhd_solar_wind_simulation
126+
- file: chapter5/mhd/mhd_accretion_disk_in_binary_star_system
127+
- file: chapter5/mhd/mhd-material-processing
128+
sections:
129+
- file: chapter5/mhd/mhd_aluminum_electromagnetic_stirring
130+
- file: chapter5/mhd/mhd_continuous_casting_of_steel
131+
- file: chapter5/mhd/mhd_metal_solidification_in_magnetic_field
132+
- file: chapter5/mhd/mhd-drug-targeting
133+
sections:
134+
- file: chapter5/mhd/magnetic_targeting_in_a_blood_vessel
135+
- file: chapter5/mhd/magnetic_targeting_in_tumor_tissue
136+
- file: chapter5/mhd/magnetic_targeting_in_the_eye_for_retinal_diseases
137+
- file: chapter5/mhd/mhd-fluid-dynamics
138+
sections:
139+
- file: chapter5/mhd/ferrofluid_flow_in_a_microfluidic_device
140+
- file: chapter5/mhd/ferrofluid_damper_in_mechanical_system
141+
- file: chapter5/mhd/magnetic_fluid_actuator_in_valve_control
142+
- file: chapter5/mhd/mhd-fusion
97143
- file: chapter5/material-science
144+
sections:
145+
- file: chapter5/material-science/creep_in_viscoelastic_materials
146+
- file: chapter5/material-science/diffusion_and_reaction_in_porous_media
147+
- file: chapter5/material-science/elasticity_with_thermal_expansion
148+
- file: chapter5/material-science/heat_conduction_with_phase_change
149+
- file: chapter5/material-science/piezoelectric_material
150+
- file: chapter5/material-science/composite-materials
151+
sections:
152+
- file: chapter5/material-science/homogenization_of_composite_structures
153+
- file: chapter5/material-science/thermal_conductivity_of_composite_materials
154+
- file: chapter5/material-science/fiber-reinforced_composite_materials
155+
- file: chapter5/material-science/composite_materials_with_piezoelectric_fibers
156+
- file: chapter5/material-science/composite_materials_with_thermal_expansion
157+
- file: chapter5/material-science/composite-materials-analysis
158+
sections:
159+
- file: chapter5/material-science/laminate_plate_bending
160+
- file: chapter5/material-science/composite_beam_analysis
161+
- file: chapter5/material-science/composite_pressure_vessel_analysis
162+
- file: chapter5/material-science/composite_shaft_analysis
163+
- file: chapter5/material-science/composite_shell_structures
164+
- file: chapter5/material-science/additive-manifacturing
165+
sections:
166+
- file: chapter5/material-science/thermal_simulation_in_powder_bed_fusion
167+
- file: chapter5/material-science/fluid_flow_simulation_in_directed_energy_deposition
168+
- file: chapter5/material-science/structural_simulation_in_fused_filament_fabrication
169+
- file: chapter5/material-science/multi-material_simulation_in_material_jetting
170+
- file: chapter5/material-science/residual_stress_simulation_in_selective_laser_melting
98171
- file: chapter5/multiphysics
99172
- caption: Documentation
100173
chapters:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

chapter5/electromagnetics.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,5 @@ To apply the finite element method, the domain $\Omega$ is discretized into elem
4646

4747
## References
4848

49-
The following references provide in-depth coverage of the mathematical background for electromagnetism using finite elements:
49+
The following references provide in-depth coverage of the mathematical background for electromagnetism using finite elements: {cite}`jin2015finite` {cite}`bossavit1998whitney` {cite}`monk2003finite`
5050

51-
\begin{enumerate}
52-
\item \cite{jin2015finite}
53-
\item \cite{bossavit1998whitney}
54-
\item \cite{monk2003finite}
55-
\end{enumerate}
56-
57-
This mathematical background serves as the foundation for implementing finite element simulations of electromagnetic problems. Researchers interested in detailed mathematical derivations and computational techniques are encouraged to explore the referenced works.

chapter5/fsi.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ Fluid-Structure Interaction (FSI) involves the coupled interaction between a flu
77

88
The governing equations for fluid-structure interaction involve the Navier-Stokes equations for the fluid and the equations of motion for the structure. In a partitioned approach, the coupled system is given by:
99

10+
$$
1011
\begin{align}
1112
\text{Fluid Domain:} \quad \rho_f \left(\frac{\partial \mathbf{u}_f}{\partial t} + (\mathbf{u}_f \cdot \nabla)\mathbf{u}_f\right) &= -\nabla p_f + \mu_f \nabla^2 \mathbf{u}_f + \mathbf{f}_f + \mathbf{F}_s, \label{eq:fsi_fluid_momentum} \\
1213
\nabla \cdot \mathbf{u}_f &= 0, \label{eq:fsi_fluid_continuity} \\
1314
\text{Structure Domain:} \quad \rho_s \frac{\partial^2 \mathbf{u}_s}{\partial t^2} &= \nabla \cdot \mathbf{P}_s + \mathbf{f}_s, \label{eq:fsi_structure_motion}
1415
\end{align}
16+
$$
1517

1618
where:
1719

@@ -65,12 +67,4 @@ The coupling conditions, such as \eqref{eq:fsi_kinematic_condition} and \eqref{e
6567

6668
## References
6769

68-
The following references provide comprehensive coverage of the mathematical background for fluid-structure interaction using finite elements:
69-
70-
\begin{enumerate}
71-
\item \cite{hron2006fluid}
72-
\item \cite{bathe2014finite}
73-
\item \cite{quarteroni2017fluid}
74-
\end{enumerate}
75-
76-
Researchers interested in detailed mathematical derivations and computational techniques are encouraged to explore the referenced works.
70+
The following references provide comprehensive coverage of the mathematical background for fluid-structure interaction using finite elements: {cite}`hron2006fluid` {cite}`bathe2014finite` {cite}`quarteroni2017fluid`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "c06958bc",
6+
"metadata": {},
7+
"source": [
8+
"# Fluid-Structure Interaction in a Flexible Channel\n",
9+
"\n",
10+
"## Mathematical Model\n",
11+
"\n",
12+
"Consider the FSI of a flexible channel with fluid flow. The fluid velocity $\\mathbf{v}$ and structural displacement $u$ are coupled through the FSI problem.\n",
13+
"\n",
14+
"- Structural Equation:\n",
15+
"\n",
16+
"$$\n",
17+
"\\begin{align*}\n",
18+
"\\rho_s A_s \\frac{\\partial^2 u}{\\partial t^2} - \\nabla \\cdot \\sigma(u) &= 0 \\quad \\text{in } \\Omega_s \\times (0, T) \\\\\n",
19+
"u &= 0 \\quad \\text{on } \\Gamma_{\\text{fixed}} \\times (0, T) \\\\\n",
20+
"\\sigma(u) \\cdot \\mathbf{n} &= \\mathbf{t} \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T)\n",
21+
"\\end{align*}\n",
22+
"$$\n",
23+
"\n",
24+
"- Fluid Equation:\n",
25+
"\n",
26+
"$$\n",
27+
"\\begin{align*}\n",
28+
"\\rho_f \\frac{\\partial \\mathbf{v}}{\\partial t} + \\rho_f (\\mathbf{v} \\cdot \\nabla) \\mathbf{v} - \\nabla \\cdot \\sigma(\\mathbf{v}) &= 0 \\quad \\text{in } \\Omega_f \\times (0, T) \\\\\n",
29+
"\\mathbf{v} &= \\mathbf{0} \\quad \\text{on } \\Gamma_{\\text{inlet}} \\times (0, T) \\\\\n",
30+
"\\sigma(\\mathbf{v}) \\cdot \\mathbf{n} &= p \\cdot \\mathbf{n} \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T)\n",
31+
"\\end{align*}\n",
32+
"$$\n",
33+
"\n",
34+
"- Coupling Conditions:\n",
35+
"\n",
36+
"$$\n",
37+
"\\begin{align*}\n",
38+
"\\mathbf{v}(\\mathbf{x}, t) &= \\mathbf{v}_f(\\mathbf{x}, t) \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T) \\\\\n",
39+
"\\sigma(u) \\cdot \\mathbf{n} &= \\sigma(\\mathbf{v}) \\cdot \\mathbf{n} \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T)\n",
40+
"\\end{align*}\n",
41+
"$$\n",
42+
"\n",
43+
"## Weak Formulation\n",
44+
"\n",
45+
"Find $u \\in V_s$ and $\\mathbf{v} \\in V_f$ such that\n",
46+
"\n",
47+
"$$\n",
48+
"\\begin{align*}\n",
49+
"\\int_{\\Omega_s} \\rho_s A_s \\frac{\\partial^2 u}{\\partial t^2} \\phi_s \\, d\\Omega &- \\int_{\\Omega_s} \\nabla \\cdot \\sigma(u) \\cdot \\nabla \\phi_s \\, d\\Omega = 0 \\\\\n",
50+
"\\int_{\\Omega_f} \\rho_f \\frac{\\partial \\mathbf{v}}{\\partial t} \\cdot \\mathbf{\\phi}_f \\, d\\Omega &+ \\int_{\\Omega_f} \\rho_f (\\mathbf{v} \\cdot \\nabla) \\mathbf{v} \\cdot \\mathbf{\\phi}_f \\, d\\Omega - \\int_{\\Omega_f} \\nabla \\cdot \\sigma(\\mathbf{v}) \\cdot \\nabla \\mathbf{\\phi}_f \\, d\\Omega = 0\n",
51+
"\\end{align*}\n",
52+
"$$\n",
53+
"\n",
54+
"for all $\\phi_s \\in V_s$ and $\\mathbf{\\phi}_f \\in V_f$.\n",
55+
"\n",
56+
"\n",
57+
"\n",
58+
"\n",
59+
"\n",
60+
"\n",
61+
"\n"
62+
]
63+
},
64+
{
65+
"cell_type": "code",
66+
"execution_count": null,
67+
"id": "f77f76ce",
68+
"metadata": {},
69+
"outputs": [],
70+
"source": []
71+
}
72+
],
73+
"metadata": {
74+
"kernelspec": {
75+
"display_name": ".iga-python",
76+
"language": "python",
77+
"name": ".iga-python"
78+
},
79+
"language_info": {
80+
"codemirror_mode": {
81+
"name": "ipython",
82+
"version": 3
83+
},
84+
"file_extension": ".py",
85+
"mimetype": "text/x-python",
86+
"name": "python",
87+
"nbconvert_exporter": "python",
88+
"pygments_lexer": "ipython3",
89+
"version": "3.10.12"
90+
}
91+
},
92+
"nbformat": 4,
93+
"nbformat_minor": 5
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "37cc9bbf",
6+
"metadata": {},
7+
"source": [
8+
"# Flutter Analysis of a Flexible Wing in Fluid Flow\n",
9+
"\n",
10+
"## Mathematical Model\n",
11+
"\n",
12+
"Consider the fluid-structure interaction of a flexible wing in a steady airflow. The structural displacement \\(u\\) and fluid velocity \\(\\mathbf{v}\\) are coupled through the FSI problem.\n",
13+
"\n",
14+
"- Structural Equation:\n",
15+
"\n",
16+
"$$\n",
17+
"\\begin{align*}\n",
18+
"\\rho_s A_s \\frac{\\partial^2 u}{\\partial t^2} + c_s \\frac{\\partial u}{\\partial t} - \\nabla \\cdot (\\sigma(u)) &= 0 \\quad \\text{in } \\Omega_s \\times (0, T) \\\\\n",
19+
"u &= 0 \\quad \\text{on } \\Gamma_{\\text{fixed}} \\times (0, T) \\\\\n",
20+
"\\sigma(u) \\cdot \\mathbf{n} &= p \\cdot \\mathbf{n} \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T)\n",
21+
"\\end{align*}\n",
22+
"$$\n",
23+
"\n",
24+
"- Fluid Equation:\n",
25+
"\n",
26+
"$$\n",
27+
"\\begin{align*}\n",
28+
"\\rho_f \\frac{\\partial \\mathbf{v}}{\\partial t} + \\rho_f (\\mathbf{v} \\cdot \\nabla) \\mathbf{v} - \\nabla \\cdot \\sigma(\\mathbf{v}) &= 0 \\quad \\text{in } \\Omega_f \\times (0, T) \\\\\n",
29+
"\\mathbf{v} &= \\mathbf{0} \\quad \\text{on } \\Gamma_{\\text{inlet}} \\times (0, T) \\\\\n",
30+
"\\sigma(\\mathbf{v}) \\cdot \\mathbf{n} &= \\mathbf{t} \\quad \\text{on } \\Gamma_{\\text{wing}} \\times (0, T) \\\\\n",
31+
"\\end{align*}\n",
32+
"$$\n",
33+
"\n",
34+
"- Coupling Conditions:\n",
35+
"\n",
36+
"$$\n",
37+
"\\begin{align*}\n",
38+
"\\mathbf{v}(\\mathbf{x}, t) &= \\mathbf{v}_f(\\mathbf{x}, t) \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T) \\\\\n",
39+
"\\sigma(u) \\cdot \\mathbf{n} &= \\sigma(\\mathbf{v}) \\cdot \\mathbf{n} \\quad \\text{on } \\Gamma_{\\text{interface}} \\times (0, T)\n",
40+
"\\end{align*}\n",
41+
"$$\n",
42+
"\n",
43+
"## Weak Formulation\n",
44+
"\n",
45+
"Find $u \\in V_s$ and $\\mathbf{v} \\in V_f$ such that\n",
46+
"\n",
47+
"$$\n",
48+
"\\begin{align*}\n",
49+
"\\int_{\\Omega_s} \\rho_s A_s \\frac{\\partial^2 u}{\\partial t^2} \\phi_s \\, d\\Omega &+ \\int_{\\Omega_s} c_s \\frac{\\partial u}{\\partial t} \\phi_s \\, d\\Omega - \\int_{\\Omega_s} \\nabla \\cdot \\sigma(u) \\cdot \\nabla \\phi_s \\, d\\Omega = 0 \\\\\n",
50+
"\\int_{\\Omega_f} \\rho_f \\frac{\\partial \\mathbf{v}}{\\partial t} \\cdot \\mathbf{\\phi}_f \\, d\\Omega &+ \\int_{\\Omega_f} \\rho_f (\\mathbf{v} \\cdot \\nabla) \\mathbf{v} \\cdot \\mathbf{\\phi}_f \\, d\\Omega - \\int_{\\Omega_f} \\nabla \\cdot \\sigma(\\mathbf{v}) \\cdot \\nabla \\mathbf{\\phi}_f \\, d\\Omega = 0\n",
51+
"\\end{align*}\n",
52+
"$$\n",
53+
"\n",
54+
"for all $\\phi_s \\in V_s$ and $\\mathbf{\\phi}_f \\in V_f$.\n",
55+
"\n"
56+
]
57+
},
58+
{
59+
"cell_type": "code",
60+
"execution_count": null,
61+
"id": "c4278e28",
62+
"metadata": {},
63+
"outputs": [],
64+
"source": []
65+
}
66+
],
67+
"metadata": {
68+
"kernelspec": {
69+
"display_name": ".iga-python",
70+
"language": "python",
71+
"name": ".iga-python"
72+
},
73+
"language_info": {
74+
"codemirror_mode": {
75+
"name": "ipython",
76+
"version": 3
77+
},
78+
"file_extension": ".py",
79+
"mimetype": "text/x-python",
80+
"name": "python",
81+
"nbconvert_exporter": "python",
82+
"pygments_lexer": "ipython3",
83+
"version": "3.10.12"
84+
}
85+
},
86+
"nbformat": 4,
87+
"nbformat_minor": 5
88+
}

0 commit comments

Comments
 (0)