원시데이터 수집 시스템
선정목록으로

beamFoam: A Cell-Centred Finite Volume Solver for Nonlinear Geometrically-Exact Beams in OpenFOAM

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드

기본 정보

저자
  1. Seevani Bali — School of Mechanical and Materials Engineering, University College Dublin, Ireland
  2. Amirhossein Taran — School of Mechanical and Materials Engineering, University College Dublin, Ireland
  3. Željko Tuković — Faculty of Mechanical Engineering and Naval Architecture, University of Zagreb, Croatia
  4. Vikram Pakrashi — School of Mechanical and Materials Engineering, University College Dublin, Ireland
  5. Philip Cardiff — School of Mechanical and Materials Engineering, University College Dublin, Ireland
DOI
10.51560/ofj.v5.170
저널
OpenFOAM® Journal
발행년도
2025
발행기관
–
피인용수
0
라이선스
cc-by-sa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.51560/ofj.v5.170
토픽
Composite Structure Analysis and Optimization
OpenAlex ID
W7116765971

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
nonlinear geometrically-exact beams, finite volume solver, large deformations, fluid-structure interaction, structural mechanics
판단 근거
이 논문은 가늘고 긴 구조체(slender structures)의 대변형 및 회전을 시뮬레이션하기 위한 수치 해석 솔버(beamFoam) 개발에 관한 연구입니다. 이는 타이어코드(9)나 아라미드(10)와 같은 고강도 섬유/코드의 기계적 거동 및 복합소재(23)의 구조적 안정성을 해석하는 수치 모델링 기법에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
고강도 섬유 기반의 보강재나 복합소재 제품이 외부 하중이나 유체 흐름 속에서 겪는 대변형, 비선형 거동 및 구조적 신뢰성을 예측하는 CAE(Computer-Aided Engineering) 해석 모델 고도화에 활용 가능합니다.
평가 입력
본문 102,723자 중 30,032자 발췌

초록

This paper presents a new cell-centred finite volume beam solver, beamFoam, for simulating slender structures undergoing large deformations and rotations. The solver is based on the geometrically exact nonlinear Simo–Reissner beam theory and can represent tension, bending, shear, and torsion. Although the underlying model is 1-D, the formulation resolves 3-D kinematics, enabling accurate prediction of spatial deformations and rotations. The paper outlines the governing equations, spatial and temporal discretisation, and code implementation, together with guidelines for simulation setup. The solver’s accuracy and efficiency are demonstrated through three benchmark cases. A 3-D cantilever column under finite deformation shows close agreement with a continuum 3-D solver from the \texttt{solids4Foam} toolbox, while achieving improved accuracy on coarse meshes and significantly reduced computational cost. Additional quasi-static and dynamic tests illustrate the implementation of boundary conditions, stability of time-integration schemes, and mesh convergence behaviour. These results establish beamFoam as an efficient and accurate beam solver within OpenFOAM represent a first significant step towards fluid–structure interaction simulations of slender structures.

본문 102,723자

