NuTo
Numerics Tool
|
#include "nuto/base/Timer.h"
#include "nuto/mechanics/MechanicsEnums.h"
#include "nuto/mechanics/elements/ElementBase.h"
#include "nuto/mechanics/groups/Group.h"
#include "nuto/mechanics/nodes/NodeBase.h"
#include "nuto/mechanics/structures/unstructured/Structure.h"
#include "nuto/mechanics/timeIntegration/NewmarkDirect.h"
#include "nuto/mechanics/mesh/MeshGenerator.h"
#include "physics/PhysicalConstantsSI.h"
#include "physics/PhysicalEquationsSI.h"
#include <array>
#include <boost/foreach.hpp>
#include "nuto/mechanics/constitutive/laws/MoistureTransport.h"
#include "nuto/mechanics/constitutive/staticData/DataMoistureTransport.h"
#include "nuto/mechanics/constitutive/laws/AdditiveOutput.h"
#include "nuto/mechanics/constitutive/laws/AdditiveInputExplicit.h"
#include "nuto/mechanics/constitutive/staticData/IPAdditiveOutput.h"
#include "nuto/mechanics/sections/SectionPlane.h"
#include "nuto/mechanics/sections/SectionTruss.h"
#include "nuto/mechanics/constraints/ConstraintCompanion.h"
#include "nuto/mechanics/timeIntegration/postProcessing/PostProcessor.h"
#include "nuto/visualize/VisualizeEnum.h"
Classes | |
struct | TimeControl |
struct | MechanicsControl |
struct | MoistureTransportControl |
Macros | |
#define | RES_TOLERANCE_MECHANICS 1e-8 |
#define | RES_TOLERANCE_MOISTURE_TRANSPORT 1e-17 |
#define | MAX_ITERATION 40 |
#define | TESTNUM_PROC 1 |
#define | TEST_TEMPERATURE 293.15 |
#define | TEST_YOUNGSMODULUS 30.e9 |
#define | TEST_MACROSCOPICBULKMODULUS 30.e9 |
#define | TEST_SOLIDPHASEBULKMODULUS 7.5e9 |
Typedefs | |
typedef boost::ptr_map< int, NuTo::NodeBase > | NodeMap |
Functions | |
template<int TDim> | |
void | SetupConstrainedNodeBoundaryElements (NuTo::Structure &rS, std::function< bool(NuTo::NodeBase *)> rFunctionGetBoundaryNode, std::function< double(double)> rBoundaryConstraintFunction) |
template<int TDim> | |
void | SetupIntegrationType (NuTo::Structure &rS, int rIPT) |
void | SetupMultiProcessor (NuTo::Structure &rS) |
template<int TDim> | |
std::shared_ptr< NuTo::Section > | SetupSection (NuTo::Structure &rS, double rAreaThickness=1.0) |
void | SetupStructure (NuTo::Structure &rS, std::string rTestName) |
void | SetupTimeIntegration (NuTo::NewmarkDirect &rTI, const TimeControl &rTC, const std::string &rResultDir, bool rStaggered) |
void | SetupVisualize (NuTo::Structure &rS, bool rVisualizeShrinkageStrains=false) |
template<int TDim> | |
void | CheckMechanicsResultsStressBased (NuTo::Structure &rS) |
template<int TDim> | |
void | CheckMoistureTransportResults (NuTo::Structure &rS, std::vector< int >, std::vector< double >) |
template<int TDim> | |
void | ShrinkageTestStressBased (std::vector< int > rN, std::vector< double > rL, std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > rDofIPTMap, bool rStaggered=false) |
performs a simulation in the desired dimension More... | |
template<int TDim> | |
void | ShrinkageTestStrainBased (std::vector< int > rN, std::vector< double > rL, std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > rDofIPTMap, bool rStaggered=false) |
performs a simulation in the desired dimension More... | |
int | main () |
#define MAX_ITERATION 40 |
#define RES_TOLERANCE_MECHANICS 1e-8 |
#define RES_TOLERANCE_MOISTURE_TRANSPORT 1e-17 |
#define TEST_MACROSCOPICBULKMODULUS 30.e9 |
#define TEST_SOLIDPHASEBULKMODULUS 7.5e9 |
#define TEST_TEMPERATURE 293.15 |
#define TEST_YOUNGSMODULUS 30.e9 |
#define TESTNUM_PROC 1 |
typedef boost::ptr_map<int, NuTo::NodeBase> NodeMap |
void CheckMechanicsResultsStressBased | ( | NuTo::Structure & | rS | ) |
void CheckMoistureTransportResults | ( | NuTo::Structure & | rS, |
std::vector< int > | , | ||
std::vector< double > | |||
) |
int main | ( | ) |
void SetupConstrainedNodeBoundaryElements | ( | NuTo::Structure & | rS, |
std::function< bool(NuTo::NodeBase *)> | rFunctionGetBoundaryNode, | ||
std::function< double(double)> | rBoundaryConstraintFunction | ||
) |
void SetupIntegrationType | ( | NuTo::Structure & | rS, |
int | rIPT | ||
) |
|
inline |
std::shared_ptr<NuTo::Section> SetupSection | ( | NuTo::Structure & | rS, |
double | rAreaThickness = 1.0 |
||
) |
void SetupStructure | ( | NuTo::Structure & | rS, |
std::string | rTestName | ||
) |
|
inline |
|
inline |
void ShrinkageTestStrainBased | ( | std::vector< int > | rN, |
std::vector< double > | rL, | ||
std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > | rDofIPTMap, | ||
bool | rStaggered = false |
||
) |
performs a simulation in the desired dimension
rN | array with number of elements in each direction |
rL | array with length of elements in each direction |
void ShrinkageTestStressBased | ( | std::vector< int > | rN, |
std::vector< double > | rL, | ||
std::map< NuTo::Node::eDof, NuTo::Interpolation::eTypeOrder > | rDofIPTMap, | ||
bool | rStaggered = false |
||
) |
performs a simulation in the desired dimension
rN | array with number of elements in each direction |
rL | array with length of elements in each direction |