1 CoreFlows example scripts
2 =========================
4 - Stationary diffusion equation examples
5 - [Problem Stationary diffusion 2D Finite Elements on structured triangles with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_2DEF_StructuredTriangles.cxx)
6 - [Problem Stationary diffusion 2D Finite Elements on structured triangles with Neumann boundary conditions (C)](../examples/StationaryDiffusionEquation_2DEF_StructuredTriangles_Neumann.cxx)
7 - [Problem Stationary diffusion 2D Finite Elements on unstructured triangles with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_2DEF_UnstructuredTriangles.cxx)
8 - [Problem Stationary diffusion 3D Finite Elements on structured tetrahedra with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_3DEF_StructuredTriangles.cxx)
9 - [Problem Stationary diffusion 2D Finite Volumes on structured squares with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_2DFV_StructuredSquares.cxx)
10 - [Problem Stationary diffusion 2D Finite Volumes on structured triangles with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_2DFV_StructuredTriangles.cxx)
11 - [Problem Stationary diffusion 2D Finite Volumes on structured triangles with Neumann boundary conditions (C)](../examples/StationaryDiffusionEquation_2DFV_StructuredTriangles_Neumann.cxx)
12 - [Problem Stationary diffusion 3D Finite Volumes on structured tetrahedra with Dirichlet boundary conditions (C)](../examples/StationaryDiffusionEquation_3DFV_StructuredTetrahedra.cxx)
13 - [Problem Stationary diffusion 2D Finite Elements on structured triangles with Dirichlet boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DEF.py)
14 - [Problem Stationary diffusion 2D Finite Elements on structured triangles with Neumann boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DEF_Neumann.py)
15 - [Problem Stationary diffusion 3D Finite Elements on structured tetrahedra with Dirichlet boundary conditions tetrahedra (Python)](../examples/Python/StationaryDiffusionEquation_3DEF.py)
16 - [Problem Stationary diffusion 2D Finite Volumes on structured squares with Dirichlet boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DVF_StructuredSquares.py)
17 - [Problem Stationary diffusion 2D Finite Volumes on structured squares with Neumann boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DVF_StructuredSquares_Neumann.py)
18 - [Problem Stationary diffusion 2D Finite Volumes on structured triangles with Dirichlet boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DVF_StructuredTriangles.py)
19 - [Problem Stationary diffusion 2D Finite Volumes on structured cubes with Dirichlet boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DVF_StructuredCubes.py)
20 - [Problem Stationary diffusion 2D Finite Volumes on structured tetrahedra with Dirichlet boundary conditions (Python)](../examples/Python/StationaryDiffusionEquation_2DVF_StructuredTetrahedra.py)
22 - Diffusion equation examples
23 - [Problem Diffusion 1D Heated Rod (C)](../examples/DiffusionEquation_1DHeatedRod.cxx)
24 - [Problem Diffusion 1D Heated Rod (Python)](../examples/Python/DiffusionEquation_1DHeatedRod.py)
26 - Transport equation examples
27 - [Problem Transport 1D Heated Channel (C)](../examples/TransportEquation_1DHeatedChannel.cxx)
28 - [Problem Transport 1D Heated Channel (python)](../examples/Python/TransportEquation_1DHeatedChannel.py)
30 - Coupling of a transport and a diffusion equations
31 - [Coupled Problem Transport Diffusion 1D Heated Channel (C)](../examples/CoupledTransportDiffusionEquations_1DHeatedChannel.cxx)
33 - Single phase examples
34 - [Single Phase Problem 1D Heated Channel (C)](../examples/SinglePhase_1DHeatedChannel.cxx)
35 - [Single Phase Problem 1D Heated Channel (Python)](../examples/Python/SinglePhase_1DHeatedChannel.py)
36 - [Single Phase Problem 1D RiemannProblem (C)](../examples/SinglePhase_1DRiemannProblem.cxx)
37 - [Single Phase Problem 1D RiemannProblem (Python)](../examples/Python/SinglePhase_1DRiemannProblem.py)
38 - [Single Phase Problem 1D depressurisation (C)](../examples/SinglePhase_1DDepressurisation.cxx)
39 - [Single Phase Problem 1D depressurisation (Python)](../examples/Python/SinglePhase_1DDepressurisation.py
41 - [Single Phase Problem 1D water hammer (Python)](../examples/Python/SinglePhase_1DWaterHammer.py)
42 - [Single Phase Problem 1D porosity jump (C)](../examples/SinglePhase_1DPorosityJump.cxx)
44 | 2D Tests meshes for lid driven cavity test | |
46 | <img src="Figures/BoiteStruct.png" width="400"/> | <img src="Figures/BoiteNStruct.png" width="400"/> |
47 | 2D Structured mesh (squares) | Unstructured mesh (Delaunay triangles) |
49 - [Single Phase Problem 2D Lid driven cavity (C)](../examples/SinglePhase_2DLidDrivenCavity.cxx)
50 - [Single Phase Problem 2D Lid driven cavity (Python)](../examples/Python/SinglePhase_2DLidDrivenCavity.py)
51 - [Single Phase Problem 2D Lid driven cavity on an unstructured mesh (C)](../examples/SinglePhase_2DLidDrivenCavity_unstructured.cxx)
52 - [Single Phase Problem 2D Lid driven cavity on an unstructured mesh (Python)](../examples/Python/SinglePhase_2DLidDrivenCavity_unstructured.py)
54 | Results for lid driven cavity test | |
56 | <img src="Figures/Simulations/DrivenCavity/DrivenCavityStructuredUpwind.png" width="400"/> | <img src="Figures/Simulations/DrivenCavity/DrivenCavityUnstructuredUpwind.png" width="400"/> |
57 | Upwind scheme on structured mesh (squares) | Upwind scheme on unstructured mesh (Delaunay triangles) |
58 | <img src="Figures/Simulations/DrivenCavity/DrivenCavityStructuredDellacherieOmnes.png" width="400"/> | <img src="Figures/Simulations/DrivenCavity/DrivenCavityUnstructuredDellacherieOmnes.png" width="400"/> |
59 | LowMachDellacherieOmnes scheme on structured mesh (squares) | LowMachDellacherieOmnes scheme on unstructured mesh (Delaunay triangles) |
60 | <img src="Figures/Simulations/DrivenCavity/DrivenCavityStructuredStaggered.png" width="400"/> | <img src="Figures/Simulations/DrivenCavity/DrivenCavityUnstructuredStaggered.png" width="400"/> |
61 | Pseudo staggered scheme on structured mesh (squares) | Pseudo staggered scheme on unstructured mesh (Delaunay triangles) |
63 - [Single Phase Problem 2D Spherical wave on an unstructured mesh (C)](../examples/SinglePhase_2DSphericalExplosion_unstructured.cxx)
64 - [Single Phase Problem 2D Spherical wave on an unstructured mesh (Python)](../examples/Python/SinglePhase_2DSphericalExplosion_unstructured.py)
65 - [Single Phase Problem 2D Heated flow in inclined channel (Python)](../examples/Python/SinglePhase_2DHeatedChannelInclined.py)
66 - [Single Phase Problem 2D Wall heated Channel with cross section change (C)](../examples/SinglePhase_2DWallHeatedChannel_ChangeSect.cxx)
67 - [Single Phase Problem Heated wire with 2 Branches (C)](../examples/SinglePhase_HeatedWire_2Branches.cxx)
69 | <img src="Figures/2BranchesHeatedChannelPower.png" width="400"/> | <img src="Figures/2BranchesHeatedChannelTemperature.png" width="400"/> |
71 | Power field of the heated wire problem | Stationary temperature field of the heated wire problem |
73 - [Single Phase Problem Heated wire with 2 Branches (Python)](../examples/Python/SinglePhase_2BranchesHeatedChannels.py)
74 - [Single Phase Problem 2D Thermal conduction (Python)](../examples/Python/SinglePhase_2DThermalDiffusion.py)
76 | <img src="Figures/2DRiemann_t0.png" width="400"/> | <img src="Figures/2DRiemannStaggered.png" width="400"/> |
78 | Initial data and mesh for the 2D thermal diffusion problem | Stationary solution for the 2D thermal diffusion problem |
80 - [Single Phase 2D tank drainage problem (Python)](../examples/Python/SinglePhase_2DVidangeReservoir.py)
81 - [Single Phase Problem 3D Heat driven cavity (C)](../examples/SinglePhase_3DHeatDrivenCavity.cxx)
82 - [Single Phase Problem 3D Heat driven cavity (Python)](../examples/Python/SinglePhase_3DHeatDrivenCavity.py)
85 - [Drift Model 1D Riemann problem (C)](../examples/DriftModel_1DRiemannProblem.cxx)
86 - [Drift Model 1D Riemann problem (Python)](../examples/Python/DriftModel_1DRiemannProblem.py)
87 - [Drift Model 1D depressurisation (C)](../examples/DriftModel_1DDepressurisation.cxx)
88 - [Drift Model 1D depressurisation (Python)](../examples/Python/DriftModel_1DDepressurisation.py)
89 - [Drift Model 1D pressure loss (C)](../examples/DriftModel_1DPressureLoss.cxx)
90 - [Drift Model 1D pressure loss (Python)](../examples/Python/DriftModel_1DPressureLoss.py)
91 - [Drift Model 1D porosity jump (C)](../examples/DriftModel_1DPorosityJump.cxx)
92 - [Drift Model 1D porosity jump (Python)](../examples/Python/DriftModel_1DPorosityJump.py)
93 - [Drift Model 1D Boiling Channel (C)](../examples/DriftModel_1DBoilingChannel.cxx)
94 - [Drift Model 1D Boiling Channel (Python)](../examples/Python/DriftModel_1DBoilingChannel.py)
95 - [Drift Model 1D Boiling Assembly (Python)](../examples/Python/DriftModel_1DAssembly.py)
96 - [Drift Model 1D tank drainage problem (Python)](../examples/Python/DriftModel_1DVidangeReservoir.py)
97 - [Drift Model 2D pressure loss (Python)](../examples/Python/DriftModel_2DPressureLoss.py)
98 - [Drift Model 2D porosity jump (Python)](../examples/Python/DriftModel_2DPorosityJump.py)
99 - [Drift Model 2D Inclined Boiling Channel (C)](../examples/DriftModel_2DInclinedBoilingChannel.cxx)
100 - [Drift Model 2D Inclined Boiling Channel (Python)](../examples/Python/DriftModel_2DInclinedBoilingChannel.py)
101 - [Drift Model 2D Inclined Channel with Gravity (C)](../examples/DriftModel_2DInclinedChannelGravity.cxx)
102 - [Drift Model 2D Inclined Channel with Gravity (Python)](../examples/Python/DriftModel_2DInclinedChannelGravity.py)
104 | <img src="Figures/ChannelSquaresStruct.png" width="400"/> | <img src="Figures/ChannelTrianglesStruct.png" width="400"/> |
106 | Structured mesh with square cells for the 2D Vertical Inclined channel with gravity | Structured mesh with triangular cells for the 2D Vertical Inclined channel with gravity |
108 - [Drift Model 2D Inclined Channel with Gravity on a triangular mesh (Python)](../examples/Python/DriftModel_2DInclinedChannelGravityTriangles.py)
109 - [Drift Model 2D Inclined Channel with Gravity and three barriers (C)](../examples/DriftModel_2DInclinedChannelGravityBarriers.cxx)
110 - [Drift Model 2D Inclined Channel with Gravity and three barriers (Python)](../examples/Python/DriftModel_2DInclinedChannelGravityBarriers.py)
111 - [Drift Model 2D Vertical Boiling Channel with a barrier (Python)](../examples/Python/DriftModel_2DBoilingChannelBarrier.py)
113 | <img src="Figures/PowerFieldCloison.png" width="400"/> | |
115 | Mesh and heat power field for the 2D Vertical Boiling Channel with a barrier | |
116 | <img src="Figures/Simulations/CanalCloison/Diphasique/DriftModel_2DCanalCloisonVit0.1Conc.png" width="400"/> | <img src="Figures/Simulations/CanalCloison/Diphasique/DriftModel_2DCanalCloisonVit0.1Vy.png" width="400"/> |
117 | Stationary concentration field and streamlines, 2D Vertical Boiling Channel with a barrier | Stationary velocity field and streamlines, 2D Vertical Boiling Channel with a barrier |
119 - [Drift Model 2D Inclined Boiling Channel with a barrier (Python)](../examples/Python/DriftModel_2DInclinedBoilingChannelBarrier.py)
121 | <img src="Figures/MaillagePuissanceThermiqueIncline.png" width="400"/> | <img src="Figures/Simulations/CanalCloison/Diphasique/inclined/CanalCloisonInclinedUpwindWBConcentration.png" width="400"/> |
123 | Mesh and heat power field for the 2D inclined Vertical Boiling Channel with a barrier | Stationary concentration field and streamlines 2D inclined Vertical Boiling Channel with a barrier |
125 - [Drift Model boiling wire with two Branches (Python)](../examples/Python/DriftModel_2BranchesBoilingChannels.py)
126 - [Drift Model 3D Vertical Boiling Channel with two barriers (Python)](../examples/Python/DriftModel_3DBoilingChannelBarrier.py)
128 | <img src="Figures/Simulations/CanalCloison/Diphasique/3D/DomainePuissanceThermiqueVueAvant.png" width="400"/> | <img src="Figures/Simulations/CanalCloison/Diphasique/3D/DomainePuissanceThermiqueVueArriere.png" width="400"/> |
130 | Front view of the power field for the 3D Vertical Boiling Channel with two barrier | Rear view of the power field for the 3D Vertical Boiling Channel with two barrier |
132 | <img src="Figures/Simulations/CanalCloison/Diphasique/3D/step_73.png" width="400"/> |
134 | Streamlines at time step 7300 for the 3D Vertical Boiling Channel with two barrier |
136 - [Drift Model 2D tank drainage problem (Python)](../examples/Python/DriftModel_2DVidangeReservoir.py)
137 - [Drift Model 2D tank drainage problem with an unstructured mesh (Python)](../examples/Python/DriftModel_2DVidangeReservoirUnstructured.py)
139 - The Isothermal TwoFluid model
140 - [Isothermal 1D RiemannProblem (C)](../examples/IsothermalTwoFluid_1DRiemannProblem.cxx)
141 - [Isothermal 1D Sedimentation (C)](../examples/IsothermalTwoFluid_1DSedimentation.cxx)
142 - [Isothermal 1D Sedimentation (Python)](../examples/Python/IsothermalTwoFluid_1DSedimentation.py)
143 - [Isothermal 1D Depressurisation (C)](../examples/IsothermalTwoFluid_1DDepressurisation.cxx)
144 - [Isothermal 1D Emptying tank (Python)](../examples/Python/IsothermalTwoFluid_1DVidangeReservoir.py)
145 - [IsothermalTwoFluid_2DInclinedSedimentation.cxx](../examples/Isothermal 2D Inclined Sedimentation (C))
146 - [Isothermal 2D Emptying tank (C)](../examples/IsothermalTwoFluid_2DVidangeReservoir.cxx)
147 - [Isothermal 2D Emptying tank (Python)](../examples/Python/IsothermalTwoFluid_2DVidangeReservoir.py)
149 - The five equations model
150 - [Five Equations Model 1D Riemann Problem (C)](../examples/FiveEqsTwoFluid_1DRiemannProblem.cxx)
151 - [Five Equations Model 1D Boiling Channel (C)](../examples/FiveEqsTwoFluid_1DBoilingChannel.cxx)
152 - [Five Equations Model 1D Boiling Channel (Python)](../examples/Python/FiveEqsTwoFluid_1DBoilingChannel.py)
153 - [Five Equations Model 1D Boiling Assembly (Python)](../examples/Python/FiveEqsTwoFluid_1DBoilingAssembly.py)
154 - [Five Equations Model 1D Depressurisation (C)](../examples/FiveEqsTwoFluid_1DDepressurisation.cxx)
155 - [Five Equations Model 1D Emptying tank (Python)](../examples/Python/FiveEqsTwoFluid_1DVidangeReservoir.py)
156 - [Five Equations Model 2D Inclined Sedimentation (C)](../examples/FiveEqsTwoFluid_2DInclinedSedimentation.cxx)
157 - [Five Equations Model 2D Inclined Sedimentation (Python)](../examples/Python/FiveEqsTwoFluid_2DInclinedSedimentation.py)
159 | <img src="Figures/Simulations/Sedimentation/2DSedimentation.png" width="400"/> | <img src="Figures/Simulations/Sedimentation/2DSedimentationPression.png" width="400"/> |
161 | Stationary void fraction | Stationary pressure |
162 | <img src="Figures/Simulations/Sedimentation/2DSedimentationVitesseGaz.png" width="400"/> | <img src="Figures/Simulations/Sedimentation/2DSedimentationVitesseLiq.png" width="400"/> |
163 | Stationary gas velocity | Stationary liquid velocity |
165 - [Five Equations Model 2D Inclined Boiling Channel (C)](../examples/FiveEqsTwoFluid_2DInclinedBoilingChannel.cxx)
166 - [Five Equations Model 2D Inclined Boiling Channel (Python)](../examples/Python/FiveEqsTwoFluid_2DInclinedBoilingChannel.py)
167 - [Five Equations Model 2D Emptying tank (Python)](../examples/Python/FiveEqsTwoFluid_2DVidangeReservoir.py)