TexGen
|
Class used to generate Abaqus output for periodic boundary conditions. More...
#include <PeriodicBoundaries.h>
Public Member Functions | |
CPeriodicBoundaries (int NumEdges=12, int NumVertices=8) | |
~CPeriodicBoundaries (void) | |
void | CreatePeriodicBoundaries (ostream &Output, int iDummyNodeNum, CTextile &Textile, int iBoundarConditions, bool bMatrixOnly) |
virtual void | SetDomainSize (const CMesh &Mesh) |
void | SetFaceA (vector< int > &A1, vector< int > &A2) |
void | SetFaceB (vector< int > &B1, vector< int > &B2) |
void | SetFaceC (vector< int > &C1, vector< int > &C2) |
virtual void | SetFaceD (vector< int > &D1, vector< int > &D2) |
void | SetEdges (vector< int > &Edge) |
void | SetVertex (int Vertex) |
virtual void | SetOffset (double Offset) |
void | OutputDummyNodeSets (string Filename, int iDummyNodeNum) |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. More... | |
void | OutputStep (string Filename, int iBoundaryConditions) |
Output a step including field outputs. More... | |
Protected Member Functions | |
virtual void | OutputEquations (ostream &Output, int iBoundarConditions) |
Output equations for boundary conditions. More... | |
void | OutputSets (ostream &Output, vector< int > &Set, string SetName) |
Output an unsorted node set. More... | |
void | OutputDummyNodeSets (ostream &Output, int iDummyNodeNum) |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. More... | |
virtual void | OutputFaceSets (ostream &Output) |
Output 6 face node sets. More... | |
void | OutputEdgeSets (ostream &Output) |
Output 12 edge node sets. More... | |
void | OutputVertexSets (ostream &Output) |
Output 8 corner node sets. More... | |
void | OutputStep (ostream &Output, int iBoundaryConditions) |
Output a step including field outputs. More... | |
void | OutputLoadCase (ostream &Output, int iCase) |
Output 6 load cases. More... | |
Protected Attributes | |
pair< vector< int >, vector< int > > | m_FaceA |
Pairs of node sets for opposite faces. More... | |
pair< vector< int >, vector< int > > | m_FaceB |
pair< vector< int >, vector< int > > | m_FaceC |
vector< vector< int > > | m_Edges |
Array of vectors containing nodes for edge sets. More... | |
int | m_NumEdges |
vector< int > | m_Vertices |
Array of corner nodes. More... | |
int | m_NumVertices |
XYZ | m_DomSize |
Class used to generate Abaqus output for periodic boundary conditions.
Definition at line 29 of file PeriodicBoundaries.h.
CPeriodicBoundaries::CPeriodicBoundaries | ( | int | NumEdges = 12 , |
int | NumVertices = 8 |
||
) |
Definition at line 32 of file PeriodicBoundaries.cpp.
CPeriodicBoundaries::~CPeriodicBoundaries | ( | void | ) |
Definition at line 38 of file PeriodicBoundaries.cpp.
void CPeriodicBoundaries::CreatePeriodicBoundaries | ( | ostream & | Output, |
int | iDummyNodeNum, | ||
CTextile & | Textile, | ||
int | iBoundarConditions, | ||
bool | bMatrixOnly | ||
) |
Definition at line 76 of file PeriodicBoundaries.cpp.
References OutputDummyNodeSets(), OutputEdgeSets(), OutputEquations(), OutputFaceSets(), OutputStep(), and OutputVertexSets().
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveVolumeMeshToABAQUS().
|
protected |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5.
Definition at line 99 of file PeriodicBoundaries.cpp.
void CPeriodicBoundaries::OutputDummyNodeSets | ( | string | Filename, |
int | iDummyNodeNum | ||
) |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5.
Definition at line 118 of file PeriodicBoundaries.cpp.
References TexGen::AddExtensionIfMissing(), and OutputDummyNodeSets().
Referenced by CreatePeriodicBoundaries(), and OutputDummyNodeSets().
|
protected |
Output 12 edge node sets.
Definition at line 136 of file PeriodicBoundaries.cpp.
References m_Edges, m_NumEdges, OutputSets(), and TexGen::stringify().
Referenced by CreatePeriodicBoundaries().
|
protectedvirtual |
Output equations for boundary conditions.
Reimplemented in TexGen::CBendingPeriodicBoundaries, TexGen::CRotatedPeriodicBoundaries, TexGen::CShearedPeriodicBoundaries, and TexGen::CStaggeredPeriodicBoundaries.
Definition at line 155 of file PeriodicBoundaries.cpp.
References m_DomSize, TexGen::MATERIAL_CONTINUUM, TexGen::SINGLE_LAYER_RVE, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.
Referenced by CreatePeriodicBoundaries().
|
protectedvirtual |
Output 6 face node sets.
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 126 of file PeriodicBoundaries.cpp.
References m_FaceA, m_FaceB, m_FaceC, and OutputSets().
Referenced by CreatePeriodicBoundaries(), and TexGen::CStaggeredPeriodicBoundaries::OutputFaceSets().
|
protected |
Output 6 load cases.
Definition at line 548 of file PeriodicBoundaries.cpp.
References m_DomSize, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.
Referenced by OutputStep().
|
protected |
Output an unsorted node set.
Definition at line 92 of file PeriodicBoundaries.cpp.
References TexGen::WriteValues().
Referenced by OutputEdgeSets(), OutputFaceSets(), TexGen::CStaggeredPeriodicBoundaries::OutputFaceSets(), and OutputVertexSets().
|
protected |
Output a step including field outputs.
Definition at line 412 of file PeriodicBoundaries.cpp.
References TexGen::BENDING_BC, m_DomSize, TexGen::MATERIAL_CONTINUUM, OutputLoadCase(), TexGen::ROTATED_BC, TexGen::SHEARED_BC, TexGen::SINGLE_LAYER_RVE, TexGen::STAGGERED_BC, TexGen::XYZ::x, and TexGen::XYZ::y.
void CPeriodicBoundaries::OutputStep | ( | string | Filename, |
int | iBoundaryConditions | ||
) |
Output a step including field outputs.
Definition at line 540 of file PeriodicBoundaries.cpp.
References TexGen::AddExtensionIfMissing(), and OutputStep().
Referenced by CreatePeriodicBoundaries(), and OutputStep().
|
protected |
Output 8 corner node sets.
Definition at line 144 of file PeriodicBoundaries.cpp.
References m_NumVertices, m_Vertices, OutputSets(), and TexGen::stringify().
Referenced by CreatePeriodicBoundaries().
|
virtual |
Reimplemented in TexGen::CRotatedPeriodicBoundaries, and TexGen::CShearedPeriodicBoundaries.
Definition at line 42 of file PeriodicBoundaries.cpp.
References TexGen::CMesh::GetAABB(), and m_DomSize.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveVolumeMeshToABAQUS().
void CPeriodicBoundaries::SetEdges | ( | vector< int > & | Edge | ) |
Definition at line 71 of file PeriodicBoundaries.cpp.
References m_Edges.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
void CPeriodicBoundaries::SetFaceA | ( | vector< int > & | A1, |
vector< int > & | A2 | ||
) |
Definition at line 49 of file PeriodicBoundaries.cpp.
References m_FaceA.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
void CPeriodicBoundaries::SetFaceB | ( | vector< int > & | B1, |
vector< int > & | B2 | ||
) |
Definition at line 55 of file PeriodicBoundaries.cpp.
References m_FaceB.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
void CPeriodicBoundaries::SetFaceC | ( | vector< int > & | C1, |
vector< int > & | C2 | ||
) |
Definition at line 61 of file PeriodicBoundaries.cpp.
References m_FaceC.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
inlinevirtual |
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 41 of file PeriodicBoundaries.h.
Referenced by TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries().
|
inlinevirtual |
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 45 of file PeriodicBoundaries.h.
Referenced by TexGen::CStaggeredVoxelMesh::SetOffset().
void CPeriodicBoundaries::SetVertex | ( | int | Vertex | ) |
Definition at line 66 of file PeriodicBoundaries.cpp.
References m_Vertices.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
protected |
Definition at line 68 of file PeriodicBoundaries.h.
Referenced by OutputEquations(), TexGen::CBendingPeriodicBoundaries::OutputEquations(), TexGen::CShearedPeriodicBoundaries::OutputEquations(), TexGen::CStaggeredPeriodicBoundaries::OutputEquations(), OutputLoadCase(), OutputStep(), SetDomainSize(), TexGen::CRotatedPeriodicBoundaries::SetDomainSize(), and TexGen::CShearedPeriodicBoundaries::SetDomainSize().
|
protected |
Array of vectors containing nodes for edge sets.
Definition at line 61 of file PeriodicBoundaries.h.
Referenced by OutputEdgeSets(), and SetEdges().
|
protected |
Pairs of node sets for opposite faces.
Definition at line 56 of file PeriodicBoundaries.h.
Referenced by OutputFaceSets(), and SetFaceA().
|
protected |
Definition at line 57 of file PeriodicBoundaries.h.
Referenced by OutputFaceSets(), and SetFaceB().
|
protected |
Definition at line 58 of file PeriodicBoundaries.h.
Referenced by OutputFaceSets(), and SetFaceC().
|
protected |
Definition at line 62 of file PeriodicBoundaries.h.
Referenced by OutputEdgeSets().
|
protected |
Definition at line 66 of file PeriodicBoundaries.h.
Referenced by OutputVertexSets().
|
protected |
Array of corner nodes.
Definition at line 65 of file PeriodicBoundaries.h.
Referenced by OutputVertexSets(), and SetVertex().