Description
This issue serves as an overview of the desired features of the new Reduced Lung Module, necessary development steps, progress, ...
General Structure/Idea
The new Reduced Lung module shall offer capabilities to simulate zero-dimensional "elements" described through black box state equations. The coupling between elements is denoted in a graph-like structure connecting them with suitable state equations. Suitable boundary conditions close the whole system of equations. This allows a somewhat discontinuous evaluation of elements; only connections in the graph structure contain coupling information.
Currently planned element types:
- Airways (single airways are represented as tubes with flow and pressure quantities given at their inlet and outlet. Inlets and outlets are coupled with other elements to describe the airflow properties in the lung.)
- Terminal Units (terminal units comprise the respiratory zone attached to a terminal airway, i.e., the respiratory airways and alveolar ducts. They are described via state equations relating transmural pressure to volumetric strain. Viscoelasticity is described using suitable rheological models, and elasticity is described using different hyperelastic functions.
- Rheological models
- Elasticity models
Coupling equations (allow connection of two elements (Connection) or three elements (Bifurcations) for now:
Boundary conditions (need to be prescribed for every element that is only connected to at most one other element):
Further potential additions (after the basic infrastructure):
Realization
The nonlinear system of equations is solved with a Newton-Raphson iteration. All discretized state equations, coupling equations, and boundary conditions are assembled in a Jacobi matrix and solved for the primary variables (pressures and flows in the different elements). The whole procedure is primarily independent of the 4C infrastructure acting on the elements. Only solver and input/output functionality is used.
Infrastructure Implementation
Description
This issue serves as an overview of the desired features of the new Reduced Lung Module, necessary development steps, progress, ...
General Structure/Idea
The new Reduced Lung module shall offer capabilities to simulate zero-dimensional "elements" described through black box state equations. The coupling between elements is denoted in a graph-like structure connecting them with suitable state equations. Suitable boundary conditions close the whole system of equations. This allows a somewhat discontinuous evaluation of elements; only connections in the graph structure contain coupling information.
Currently planned element types:
Coupling equations (allow connection of two elements (Connection) or three elements (Bifurcations) for now:
Boundary conditions (need to be prescribed for every element that is only connected to at most one other element):
Further potential additions (after the basic infrastructure):
Realization
The nonlinear system of equations is solved with a Newton-Raphson iteration. All discretized state equations, coupling equations, and boundary conditions are assembled in a Jacobi matrix and solved for the primary variables (pressures and flows in the different elements). The whole procedure is primarily independent of the 4C infrastructure acting on the elements. Only solver and input/output functionality is used.
Infrastructure Implementation