![]() |
NuTo
Numerics Tool
|
#include "nuto/base/Exception.h"#include "nuto/mechanics/constitutive/ConstitutiveEnum.h"#include "nuto/mechanics/constraints/Constraints.h"#include "nuto/mechanics/constraints/ConstraintCompanion.h"#include "nuto/mechanics/DirectionEnum.h"#include "nuto/mechanics/groups/Group.h"#include "nuto/mechanics/mesh/MeshGenerator.h"#include "nuto/mechanics/nodes/NodeEnum.h"#include "nuto/mechanics/sections/Section.h"#include "nuto/mechanics/sections/SectionPlane.h"#include "nuto/mechanics/sections/SectionTruss.h"#include "nuto/mechanics/structures/unstructured/Structure.h"#include "nuto/mechanics/timeIntegration/NewmarkDirect.h"#include "nuto/mechanics/timeIntegration/TimeControl.h"#include "nuto/mechanics/timeIntegration/postProcessing/PostProcessor.h"#include "nuto/visualize/VisualizeEnum.h"#include <cmath>#include <boost/filesystem.hpp>Macros | |
| #define | NUMELEMENTSPERDIRECTION 3 |
| #define | INITIALTIMESTEP 1.e-9 |
| #define | TIMESTEP 20000.0 |
| #define | SIMULATIONTIME 100000.0 |
| #define | NUMERICALTOLERANCE 1.e-2 |
| #define | MAXITERATION 20 |
| #define | EXTERNALFORCE -1.e9 |
| #define | TOTALYOUNGSMODULUS 2.e9 |
Functions | |
| double | CalcTotalStiffnes (double YoungsModulus, Eigen::VectorXd kelvinChainStiffness) |
| double | CalculateTheoreticalKelvinChainStrain (double YoungsModulus, Eigen::VectorXd kelvinChainStiffness, Eigen::VectorXd kelvinChainRetardationTimes, double time) |
| template<int TDim> | |
| void | TestCreepModel (std::string testName, const std::array< eDirection, TDim > directions, double YoungsModulus, Eigen::VectorXd kelvinChainStiffness, Eigen::VectorXd kelvinChainRetardationTimes, double poissonRatio) |
| void | PerformTestSeries (std::string testName, double YoungsModulus, Eigen::VectorXd kelvinChainStiffness, Eigen::VectorXd kelvinChainRetardationTimes, double poissonRatio) |
| int | main (int argc, char *argv[]) |
| #define EXTERNALFORCE -1.e9 |
| #define INITIALTIMESTEP 1.e-9 |
| #define MAXITERATION 20 |
| #define NUMELEMENTSPERDIRECTION 3 |
| #define NUMERICALTOLERANCE 1.e-2 |
| #define SIMULATIONTIME 100000.0 |
| #define TIMESTEP 20000.0 |
| #define TOTALYOUNGSMODULUS 2.e9 |
| double CalcTotalStiffnes | ( | double | YoungsModulus, |
| Eigen::VectorXd | kelvinChainStiffness | ||
| ) |
| double CalculateTheoreticalKelvinChainStrain | ( | double | YoungsModulus, |
| Eigen::VectorXd | kelvinChainStiffness, | ||
| Eigen::VectorXd | kelvinChainRetardationTimes, | ||
| double | time | ||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void PerformTestSeries | ( | std::string | testName, |
| double | YoungsModulus, | ||
| Eigen::VectorXd | kelvinChainStiffness, | ||
| Eigen::VectorXd | kelvinChainRetardationTimes, | ||
| double | poissonRatio | ||
| ) |
| void TestCreepModel | ( | std::string | testName, |
| const std::array< eDirection, TDim > | directions, | ||
| double | YoungsModulus, | ||
| Eigen::VectorXd | kelvinChainStiffness, | ||
| Eigen::VectorXd | kelvinChainRetardationTimes, | ||
| double | poissonRatio | ||
| ) |
1.8.11