22 #include <boost/test/unit_test.hpp> 26 #include "examples/structural/beam_buckling_prestress/beam_column_buckling.h" 27 #include "tests/base/test_comparisons.h" 29 #include "elasticity/structural_discipline.h" 39 MAST::BeamColumnBucklingAnalysis)
43 this->init(libMesh::EDGE2,
false);
51 this->solve(
false, &eig);
59 Izz = pow(th_z,1)*pow(th_y,3)/12.,
73 nconv = std::min(_sys->get_n_converged_eigenvalues(),
74 _sys->get_n_requested_eigenvalues());
76 for (
unsigned int i=0; i<nconv; i++) {
78 analytical = Eval*Izz/(-sigma*A) * pow((i+1)*
pi/_length, 2);
159 BOOST_AUTO_TEST_SUITE_END()
BOOST_FIXTURE_TEST_SUITE(Structural1DBeamBucklingAnalysis, MAST::BeamColumnBucklingAnalysis) BOOST_AUTO_TEST_CASE(BeamBucklingSolution)
BOOST_AUTO_TEST_CASE(InternalForceJacobianZeroFreq)
bool compare_value(const Real v0, const Real v, const Real tol)