TexGen
|
Class used to generate Abaqus input file for periodic boundary conditions for a textile with sheared domain. Note that equations are only valid for xy shear. More...
#include <ShearedPeriodicBoundaries.h>
Public Member Functions | |
CShearedPeriodicBoundaries (void) | |
~CShearedPeriodicBoundaries (void) | |
void | SetDomainSize (const CMesh &Mesh) |
Set up the domain size parameters used in the equations. More... | |
void | CreatePeriodicBoundaries (ostream &Output, int iDummyNodeNum, CTextile &Textile, int iBoundarConditions, bool bMatrixOnly) |
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 | |
void | OutputDummyNodeSets (ostream &Output, int iDummyNodeNum) |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. More... | |
void | OutputStep (ostream &Output, int iBoundaryConditions) |
Output a step including field outputs. More... | |
void | OutputSets (ostream &Output, vector< int > &Set, string SetName) |
Output an unsorted node set. 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 | 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 |
Private Member Functions | |
void | OutputEquations (ostream &Output, int iBoundaryConditions) |
Output equations for sheared domain boundary conditions. More... | |
Private Attributes | |
double | m_Domyx |
double | m_Domyy |
Class used to generate Abaqus input file for periodic boundary conditions for a textile with sheared domain. Note that equations are only valid for xy shear.
Definition at line 27 of file ShearedPeriodicBoundaries.h.
CShearedPeriodicBoundaries::CShearedPeriodicBoundaries | ( | void | ) |
Definition at line 28 of file ShearedPeriodicBoundaries.cpp.
CShearedPeriodicBoundaries::~CShearedPeriodicBoundaries | ( | void | ) |
Definition at line 32 of file ShearedPeriodicBoundaries.cpp.
|
inherited |
Definition at line 76 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::OutputDummyNodeSets(), TexGen::CPeriodicBoundaries::OutputEdgeSets(), TexGen::CPeriodicBoundaries::OutputEquations(), TexGen::CPeriodicBoundaries::OutputFaceSets(), TexGen::CPeriodicBoundaries::OutputStep(), and TexGen::CPeriodicBoundaries::OutputVertexSets().
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveVolumeMeshToABAQUS().
|
protectedinherited |
Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5.
Definition at line 99 of file PeriodicBoundaries.cpp.
|
inherited |
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 TexGen::CPeriodicBoundaries::OutputDummyNodeSets().
Referenced by TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries(), and TexGen::CPeriodicBoundaries::OutputDummyNodeSets().
|
protectedinherited |
Output 12 edge node sets.
Definition at line 136 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_Edges, TexGen::CPeriodicBoundaries::m_NumEdges, TexGen::CPeriodicBoundaries::OutputSets(), and TexGen::stringify().
Referenced by TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries().
|
privatevirtual |
Output equations for sheared domain boundary conditions.
Reimplemented from TexGen::CPeriodicBoundaries.
Definition at line 53 of file ShearedPeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_DomSize, m_Domyx, m_Domyy, TexGen::XYZ::x, and TexGen::XYZ::z.
|
protectedvirtualinherited |
Output 6 face node sets.
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 126 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_FaceA, TexGen::CPeriodicBoundaries::m_FaceB, TexGen::CPeriodicBoundaries::m_FaceC, and TexGen::CPeriodicBoundaries::OutputSets().
Referenced by TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries(), and TexGen::CStaggeredPeriodicBoundaries::OutputFaceSets().
|
protectedinherited |
Output 6 load cases.
Definition at line 548 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_DomSize, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.
Referenced by TexGen::CPeriodicBoundaries::OutputStep().
|
protectedinherited |
Output an unsorted node set.
Definition at line 92 of file PeriodicBoundaries.cpp.
References TexGen::WriteValues().
Referenced by TexGen::CPeriodicBoundaries::OutputEdgeSets(), TexGen::CPeriodicBoundaries::OutputFaceSets(), TexGen::CStaggeredPeriodicBoundaries::OutputFaceSets(), and TexGen::CPeriodicBoundaries::OutputVertexSets().
|
protectedinherited |
Output a step including field outputs.
Definition at line 412 of file PeriodicBoundaries.cpp.
References TexGen::BENDING_BC, TexGen::CPeriodicBoundaries::m_DomSize, TexGen::MATERIAL_CONTINUUM, TexGen::CPeriodicBoundaries::OutputLoadCase(), TexGen::ROTATED_BC, TexGen::SHEARED_BC, TexGen::SINGLE_LAYER_RVE, TexGen::STAGGERED_BC, TexGen::XYZ::x, and TexGen::XYZ::y.
|
inherited |
Output a step including field outputs.
Definition at line 540 of file PeriodicBoundaries.cpp.
References TexGen::AddExtensionIfMissing(), and TexGen::CPeriodicBoundaries::OutputStep().
Referenced by TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries(), and TexGen::CPeriodicBoundaries::OutputStep().
|
protectedinherited |
Output 8 corner node sets.
Definition at line 144 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_NumVertices, TexGen::CPeriodicBoundaries::m_Vertices, TexGen::CPeriodicBoundaries::OutputSets(), and TexGen::stringify().
Referenced by TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries().
|
virtual |
Set up the domain size parameters used in the equations.
Reimplemented from TexGen::CPeriodicBoundaries.
Definition at line 36 of file ShearedPeriodicBoundaries.cpp.
References TexGen::GetLength(), TexGen::CMesh::GetNode(), TexGen::CPeriodicBoundaries::m_DomSize, m_Domyx, m_Domyy, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.
|
inherited |
Definition at line 71 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_Edges.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
inherited |
Definition at line 49 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_FaceA.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
inherited |
Definition at line 55 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_FaceB.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
inherited |
Definition at line 61 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_FaceC.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
inlinevirtualinherited |
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 41 of file PeriodicBoundaries.h.
Referenced by TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries().
|
inlinevirtualinherited |
Reimplemented in TexGen::CStaggeredPeriodicBoundaries.
Definition at line 45 of file PeriodicBoundaries.h.
Referenced by TexGen::CStaggeredVoxelMesh::SetOffset().
|
inherited |
Definition at line 66 of file PeriodicBoundaries.cpp.
References TexGen::CPeriodicBoundaries::m_Vertices.
Referenced by TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), and TexGen::CMesher::SaveNodeSets().
|
protectedinherited |
Definition at line 68 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputEquations(), TexGen::CBendingPeriodicBoundaries::OutputEquations(), OutputEquations(), TexGen::CStaggeredPeriodicBoundaries::OutputEquations(), TexGen::CPeriodicBoundaries::OutputLoadCase(), TexGen::CPeriodicBoundaries::OutputStep(), TexGen::CPeriodicBoundaries::SetDomainSize(), TexGen::CRotatedPeriodicBoundaries::SetDomainSize(), and SetDomainSize().
|
private |
Definition at line 39 of file ShearedPeriodicBoundaries.h.
Referenced by OutputEquations(), and SetDomainSize().
|
private |
Definition at line 40 of file ShearedPeriodicBoundaries.h.
Referenced by OutputEquations(), and SetDomainSize().
|
protectedinherited |
Array of vectors containing nodes for edge sets.
Definition at line 61 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputEdgeSets(), and TexGen::CPeriodicBoundaries::SetEdges().
|
protectedinherited |
Pairs of node sets for opposite faces.
Definition at line 56 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputFaceSets(), and TexGen::CPeriodicBoundaries::SetFaceA().
|
protectedinherited |
Definition at line 57 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputFaceSets(), and TexGen::CPeriodicBoundaries::SetFaceB().
|
protectedinherited |
Definition at line 58 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputFaceSets(), and TexGen::CPeriodicBoundaries::SetFaceC().
|
protectedinherited |
Definition at line 62 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputEdgeSets().
|
protectedinherited |
Definition at line 66 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputVertexSets().
|
protectedinherited |
Array of corner nodes.
Definition at line 65 of file PeriodicBoundaries.h.
Referenced by TexGen::CPeriodicBoundaries::OutputVertexSets(), and TexGen::CPeriodicBoundaries::SetVertex().