![]() |
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< 2 > |
struct | PostProcEleByDim< 3 > |
struct | Example |
[Example] More... | |
struct | SetUpSchur |
[Push operators to pipeline] More... | |
struct | SetUpSchurImpl |
Typedefs | |
using | DomainEle = PipelineManager::ElementsAndOpsByDim<SPACE_DIM>::DomainEle |
using | BoundaryEle |
using | OpK |
[Define entities] | |
using | OpInternalForce |
using | DomainRhsBCs = NaturalBC<DomainEleOp>::Assembly<A>::LinearForm<I> |
using | OpDomainRhsBCs = DomainRhsBCs::OpFlux<DomainBCs, 1, SPACE_DIM> |
using | BoundaryRhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::LinearForm<I> |
using | OpBoundaryRhsBCs = BoundaryRhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
using | BoundaryLhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::BiLinearForm<I> |
using | OpBoundaryLhsBCs = BoundaryLhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
using | PostProcEleDomain = PostProcEleByDim<SPACE_DIM>::PostProcEleDomain |
using | SideEle = PostProcEleByDim<SPACE_DIM>::SideEle |
using | PostProcEleBdy = PostProcEleByDim<SPACE_DIM>::PostProcEleBdy |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
constexpr int | BASE_DIM = 1 |
constexpr int | SPACE_DIM |
[Define dimension] | |
constexpr AssemblyType | A |
[Define dimension] | |
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] | |
elastic example
Definition in file elastic.cpp.
using BoundaryEle |
Definition at line 31 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.
using DomainRhsBCs = NaturalBC<DomainEleOp>::Assembly<A>::LinearForm<I> |
Definition at line 48 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 |
[OpK] [OpInternalForce]
Definition at line 42 of file elastic.cpp.
using OpK |
[Define entities]
[OpK]
Definition at line 38 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 881 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 879 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 |
[Define dimension]
Definition at line 18 of file elastic.cpp.
|
constexpr |
Definition at line 79 of file elastic.cpp.