A Finite Element Analysis (FEA) software capable of generating solid elements can be utilized to model a masonry beam accurately. By inputting the material properties specific to masonry, such as elasticity, etc., the software can simulate the behavior of the beam under various loading conditions.