NeoPZ
|
Gerencia um conjunto de placas dispostas em forma multicamada. More...
#include <TPZMulticamadaOrtho.h>
Public Member Functions | |
TPZMulticamadaOrthotropic (REAL z, REAL dx, REAL dy, int64_t nelx, int64_t nely, REAL Correct=1.0) | |
Construtor. More... | |
~TPZMulticamadaOrthotropic () | |
Destrutor. More... | |
void | AddPlacaOrtho (TPZMaterial *material, REAL height) |
Adds shells. More... | |
void | GenerateMesh () |
Creates a computational mesh to all the shells. More... | |
void | Print (std::ostream &out=std::cout) |
REAL | Height () |
TPZVec< TPZPlacaOrthotropic > & | RPlacaOrtho () |
int | NPlacas () |
void | AnalyticTensor (TPZVec< REAL > &co, TPZFMatrix< REAL > &tensor) |
Compute a tension state corresponding to the difference between the target state and tension state loaded in the solution. More... | |
void | Tensor (TPZVec< REAL > &x, int placa, TPZFMatrix< REAL > &tensor) |
Tensor which needs to be applied at the given coordinate. More... | |
void | ComputeCenterForces () |
Computes the global efforts of the finite element solution. More... | |
void | ComputeSolution (std::ostream &out=std::cout, int print=0) |
void | ComputeSolution (TPZMaterial *mat, std::ofstream &out, int64_t numiter) |
TPZGeoMesh * | GeoMesh () |
TPZCompMesh * | CompMesh () |
void | SetCorrect (REAL Correct) |
REAL | CorrectFactor () |
void | PrintTensors (std::ostream &out) |
void | PrintTensors (std::ostream &out, TPZFMatrix< REAL > &tensorin, TPZFMatrix< REAL > &tensorout) |
void | PrintCenterForces (std::ostream &out) |
Set data methods | |
void | SetMX (REAL MX) |
void | SetNX (REAL NX) |
void | SetNY (REAL NY) |
void | SetMY (REAL MX) |
void | SetNXY (REAL NX) |
void | SetMXY (REAL MXY) |
void | SetQX (REAL QX) |
void | SetQY (REAL QY) |
Private Attributes | |
TPZGeoMesh * | fGeoMesh |
Geometric mesh with shells. More... | |
TPZCompMesh * | fCompMesh |
Computational mesh to calculations. More... | |
TPZStack< TPZPlacaOrthotropic > | fPlacaOrth |
Shells vector. More... | |
REAL | fDx |
Dimension of the shells (must to be constant for all shells) More... | |
REAL | fDy |
int64_t | fNelx |
Number of elementos at x and y axes : fNelx, fNely. More... | |
int64_t | fNely |
REAL | fZMin |
REAL | fZMax |
REAL | fMX [3] |
REAL | fMY [3] |
REAL | fMXY [3] |
REAL | fQX [3] |
REAL | fQY [3] |
REAL | fNX [3] |
REAL | fNY [3] |
REAL | fNXY [3] |
REAL | fdMXdX [3] |
REAL | fdMXdY [3] |
REAL | fdMYdX [3] |
REAL | fdMYdY [3] |
REAL | fdMXYdX [3] |
REAL | fdMXYdY [3] |
REAL | fdQXdX [3] |
REAL | fdQXdY [3] |
REAL | fdQYdX [3] |
REAL | fdQYdY [3] |
REAL | fdNXdX [3] |
REAL | fdNXdY [3] |
REAL | fdNYdX [3] |
REAL | fdNYdY [3] |
REAL | fdNXYdX [3] |
REAL | fdNXYdY [3] |
int | fLinearX |
int | fLinearY |
TPZManVector< REAL, 3 > | fDirx |
TPZManVector< REAL, 3 > | fDiry |
REAL | fCorrect |
Relaxation factor to correct resulting forces. More... | |
Gerencia um conjunto de placas dispostas em forma multicamada.
Definition at line 28 of file TPZMulticamadaOrtho.h.
TPZMulticamadaOrthotropic::TPZMulticamadaOrthotropic | ( | REAL | z, |
REAL | dx, | ||
REAL | dy, | ||
int64_t | nelx, | ||
int64_t | nely, | ||
REAL | Correct = 1.0 |
||
) |
Construtor.
Definition at line 23 of file TPZMulticamadaOrtho.cpp.
References fCompMesh, fCorrect, fDirx, fDiry, fdMXdX, fdMXdY, fdMXYdX, fdMXYdY, fdMYdX, fdMYdY, fdNXdX, fdNXdY, fdNXYdX, fdNXYdY, fdNYdX, fdNYdY, fdQXdX, fdQXdY, fdQYdX, fdQYdY, fDx, fDy, fGeoMesh, fLinearX, fLinearY, fMX, fMXY, fMY, fNelx, fNely, fNX, fNXY, fNY, fQX, fQY, fZMax, fZMin, TPZGeoMesh::NodeVec(), and TPZAdmChunkVector< T, EXP >::Resize().
|
inline |
Destrutor.
Definition at line 59 of file TPZMulticamadaOrtho.h.
References AddPlacaOrtho(), GenerateMesh(), Height(), and Print().
void TPZMulticamadaOrthotropic::AddPlacaOrtho | ( | TPZMaterial * | material, |
REAL | height | ||
) |
Adds shells.
Definition at line 95 of file TPZMulticamadaOrtho.cpp.
References bc, bc2, bc3, bc4, TPZGeoMesh::CreateGeoElement(), ECube, fCompMesh, fDx, fDy, fGeoMesh, fNelx, fNely, fPlacaOrth, fZMax, TPZMaterial::Id(), TPZCompMesh::InsertMaterialObject(), TPZVec< T >::NElements(), TPZChunkVector< T, EXP >::NElements(), TPZGeoMesh::NodeVec(), TPZStack< T, NumExtAlloc >::Push(), and TPZAdmChunkVector< T, EXP >::Resize().
Referenced by ~TPZMulticamadaOrthotropic().
void TPZMulticamadaOrthotropic::AnalyticTensor | ( | TPZVec< REAL > & | co, |
TPZFMatrix< REAL > & | tensor | ||
) |
Compute a tension state corresponding to the difference between the target state
and tension state loaded in the solution.
Definition at line 192 of file TPZMulticamadaOrtho.cpp.
References fdMXdX, fdMXYdX, fdMXYdY, fdMYdY, fdNXdX, fdNXYdX, fdNXYdY, fdNYdY, fdQXdX, fdQYdY, fLinearX, fLinearY, fMX, fMXY, fMY, fNX, fNXY, fNY, fQX, fQY, fZMax, fZMin, Height(), and TPZFMatrix< TVar >::Redim().
Referenced by RPlacaOrtho(), and Tensor().
|
inline |
Definition at line 146 of file TPZMulticamadaOrtho.h.
References fCompMesh.
void TPZMulticamadaOrthotropic::ComputeCenterForces | ( | ) |
Computes the global efforts of the finite element solution.
Definition at line 217 of file TPZMulticamadaOrtho.cpp.
References fCorrect, fDirx, fDiry, fdMXdX, fdMXdY, fdMXYdX, fdMXYdY, fdMYdX, fdMYdY, fdNXdX, fdNXdY, fdNXYdX, fdNXYdY, fdNYdX, fdNYdY, fdQXdX, fdQXdY, fdQYdX, fdQYdY, TPZVec< T >::Fill(), fLinearX, fLinearY, fMX, fMXY, fMY, fNX, fNXY, fNY, fPlacaOrth, fQX, fQY, fZMax, fZMin, and TPZVec< T >::NElements().
Referenced by ComputeSolution(), and RPlacaOrtho().
void TPZMulticamadaOrthotropic::ComputeSolution | ( | std::ostream & | out = std::cout , |
int | print = 0 |
||
) |
Definition at line 395 of file TPZMulticamadaOrtho.cpp.
References ELDLt, fCompMesh, TPZAnalysis::Print(), TPZAnalysis::Run(), TPZStepSolver< TVar >::SetDirect(), TPZAnalysis::SetSolver(), TPZAnalysis::SetStructuralMatrix(), TPZAnalysis::Solution(), and TPZFMatrix< TVar >::Zero().
Referenced by RPlacaOrtho().
void TPZMulticamadaOrthotropic::ComputeSolution | ( | TPZMaterial * | mat, |
std::ofstream & | out, | ||
int64_t | numiter | ||
) |
Definition at line 410 of file TPZMulticamadaOrtho.cpp.
References ComputeCenterForces(), DebugStop, TPZMaterial::Dimension(), TPZDXGraphMesh::DrawMesh(), TPZDXGraphMesh::DrawSolution(), ELDLt, fCompMesh, TPZMaterial::Id(), TPZAnalysis::LoadSolution(), TPZAnalysis::Mesh(), PrintCenterForces(), PrintTensors(), TPZAnalysis::Run(), TPZStepSolver< TVar >::SetDirect(), TPZDXGraphMesh::SetFileName(), TPZGraphMesh::SetResolution(), TPZAnalysis::SetSolver(), TPZAnalysis::SetStructuralMatrix(), TPZAnalysis::Solution(), and TPZFMatrix< TVar >::Zero().
|
inline |
Definition at line 150 of file TPZMulticamadaOrtho.h.
References fCorrect, PrintCenterForces(), and PrintTensors().
void TPZMulticamadaOrthotropic::GenerateMesh | ( | ) |
Creates a computational mesh to all the shells.
Definition at line 82 of file TPZMulticamadaOrtho.cpp.
References TPZCompMesh::AutoBuild(), TPZGeoMesh::BuildConnectivity(), fCompMesh, fGeoMesh, fPlacaOrth, TPZVec< T >::NElements(), and TPZCompMesh::SetDefaultOrder().
Referenced by ~TPZMulticamadaOrthotropic().
|
inline |
Definition at line 144 of file TPZMulticamadaOrtho.h.
References fGeoMesh.
REAL TPZMulticamadaOrthotropic::Height | ( | ) |
Definition at line 183 of file TPZMulticamadaOrtho.cpp.
Referenced by AnalyticTensor(), and ~TPZMulticamadaOrthotropic().
int TPZMulticamadaOrthotropic::NPlacas | ( | ) |
Definition at line 188 of file TPZMulticamadaOrtho.cpp.
References fPlacaOrth, and TPZVec< T >::NElements().
Referenced by RPlacaOrtho().
void TPZMulticamadaOrthotropic::Print | ( | std::ostream & | out = std::cout | ) |
Definition at line 172 of file TPZMulticamadaOrtho.cpp.
References fPlacaOrth, TPZVec< T >::NElements(), and TPZVec< T >::Print().
Referenced by ~TPZMulticamadaOrthotropic().
void TPZMulticamadaOrthotropic::PrintCenterForces | ( | std::ostream & | out | ) |
void TPZMulticamadaOrthotropic::PrintTensors | ( | std::ostream & | out | ) |
Definition at line 467 of file TPZMulticamadaOrtho.cpp.
References fPlacaOrth, and TPZVec< T >::NElements().
Referenced by ComputeSolution(), and CorrectFactor().
void TPZMulticamadaOrthotropic::PrintTensors | ( | std::ostream & | out, |
TPZFMatrix< REAL > & | tensorin, | ||
TPZFMatrix< REAL > & | tensorout | ||
) |
Definition at line 480 of file TPZMulticamadaOrtho.cpp.
References fPlacaOrth, and TPZVec< T >::NElements().
|
inline |
Definition at line 70 of file TPZMulticamadaOrtho.h.
References AnalyticTensor(), co, ComputeCenterForces(), ComputeSolution(), fPlacaOrth, NPlacas(), and Tensor().
|
inline |
Definition at line 148 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 93 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 118 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 108 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 98 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 113 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 103 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 123 of file TPZMulticamadaOrtho.h.
|
inline |
Definition at line 132 of file TPZMulticamadaOrtho.h.
void TPZMulticamadaOrthotropic::Tensor | ( | TPZVec< REAL > & | x, |
int | placa, | ||
TPZFMatrix< REAL > & | tensor | ||
) |
Tensor which needs to be applied at the given coordinate.
Definition at line 372 of file TPZMulticamadaOrtho.cpp.
References AnalyticTensor(), fDirx, fDiry, fLinearX, fLinearY, and fPlacaOrth.
Referenced by TPZBCTension::Contribute(), and RPlacaOrtho().
|
private |
Computational mesh to calculations.
Definition at line 33 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), CompMesh(), ComputeSolution(), GenerateMesh(), and TPZMulticamadaOrthotropic().
|
private |
Relaxation factor to correct resulting forces.
Definition at line 53 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), CorrectFactor(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 47 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), Tensor(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 47 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), Tensor(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 44 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Dimension of the shells (must to be constant for all shells)
Definition at line 38 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 38 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), and TPZMulticamadaOrthotropic().
|
private |
Geometric mesh with shells.
Definition at line 31 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), GenerateMesh(), GeoMesh(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 46 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), Tensor(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 46 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), Tensor(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Number of elementos at x and y axes : fNelx, fNely.
Definition at line 40 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 40 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Shells vector.
Definition at line 35 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), ComputeCenterForces(), GenerateMesh(), NPlacas(), Print(), PrintTensors(), RPlacaOrtho(), and Tensor().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 43 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), PrintCenterForces(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 41 of file TPZMulticamadaOrtho.h.
Referenced by AddPlacaOrtho(), AnalyticTensor(), ComputeCenterForces(), Height(), and TPZMulticamadaOrthotropic().
|
private |
Definition at line 41 of file TPZMulticamadaOrtho.h.
Referenced by AnalyticTensor(), ComputeCenterForces(), Height(), and TPZMulticamadaOrthotropic().