v0.14.0 |
elastic example More...
#include <MoFEM.hpp>
#include <ElasticSpring.hpp>
#include <FluidLevel.hpp>
#include <CalculateTraction.hpp>
#include <NaturalDomainBC.hpp>
#include <NaturalBoundaryBC.hpp>
Go to the source code of this file.
Classes | |
struct | DomainBCs |
[OpInternalForce] More... | |
struct | BoundaryBCs |
struct | PostProcEleByDim< DIM > |
struct | PostProcEleByDim< 2 > |
struct | PostProcEleByDim< 3 > |
struct | Example |
[Example] More... | |
struct | SetUpSchur |
[Push operators to pipeline] More... | |
struct | SetUpSchurImpl |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
constexpr int | BASE_DIM = 1 |
constexpr int | SPACE_DIM |
[Define dimension] More... | |
constexpr AssemblyType | A |
[Define dimension] More... | |
constexpr IntegrationType | I |
constexpr double | young_modulus = 1 |
constexpr double | poisson_ratio = 0.3 |
constexpr double | bulk_modulus_K = young_modulus / (3 * (1 - 2 * poisson_ratio)) |
constexpr double | shear_modulus_G = young_modulus / (2 * (1 + poisson_ratio)) |
PetscBool | is_plane_strain = PETSC_FALSE |
static char | help [] = "...\n\n" |
[Check] More... | |
elastic example
Definition in file elastic.cpp.
Definition at line 32 of file elastic.cpp.
Definition at line 34 of file elastic.cpp.
using BoundaryLhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::BiLinearForm<I> |
Definition at line 52 of file elastic.cpp.
using BoundaryRhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::LinearForm<I> |
Definition at line 50 of file elastic.cpp.
Definition at line 30 of file elastic.cpp.
Definition at line 33 of file elastic.cpp.
using DomainRhsBCs = NaturalBC<DomainEleOp>::Assembly<A>::LinearForm<I> |
Definition at line 48 of file elastic.cpp.
using EntData = EntitiesFieldData::EntData |
[Define entities]
Definition at line 29 of file elastic.cpp.
using OpBoundaryLhsBCs = BoundaryLhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
Definition at line 53 of file elastic.cpp.
using OpBoundaryRhsBCs = BoundaryRhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
Definition at line 51 of file elastic.cpp.
using OpDomainRhsBCs = DomainRhsBCs::OpFlux<DomainBCs, 1, SPACE_DIM> |
Definition at line 49 of file elastic.cpp.
using OpInternalForce = FormsIntegrators<DomainEleOp>::Assembly<A>::LinearForm< I>::OpGradTimesSymTensor<BASE_DIM, SPACE_DIM, SPACE_DIM> |
[OpK] [OpInternalForce]
Definition at line 43 of file elastic.cpp.
using OpK = FormsIntegrators<DomainEleOp>::Assembly<A>::BiLinearForm< I>::OpGradSymTensorGrad<BASE_DIM, SPACE_DIM, SPACE_DIM, 0> |
[Define entities]
[OpK]
Definition at line 39 of file elastic.cpp.
Definition at line 71 of file elastic.cpp.
Definition at line 69 of file elastic.cpp.
using SideEle = PostProcEleByDim<SPACE_DIM>::SideEle |
Definition at line 70 of file elastic.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
[Register MoFEM discrete manager in PETSc]
[Register MoFEM discrete manager in PETSc
[Create MoAB]
< mesh database
< mesh database interface
[Create MoAB]
[Create MoFEM]
< finite element database
< finite element database interface
[Create MoFEM]
[Example]
[Example]
Definition at line 840 of file elastic.cpp.
|
constexpr |
[Define dimension]
Definition at line 21 of file elastic.cpp.
|
constexpr |
Definition at line 15 of file elastic.cpp.
|
constexpr |
Definition at line 81 of file elastic.cpp.
|
static |
[Check]
Definition at line 838 of file elastic.cpp.
|
constexpr |
Definition at line 25 of file elastic.cpp.
PetscBool is_plane_strain = PETSC_FALSE |
Definition at line 84 of file elastic.cpp.
|
constexpr |
Definition at line 80 of file elastic.cpp.
|
constexpr |
Definition at line 82 of file elastic.cpp.
|
constexpr |
|
constexpr |
Definition at line 79 of file elastic.cpp.