![]() |
NuTo
Numerics Tool
|
#include <mpi.h>#include <boost/mpi.hpp>#include <boost/filesystem.hpp>#include <chrono>#include "nuto/mechanics/constitutive/laws/PhaseField.h"#include "nuto/mechanics/sections/SectionPlane.h"#include "nuto/mechanics/groups/Group.h"#include "nuto/mechanics/feti/FetiDirichletPreconditioner.h"#include "nuto/mechanics/feti/StructureFeti.h"#include "nuto/mechanics/feti/NewmarkFeti.h"#include "nuto/visualize/VisualizeEnum.h"Typedefs | |
| using | EigenSolver = Eigen::SparseLU< Eigen::SparseMatrix< double >, Eigen::COLAMDOrdering< int >> |
| using | FetiIterativeSolver = NewmarkFeti< EigenSolver >::eIterativeSolver |
| using | FetiScaling = NewmarkFeti< EigenSolver >::eFetiScaling |
Functions | |
| const Vector2d | coordinateAtBottomLeft (0., 0.) |
| void | AssignMaterial (NuTo::StructureFeti &structure) |
| int | main (int argc, char *argv[]) |
Variables | |
| constexpr int | dimension = 2 |
| constexpr double | thickness = 1.0 |
| constexpr double | lengthY = 1.0 |
| constexpr double | tol = 1e-6 |
| constexpr double | toleranceDisp = 1e-8 |
| constexpr double | toleranceCrack = 1e-8 |
| constexpr double | youngsModulus = 2.1e5 |
| constexpr double | poissonsRatio = 0.3 |
| constexpr double | lengthScaleParameter = 0.04 |
| constexpr double | fractureEnergy = 2.7 |
| constexpr double | artificialViscosity = 0.01 |
| constexpr ePhaseFieldEnergyDecomposition | energyDecomposition = ePhaseFieldEnergyDecomposition::ISOTROPIC |
| constexpr bool | automaticTimeStepping = true |
| constexpr double | timeStep = 1.e-3 |
| constexpr double | minTimeStep = 1.e-8 |
| constexpr double | maxTimeStep = 1.e-2 |
| constexpr double | timeStepPostProcessing = 1.e-5 |
| constexpr double | simulationTime = 10.0e-3 * 0.2 |
| constexpr double | loadFactor = simulationTime |
| using EigenSolver = Eigen::SparseLU<Eigen::SparseMatrix<double>, Eigen::COLAMDOrdering<int>> |
| using FetiIterativeSolver = NewmarkFeti<EigenSolver>::eIterativeSolver |
| using FetiScaling = NewmarkFeti<EigenSolver>::eFetiScaling |
| void AssignMaterial | ( | NuTo::StructureFeti & | structure | ) |
| const Vector2d coordinateAtBottomLeft | ( | 0. | , |
| 0. | |||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| constexpr double artificialViscosity = 0.01 |
| constexpr bool automaticTimeStepping = true |
| constexpr int dimension = 2 |
| constexpr ePhaseFieldEnergyDecomposition energyDecomposition = ePhaseFieldEnergyDecomposition::ISOTROPIC |
| constexpr double fractureEnergy = 2.7 |
| constexpr double lengthScaleParameter = 0.04 |
| constexpr double lengthY = 1.0 |
| constexpr double loadFactor = simulationTime |
| constexpr double maxTimeStep = 1.e-2 |
| constexpr double minTimeStep = 1.e-8 |
| constexpr double poissonsRatio = 0.3 |
| constexpr double simulationTime = 10.0e-3 * 0.2 |
| constexpr double thickness = 1.0 |
| constexpr double timeStep = 1.e-3 |
| constexpr double timeStepPostProcessing = 1.e-5 |
| constexpr double tol = 1e-6 |
| constexpr double toleranceCrack = 1e-8 |
| constexpr double toleranceDisp = 1e-8 |
| constexpr double youngsModulus = 2.1e5 |
1.8.11