![]() |
v0.13.2 |
elastic example More...
#include <MoFEM.hpp>
#include <ElasticSpring.hpp>
#include <NaturalDomainBC.hpp>
#include <NaturalBoundaryBC.hpp>
Go to the source code of this file.
Classes | |
struct | ElementsAndOps< DIM > |
struct | ElementsAndOps< 2 > |
struct | ElementsAndOps< 3 > |
struct | DomainBCs |
struct | BoundaryBCs |
struct | Example |
[Example] More... | |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
constexpr int | SPACE_DIM |
[Define dimension] More... | |
constexpr AssemblyType | A = AssemblyType::PETSC |
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)) |
static char | help [] = "...\n\n" |
[Check] More... | |
elastic example
Definition in file elastic.cpp.
Definition at line 37 of file elastic.cpp.
Definition at line 38 of file elastic.cpp.
using BoundaryLhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::BiLinearForm<I> |
Definition at line 53 of file elastic.cpp.
using BoundaryRhsBCs = NaturalBC<BoundaryEleOp>::Assembly<A>::LinearForm<I> |
Definition at line 51 of file elastic.cpp.
using DomainEle = ElementsAndOps<SPACE_DIM>::DomainEle |
Definition at line 35 of file elastic.cpp.
Definition at line 36 of file elastic.cpp.
using DomainRhsBCs = NaturalBC<DomainEleOp>::Assembly<A>::LinearForm<I> |
Definition at line 49 of file elastic.cpp.
using EntData = EntitiesFieldData::EntData |
Definition at line 34 of file elastic.cpp.
using OpBoundaryLhsBCs = BoundaryLhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
Definition at line 54 of file elastic.cpp.
using OpBoundaryRhsBCs = BoundaryRhsBCs::OpFlux<BoundaryBCs, 1, SPACE_DIM> |
Definition at line 52 of file elastic.cpp.
using OpDomainRhsBCs = DomainRhsBCs::OpFlux<DomainBCs, 1, SPACE_DIM> |
Definition at line 50 of file elastic.cpp.
using OpInternalForce = FormsIntegrators<DomainEleOp>::Assembly<A>::LinearForm< I>::OpGradTimesSymTensor<1, SPACE_DIM, SPACE_DIM> |
Definition at line 43 of file elastic.cpp.
using OpK = FormsIntegrators<DomainEleOp>::Assembly<A>::BiLinearForm< I>::OpGradSymTensorGrad<1, SPACE_DIM, SPACE_DIM, 0> |
Definition at line 41 of file elastic.cpp.
using PostProcEle = PostProcBrokenMeshInMoab<DomainEle> |
Definition at line 39 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 522 of file elastic.cpp.
|
constexpr |
Definition at line 30 of file elastic.cpp.
|
constexpr |
Definition at line 62 of file elastic.cpp.
|
static |
[Check]
Definition at line 520 of file elastic.cpp.
|
constexpr |
Definition at line 31 of file elastic.cpp.
|
constexpr |
Definition at line 61 of file elastic.cpp.
|
constexpr |
Definition at line 63 of file elastic.cpp.
|
constexpr |
[Define dimension]
Definition at line 28 of file elastic.cpp.
|
constexpr |
Definition at line 60 of file elastic.cpp.