FEDEM Solver  R8.0
Source code of the dynamics solver
Classes | Functions
testModels.C File Reference

Hard-coded basic FE models for testing of FE part reduction. More...

#include <array>
#include "FFaLib/FFaAlgebra/FFaMath.H"
#include "FFaLib/FFaAlgebra/FFaMat33.H"
#include "FFaLib/FFaCmdLineArg/FFaCmdLineArg.H"
#include "FFlLib/FFlLinkHandler.H"
#include "FFlLib/FFlFEParts/FFlNode.H"
#include "FFlLib/FFlFEParts/FFlBEAM2.H"
#include "FFlLib/FFlFEParts/FFlTRI3.H"
#include "FFlLib/FFlFEParts/FFlTRI6.H"
#include "FFlLib/FFlFEParts/FFlQUAD4.H"
#include "FFlLib/FFlFEParts/FFlQUAD8.H"
#include "FFlLib/FFlFEParts/FFlRGD.H"
#include "FFlLib/FFlFEParts/FFlWAVGM.H"
#include "FFlLib/FFlFEParts/FFlBUSH.H"
#include "FFlLib/FFlFEParts/FFlCMASS.H"
#include "FFlLib/FFlFEParts/FFlPBEAMSECTION.H"
#include "FFlLib/FFlFEParts/FFlPBEAMPIN.H"
#include "FFlLib/FFlFEParts/FFlPTHICK.H"
#include "FFlLib/FFlFEParts/FFlPMAT.H"
#include "FFlLib/FFlFEParts/FFlCLOAD.H"
Include dependency graph for testModels.C:

Classes

class  Cantilever
 Creates an FE model of a cantilever beam with default properties. More...
 
class  PinnedBeam
 Creates an FE model of a pinned beam with default properties. More...
 
class  CylinderShell
 Creates an FE model of a cantilever shell cylinder. More...
 
class  CantileverShell
 Creates an FE model of a cantilever shell. More...
 
class  QuartCylShell
 Creates an FE model of one quarter of a shell cylinder. More...
 
class  PDICylShell
 Creates an FE model of the Pinched diaphragmed cylinder test case. More...
 
class  OPHSphShell
 Creates an FE model of the Open Pinched Hemisphere test case. More...
 
class  ScoLoRoof
 Creates an FE model of the Scordelis-Lo Roof test case. More...
 

Functions

static FFlElementBase * newQuadElement (int e, int i, int j, int n1, bool parab)
 Static helper generating a quadrilateral element in a regular mesh. More...
 
static FFlElementBase * newTriaElement (int e, int i, int j, int n1, bool parab)
 Static helper generating a triangular element in a regular mesh. More...
 
static int BC (const std::array< int, 6 > &flags)
 Static helper calculating a status code from boundary condition flags. More...
 
void ffl_setLink (FFlLinkHandler *link)
 
int createFEModel (int iPart, int nel, int nel2, double L, double b, double t, bool twoD, bool solve)
 Creates an FE model as a FFlLinkHandler object. More...
 

Detailed Description

Hard-coded basic FE models for testing of FE part reduction.

This file contains a set of classes, each one representing a simple FE model which is suitable for testing of the FE part reduction procedures without the need of reading an input file. The FE models are created by the respective constructors of the FFlLinkHandler sub-classes.

Author
Knut Morten Okstad
Date
21 Apr 2020

Function Documentation

◆ BC()

static int BC ( const std::array< int, 6 > &  flags)
static

Static helper calculating a status code from boundary condition flags.

◆ createFEModel()

int createFEModel ( int  iPart,
int  nel,
int  nel2,
double  L,
double  b,
double  t,
bool  twoD,
bool  solve 
)

Creates an FE model as a FFlLinkHandler object.

◆ ffl_setLink()

void ffl_setLink ( FFlLinkHandler *  link)

◆ newQuadElement()

static FFlElementBase* newQuadElement ( int  e,
int  i,
int  j,
int  n1,
bool  parab 
)
static

Static helper generating a quadrilateral element in a regular mesh.

◆ newTriaElement()

static FFlElementBase* newTriaElement ( int  e,
int  i,
int  j,
int  n1,
bool  parab 
)
static

Static helper generating a triangular element in a regular mesh.