Incompressible CFD¶
Note
Draft overview. The source of truth is elements/FEM/fluid_dynamics/ in the repository, especially the individual element READMEs and notebooks. The Tube viewer below shows one computed benchmark snapshot, not a validation study.
Stabilized flow¶
CFD_Standard describes a Newtonian fluid with constant density and viscosity. Its tetrahedral O1 and boundary-layer prism W6 volume elements interpolate velocity and pressure at the same vertices. P1 triangular and S1 quadrilateral surface elements are also generated.
Time inertia uses a backward difference; SUPG stabilizes momentum, PSPG the equal-order pressure interpolation, and grad-div is configurable. See elements/FEM/fluid_dynamics/CFD_Standard/README.md for the weak form, nondimensionalization and implementation details.
Interactive Tube surface and computed fields¶
The surface triangles below come directly from elements/FEM/benchmark_meshes/Tube_fluid.h5: wall (teal), inlet (gold) and outlet (coral). Drag to rotate; scroll or use the buttons to zoom. Choose geometry for surface tags or a computed nodal field. The latter is interpolated across surface triangles only, not a volume rendering. Coordinates are in metres; the view is centered and scaled to fit. Requires WebGL. The final snapshot is at t = 0.006 s (six steps of 0.001 s): rigid no-slip wall, parabolic inlet ramped to 0.01 m/s by 0.002 s, and zero outlet traction; density 1060 kg/m³, viscosity 0.004 Pa·s. Pressure is relative to the natural-traction reference. These are numerical results, not a convergence or validation study.
Tube fluid mesh · static fallback from the repository¶
Boundary conditions and meshes¶
The standard test uses a rigid no-slip wall, a ramped parabolic axial inlet velocity and zero prescribed outlet traction. Test.nb selects Tube or Patient0 in its first cell. The benchmark meshes are documented in elements/FEM/benchmark_meshes/README.md; Patient0 includes tetrahedra and prisms.
Patient0 fluid benchmark mesh · repository asset, not a flow result¶
Windkessel outlet¶
CFD_RCR_BC uses the same stabilized volume formulation and couples the outlet pressure to a three-element Windkessel model. For outward flow \(Q\), capacitor pressure \(P_c\) and distal reference pressure \(P_v\):
The test holds pressure fixed during Newton iterations and updates the circuit after an accepted flow step. See elements/FEM/fluid_dynamics/CFD_RCR_BC/README.md for coupling, units and limitations.
Repository access¶
The configured remote is git@sshconn.mastrofini.it:alessandromastrofini/m2m-ag-library (SSH access required). A public HTTP repository URL is not specified; the paths above refer to files in a checkout, not to an assumed hosting service.