본문 펼치기
# Open FOAM R _Journal_ Volume 5 [Full Papers], Pages 180–210 ISSN: 2753-8168 `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> Seevani Bali <sup>1</sup> <sup>_,∗_</sup>, Amirhossein Taran <sup>1</sup>, Zeljko <sup>ˇ</sup> Tukovi´c <sup>2</sup>, Vikram Pakrashi <sup>1</sup>, and Philip Cardiff <sup>1</sup> _Email_ _address_ : `seevani.bali@ucd.ie,` `amirhossein.taran@ucdconnect.ie,` `zeljko.tukovic@fsb.unizg.hr,` ``` vikram.pakrashi@ucd.ie, philip.cardiff@ucd.ie ``` 1School of Mechanical and Materials Engineering, University College Dublin, Ireland 2Faculty of Mechanical Engineering and Naval Architecture, University of Zagreb, Croatia DOI: [https://doi.org/10.51560/ofj.v5.170](https://doi.org/https://doi.org/10.51560/ofj.v5.170) Results with version(s): OpenFOAM <sup>®</sup> v2306 Repository: [https://github.com/solids4foam/beamFoam](https://github.com/solids4foam/beamFoam) Abstract. This paper presents a new cell-centred finite volume beam solver, `beamFoam`, for simulating slender structures undergoing large deformations and rotations. The solver is based on the geometrically exact nonlinear Simo–Reissner beam theory and can represent tension, bending, shear, and torsion. Although the underlying model is 1-D, the formulation resolves 3-D kinematics, enabling accurate prediction of spatial deformations and rotations. The paper outlines the governing equations, spatial and temporal discretisation, and code implementation, together with guidelines for simulation setup. The solver’s accuracy and efficiency are demonstrated through three benchmark cases. A 3-D cantilever column under finite deformation shows close agreement with a continuum 3-D solver from the `solids4Foam` toolbox, while achieving improved accuracy on coarse meshes and significantly reduced computational cost. Additional quasi-static and dynamic tests illustrate the implementation of boundary conditions, stability of time-integration schemes, and mesh convergence behaviour. These results establish `beamFoam` as an efficient and accurate beam solver within OpenFOAM <sup>®</sup> and represent a first significant step towards fluid–structure interaction simulations of slender structures. 1. Introduction The implementation of solid mechanics solvers in a finite volume framework [1–3] integrated within the OpenFOAM <sup>®</sup> environment has enabled the development of multi-physics simulations with seamless integration between fluid flow and structural deformations [4–6]. A range of solid solvers, starting from one-dimensional (1-D) models to three-dimensional (3-D) continuum formulations, exist in the finite element (FE) community to address various structural deformations. The governing equations for 3-D solid mechanics problems are often reduced to mathematically consistent 1-D beam or rod theories for modelling slender bodies. A structure is considered _slender_ if the longitudinal dimension is significantly greater than its cross-sectional area. Slender structures are prevalent in wide-span engineering applications, including (a) Offshore systems (mooring cables [7–9], risers [10]), (b) Biomedical devices (stents and catheters [11, 12]), (c) Environmental flows (vegetation and coastal plant dynamics modelling [13–15]), and, (d) Soft robotics (actuators and tendon-driven mechanisms [16, 17]). Using 1-D beam theories instead of full 3-D continuum mechanics to model slender bodies results in efficient computation without compromising the overall accuracy of the numerical formulation. This work introduces a 1-D beam solver to expand the capabilities of OpenFOAM <sup>®</sup> software and contribute towards furthering the fluid-structure interaction (FSI) applications in OpenFOAM <sup>®</sup> community. Traditional beam formulations like the classic Euler-Bernoulli and Timoshenko theories [18] are limited to linear analysis of straight, isotropic beams undergoing small deformations. The works by [19–21] have presented finite volume implementations of Euler-Bernoulli and shear-deformable Timoshenko beam _∗_ Corresponding author Received: 31 August 2025, Accepted: 21 November 2025, Published: 22 December 2025 ©2025 The Authors. This work is an open access article under the CC BY-SA 4.0 license 180 `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 181 theories for both straight and curved beam configurations. Additional studies have examined beam stability [22–24] and vibrational characteristics [25,26] using finite volume method on beams. In contrast, nonlinear beam theories, such as, Kirchhoff-Love [27] and Simo-Reissner [28–30], can model large deformations, arbitrary initial curvatures, and anisotropic cross-sections. The Kirchhoff-Love theory neglects shear deformation, while the Simo-Reissner beam includes it - but assumes rigid cross-sections (no warping). Recently, Bali et al. [31, 32] implemented a geometrically exact Simo-Reissner beam solver using finite volume discretisation. Taran et al. [33] extended this work, applying the finite volumebased beam solver to mooring dynamics via OpenFOAM <sup>®</sup> `sixDOFRigidBodyMotion` library. Currently, OpenFOAM <sup>®</sup> lacks a general nonlinear 1-D beam solver. While `solids4Foam` toolbox [34] supports 3-D linear and nonlinear solid mechanics with fluid-structure coupling, it does not provide 1-D solvers for slender structures like cables/rods. This paper presents `beamFoam`, the first native 1-D nonlinear beam solver in OpenFOAM <sup>®</sup> (v2306), building upon the geometrically exact formulation by Bali et al. [31]. The focus here is to document the solver’s implementation including pre- and post-processing `utilities` and `functionObjects`, boundary condition treatments, and block-coupled solution algorithm. The goal is to provide a comprehensive, user-friendly reference for the OpenFOAM <sup>®</sup> community, ensuring straightforward adoption and application of `beamFoam` . The remainder of the paper is structured as follows. Section 2 introduces the mathematical model underlying the `beamFoam` solver. The spatial and temporal finite volume discretisation is presented in Section 3. Section 4 describes the code implementation, while Section 5 outlines the steps required to set up a test case. Three benchmark simulations demonstrating the solver’s capabilities are reported in Section 6, and conclusions with future outlook are given in Section 7. 2. Mathematical model This section summarises the kinematics and governing equations of the nonlinear Simo-Reissner beam theory used in the `beamFoam` solver. The Simo–Reissner beam is a 1-D theory that represents the beam by its centerline, with governing equations in a single spatial coordinate. Despite this, it captures full 3-D kinematics, allowing each cross-section to translate and rotate freely, including shear deformation, torsion, and large displacements/rotations. A full description of the mathematical model is given in Bali et al. [31]; here, the essential formulation is outlined. 2.1. Beam configurations and kinematics. The beam’s motion is described in three configurations (Fig. 1): (1) Reference configuration (A) : The beam is aligned along the global _x_ -axis, with a local or thonormal triad _e_ _i,_ _e_ 1 = (1 _,_ 0 _,_ 0) <sup>_T_</sup> _,_ _e_ 2 = (0 _,_ 1 _,_ 0) <sup>_T_</sup> _,_ _e_ 3 = (0 _,_ 0 _,_ 1) <sup>_T_</sup> . The vectors _e_ 2 and _e_ 3 lie in the cross-section plane. The governing equations are formulated using variables measured to this reference state, and hence, it is a total Lagrangian description. (2) Initial configuration (B) : For a beam with an arbitrary orientation or initial curvature, the centroid line _r_ 0( _s_ ) together with the initial curvature described by the 3 _×_ 3 rotation matrix Λ 0( _s_ ) define its initial configuration. The local bases is given by _g_ _i_ <sup>0(</sup> <sup>_s_</sup> <sup>)</sup> <sup>=</sup> <sup>Λ</sup> <sup>0(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_e_</sup> <sup>_i_</sup> <sup>.</sup> <sup>The</sup> <sup>parameter</sup> _s_ _∈_ [0 _, L_ ] is the arc-length variable, and _L_ is the total length of the beam. For straight beams aligned with the _x_ -axis, the arc-length derivative _r_ 0 <sup>_′_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>=</sup> <sup>_g_</sup> 1 <sup>0</sup> <sup>_≡_</sup> <sup>_e_</sup> <sup>1</sup> <sup>and</sup> <sup>Λ</sup> <sup>0(</sup> <sup>_s_</sup> <sup>)</sup> <sup>=</sup> <sup>I</sup> <sup>3</sup> <sup>-</sup> <sup>identity</sup> matrix and the reference and initial configuration of the beam coincide. (3) Deformed configuration (C) : From the initial stress-free state, the centroid line deforms to _r_ ( _s, t_ ) = _r_ 0( _s_ ) + _w_ ( _s, t_ ), where _w_ ( _s, t_ ) is the displacement vector. The cross-section in the deformed state rotates via _g_ _i_ ( _s, t_ ) = Λ ( _s, t_ ) _g_ _i_ <sup>0(</sup> <sup>_s_</sup> <sup>),</sup> <sup>where</sup> <sup>Λ</sup> <sup>(</sup> <sup>_s, t_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>relative</sup> <sup>rotation</sup> <sup>with</sup> respect to the initial configuration. The parameter _t_ represents time. The tangent to the mean deformed line _r_ <sup>_′_</sup> ( _s_ ) no longer aligns with _g_ 1( _s_ ), i.e., _r_ <sup>_′_</sup> ( _s_ ) _̸_ = _g_ 1( _s_ ), indicating shear deformation. The total rotation of the cross-section relative to the reference state is Λ _t_ ( _s, t_ ) = Λ ( _s, t_ ) Λ 0( _s_ ). The pair ( _r_ ( _s, t_ ) _,_ Λ _t_ ( _s, t_ )) fully define the deformed state of the beam. Finite 3-D rotations used in the Simo-Reissner beam theory belong to the Lie group SO(3) - the set of all proper orthogonal rotation matrices. An important property of 3-D rotations is that the composition of rotations in 3D is multiplicative but non-commutative ( Λ = Λ 2 Λ 1 _̸_ = Λ 1 Λ 2). Therefore, rotation vectors cannot be updated by additive properties ( Λ _̸_ = exp( _θ_ 1 + _θ_ 2)). A rotation vector _θ_ _∈_ R <sup>3</sup> is mapped to the corresponding rotation tensor Λ _∈_ SO(3) [35] (Fig. 2) via, Λ ( _θ_ ) = exp( _θ_ <sup>�</sup> ) = I + <sup><u>sin</u></sup> <sup>_<u>θ</u>_</sup> _θ_ _θ_ - + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>cos</u></sup> <sup>_<u>θ</u>_</sup> _θ_ - _θ_ - (1) _θ_ <sup>2</sup> 182 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff ## C B A Figure 1. Beam kinematics description - Reference configuration (A), Initial configuration (B), and Deformed configuration (C) Figure 2. Schematic diagram of the Rodrigues’ rotation parametrisation, where a vector _p_ (blue) is rotated to the new position _p_ <sup>_′_</sup> (green) by a rotation vector _θ_ with a magnitude of rotation _θ_ ; the relation between rotated vector and the original vector is given via the rotation tensor Λ, i.e., _p_ <sup>_′_</sup> = Λ _p_ _≡_ exp( _θ_ <sup>�</sup> ) _p_ Equation 1, known as Rodrigues’ formula, provides the nonlinear mapping between a finite rotation vector and the associated rotation matrix used to update beam orientation. The ( <sup>�</sup> _·_ ) operator in Eqn. 1 and henceforth, denotes a skew-symmetric matrix constructed from the corresponding rotation vector in R <sup>3</sup> as follows,   0 _−a_ 3 _a_ 2 _a_ 3 0 _−a_ 1 _−a_ 2 _a_ 1 0   (2)   = _⇒_ _a_ - = _a_ =  _a_ 1 _a_ 2 _a_ 3  `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 183 2.2. Governing equations and strain measures. The governing equations of Simo-Reissner beam theory differ fundamentally from 3-D solid mechanics, as the beam is modelled as a 1-D continuum with a deformable space curve _r_ ( _s, t_ ) and a rigidly rotating cross-section described by the rotation field Λ _t_ ( _s, t_ ). Consequently, the balance laws are formulated _directly_ on cross-section integrated stress resultants, i.e., forces _q_ and moments _m_, rather than being derived from pointwise 3-D stress equilibrium. Through the 3-D beam kinematics, the stress resultants are linearly related to the strain vectors - translational strains, _γ_, and rotational strains, _κ_ - as, _q_ = Λ _t_ _C_ _q_ _γ_ (3a) _m_ = Λ _t_ _C_ _m_ _κ_ (3b) where _C_ _q_ = diag [ _EA, GA_ 2 _, GA_ 3] and _C_ _m_ = diag [ _GJ, EI_ 2 _, EI_ 3] are constant diagonal constitutive matrices. These entries in _C_ _q,_ _C_ _m_ are related to the beam geometry and the hyperelastic material law. _E_ and _G_ = 2(1+ _<u>E</u>_ _ν_ ) <sup>denote</sup> <sup>the</sup> <sup>elastic</sup> <sup>and</sup> <sup>shear</sup> <sup>moduli</sup> <sup>of</sup> <sup>the</sup> <sup>material,</sup> <sup>respectively,</sup> <sup>and</sup> <sup>_ν_</sup> <sup>is</sup> <sup>Poisson’s</sup> ratio. _Aj_ and _Ij_ ( _j_ = 1 _,_ 2 _,_ 3) are the areas and area moments about the principal axes of inertia, respectively ( _J_ = _I_ 2 + _I_ 3). These constitutive relations restrict the Simo-Reissner beam formulation to bi-symmetric cross-sections (where the shear centre coincides with the geometric centroid); adaptations are required for arbitrary cross-section shapes. The translational strain vector _γ_ and the rotational strain vector _κ_ relate to the beam kinematics pair ( _r_ ( _s, t_ ) _,_ Λ _t_ ( _s, t_ )) as given in Eqn. 4. The arguments ( _s, t_ ) are dropped for brevity and the relation Λ _t_ = ΛΛ 0 is used for manipulation. <sup>_⊤_</sup> _t_ <sup>_r_</sup> <sup>_′ −_</sup> <sup>Λ</sup> _t_ <sup>_⊤_</sup> 0 <sup>_⊤_</sup> <sup>Λ</sup> <sup>_⊤_</sup> <sup>_r_</sup> <sup>_′ −_</sup> <sup>Λ</sup> 0 <sup>_⊤_</sup> <sup>_r_</sup> 0 <sup>_′_</sup> (4a) _γ_ = Λ <sup>_⊤_</sup> _t_ _t_ <sup>_⊤_</sup> <sup>_g_</sup> <sup>1</sup> <sup>=</sup> <sup>Λ</sup> 0 <sup>_⊤_</sup> _t_ <sup>_′_</sup> <sup>_−_</sup> <sup>Λ</sup> 0 <sup>_⊤_</sup> _κ_ - = Λ _t_ <sup>_⊤_</sup> <sup>Λ</sup> _t_ <sup>_′_</sup> 0 <sup>_⊤_</sup> <sup>Λ</sup> 0 <sup>_′_</sup> (4b) In Eqn. 4, the strains _γ_ and _κ_ are defined are in the reference configuration. The ( _·_ ) <sup>_⊤_</sup> operation on Λ _t_ denotes the transpose matrix operation that _pulls-back_ the spatial derivative of _r_ <sup>_′_</sup> ( _s_ ) to _γ_ in its material or Lagrangian description. However, the stress resultants _q_ and _m_ are vectors in the spatial description; therefore, the operation _C_ _q_ _γ_ in the material/reference frame is _pushed_ into the local/spatial frame via Λ _t_ resulting into the spatial force form. Such push-pull operations are common in the Simo-Reissner beam theory [28]. In the calculation of rotational strain _κ_ in Eqn. 4b, the arc-length derivative of the rotation matrix is a mathematically involved and nonlinear calculation. Instead, the rotational strain increment ∆ _κ_ is updated iteratively with each solution increment (Newton iterations) as [36,37], ∆ _κ_ = Λ <sup>_⊤_</sup> _t_ <sup>_T_</sup> <sup>_⊤_</sup> <sup>(∆</sup> <sup>_θ_</sup> <sup>)∆</sup> <sup>_θ_</sup> <sup>_′_</sup> (5) where the tangent operator _T_ ( _θ_ ) is the nonlinear mapping given by ( _θ_ _≡∥_ _θ_ _∥_ and _θ_ _⊗_ _θ_ is the tensor or dyadic product of vectors), _T_ ( _θ_ ) = <sup><u>sin</u></sup> <sup>_<u>θ</u>_</sup> I + <u>1</u> _θ_ _θ_ <sup>2</sup> �1 _−_ <sup><u>sin</u></sup> <sup>_<u>θ</u>_</sup> - _θ_ _⊗_ _θ_ + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>cos</u></sup> <sup>_<u>θ</u>_</sup> _θ_ - (6) _θ_ _θ_ <sup>2</sup> As previously mentioned, the governing equations for 1-D beams are expressed in terms of integrated cross-section resultants _q_ and _m_ . Therefore, the integral form of the balance equations are reduced from 3-D volume integrals to 1-D line integrals, and are given by [30,31], - - _q_ <sup>_′_</sup> d _L_ + _ρA_ _r_ ¨ d _L_ (7) - Λ _tI_ <sup>¯</sup> _ρ_ _α_ + Λ _t_ _ω_ - ( _I_ <sup>¯</sup> _ρ_ _ω_ ) d _L_ (8) _L_ _L_ _q_ ¯ d _L_ = _m_ ¯ d _L_ = _L_ _L_ _L_ _L_ ( _r_ <sup>_′_</sup> _×_ _q_ ) d _L_ + _m_ <sup>_′_</sup> d _L_ + _L_ where, _q_ ¯ and _m_ ¯ are distributed external forces and torques per unit arc-length respectively, and “ _×_ ” denotes the cross product between two vectors. In the Eqn. 7, _ρ_ is the density of the material, _A_ is the cross-section area, and _r_ ¨ _≡_ _a_ is the linear acceleration term where ( <sup>¨</sup> _·_ ) denotes second time-derivative. In the angular momentum equation (Eqn. 8), _ω_ and _α_ represent angular velocity and angular acceleration in the reference/material frame respectively; _I_ <sup>¯</sup> _ρ_ = _ρ ·_ diag(J _,_ I2 _,_ I3). The dependence of all the vector quantities on the arc-length parameter _s_ is avoided in the notations here for brevity. 184 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff 3. Numerical method The governing equilibrium equations of the Simo–Reissner beam formulation in Section 2 are highly nonlinear due to finite rotation kinematics and nonlinear strain measures. Consequently, fixed-point or segregated algorithms such as SIMPLE or PIMPLE exhibit poor convergence for such highly coupled nonlinear systems. Preliminary tests with a segregated implementation of the beam solver confirmed this behaviour. Instead, a block-coupled approach using the Newton-Raphson method with exact linearisation (Jacobian) is implemented in the current work, which ensures consistent tangent linearisation of internal forces and moments. 3.1. Solution methodology. The governing equations (Eqns. 7 and 8) can be expressed in the general residual form, _R_ _n_ +1( _w_ _,_ _θ_ ) = 0 (9) where _R_ is the residual imbalance of the balance laws at time ( _n_ + 1), written in terms of the primary unknowns: displacement vector _w_ and rotation vector _θ_ . A Newton-Raphson iterative scheme is adopted to solve the system. The residual _R_ is expanded in a first-order Taylor series about the current iteration, neglecting the higher-order terms, _∗_ _R_ <sup>_′_</sup> ( _w_ _,_ _θ_ ) [∆ _w_ _,_ ∆ _θ_ ] <sup>_⊤_</sup> = 0 (10) _R_ _n_ +1( _w_ _,_ _θ_ ) = _∗_ _R_ ( _w_ _,_ _θ_ ) + The superscript The superscript ( _·_ ) _≡_ ( _·_ ) <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>)</sup> <sup>operation</sup> <sup>denotes</sup> <sup>evaluation</sup> <sup>at</sup> <sup>the</sup> <sup>previous</sup> <sup>iteration</sup> <sup>(</sup> <sup>_k_</sup> <sup>is</sup> <sup>the</sup> <sup>iteration</sup> counter) and _R_ <sup>_′_</sup> _≡_ _J_ is the Jacobian. This leads to a linearised system, _∗_ ( _·_ ) _≡_ ( _·_ ) <sup>(</sup> _n_ <sup>_k_</sup> <sup>)</sup> - _∗_ = _−_ _R_ ( _w_ _,_ _θ_ ) (11) _∗_ _J_ ( _w_ _,_ _θ_ ) �∆ _w_ ∆ _θ_ where ∆ _w_ and ∆ _θ_ are the displacement and rotation corrections, respectively. At the beginning of each time (or load) step ( _n_ + 1), the initial guess for the Newton-Raphson iteration is taken as the converged solution from the previous step, i.e., ( _·_ ) <sup>0</sup> _n_ +1 <sup>=</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_n_</sup> <sup>.</sup> <sup>Subsequent</sup> <sup>iterations</sup> <sup>within</sup> <sup>the</sup> <sup>same</sup> <sup>step</sup> <sup>use</sup> <sup>the</sup> updated displacement and rotation corrections from the previous Newton iteration as the starting initial guess. Therefore, the residuals are small and ensure quadratic convergence. For problems like postbuckling analysis, special globalisation techniques like (line search or arc-length continuation methods) would be required to ensure convergence of Newton-Raphson method. Thus, the linear system in Eqn. 11 is solved at each iteration to obtain the corrections ∆ _w_ and ∆ _θ_ . The primary unknowns are then updated at ( _k_ + 1)-th iteration as, _w_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> = _w_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> <sup>+ ∆</sup> <sup>_w_</sup> (12a) _θ_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> <sup>_n_</sup> <sup>+1</sup> = _θ_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> <sup>+</sup> <sup>_T_</sup> <sup>(∆</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_⊤_</sup> <sup>∆</sup> <sup>_θ_</sup> (12b) _r_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> = _r_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> <sup>+</sup> <sup>_w_</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> (12c) Λ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> _t,n_ +1 <sup>(</sup> _t,n_ <sup>_k_</sup> <sup>+1)</sup> +1 <sup>= exp(</sup> ∆ <sup>�</sup> _θ_ ) Λ <sup>(</sup> _t,n_ <sup>_k_</sup> <sup>)</sup> <sup>(</sup> _t,n_ <sup>_k_</sup> <sup>)</sup> +1 (12d) This process is repeated until convergence is achieved, i.e. the residual _R_ becomes sufficiently small and/or the increments ∆ _w_ _,_ ∆ _θ_ fall below prescribed tolerances. Since the 3-D rotations are not additive in nature, the consistent update is performed by updating the rotation matrix Λ _t_ directly as shown in Eqn. 12d. The exponential map exp(∆ <sup>�</sup> _θ_ ) in Eqn. 12d is evaluated using the Rodrigues’ formula (Eqn. 1). Equation 12b is not employed directly for advancing the solution; it is retained for post-processing and visualisation. Using the incremental displacement (∆ _w_ ) and rotation (∆ _θ_ ) correction vectors, the translational strain _γ_ is updated by Eqn. 4a and rotational strain _κ_ is evaluated using Eqn. 5. The stress resultants _q_ and _m_ are updated by Eqn. 19 and Eqn. 20 respectively. With subsequent Newton-Raphson iterations, the corrections ∆ _w_ and ∆ _θ_ approach zero and the linearised force and moment expressions approach the exact expressions in Eqn. 3. To assemble _J_ _≡_ _J_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> <sup>in Eqn. 11,</sup> <sup>each term in the linear and angular momentum equations (Eqn. 7 and</sup> Eqn. 8) must be linearised (details are presented in Appendix A). Since these are two vector equations, To assemble _∗_ _J_ _≡_ _J_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>)</sup> `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 185 there are six scalar unknowns [∆ _w_ 1 _,_ ∆ _w_ 2 _,_ ∆ _w_ 3 _,_ ∆ _θ_ 1 _,_ ∆ _θ_ 2 _,_ ∆ _θ_ 3] per solution point (cell centre), yielding a 6 _×_ 6 Jacobian given by, _∗_ _J_ ( _w_ _,_ _θ_ ) = - _J_ _qw_ _J_ _qθ_ (13) _J_ _mw_ _J_ _mθ_ where _J_ _qw_, _J_ _qθ_, _J_ _mw_, and _J_ _mθ_ are 3 _×_ 3 blocks. _J_ _qw_ and _J_ _qθ_ are obtained from the linearised linear momentum equation, Eqn. 7, and _J_ _mw_ and _J_ _mθ_ from the linearised angular momentum equation Eqn. 8. The details of the linearisation are presented in Appendix A. Remark : For consistency with the numerical implementation, this work adopts a slightly modified notation compared to Bali et al. [31]. While the theoretical framework is unchanged, certain symbols have been renamed to align with coding conventions — for example, the rotation vector _ψ_ is now denoted _θ_, and the force vector is written as _q_ . Minor adjustments to other variables have also been made for clarity in the computational context. Readers are referred to Bali et al. [31] for the full derivation and theoretical details; the equations here are fully equivalent in formulation. The mathematical model for Simo-Reissner beams is discretised in a fully implicit, coupled manner using the cell-centred finite volume method, resulting in a discrete approximation of the integral formulation. First, the solution domain discretisation is presented followed by discretised form of governing equations. When temporal effects are considered, time is also discretised into finite steps, and the model is solved in a time-marching fashion. 3.2. Computational domain discretisation. The beam in its reference configuration is divided into a finite number of uniform segments or control volumes (CVs) as is shown in Fig. 3. A typical computational stencil (Fig. 3) consists of the central CV (cell) of length _Lp_ with computational node P, located at the cell centroid, bounded by internal face _f_ - the common face between cell P and neighbouring cell N. The normal to the internal face _f_ is given by _n_ _f_ . Figure 3. Beam body in reference configuration discretised by a finite set of 1-D CVs (cells). 3.3. Spatial discretisation. The integral form of the linear and angular momentum equations (Eqns. 7 and 8) are discretised over the beam computational domain as follows, Lp _q_ <sup>_′_</sup> d _L_ = _f_ _q_ _f_ _·_ _n_ _f_ ; Lp Lp _f_ ( _r_ _f_ <sup>_′_</sup> _f_ <sup>_′_</sup> <sup>_×_</sup> <sup>_q_</sup> <sup>_f_</sup> <sup>)</sup> ; _m_ <sup>_′_</sup> d _L_ = _f_ _m_ _f_ _·_ _n_ _f_ ; _q_ ¯ d _L ≈_ _q_ ¯ p Lp (14a) Lp ( _r_ <sup>_′_</sup> _×_ _q_ ) d _L_ = <sup><u>1</u></sup> 2 <sup><u>1</u></sup> 2 <sup>Lp</sup> Lp _m_ ¯ d _L ≈_ _m_ ¯ p Lp (14b) where _q_ _f_ and _m_ _f_ are the force and moment vectors evaluated at the centre of the faces enclosed by the cell volume P. Since, the beam model is 1-D solver, the stress resultants are balanced along the beam centreline. Therefore, for a typical computational cell P, the faces to the east ‘ _e_ ’ and west ‘ _w_ ’ of the cell constitute the two internal faces (See Fig. 4). The terms _q_ ¯, _m_ ¯ are assumed to have a linear variation across the CV and are approximated by the mid-point rule. In the moment balance equation, the coupling term - integral of ( _r_ <sup>_′_</sup> _×_ _q_ ) is approximated over the CV using the trapezoidal rule and is evaluated at the faces _w_ and _e_ respectively. 186 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff Figure 4. Balance of forces and moments on an isolated CV in the deformed configuration To evaluate the values of the variables at the face centres, a linear interpolation scheme is adopted, while the gradients are evaluated using central differencing (the orthogonal `snGrad` scheme available in OpenFOAM <sup>®</sup> ). 3.4. Temporal discretisation. The inertial terms in the linear and angular momentum equations can be discretised at the computational cell centre P using the mid-point rule as, _ρA_ _r_ ¨ d _L_ = _ρ_ _A_ _r_ ¨p Lp (15a) Lp _L_ - Λ _tI_ <sup>¯</sup> _ρ_ _α_ + Λ _t_ _ω_ - ( _I_ <sup>¯</sup> _ρ_ _ω_ ) d _L_ = Λ _t,_ p - _I_ ¯ _ρ_ _α_ p + _ω_ �p( ¯ _Iρ_ _ω_ p) Lp (15b) where _r_ ¨p, _ω_ p and _α_ p are the linear acceleration, angular velocity and angular acceleration evaluated at the cell centre. Temporal discretisation is performed using either a first-order accurate Euler scheme or the second-order accurate Newmark- _β_ scheme, the latter being a standard choice for integrating second-order equations widely used in solving structural dynamics problems. For a time integration scheme, two important aspects must be considered: (i) stability and (ii) accuracy. The Euler and Newmark- _β_ schemes implemented in the beam solver are both implicit, i.e., they evaluate the temporal terms using quantities at the advanced time level. For linear governing equations, such implicit schemes are unconditionally stable. However, the nonlinear nature of the beam equations means that unconditional stability cannot be strictly guaranteed. Unlike explicit schemes commonly used in CFD or wave-propagation problems, implicit formulations do not impose an explicit Courant number constraint; hence, an adaptive time-step control based on a CFL criterion is not applicable. Instead, the optimal time-step size is chosen by estimating the dominant natural frequency of the beam for the specified boundary conditions and selecting ∆ _t_ so that at least 20 _−_ 50 points are resolved per vibration period (see numerical example 6.1 for more details). The stability of this chosen time step and the time integration scheme is verified a posteriori using an energy balance check: for a conservative system, the numerical discrete total energy (details in Appendix B) should remain constant (or monotonically decrease if numerical damping is present). The accuracy of the time integration is assessed separately by performing time-step convergence studies, where simulations are repeated with successively smaller ∆ _t_ until the computed response (e.g., displacements or internal moments) converges within a specified tolerance. The numerical examples in Section 6 compare the accuracy of the two implemented time schemes by plotting the total energy evolution over time. 3.5. Boundary conditions. For the primary variables _w_ and _θ_, two types of boundary conditions can be applied, _•_ Dirichlet boundaries - The value of _w_ and _θ_ are directly imposed at the boundary face centres in the discretised equations. _•_ Neumann boundaries - The specified force _q_ and moments _m_ are prescribed at the boundary, and the corresponding displacements (∆ _w_ ) and rotations (∆ _θ_ ) are obtained by extrapolation from the interior solution using the linearised force and moment relations. `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 187 In both Dirichlet and Neumann conditions, cell-face derivatives at the boundary are evaluated using the neighbouring cell-centre values, and the updated boundary increments (∆ _w_, ∆ _θ_ ) are used in the Newton–Raphson iterations to update the displacement and rotation fields. The available boundary conditions for the `beamFoam` solver are discussed in Section 5.3. 3.6. Discretised system of equations. The final form of the discretised equilibrium equations for a typical computational node P read as follows, _∗_ _Rw_ )P + N =   <sup>(</sup> ( _∗_ _Rθ_ )P _∗_ _J_ P �(∆ _w_ )P (∆ _θ_ )P �(∆ _w_ )N (∆ _θ_ )N _∗_ _J_ N   (16) _∗_ _∗_ where _J_ P is the 6 _×_ 6 Jacobian matrix containing the contributions of node P while _J_ N contains the neighbouring cell contributions. The right-hand side of the Eqn. 16 is the source vector containing the explicit discretised terms and boundary condition contributions. where _∗_ _J_ P is the 6 _×_ 6 Jacobian matrix containing the contributions of node P while The linearised Eqn. 16 are assembled for all CVs forming a system of equations given by, - <sup>_∗_</sup> _J_ ��∆ _x_ - (17) - = - <sup>_∗_</sup> _R_ _∗_ _J_ ] evaluated in the previous Newton iteration _k_ at time _tn_ +1, where resulting in 6 _M ×_ 6 _M_ sparse matrix [ _∗_ _∗_ _∗_ _M_ is the total number of CVs. The coefficients in _J_ P constitute the diagonal of [ _J_ ] whereas matrix _J_ N contributes to its off-diagonal terms. The solution vector �∆ _x_ - contains the primary unknowns ∆ _w_ and _M_ is the total number of CVs. The coefficients in _∗_ _J_ P constitute the diagonal of [ _∗_ _J_ ] whereas matrix contributes to its off-diagonal terms. The solution vector �∆ _x_ - contains the primary unknowns ∆ _w_ and ∆ _θ_ . The final system of linearised algebraic equations, obtained by assembling Eqn. 16 for all control volumes in the mesh is solved using the Eigen solver [38]. �∆ _x_ For each time increment, the coupled equations are solved iteratively using a Newton–Raphson procedure until a user-defined convergence tolerance is satisfied. Convergence is assessed by monitoring both the _∗_ Euclidean norm of the solution increment ( _|_ ∆ _x_ _|_ ) and the residual of the linear system ( _|_ _R_ _|_ ) (see the end paragraph of Section 4 for more details). 4. Implementation of the beam solver The `beamFoam` repository is organised into the `applications`, `src`, and `tutorials` directories as outlined in Fig. 5. base interface and derived implementations for beam models numerical building blocks (e.g., hermite splines, rotation implementation, blockLDU operators) collection of functions for data extraction during runtime and post-processing pre-processing utilities for meshing, setting the initial position of the beam src applications beamModels numerics function objects utilities solver - _beamFoam_ tutorials contains test cases Figure 5. Structure of `beamFoam` solver 188 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff The application `beamFoam` drives each simulation; the `src` tree contains the library implementation and related components (e.g., numerics, functionObjects); and test cases reside under the `tutorial` directory. Within `src`, the `beamModels` subfolder provides a base interface and derived implementations; OpenFOAM’s run-time selection is used to choose the active beam model at run time. In the current code base, the available model is `coupledTotalLagNewtonRaphsonBeam`, which implements the finite-volume formulation of geometrically exact Simo–Reissner beams. To make the solver extensible and to decouple physics from geometry and boundary data, the implementation adopts a modular, object-oriented hierarchy as depicted in Fig. 6. beamModel (core) «factory» «factory» «derived beam model» newCrossSectionModel newBeamModel coupledTotalLagNewtonRaphson Non-circular cross sections: annularSector, polygon, polyline, rectangle. Boundary conditions: forceBeamDisplacment, followerDisplacement, fixedDisplacement, etc. creates creates «abstract» CrossSectionModel «abstract» beamModel applies «abstract» boundaryCondition Figure 6. `beamModel` hierarchy with cross-sections and boundary condition `beamModel` is an abstract base that defines the solver interface used by `beamFoam.C` . All beam solvers inherit from this base and provide model-specific behaviour, and the active class is selected at run-time via the run-time selection tables. `coupledTotalLagNewtonRaphsonBeam` is a derived implementation that implements the total Lagrangian Newton-Raphson algorithm for the Simo-Reissner formulation within the finite-volume framework. Cross-section geometry is supplied by an abstract cross-section interface ( `crossSectionModel` ), and the active section is created by the `newCrossSectionModel` factory from its dictionary entry. Boundary data are provided by fvPatchField-based classes (boundaryCondition) registered in the run-time selection tables. This modular organisation allows Dirichlet or Neumann boundary conditions and time-series inputs to be interchanged without altering the solver core. As a result of this design, new beam algorithms, cross-sections, or boundary conditions can be added independently and selected via dictionaries, while `beamFoam.C` remains unchanged. Within the applications directory, the `beamFoam` solver ( `beamFoam.C` ) is the main solver for the beam formulation (see Listing 1). At run time, it constructs a polymorphic pointer to the base class and advances the solution by calling three abstract hooks: `evolve()`, `updateTotalFields()`, and `writeFields()` . In Listing 1, `beam().evolve()` is the primary function call that assembles the discretised governing equations and solves them using a Newton-Raphson iterative procedure. The object `beam()` takes the solver to the appropriate beam model type in the source and executes the `evolve()` function of the chosen beamModel class. The finite volume formulation implemented for Simo-Reissner beams is a total Lagrangian approach, therefore `beam().updateTotalFields()` computes the cumulative total displacements and stores them in the `pointW` field, which is used to visualise mesh deformation. In the end, `writeFields()` writes outputs to disk by creating time directories that store the solution fields (e.g., displacements and rotations) for each step. `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 189 ~~�~~ #include `"beamModel.H"` int main() _{_ Foam::autoPtr _<_ Foam::beamModel _>_ beam = Foam::beamModel::New(runTime, Foam::dynamicFvMesh::defaultRegion); while (runTime.loop()) _{_ beam().evolve(); beam().updateTotalFields(); beam().writeFields(); _}_ _}_ ~~�~~ Listing 1. Coding implementation of `beamFoam.C` application file Listing 2 illustrates the main stages of the `evolve()` member function of `beamFoam.C` file. In Step 1, the fields `d`, `u`, `l`, and `source` are created and initialised to zero, matching the beam mesh information. his step sets up the containers required for assembling the block-coupled system (Eqn. 17), which are populated in the subsequent steps. ~~�~~ scalar coupledTotalLagNewtonRaphson::evolve _{_ do _{_ // Step 1 −Initialise l, d, u, source Field _<_ scalarSquareMatrix _>_ d ( mesh().nCells(), scalarSquareMatrix(6, 0.0) ); // Repeat above code for u and l initialisation Field _<_ scalarRectangularMatrix _>_ source ( mesh().nCells(), scalarRectangularMatrix(6, 1, 0.0) ); // Step 2 −Update the matrix coefficients to populate Jacobian updateEqnCoefficients(); // Step 3 −Assembling the Jacobian matrix assembleMatrixCoefficients(d, l, u, source); // Step 4 −Add inertia contributions if (d2dt2SchemeName != steadyState) _{_ // Consistent fvSchemes check for Euler and Newmark // followed by addition of inertia terms _}_ // Step 5 −Solving the equations BlockEigenSolverOF eigenSolver(d, l, u, own, nei); // Step 6 −Updating the solution fields updateSolutionVariables(); _}_ while _{_ // Convergence criteria !checkConvergence(...) _}_ _}_ ~~�~~ Listing 2. Coding details of the `evolve()` member function in the `beamFoam.C` file The block-coupled system for the translational ( _w_ ) and rotational ( _θ_ ) degrees of freedom is assembled in the LDU (lower–diagonal–upper) format, storing only non-zero coefficients, thereby reducing memory usage and improving computational efficiency for sparse matrices. The diagonal ( `d` ), upper ( `u` ), and lower 190 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff ( `l` ) coefficient fields each contain 6 _×_ 6 sub-matrices that capture the coupling between translational and rotational components. The `source` vector is defined as a 6 _×_ 1 block for each beam cell, representing the _∗_ right-hand side _R_ of the system. It is initialised to zero in Step 1 and subsequently populated with the explicit terms from the linearised force and moment equilibrium equations together with external loads and boundary conditions. In Step 2 of Listing 2, the function `updateEqnCoefficients()` updates the coefficient fields of the governing equations based on the current kinematic state of the beam. These updated quantities provide the entries for the block matrix and residual used in the assembly step. The function `assembleMatrixCoefficients()` fills the block-coupled system with the terms obtained in the previous step (Step 3 of Listing 2). For each internal face, the owner–neighbour addressing is used to distribute contributions to the diagonal ( `d` ), upper ( `u` ), and lower ( `l` ) blocks. The explicit load terms are also inserted into the `source` vector as 6 _×_ 1 blocks. Through this process, the local stiffness and coupling terms are consistently mapped into the global block matrix, while the right-hand side is built from the explicit forces and moments. In effect, this stage translates the updated coefficient fields into the discrete LDU system that will be solved in subsequent steps. A condensed version of this procedure is illustrated in Listing 3, where the assembly call is shown in its simplified form. ~~�~~ void coupledTotalLagNewtonRaphsonBeam::assembleMatrixCoefficients ( Field _<_ scalarSquareMatrix _>_ & d, Field _<_ scalarSquareMatrix _>_ & l, Field _<_ scalarSquareMatrix _>_ & u, Field _<_ scalarRectangularMatrix _>_ & source ) _{_ forAll(u, faceI) _{_ // for each component (i,j) in the 6x6 block: u[faceI](i,j) += ... ; d[own[faceI]](i,j) += ... ; l[faceI](i,j) += ... ; // for each entry in the 6x1 residual block: source[nei[faceI]](i,0) −= ... ; _}_ _}_ ~~�~~ Listing 3. Implementation details of the sub-member function `assembleMatrixCoefficients` in `beam().evolve()` function Once the complete LDU structure and source vector are populated, they form the block-coupled 6 _×_ 6 system for each beam segment as,   _D_ 0 _U_ 0 _L_ 0 _D_ 1 _U_ 1 _L_ 1 _D_ 2 ... ... ... LDU structure     ∆ _x_ 0 ∆ _x_ 1 ∆ _x_ 3 ...   _∗_ _R_ 0 _∗_ _R_ 1 ...   =   corrections source vector Here, _D_ _i,_ _L_ _i,_ _U_ _i_ _∈_ R <sup>6</sup> <sup>_×_</sup> <sup>6</sup> represent the diagonal, lower, and upper coupling blocks for beam segment _i_, while ∆ _x_ _i_ and _∗_ _R_ _i_ are the corresponding 6 _×_ 1 vectors. The vector of unknowns is written as ∆ _x_ _i_ = _∗_ (∆ _w_ 1 _,_ ∆ _w_ 2 _,_ ∆ _w_ 3 _,_ ∆ _θ_ 1 _,_ ∆ _θ_ 2 _,_ ∆ _θ_ 3) <sup>_⊤_</sup>, which collects the translational and rotational increments, with _R_ _i_ denoting the associated source block. (∆ _w_ 1 _,_ ∆ _w_ 2 _,_ ∆ _w_ 3 _,_ ∆ _θ_ 1 _,_ ∆ _θ_ 2 _,_ ∆ _θ_ 3) <sup>_⊤_</sup>, which collects the translational and rotational increments, with The LDU coefficient fields are then handed to the `BlockEigenSolverOF` class, which takes `d`, `l`, and `u` together with the owner–neighbour addressing and converts them into an Eigen-compatible sparse matrix (Step 5 in Listing 2). Triplet storage ( `Eigen::Triplet` is used, with each 6 _×_ 6 block mapped to its correct position according to the addressing lists. The `source` vector is flattened into a global column vector `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 191 _∗_ _∗_ _∗_ following the same ordering. An initial residual is computed as the norm of _J_ ∆ _x_ _−_ _R_ ( _J_ is the LDU (Jacobian) matrix), providing a measure of the equilibrium error before the solve. _∗_ _R_ ( following the same ordering. An initial residual is computed as the norm of _∗_ _J_ ∆ _x_ _−_ Depending on the selected configuration, the system is solved using one of several Eigen backends, with `SparseLU` as the default choice. The solver analyses the sparsity pattern, performs LU factorisation, and executes a single direct solve. After the solution vector is obtained, it is mapped back into the OpenFOAM fields, restoring the 6 _×_ 1 block format for each beam cell. Then, the solution variables and the derived quantities (Eqn. 12) are updated in the function `updateSolutionVariables` (Step 6 in Listing 2) of the code. At present, the `evolve()` member function operates in a single processor. However, all field variables use OpenFOAM’s parallel-aware data structures ( `volField`, `surfaceField` ), so domain decomposition via `decomposePar` is inherently supported. The computational cost of the beam solver is low (typically on the order of seconds for all benchmark cases); hence, a serial implementation was found sufficient for the present study. For future multi-physics simulations, such as fluid-beam interaction problems where the fluid domain dominates computational expense, the beam solver can efficiently be executed in serial on the master processor while the fluid solver runs in parallel. OpenFOAM’s built-in iterative solvers (e.g., PBiCG, PCG, GAMG) are designed for weakly coupled scalar or tensor systems common in fluid and thermal analyses. In contrast, the Simo-Reissner beam equations produce a strongly coupled, non-symmetric block system. As OpenFOAM.org and ESI versions lack a native block-matrix solver, these iterative schemes perform poorly for such systems, motivating the use of the Eigen SparseLU direct solver in the present implementation. The outer Newton-Raphson loop iterates until the convergence criteria are met. Three convergence criteria are checked within each time (or loading) step, _∗_ _•_ Residual norm _∥_ _R_ _∥_ of the equilibrium equations: _∗_ – Absolute norm - the convergence criteria is met when _∥_ _R_ _∥_ falls below an absolute tolerance `absoluteTol`, taken here as 1 _×_ 10 <sup>_−_</sup> <sup>30</sup> . This criterion serves as a safeguard in cases where the relative criterion is ineffective, such as when the initial solution already nearly satisfies the governing equations. _∗_ _R_ _∥_ falls below `residualTol` _× ∥_ – Relative norm - the convergence criteria is met when _∥_ _∗_ _∗_ _∗_ where _∥_ _R_ 0 _∥_ is the initial residual norm computed as the norm of _J_ ∆ _x_ _−_ _R_ . The default value of `residualTol` is set to 1 _×_ 10 <sup>_−_</sup> <sup>8</sup> . _•_ Solution correction norm _∥_ ∆ _x_ _∥_ - the convergence criteria is met when the change in the solution between successive iterations falls below `solutionTol` _×_ _∥_ ∆ _x_ _∥_ . the default value of `solutionTol` is set to 1 _×_ 10 <sup>_−_</sup> <sup>10</sup> . _∗_ _R_ 0 _∥_ is the initial residual norm computed as the norm of _∗_ _J_ ∆ _x_ _−_ _∗_ _R_ 0 _∥_, where _∥_ 5. Steps to simulate a test case using the `beamFoam` solver The numerical simulation for beams in `beamFoam` typically involves three main stages: _•_ Pre-processing : – Geometry and mesh : A custom meshing utility, `createBeamMesh`, is used to generate a `polyMesh` directory tailored to the beam geometry and compatible with the `OpenFOAM` environment (Section 5.1). A 3-D representation of the cross-section is included solely to enable realistic visualisation in ParaView for post-processing purposes. – Setting the initial configuration of the beam : If the simulation involves a straight beam whose centroid line is not aligned with the global _x_ -axis, a secondary utility, `setInitialPositionBeam`, must be executed to correctly initialise the undeformed centreline and the associated rotation matrix of the beam cross-section (Section 5.2). – Physical properties : Following the standard OpenFOAM <sup>®</sup> input structure, the material and geometric properties of the beam are specified in `constant` / `beamProperties` (Section 5.4). – Initial and boundary conditions : The primary variables in the `beamFoam` solver are displace ments `W` and rotation vectors `Theta`, and the initial and boundary conditions for these fields are specified in the `0` directory. (Section 5.3). 192 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff _•_ Solver execution : The application used to solve for beam deformation is `beamFoam` . The `system` directory (Section 5.4) contains standard control files as used in other OpenFOAM <sup>®</sup> cases (e.g., `controlDict`, `fvSchemes`, `fvSolution` ). _•_ Post-processing : Simulation results are visualised in typical OpenFOAM fashion, e.g., using ParaView. Various `functionObjects` (Section 5.5) are available to extract quantities such as displacements, internal forces, moments at specific patches, and system energy. Numerical diagnostics such as convergence information from the beam linearisation loop can also be recorded. The `Allrun` file of a typical beam test case is shown in Listing 4. ~~�~~ # Generates beam mesh aligned with global x−axis and creates the polyMesh/ folder runApplication createBeamMesh # Secondary utility to set the initial configuration of beam runApplication setInitialPositionBeam −cellZone beam 0 _\_ −translate `"(x` `y` `z)"` −rotateAngle `"((x` `y` `z)` `angleInDegrees)"` # Executes the beamFoam application runApplication beamFoam ~~�~~ Listing 4. Code excerpt for `Allrun` in a typical beam test case 5.1. The `createBeamMesh` utility for geometry and mesh creation. The utility `createBeamMesh` is a custom mesh generation tool for the `beamFoam` solver which creates a `polyMesh/` directory with necessary mesh information compatible with OpenFOAM <sup>®</sup> environment. The 3-D cross-section is also defined for visualisation in post-processing. The utility reads user-defined parameters from the dictionary `beamProperties` located in the `constant/` directory. Each beam is specified as a dictionary entry under the `beams` list as shown in Listing 5. ~~�~~ beams _{_ beam 0 _{_ crossSectionModel circle; // Cross−section type circleCrossSectionModelDict // Sub−dictionary _{_ radius 0.01; // Cross−section specific parameters _}_ length 1.0; // Beam length nSegments 100; // Number of cells across length // Additional local parameters like Youngs’ modulus and shear modulus // E 200e9; // Reads as scalar // G 100e9; _}_ ... // Add more beams here _}_ ~~�~~ Listing 5. Code excerpt for defining beam properties to create beam mesh The utility `createBeamMesh` reads beam parameters from the `beamProperties` file inside `constant` directory and generates polygonal faces for one or more beams. For each beam, the cross-sectional geometry is defined using a parametric model through the `crossSectionModel` argument. The list of available cross-sections for the solver is provided in Tab. 1. Each `crossSectionModel` has a sub-dictionary where the cross-section parameters (e.g., radius of circle) can be specified. The cross-section is extruded along the beam’s mean line ( _x_ -axis) to construct a 3D point cloud. Faces are then assembled to form the different patches for beam geometry and cell connectivity of each face is defined. Boundary patches are created - either as `left`, `right`, and `beam` `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 193 <u>Type</u> <u>of</u> <u>cross-section</u> <u>Parameters</u> <u>to</u> <u>be</u> <u>specified</u> `circle` `radius` - radius of circle `rectangle` width - `b`, height - `h` <u>`annularSector`</u> <u>inner</u> <u>radius</u> <u>-</u> <u>`innerRadius`</u> <u>,</u> <u>outer</u> <u>radius</u> <u>-</u> <u>`outerRadius`</u> Table 1. Supported cross-section types for the `beamFoam` solver for single-beam cases, or individually named patches like `left\_k` and `right\_k` for each beam with a shared `beam` patch in multi-beam cases. Additionally, a `cellZone` file is generated to distinguish each beam, and the final mesh is written to OpenFOAM’s `polyMesh` format. The output of `createBeamMesh` includes: _•_ A structured `polyMesh` with `points`, `faces`, `owner` / `neighbour` arrays. _•_ A `boundary` file with appropriate patch definitions. _•_ `pointZones` and `cellZones` for each beam. 5.2. Define initial configuration of beams. To move the beam(s) from the reference position or to set the initial curvature of beam(s) correctly, additional utilities must be used. Each utility code is associated with a command and a set of arguments that needs to provided as input by the user in the `Allrun` script to set the initial configuration of beam(s). These utilities move the circumferential points of the straight beam to the desired location and set the initial mean centroid line, _r_ 0( _s_ ), and the tangents of the beam centreline, _r_ 0 <sup>_′_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_≡_</sup> <sup>_g_</sup> 1 <sup>0(</sup> <sup>_s_</sup> <sup>).</sup> <sup>They</sup> <sup>also</sup> <sup>set</sup> <sup>the</sup> <sup>initial</sup> <sup>orientation</sup> <sup>of</sup> <sup>the</sup> <sup>cross-section</sup> <sup>faces</sup> <sup>via</sup> <sup>the</sup> <sup>rotation</sup> matrix Λ 0( _s_ ). For visualisation of the initial configuration of the beam(s) in the post-processing step, the information of the displacement field in the initial (stress-free) configuration is stored in the `pointW` field. The available utility to set the initial configuration of the beam(s) is, `setInitialPositionBeam` - this command allows the user to translate the beam by a desired translation vector and rotate the beam via the Rodrigues’ rotation formula (Eqn. 1), where the user must specify the axis of rotation and magnitude of rotation angle in degrees. The `setInitialPositionBeam` command in the `Allrun` script looks as shown in Listing 6. ~~�~~ setInitialPositionBeam −cellZone beam 0 −translate `"(x` `y` `z)"` _\_ −rotateAngle `"((a` `b` `c)` `angleInDegrees)"` ~~�~~ Listing 6. Code excerpt for `setInitialPosition` command Here, the `cellZone` argument is used to grab the mesh information of a particular beam and apply the translation via `-translate` and rotation via `-rotateAngle` to the mesh of that beam. Running the command `setInitialPositionBeam` creates several fields in the `0` directory that define the beam’s initial configuration relative to the global _x_ -axis. These include the displacement fields ( `refW`, `refWf` ), the tangent to the centreline ( `refTangent` ), and the rotation matrices for the cross-section ( `reflambda`, `refLambdaf` ). The solver then uses these fields as inputs. 5.3. Specifying the `0` directory. For the `beamFoam` solver, the mandatory input variables are displacements ( `W` ) and rotation ( `Theta` ) vector fields. Optionally, externally applied distributed forces ( `q` _≡_ _q_ ¯ in Eqn. 14) and moments ( `m` _≡_ _m_ ¯ in Eqn. 14) vectors can also be specified for a test case. For the `beamFoam` solver, several Dirichlet and Neumann boundary conditions for `W` and `Theta` fields are developed. A list of available boundary conditions is given in Tab. 2. Numerical test cases in Section 6 show the usage of most boundary conditions developed for the solver. 5.4. Specifying the `constant` and `system` directory. The `constant` directory contains details of the beam’s physical properties in `beamProperties` file and the information related to mesh stored in the `polyMesh` subdirectory. Listing 7 shows the typical details required in `beamProperties` file. 194 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff <u>Keyword</u> <u>Type</u> <u>Description</u> `fixedValue` Dirichlet displacement/rotation BC `fixedDisplacement` Dirichlet time-varying displacement BC `fixedRotation` Dirichlet time-varying rotation BC `forceBeamDisplacementNR` Neumann non-circulatory force BC `followerForceBeamDisplacementNR` Neumann circulatory force BC <u>`momentBeamRotationNR`</u> <u>Neumann</u> <u>non-circulatory</u> <u>moment</u> <u>BC</u> Table 2. Supported boundary conditions (BCs) available for the `beamFoam` solver ~~�~~ // runTime selection of beam model beamModel coupledTotalLagNewtonRaphsonBeam; // List of beams beams ( // List of beams, cross−section type and parameters, // and variables local to each beam like E, G, rho, // length, and nSegments ); // Variables specific to selected beam solver coupledTotalLagNewtonRaphsonBeamCoeffs _{_ // Global variables common to all beams E E [1 −1 −2 0 0 0 0] 200e9; // Young’s modulus G G [1 −1 −2 0 0 0 0] 100e9; // Shear Modulus rho rho [1 −3 0 0 0 0 0] 1; // Density // Maximum allowed outer (Newton) iterations nCorrectors 200; // Convergence tolerance for solution correction norm and residual norm solutionTol 1e−10; residualTol 1e−8; _}_ ~~�~~ Listing 7. `beamProperties` file In addition to this, the `constant` directory also contains the input text files for time-varying boundary conditions that are specified for `W` and `Theta` field. The `system` directory contains the standard `controlDict` settings, and the valid time-integration schemes implemented in the `beamFoam` solver can be specified in `fvSchemes` file (Tab. 3). Time-integration scheme keyword for `ddtSchemes` and ``` d2dt2Schemes ``` steady-state `steadyState` first-order Euler `Euler` <u>second-order</u> <u>Newmark-</u> _<u>β</u>_ <u>`Newmark`</u> Table 3. Supported `fvSchemes` for the `beamFoam` solver 5.5. Post-processing visualisation and utilities. The numerical results generated by the beam solver can be visualised in standard OpenFOAM format, e.g., the open-source software ParaView is used [39] for this work. Since `beamFoam` employs a total Lagrangian formulation, the beam mesh does not physically deform. Therefore, to display the deformed configuration in ParaView, the _WarpByVector_ filter must be applied using the vector field `pointW`, which stores the displacement of the beam mesh at all time steps. This allows the deformed beam shape to be viewed at any selected time step. Other output fields, such as the displacement field `W`, can also be visualised along the beam length with adjustable colour maps. `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 195 To extract the simulation data like displacements, and forces after simulation, several `functionObjects` as presented in Tab. 4 are available. An example implementation of the `functionObjects` in `system/controlDict` of a typical test case is provided in Listing 8. <u>Keyword</u> <u>Description</u> `beamDisplacements` Extracts _x, y, z_ displacement components and magnitude at the specified end patches `beamForcesMoments` Extracts _x, y, z_ forces and moment components at the specified end patches `beamConvergenceData` Reports the number of Newton-Raphson iterations to solve the nonlinear beam equations at each time step `beamEnergyData` Calculates and reports numerical potential, kinetic and total en<u>ergy</u> <u>components</u> <u>at</u> <u>each</u> <u>time</u> <u>step</u> Table 4. Supported `functionObjects` for the `beamFoam` solver ~~�~~ functions _{_ beamDisplacements1 _{_ type beamDisplacements; historyPatch right; _}_ beamConvergenceData _{_ type beamConvergenceData; _}_ beamForcesMoments1 _{_ type beamForcesMoments; historyPatch left; _}_ beamEnergyData _{_ type beamEnergyData; _}_ _}_ ~~�~~ Listing 8. Code excerpt for `functionObjects` call in `system/controlDict` After the simulation of a case is finished, the primary variables and other derived quantities are written to the output disk (Tab. 5). 6. Numerical Cases Three benchmark cases are investigated in this section: (1) 3-D vibration of a rectangular cantilever column — a large deformation benchmark where `beamFoam` results are compared against the `solids4Foam` toolbox and the commercial software ABAQUS, demonstrating both accuracy and computational efficiency. (2) In-plane cantilever under a circulatory follower end force - a quasi-static 2-D test case with a special boundary condition, where reference results from literature are compared with `beamFoam`, along with a mesh convergence study. (3) 3-D free vibration of a flexible beam with free ends — a dynamic case where the beam is subjected to initial forces and moments, used to assess the stability of the time-integration schemes and energy conservation over long simulations. All simulations are executed in serial on an Apple M1 Pro (8-core CPU, 16 GB RAM) running macOS Ventura 13.5.2. The solver is compiled using AppleClang 14.0.0 (ARM64) with OpenFOAM-v2306. For all the three test cases, the default convergence tolerances for residuals and solution increments are used, i.e., `residualTol` = 1 _×_ 10 <sup>_−_</sup> <sup>8</sup> and `solutionTol` = 1 _×_ 10 <sup>_−_</sup> <sup>10</sup> . 196 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff <u>Name</u> <u>Description</u> <u>Dimensions</u> `W` Displacement - `volVectorField` m `Theta` Rotation - `volVectorField` dimensionless `Q` Resultant Force - `surfaceVectorField` N `M` Resultant moment - `surfaceVectorField` Nm `q` Distributed forces per unit length - `volVectorField` N _/_ m `m` Distributed moments per unit length - `volVectorField` N `Gamma` Translation strains - `surfaceVectorField` dimensionless `K` Rotational strains - `surfaceVectorField` m <sup>_−_</sup> <sup>1</sup> `pointW` Total deformation of the beam from reference configuration stored <u>for</u> <u>visualisation</u> <u>-</u> <u>`volVectorField`</u> m Table 5. Output variables written to the disk after running the `beamFoam` solver 6.1. 3-D vibration of a dynamic cantilever. The first test case is replicated from the recent article by Cardiff et al. [40]. It employs a neo-Hookean hyperelastic solid solver from the `solids4Foam` toolbox [34] and uses a Jacobian free Newton Krylov (JFNK) approach to solve the governing equations. This solver is a fully 3-D formulation that resolves all three displacement components in each cell, with the geometry discretised in three spatial dimensions. The same test case is provided in the tutorials repository of the beam solver under the name `3DdynamicCantilever` . It consists of a dynamic cantilever column with a square cross-section of side 0 _._ 2 m and a length of 2 m (see Listing 9 for the cross-section excerpt). A sudden constant force, _q_ = (2000 _,_ 2000 _,_ 0) N, is applied to the top surface of the cantilever from _t_ = 0 to _t_ = 1 s, inducing large deformations and finite strains in the column. ~~�~~ beams ( beam 0 _{_ crossSectionModel rectangle; rectangleCrossSectionModelDict _{_ b 0.2; h 0.2; nx 1; ny 1; _}_ length 2; nSegments 20; E 15.293e6; G 5.882e6; _}_ ); ~~�~~ Listing 9. 3D Dynamic Cantilever - The properties and settings are defined in the ``` constant/beamProperties ``` The bottom ( `left` ) patch is clamped, i.e., both displacement `W` and rotation `Theta` are set to `fixedValue` - `value` `uniform` `(0` `0` `0)` . The top ( `right` ) patch is a free edge where the specified force is applied but the moments at the free edge are zero (Listing 10). The material properties assumed are _E_ = 15 _._ 293 MPa, _ν_ = 0 _._ 3 and density _ρ_ = 1000 <u>kg/m</u> <sup>3</sup> . For the cantilever, the dominant natural frequency is the first bending mode, _ωn_ = 1 _._ 875 <sup>2</sup> <sup>~~�~~</sup> _ρALEI_ <sup>4</sup> <sup>=</sup> <sup>6</sup> <sup>_._</sup> <sup>28</sup> <sup>s</sup> <sup>_−_</sup> <sup>1.</sup> Therefore the time-period _Tp_ = _ω_ <sup><u>2</u></sup> <sup>_<u>π</u>_</sup> _n_ <sup>_≈_</sup> <sup>1 s.</sup> <sup>Therefore, ∆</sup> <sup>_t_</sup> <sup>should be chosen such that atleast 20</sup> <sup>_−_</sup> <sup>50 points</sup> `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 197 are resolved for the vibration time-period of 1 s to achieve accurate results, i.e., ∆ _t ≤_ <sup>_<u>T</u>_</sup> 50 <sup>_<u>p</u>_</sup> <sup>_≤_</sup> <sup>0</sup> <sup>_._</sup> <sup>02</sup> <sup>s.</sup> <sup>To</sup> <sup>be</sup> consistent with Cardiff et al. [40] results, a `deltaT` = 1 ms and a second-order accurate Nemmark- _β_ time scheme is employed. The Newmark scheme is defined in `fvSchemes` as shown in Listing 11. ~~�~~ // W boundary condition right // top edge _{_ type forceBeamDisplacementNR; forceSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsForce"` ; outOfBounds clamp; _}_ _}_ // timeVsForce file in constant folder ( ( 0 (2000 2000 0) ) ( 1 (2000 2000 0 ) ) ) // Theta boundary condition right // top edge _{_ type momentBeamRotationNR; momentSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsMoment"` ; outOfBounds clamp; _}_ _}_ // timeVsMoment file in constant folder ( ( 0 (0 0 0) ) ( 1 (0 0 0 ) ) ) ~~�~~ Listing 10. 3D Dynamic Cantilever - boundary conditions ~~�~~ ddtScheme _{_ ddt(W) Newmark; _}_ d2dt2Scheme _{_ d2dt2(W) Newmark; newmarkBeta(W) 0.25; // Default value newmarkGamma(W) 0.5; // Default value _}_ ~~�~~ Listing 11. 3D Dynamic Cantilever - Setting up of Newmark- _β_ time scheme in ``` fvSchemes ``` To run this test case, the mesh of the beam is first created using `createBeamMesh` utility which generates a straight beam with cross-section normal parallel global _x_ -axis. To rotate the beam into vertical position, `setInitialPositionBeam` utility is executed as shown in Listing 12 followed by the `beamFoam` application. ~~�~~ setInitialPositionBeam −cellZone beam 0 −translate `"(0` `0` `0)"` _\_ −rotateAngle `"((0` `-1` `0)` `90)"` ~~�~~ Listing 12. 3D Dynamic Cantilever - `setInitialPositionBeam` command 198 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff The deformed configuration of the beam at six time steps is shown in Fig. 7 for the 20 mesh segments, where the upper surface is seen to drop below the horizontal ground level at _t_ = 0 _._ 3 s. Figure 7. 3D dynamic cantilever: deformed shapes at different times Figure 8 shows the displacement magnitude at the face centre of the top ( `right` ) patch versus time for three mesh resolutions - (5 _,_ 10, and 20 mesh segments) using the Newmark- _β_ time scheme with a timestep of ∆ _t_ = 1 ms. An average of 4 outer (Newton) iterations are required for the residuals to converge. Results from `beamFoam` are compared against the finest-mesh (138240 total cells) solution obtained with the `solids4Foam` toolbox [40] and reference results from finite element software ABAQUS (C3D8 elements and 138240 mesh). 3 2.5 2 1.5 1 0.5 0 nSeg = 5 nSeg = 10 nSeg = 20 solids4Foam-JFNK = 4.2 mm Abaqus (C3D8) 0 0.2 0.4 0.6 0.8 1 Time (s) Figure 8. 3D dynamic cantilever: Comparison of displacement magnitude at the centre of top ( `right` ) edge with `solids4Foam` and ABAQUS results for varying mesh discretisation (nSeg shows the number of segments) using Newmark method, ∆ _t_ = 1 ms As evident in Fig. 8, the displacement predictions of the coarsest mesh (5 cells) in the beam cells provide predictions which are close to the reference results. The results converge to the `solids4Foam` and `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 199 ABAQUS solution for the finest mesh of 20 mesh segments. The comparison of execution times of the beam solver against other solvers is presented in Tab. 6. The time taken by beam solver is observed to be orders of magnitude faster than `solids4Foam` and ABAQUS. <u>Keyword</u> <u>Execution</u> <u>Time</u> <u>(s)</u> beam - 5 segments 0.89 beam - 10 segments 1.01 beam - 20 segments 1.26 `solids4Foam` -JNFK solver 12156 <u>ABAQUS</u> <u>9240</u> Table 6. Comparison of execution times of `beamFoam` against `solids4Foam` and ABAQUS results for varying mesh discretisation using Newmark method, ∆ _t_ = 1 ms Both Euler and Newmark- _β_ time integration schemes implemented in the `beamFoam` solver are implicit, and therefore there is no Courant number criterion to check the stability of the time-step ∆ _t_ . However, coarser time-steps can lead to less accurate results. For this test case, the effect of time step on the results is investigated by fixing the mesh size to 20 segments and varying the ∆ _t_ for both Newmark and Euler time-integration schemes. 3 2.5 2 1.5 1 0.5 0 dt = 0.1 s dt = 0.05 s dt = 0.01 s dt = 0.001 s Abaqus (C3D8) 0 0.2 0.4 0.6 0.8 1 Time (s) Figure 9. 3D dynamic cantilever: Comparison of displacement magnitude for a fixed mesh size of 20 segments but a varying ∆ _t_ using Newmark time integration method Figure 9 shows the displacement graphs for Newmark- _β_ time scheme for ∆ _t_ = 0 _._ 1 _,_ 0 _._ 05 _,_ 0 _._ 01 _,_ and 0 _._ 001 s. Since the optimal time step size as per the first bending mode is ∆ _t_ _≤_ 0 _._ 02 s, the results corresponding to ∆ _t_ = 0 _._ 1 _,_ 0 _._ 05 s are less accurate (but stable) and have both damping and phase errors. The results converge to the reference solution of ABAQUS for ∆ _t_ = 0 _._ 01 _,_ and 0 _._ 001 s. In contrast, Fig. 10 shows the displacement variation with time for the Euler time scheme for ∆ _t_ = 0 _._ 1 _,_ 0 _._ 05 _,_ 0 _._ 01 _,_ 0 _._ 001 and 0 _._ 0001 s. One clear difference between the two schemes is that the first-order accurate Euler method causes large numerical dissipation for the coarser time steps, but the predictions converge to the reference solution as the time step is reduced, e.g., ∆ _t_ = 0 _._ 1 ms. When using the Newmark scheme (Fig. 9), the overall oscillatory motion of the cantilever is better captured for a given time step size, and a time-step ∆ _t_ = 0 _._ 01 s is visibly indistinguishable from the reference results. 200 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff 3 2.5 2 1.5 1 0.5 0 dt = 0.1 s dt = 0.05 s dt = 0.01 s dt = 0.001 s dt = 0.0001 s Abaqus (C3D8) 0 0.2 0.4 0.6 0.8 1 Time (s) Figure 10. 3D dynamic cantilever: Comparison of displacement magnitude for a fixed mesh size of 20 segments but a varying ∆ _t_ using backwards (implicit) Euler time integration method 6.2. In-plane quasi-static cantilever subjected to end follower force. The second test case is an in-plane quasi-static benchmark originally studied by Argyris et al. [41], and later by Simo and Vu-Quoc [29]. The test case is provided in the tutorials repository under the name `cantileverFollowerForce` . A straight cantilever beam of length _L_ = 100 m, clamped at the left end, is subjected at the free end to a circulatory following force of magnitude _∥_ _q_ _∥_ = 134 kN. A circulatory follower load is a nonconservative force whose direction follows the instantaneous deformation of the structure, resulting in a configuration-dependent loading that cannot be derived from a potential and may lead to divergence or flutter instabilities. Listing 13 illustrates the boundary condition for `W` field at the free ( `right` ) end, using the `followerForceBeamDisplacementNR` boundary condition. Listing 14 shows the Newton-Raphson solver settings defined in `constant/beamProperties` file. ~~�~~ // W boundary condition right _{_ type followerForceBeamDisplacementNR; followerForceSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsFollowerForce"` ; outOfBounds clamp; _}_ _}_ // timeVsFollowerForce in constant/beamProperties ( ( 0 (0 0 0)) ( 1 (0 0 1.34e5)) ) ~~�~~ Listing 13. 2D cantilever subjected to follower force - follower force boundary condition for `W` field The mechanical properties are taken from the literature, with flexural rigidity _EI_ = 3 _._ 5 _×_ 10 <sup>7</sup> N/m <sup>2</sup> and shear rigidity _GA_ = 1 _._ 61538 _×_ 10 <sup>8</sup> N/m <sup>2</sup> . A circular cross-section with radius _R_ _≈_ 0 _._ 658 m is selected to satisfy these values. This numerical example is a steady state case, and therefore, there is no physical time step involved. Instead, the external load is applied incrementally, called load increments or pseudotime steps, and the static equilibrium position is solved for each increment. The total load of 134 kN is `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 201 applied in the _z−_ direction in 1000 increments (pseudo ∆ _t_ = 0 _._ 001 s), and the corresponding deformed configuration of the beam at different load steps are shown in Fig. 11. For the `Theta` field, the left end is clamped - `fixedValue` `uniform` `(0` `0` `0)`, and at the right end a time-varying zero `momentSeries` is provided with `momentBeamRotationNR` boundary condition (similar to Test case 6.1). ~~�~~ beamModel coupledTotalLagNewtonRaphsonBeam; // Initialising beam .. // Variables specific to solver coupledTotalLagNewtonRaphsonBeamCoeffs _{_ // Newton−Raphson loop maximum allowed iterations nCorrectors 200; // Convergence tolerance for solution correction norm and residual norm solutionTol 1e−10; residualTol 1e−8; _}_ ~~�~~ Listing 14. 2D cantilever subjected to follower force - flags specific to Newton-Raphson iterations Figure 11. In-plane cantilever beam subjected to follower end load: different stages of deformation expressed as % of total load 134 kN Figures 12 and 13 show the variation of the in-plane displacement components _wx_ and _wz_ at the free end of the beam under the applied load for discretisations of 5, 10, and 20 segments. Reference values are taken from Simo et al. [29]. The `beamFoam` results are in good agreement with the reference solution, and the predictions approach the benchmark as the mesh is refined. For the specified residual and solution tolerances, convergence is typically achieved in 4–6 Newton–Raphson iterations per time step. A mesh convergence study is carried out to assess the spatial discretisation error of the cantilever tip displacement at the free end. The percentage relative error is evaluated at the final time step and is defined as, (18) ���� _×_ 100% % relative error = _<u>ξ</u>_ <sup>num</sup> _<u>−</u>_ _<u>ξ</u>_ <sup>ref</sup> ���� _ξ_ <sup>ref</sup> where _ξ_ <sup>num</sup> denotes the numerical value and _ξ_ <sup>ref</sup> is the reference result from Simo et al. [29]. Figure 14 shows the error in _wx_ and _wz_ for discretisations of 10, 20, 40, and 80 CVs. A second order rate of convergence is observed for this special case involving a non-conservative circulatory follower force. 202 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff 120 wx, nSeg = 5 100 wwxx, nSeg = 10, nSeg = 20 ref wx 80 60 40 20 0 -20 0 20 40 60 80 100 120 140 Load (kN) Figure 12. In-plane cantilever beam subjected to follower end load: in-plane displacement _wx_ versus the magnitude of the applied load 80 wz, nSeg = 5 wz, nSeg = 10 60 wz, nSeg = 20 ref wz 40 20 0 -20 -40 -60 0 20 40 60 80 100 120 140 Load (kN) Figure 13. In-plane cantilever beam subjected to follower end load: in-plane displacement _wz_ versus the magnitude of the applied load 6.3. Free flight motion of a flexible beam. The final test case is a 3-D dynamic beam motion test case investigated by several authors [30,35,42]. The motion exhibited by this benchmark problem is commonly referred to as the _kayak-rowing_ pattern. It is characterised by a strongly coupled 3-D response in which the free ends of the beam trace paddle-like trajectories due to the nonlinear interaction of bending in two planes with oscillatory forward motion. The test case is provided in the tutorials repository under the name `freeFlexibleBeam` . An initially straight but inclined beam in the _xy−_ plane of length _L_ = 10 m is oriented in the undeformed configuration (Fig. 15). To set this configuration, the following command of `setInitialPositionBeam` is used. ~~�~~ setInitialPositionBeam −cellZone beam 0 −translate `"(0` `0` `0)"` _\_ −rotateAngle `"((0` `0` `-1)` `53.130102)"` ~~�~~ Listing 15. Free flight motion of a flexible beam - `setInitialPositionBeam` command `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 203 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>-2</sup> 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-2</sup> 10 <sup>-1</sup> Figure 14. Cantilever beam subjected to follower end load: mesh convergence of the displacement components for the applied load of 134 kN at the right end Figure 15. Free flight motion of a flexible beam: Schematic diagram of the beam in its undeformed configuration (left) and the load vs time graph (right) The mechanical properties are adopted from Simo et al. [30]: _EA_ = _GA_ = 1 _×_ 10 <sup>4</sup> N, _EI_ = 500 Nm, _Aρ_ = 1 kg/m, and _I_ 2 _ρ_ = _I_ 3 _ρ_ = 10 kgm. A circular beam cross-section is selected with radius _R_ = 0 _._ 447214 m, and material density of _ρ_ = 1 _._ 59155 kg/m <sup>3</sup> . To match the prescribed rotary inertia _I_ 3 _ρ_, an artificial rotary inertia scaling factor _k_ <sup>˜</sup> = 200 _._ 39427 is introduced, consistent with values used in the literature. The two end patches of the beam (denoted as A and B in Fig. 15) are set as free edges. This implies that both ends of the beam are prescribed with Neumann boundary conditions. At point A ( `right` patch), a combination of moments about the _x−_ and _y−_ axes, _m_ ( _t_ ) _≡_ ( _mx_ ( _t_ ) _, my_ ( _t_ ) _,_ 0) such that the magnitude of the total moment _m_ ( _t_ ) = 80 Nm, and a force _q_ ( _t_ ) _≡_ ( _qx_ ( _t_ ) _,_ 0 _,_ 0), where _qx_ ( _t_ ) = 8 N are provided from _t_ = 0 to _t_ = 2 _._ 5 s of the motion. After that, the external loads are instantaneously removed, and the dynamic simulation is run in the free vibration state until _t_ = 40 s. Listings 16 and 17 show the boundary conditions for `W` and `Theta` fields respectively. The corresponding time-varying force and moment series for specifying the Neumann boundary condition for `W` and `Theta` are given in Listings 18 and 19. 204 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff ~~�~~ // W boundary condition left // Point B _{_ type forceBeamDisplacementNR; forceSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsForceLeft"` ; outOfBounds clamp; _}_ _}_ right // Point A _{_ type forceBeamDisplacementNR; forceSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsForceRight"` ; outOfBounds clamp; _}_ _}_ ~~�~~ Listing 16. Free flight motion of a flexible beam - boundary conditions for `W` field ~~�~~ // Theta boundary condition left // Point B _{_ type momentBeamRotationNR; momentSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsMomentLeft"` ; outOfBounds clamp; _}_ _}_ right // Point A _{_ type momentBeamRotationNR; momentSeries _{_ `"fileName|file"` `"` `$FOAM_CASE/constant/timeVsMomentRight"` ; outOfBounds clamp; _}_ _}_ ~~�~~ Listing 17. Free flight motion of a flexible beam - boundary conditions for `Theta` field ~~�~~ // timeVsForceLeft (Point B) in constant/beamProperties ( ( 0 ( 0 0 0 ) ) ( 40 ( 0 0 0 ) ) ) // timeVsForceRight (Point A) in constant/beamProperties ( ( 0 ( 8 0 0 ) ) ( 0.1 (8 0 0 )) ( 2.5 (8 0 0 ) ) ( 2.51 (0 0 0 ) ) ( 40 (0 0 0 ) ) ) ~~�~~ Listing 18. Time varying force series in `constant/beamproperties` `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 205 ~~�~~ // timeVsMomentLeft (Point B) in constant/beamProperties ( ( 0 ( 0 0 0 ) ) ( 40 ( 0 0 0 ) ) ) // timeVsMomentRight (Point A) in constant/beamProperties ( ( 0 ( 56.568542495 56.568542495 0 ) ) ( 0.1 ( 56.568542495 56.568542495 0 )) ( 2.5 ( 56.568542495 56.568542495 0 ) ) ( 2.51 (0 0 0) ) ( 40 (0 0 0 ) ) ) ~~�~~ Listing 19. Time varying moment series in `constant/beamproperties` A mesh discretisation of 10 beam CVs and a uniform time step ∆ _t_ = 0 _._ 01 s along with Newmark- _β_ time scheme are chosen for the motion. The deformed position of the flexible beam is presented in Fig. 16. Figure 16. Free flight motion of a flexible beam: Deformed configurations of the beam in the perspective view from time _t_ = 0 to _t_ = 15 s The displacement response versus time of the end point _A_ of the beam is shown in Fig. 17. A negligible difference in the deformation pattern is observed when the beam mesh is refined. Therefore, the displacement graph for only 10 CVs is reported here. It is evident from the displacement graph that with the evolution of time, the beam moves forward along the global _x−_ direction, and the endpoint _A_ oscillates in the _y−_ and _z−_ axes, thus creating a kayak-rowing pattern as it evolves in space. The residuals converge in an average of 3 iterations per time step. To verify the accuracy of the dynamic motion of the beam, the energy plots are investigated. Since the applied loads are removed after _t_ = 2 _._ 5 s and the beam enters a free vibration state, the energy is expected to be conserved after 2 _._ 5 s without any numerical damping. The energy data can be extracted for post-processing using the `beamEnergyData` functionObject defined in the `controlDict` as follows, ~~�~~ functions _{_ beamEnergyData _{_ type beamEnergyData; _}_ _}_ ~~�~~ Listing 20. Free flight motion of a flexible beam - energy extraction `functionObject` in `system/controlDict` 206 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff 80 70 60 50 40 30 20 10 0 -10 wx wy wz 0 5 10 15 20 25 30 35 40 Time (s) Figure 17. Free flight motion of a flexible beam: Displacement versus time graph at the end point A for 10 CVs and ∆ _t_ = 0 _._ 01 s using Newmark- _β_ time scheme A comparison of the variation in the internal ( _E_ int), kinetic ( _E_ kin) and total energy ( _E_ tot) plots using the implicit 1st order backward Euler scheme and the implicit 2nd order Newmark-beta time integration method adopted here is presented in Fig. 18. As expected, for a time step ∆ _t_ = 0 _._ 01 s, the implicit 1st order Euler method results in numerical damping of the system resulting in the decay of energy, whereas using the implicit 2nd order Newmark-beta time-integration scheme, the energy is conserved for both ∆ _t_ = 0 _._ 1 s and ∆ _t_ = 0 _._ 01 s for a coarse mesh discretisation of 10 CVs. A much smaller time step is required for the Euler integration scheme to ensure that numerical damping is small. (a) (b) Figure 18. Free flight motion of a flexible beam: Energy plots of the beam (a) Implicit Euler (10 CVs, ∆ _t_ = 0 _._ 01 s) (b) Newmark-beta integration 10 CVs, ∆ _t_ = 0 _._ 1 s (solid line), ∆ _t_ = 0 _._ 01 s (dotted lines) To observe the energy stability of Newmark- _β_ during long-duration simulation, the same test case is run for a total time of _t_ = 1000 s, and the variation of total energy for ∆ _t_ = 0 _._ 1 s and ∆ _t_ = 0 _._ 01 s is presented in Fig. 19. For ∆ _t_ = 0 _._ 1 s, the energy is observed to be stable with slight discrepancies, whereas, for ∆ _t_ = 0 _._ 01 s, the energy is stable and constant with negligible oscillations. Overall, the energy is observed to be stable and non-dissipative for this long-duration simulation. `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 207 Figure 19. Free flight motion of a flexible beam: The total energy plot for a long duration simulation of _t_ = 1000 s for ∆ _t_ = 0 _._ 1 s and ∆ _t_ = 0 _._ 01 s using Newmark- _β_ time-integration scheme 7. Conclusions and Outlook In this work, a new cell-centred finite volume beam solver, `beamFoam`, has been developed within the OpenFOAM framework for simulating slender structures undergoing large displacements and rotations. The solver is based on the nonlinear, geometrically exact Simo–Reissner beam theory and can capture axial, bending, shear, and torsional responses. Key implementation aspects - including spatial and temporal discretisation, boundary condition treatment, and the Newton–Raphson iterative procedure have been detailed to support reproducibility and future development. The solver performance was demonstrated through three benchmark problems: (i) large 3D deformation of a cantilever beam, (ii) quasi-static 2D motion of a cantilever under circulatory follower loading, and (iii) long-term free vibration of a 3D flexible beam exhibiting the well-known _kayak-rowing_ pattern. In all cases, `beamFoam` showed excellent agreement with reference results from the literature, while maintaining high accuracy even on coarse meshes and achieving a significantly reduced computational cost. For instance, in the 3D cantilever test case (Tab. 6, Case 6.1), execution time was reduced from 12,156 s in `solid4Foam` to just 1.26 s with `beamFoam` . The implemented second-order Newmark- _β_ scheme was found to be stable and accurate for dynamic problems (Fig. 18 of Test Case 6.3), while mesh convergence studies confirmed second-order spatial accuracy (Fig. 14, Test Case 6.2). Overall, this work establishes `beamFoam` as a robust and efficient beam solver within the OpenFOAM ecosystem. Its demonstrated accuracy on coarse meshes and computational efficiency make it a strong candidate for future extensions, including multi-beam contact modelling [32] and coupling with fluid solvers for fully resolved fluid–structure interaction [33,43] of slender structures. Acknowledgements The authors would like to acknowledge Research Ireland, NexSys project 21/SPP/3756 for funding. Vikram Pakrashi would like to acknowledge SEAI RDD/966 FlowDyn and Research Ireland MaREI RC2302-2 projects. Philip Cardiff gratefully acknowledges financial support from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant Agreement No. 101088740), and from I-Form, funded by Research Ireland (formerly SFI) Grant Number 21/RC/10295 P2, co-funded under European Regional Development Fund and by I-Form industry partners. Additionally, the authors wish to acknowledge the DJEI/DES/SFI/HEA Irish Centre for High-End Computing (ICHEC) for the provision of computational facilities and support ( `www.ichec.ie` ), and part of this work has been carried out using the UCD ResearchIT Sonic cluster which was funded by UCD IT Services and the UCD Research Office. 208 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff Author Contributions: Conceptualisation, S.B., A.T., Z.T., and P.C.; methodology, S.B., Z.T. and P.C.; software, S.B., A.T., Z.T., and P.C.; validation, S.B.; formal analysis, S.B.; investigation, S.B. and A.T.; resources, V.P. and P.C.; data curation, S.B., A.T., and P.C; writing—original draft preparation, S.B. and A.T.; writing—review and editing, V.P. and P.C.; visualisation, S.B. and A.T.; supervision, P.C., Z.T., and V.P.; project administration, P.C. and V.P.; funding acquisition, V.P. and P.C. All authors have read and agreed to the published version of the manuscript. Appendix A. Linearisation of balance equations The description of linearising the integral governing beam equations (Eqns. 7 and 8) is described here. First, the integral equations are converted into discretised algebraic equations using the spatial cellcentred finite volume method (Eqn. 14) and temporal discretisation of the inertia terms (Eqn. 15). The final discretised form for a computational node is given in Eqn. 16. After the spatial discretisation of integral equations (Eqn. 14), the spatial forces and moments ( _q_ _f_ and _m_ _f_ ) have to be evaluated at face centres of the cell. Therefore, the nonlinear forces and moments (Eqns. 3a and 3b) have to be linearised _∗_ about a current equilibrium approximation to construct the Jacobian matrix _J_ in Eqn. 11 and form the residual _R_ _n_ +1( _w_ _,_ _θ_ ) (Eqn. 10). This linearisation enables the iterative refinement of internal forces and moments until convergence is achieved. To apply the Newton–Raphson scheme, the internal forces _q_ and moments _m_ are linearised about their explicit values computed from the strain and curvature fields obtained in the previous iteration (Eqns. 4a and 5). The linearised forms of ( _k_ + 1)-th Newton iteration at time _tn_ +1 are given by, - <sup>_∗_</sup> _∗_ Λ _t_ _C_ _q_ ( Λ _t_ ) <sup>_⊤_</sup> <sup>��</sup> ∆ _w_ <sup>_′_</sup> + ( <sup>�</sup> _r_ _∗_ ) _′_ (19) _q_ _n_ <sup>(</sup> <sup>_k_</sup> +1 <sup>+1)</sup> = Λ _∗_ _t_ _C_ _q_ _γ_ _∗ −_ _q_ - _∗_ ∆ _θ_ + <sup>�</sup> _r_ _∗_ ) _′_ (∆ _θ_ ) _∗_ Λ _t_ _C_ _m_ ( _∗_ Λ _t_ ) <sup>_⊤_</sup> ) ∆ _θ_ <sup>_′_</sup> (20) _m_ <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>+1)</sup> = _m_ <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>+1)</sup> _∗_ Λ _t_ _C_ _m_ _κ_ _∗_ _−_ _m_ - _∗_ ∆ _θ_ + ( _∗_ ( _·_ ) _≡_ ( _·_ ) <sup>(</sup> _n_ <sup>_k_</sup> <sup>)</sup> In these expressions, the superscript <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>)</sup> <sup>denotes</sup> <sup>known</sup> <sup>quantities</sup> <sup>from</sup> <sup>the</sup> <sup>previous</sup> <sup>iteration</sup> _k_ . The terms _q_ _∗_ and _m_ _∗_ denote values of internal forces and moments at the _k_ -th iteration evaluated using the _linearised_ equations (Eqns. 19 and 20). The correction vectors ∆ _w_ and ∆ _θ_ represent the incremental corrections in displacement and rotation vectors, respectively. As the Newton–Raphson iterations progress, these increment vectors approach zero, and consequently, the linearised internal forces and moments converge to the exact nonlinear values defined in Eqns. 3a–3b. The ( <sup>�</sup> _·_ ) operator in Eqns. 19 and 20 denotes a skew-symmetric matrix constructed from the corresponding rotation vector in R <sup>3</sup> as presented in Eqn. 2. _k_ . The terms _q_ _∗_ and Additionally, the nonlinear coupling term ( _r_ <sup>_′_</sup> _×_ _q_ ) in the angular momentum equation (Eqn. 8) is also linearised as, - _∗_ _∗_ Λ _t_ _C_ _q_ ( Λ _t_ ) <sup>_⊤_</sup> - _−_ _q_ <sup>�</sup> <sup>_∗_</sup> �∆ _w_ <sup>_′_</sup> + ( <sup>�</sup> _r_ _∗_ ) _′_ - _∗_ Λ _t_ _C_ _q_ ( _∗_ Λ _t_ ) <sup>_⊤_</sup> ( <sup>�</sup> _r_ _∗_ ) _′_ <sup>�</sup> _r_ _∗_ ) _′ −_ _q_ - _∗_ _∗_ Λ _t_ _C_ _q_ _γ_ _∗_ + ��( _r_ _∗_ ) _′_ ∆ _θ_ (21) ( _r_ <sup>_′_</sup> _×_ _q_ ) <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>+1)</sup> _r_ _∗_ ) _′_ <sup>�</sup> <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>+1)</sup> = ( <sup>�</sup> _r_ _∗_ ) _′_ The inertial force, _q_ _ρ_ _≡_ _ρA_ _r_ ¨ and inertial moment _m_ _ρ_ _≡_ - Λ _tI_ <sup>¯</sup> _ρ_ _α_ + Λ _t_ _ω_ - ( _I_ <sup>¯</sup> _ρ_ _ω_ ) terms in right-hand side of the balance equations (Eqns. 7 and 8), also have to be linearised about the values calculated in the previous iteration to apply the iterative Newton-Raphson scheme. For a time step _tn_ +1 and ( _k_ + 1) _−_ th iteration, the linearised form of the inertial forces _q_ _ρ_ and inertial moments _m_ _ρ_ is given by, L[ _q_ _ρ_ ] = L[ _m_ _ρ_ ] = _m_ _∗_ _ρ_ + ∆ Λ - _I_ ¯ _ρ_ _q_ _∗ρ_ + _ρA_ ∆¨ _r_ (22a) (22b) _α_ _∗_ + _ω_ - _∗_ ( _I_ <sup>¯</sup> _ρ_ _ω_ _∗_ )� _∗_ Λ ∆ _ω_ �( _I_ <sup>¯</sup> _ρ_ _∗_ _∗_ Λ _ω_ �( _I_ <sup>¯</sup> _ρ_ ∆ _ω_ ) + _∗_ Λ _I_ <sup>¯</sup> _ρ_ ∆ _α_ + _ω_ _∗_ ) + where ( _·_ ) _≡_ ( _·_ ) <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>)</sup> <sup>represents the explicit values of the quantities evaluated in the previous</sup> <sup>_k−_</sup> <sup>th iteration</sup> of ( _n_ + 1)th time step. The implicit correction terms (∆( _·_ )) of the linear and angular accelerations and the angular velocities have to be expressed in terms of the primary unknowns, i.e., the incremental displacement (∆ _w_ ) and incremental rotation (∆ _θ_ ) vectors using appropriate time integration scheme. where _∗_ ( _·_ ) _≡_ ( _·_ ) <sup>(</sup> _n_ <sup>_k_</sup> +1 <sup>)</sup> `beamFoam` : A cell-centred finite volume solver for nonlinear geometrically-exact beams in OpenFOAM <sup>®</sup> 209 The linearised expressions (Eqns. 19-22a) are substituted in the discretised form of integral equations (Eqns. 14 and 15). The coefficients of ∆ _w_ and ∆ _θ_ are then populated to form the 6 _×_ 6 Jacobian matrix (Eqn. 13). Appendix B. Total energy in beams In a conservative dynamic system without damping, the sum of kinetic and potential energies is invariant once external loads are removed. During load application, the total energy increases due to the work done by the external forces; after the load is removed, the system vibrates freely and the total energy remains constant. For Simo–Reissner beams, the total energy is the sum of internal and kinetic contributions. The internal (strain) energy ( _E_ int) is obtained by integrating the hyper-elastic, length-specific energy along the beam, _L_ - <u>1</u> d _L_ (23a) 2 <sup>_γ_</sup> <sup>_⊤_</sup> <sup>_C_</sup> <sup>_q_</sup> <sup>_γ_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_κ_</sup> <sup>_⊤_</sup> <sup>_C_</sup> <sup>_m_</sup> <sup>_κ_</sup> _L_ _E_ int = _≈_ ˜Πint d _L_ = - <u>12</u> <sup>_γ_</sup> _f_ <sup>_⊤_</sup> <sup>_C_</sup> <sup>_q_</sup> <sup>_γ_</sup> <sup>_f_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_κ_</sup> _f_ <sup>_⊤_</sup> <sup>_C_</sup> <sup>_m_</sup> <sup>_κ_</sup> <sup>_f_</sup> - <u>1</u> _f_ <sup>_C_</sup> <sup>_q_</sup> <sup>_γ_</sup> <sup>_f_</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_γ_</sup> <sup>_⊤_</sup> 2 _f_ _Lf_ (23b) where the ( _·_ ) _f_ denotes the internal strains ( _γ_ ) and curvatures ( _κ_ ) at face centres, and _Lf_ is the distance between two adjacent cell-centres surrounding the face _f_ . For a uniform mesh, _Lf_ _≡_ Lp and the value of _Lf_ at the boundaries is _Lf_ = 0 _._ 5 Lp. The kinetic energy ( _E_ kin) is computed from the length-specific kinetic energy over the beam length, which is related to the linear velocity _v_ _≡_ _r_ ˙ and (material) angular velocity _ω_ as, _L_ - <u>1</u> d _L_ (24a) 2 <sup>_ρ_</sup> <sup>_v_</sup> <sup>_⊤A_</sup> <sup>_v_</sup> <sup>+</sup> 2 <sup><u>1</u></sup> <sup>_ω_</sup> <sup>_⊤I_</sup> <sup>¯</sup> <sup>_ρ_</sup> <sup>_ω_</sup> _L_ _E_ kin = _≈_ ˜Πkind _L_ = 2 <sup><u>1</u></sup> <sup>_ω_</sup> _p_ <sup>_⊤_</sup> ˜ <sup>_I_</sup> <sup>¯</sup> <sup>_ρ_</sup> <sup>_ω_</sup> <sup>_p_</sup> <sup>˜</sup> _Lp_ ˜ (24b) _p_ ˜ - <u>1</u> _p_ ˜ <sup>_A_</sup> <sup>_v_</sup> <sup>_p_</sup> <sup>˜</sup> <sup>+</sup> <sup><u>1</u></sup> 2 <sup>_ρ_</sup> <sup>_v_</sup> <sup>_⊤_</sup> 2 where ( _·_ ) _p_ ˜ denotes the cell-centre values, and _Lp_ ˜ is the length of beam cell ( _Lp_ ˜ _≡_ Lp for a uniform mesh). Spatial and temporal discretisation introduce errors in _E_ int and _E_ kin, which decrease with mesh and time-step refinement. The total energy of the beam is given by _E_ tot = _E_ int + _E_ kin. References [1] I. Demirdˇzi´c and D. Martinovi´c, “Finite volume method for thermo-elasto-plastic stress analysis,” _Computer_ _methods_ _in_ _applied_ _mechanics_ _and_ _engineering_, vol. 109, no. 3-4, pp. 331–349, 1993. [2] P. Cardiff, A. Karaˇc, P. De Jaeger, H. Jasak, J. Nagy, A. Ivankovi´c, and Z. <sup>ˇ</sup> Tukovi´c, “An open-source finite volume toolbox for solid mechanics and fluid-solid interaction simulations,” _arXiv_ _preprint_ _arXiv:1808.10736_, 2018. [3] P. Cardiff and I. Demirdˇzi´c, “Thirty years of the finite volume method for solid mechanics,” _Archives_ _of_ _Computational_ _Methods_ _in_ _Engineering_, pp. 1–60, 2021. [4] P. Cardiff, A. Karaˇc, and A. Ivankovi´c, “A large strain finite volume method for orthotropic bodies with general material orientations,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, vol. 268, pp. 318–335, 2014. [5] P. Cardiff, Z. <sup>ˇ</sup> Tukovi´c, H. Jasak, and A. Ivankovi´c, “A block-coupled finite volume methodology for linear elasticity and unstructured meshes,” _Computers_ _&_ _structures_, vol. 175, pp. 100–122, 2016. [6] Z. Tukovi´c, A. Karaˇc, P. Cardiff, H. Jasak, and A. Ivankovi´c, “Openfoam finite volume solver for fluid-solid interaction,” <sup>ˇ</sup> _Transactions_ _of_ _FAMENA_, vol. 42, no. 3, pp. 1–31, 2018. [7] H. Chen and M. Hall, “Cfd simulation of floating body motion with mooring dynamics: Coupling moordyn with openfoam,” _Applied_ _Ocean_ _Research_, vol. 124, p. 103210, 2022. [8] J. Palm, C. Eskilsson, G. M. Paredes, and L. Bergdahl, “Coupled mooring analysis for floating wave energy converters using cfd: Formulation and validation,” _International_ _Journal_ _of_ _Marine_ _Energy_, vol. 16, pp. 83–99, 2016. [9] E. Marino, M. Gkantou, A. Malekjafarian, S. Bali, C. Baniotopoulos, J. van Beeck, R. P. Borg, N. Bruschi, P. Cardiff, E. Chatzi _et_ _al._, “Offshore renewable energies: A review towards floating modular energy islands—monitoring, loads, modelling and control,” _Ocean_ _engineering_, vol. 313, p. 119251, 2024. [10] A. G. Neto, C. A. Martins, and P. M. Pimenta, “Static analysis of offshore risers with a geometrically-exact 3d beam model subjected to unilateral contact,” _Computational_ _Mechanics_, vol. 53, no. 1, pp. 125–145, 2014. [11] S. Cani´c <sup>ˇ</sup> and J. Tambaˇca, “Cardiovascular stents as pde nets: 1d vs. 3d,” _Ima_ _journal_ _of_ _applied_ _mathematics_, vol. 77, no. 6, pp. 748–770, 2012. [12] P. Zunino, J. Tambaˇca, E. Cutr`ı, S. Cani´c, <sup>ˇ</sup> L. Formaggia, and F. Migliavacca, “Integrated stent models based on dimension reduction: review and future perspectives,” _Annals_ _of_ _biomedical_ _engineering_, vol. 44, no. 2, pp. 604–617, 2016. 210 S. Bali, A. Taran, Z. <sup>ˇ</sup> Tukovi´c, V. Pakrashi, and P. Cardiff [13] N. G. Jacobsen, W. Bakker, W. S. Uijttewaal, and R. Uittenbogaard, “Experimental investigation of the wave-induced motion of and force distribution along a flexible stem,” _Journal_ _of_ _Fluid_ _Mechanics_, vol. 880, pp. 1036–1069, 2019. [14] M. Maza, J. L. Lara, and I. J. Losada, “Tsunami wave interaction with mangrove forests: A 3-d numerical approach,” _Coastal_ _Engineering_, vol. 98, pp. 33–54, 2015. [15] M. Wang, E. Avital, T. Korakianitis, J. Williams, and K. Ai, “A numerical study on the influence of curvature ratio and vegetation density on a partially vegetated u-bend channel flow,” _Advances_ _in_ _Water_ _Resources_, vol. 148, p. 103843, 2021. [16] H. B. Gilbert, “On the mathematical modeling of slender biomedical continuum robots,” _Frontiers_ _in_ _Robotics_ _and_ _AI_, vol. 8, p. 732643, 2021. [17] C. Armanini, F. Boyer, A. T. Mathew, C. Duriez, and F. Renda, “Soft robots modeling: A structured overview,” _IEEE_ _Transactions_ _on_ _Robotics_, vol. 39, no. 3, pp. 1728–1748, 2023. [18] S. Timoshenko, “On the correction for shear of the differential equation for transverse vibrations of prismatic bars.” _Phil_ _Mag_ _Ser_, vol. 41, pp. 744–764, 1921. [19] N. Fallah and M. Ebrahimnejad, “Finite volume analysis of adaptive beams with piezoelectric sensors and actuators,” _Applied_ _Mathematical_ _Modelling_, vol. 38, no. 2, pp. 722–737, 2014. [20] N. Fallah and A. Ghanbari, “A displacement finite volume formulation for the static and dynamic analysis of shear deformable circular curved beams,” _Scientia_ _Iranica_, vol. 25, no. 3, pp. 999–1014, 2018. [21] N. Fallah and F. Hatami, “A displacement formulation based on finite volume method for analysis of timoshenko beam,” in _Proceedings_ _of_ _the_ _7th_ _international_ _conference_ _on_ _civil_ _engineering,_ _Tehran,_ _Iran_, 2006. [22] N. Fallah and F. Hatami, “Extension of the finite volume method for instability analysis of columns with shear effects,” in _Proceedings_ _of_ _the_ _eighth_ _international_ _conference_ _on_ _computational_ _structures_ _technology,_ _Stirlingshire,_ _Scotland._ _Civil-Comp_ _Press._ _Paper_, vol. 192, 2006. [23] S. Isi´c, V. Doleˇcek, and I. Karabegovi´c, “Numerical and experimental analysis of postbuckling behaviour of prismatic beam under displacement dependent loading,” in _Proceedings_ _of_ _First_ _Serbian_ _Congress_ _on_ _Theoretical_ _and_ _Applied_ _Mechanics.-Kopaonik,_ _Serbia_, 2007, pp. 331–338. [24] S. Isi´c, V. Doleˇcek, and I. Karabegovi´c, “A comparison between finite element and finite volume methods on the problem of stability of timoshenko beam,” in _The_ _12th_ _international_ _conference_ _on_ _problems_ _of_ _material_ _engineering,_ _Jasna,_ _Slovakia_, 2007. [25] N. Fallah, “Finite volume method for determining the natural characteristics of structures,” _Journal_ _of_ _Engineering_ _Science_ _and_ _Technology_, vol. 8, no. 1, pp. 93–106, 2013. [26] L.-L. Jing, P.-J. Ming, W.-P. Zhang, L.-R. Fu, and Y.-P. Cao, “Static and free vibration analysis of functionally graded beams by combination timoshenko theory and finite volume method,” _Composite_ _structures_, vol. 138, pp. 192–213, 2016. [27] A. Love, _A_ _treatise_ _on_ _the_ _mathematical_ _theory_ _of_ _elasticity_ . University press, 1927. [28] J. Simo, “A finite strain beam formulation. the three-dimensional dynamic problem. part i,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, vol. 49, no. 1, pp. 55–70, 1985. [29] J. Simo and L. Vu-Quoc, “A three-dimensional finite-strain rod model. part ii: Computational aspects,” _Computer_ _methods_ _in_ _applied_ _mechanics_ _and_ _engineering_, vol. 58, no. 1, pp. 79–116, 1986. [30] J. Simo and L. Vu-Quoc, “On the dynamics in space of rods undergoing large motions—a geometrically exact approach,” _Computer_ _methods_ _in_ _applied_ _mechanics_ _and_ _engineering_, vol. 66, no. 2, pp. 125–161, 1988. [31] S. Bali, Z. <sup>ˇ</sup> Tukovi´c, P. Cardiff, A. Ivankovi´c, and V. Pakrashi, “A cell-centered finite volume formulation of geomet rically exact simo–reissner beams with arbitrary initial curvatures,” _International_ _journal_ _for_ _numerical_ _methods_ _in_ _engineering_, vol. 123, no. 17, pp. 3950–3973, 2022. [32] S. Bali, Z. <sup>ˇ</sup> Tukovi´c, P. Cardiff, A. Ivankovi´c, and V. Pakrashi, “A finite volume adaptation of beam-to-beam contact interactions implemented for geometrically exact simo–reissner beams,” _Computational_ _mechanics_, vol. 75, no. 1, pp. 237–263, 2025. [33] A. Taran, S. Bali, Zeljko Tukovi´c, <sup>ˇ</sup> V. Pakrashi, and P. Cardiff, “A finite volume simo–reissner beam method for moored floating body dynamics,” _Applied_ _Ocean_ _Research_, vol. 165, p. 104845, 2025. [34] P. Cardiff, I. Batisti _et al._, “solids4foam: A toolbox for performing solid mechanics and fluid-solid interaction simulations in openfoam,” _Journal_ _of_ _Open_ _Source_ _Software_, vol. 10, no. 108, p. 7407, 2025. [35] G. Jeleni´c and M. Crisfield, “Interpolation of rotational variables in nonlinear dynamics of 3d beams,” _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engineering_, vol. 43, no. 7, pp. 1193–1222, 1998. [36] A. Ibrahimbegovic, “On the choice of finite rotation parameters,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _En-_ _gineering_, vol. 149, no. 1-4, pp. 49–71, 1997. [37] G. Jeleni´c and M. Crisfield, “Geometrically exact 3d beam theory: implementation of a strain-invariant finite element for statics and dynamics,” _Computer_ _methods_ _in_ _applied_ _mechanics_ _and_ _engineering_, vol. 171, no. 1-2, pp. 141–171, 1999. [38] G. Guennebaud, B. Jacob _et_ _al._, “Eigen v3,” http://eigen.tuxfamily.org, 2010. [39] K. Inc. and Paraview., “Paraview user’s guide.” in _URL_ _http://www.paraview.org_, 2023. [40] P. Cardiff, D. Armfield, Z. <sup>ˇ</sup> Tukovi´c, and I. Batisti´c, “A jacobian-free newton-krylov method for cell-centred finite volume solid mechanics,” _arXiv_ _preprint_ _arXiv:2502.17217_, 2025. [41] J. Argyris and S. Symeonidis, “Nonlinear finite element analysis of elastic systems under nonconservative loading natural formulation. part i. quasistatic problems,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, vol. 26, no. 1, pp. 75–123, 1981. [42] F. Boyer and D. Primault, “Finite element of slender beams in finite transformations: a geometrically exact approach,” _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engineering_, vol. 59, no. 5, pp. 669–702, 2004. [43] C. McAlister, A. Taran, M. Campell, S. Bali, M. Karimirad, V. Pakrashi, and P. Cardiff, “Validation of a finite volume simo-reissner beam method for moored floating solar platforms,” in _The_ _20th_ _OpenFOAM_ _Workshop_ _(OFW20)_, 2025.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.