TexGen
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
TexGen::CSimulationAbaqus Class Reference

Class used to generate an abaqus input deck for textile mechanics simulations. More...

#include <SimulationAbaqus.h>

Inheritance diagram for TexGen::CSimulationAbaqus:
Inheritance graph
[legend]

Classes

class  CKeywordInteraction
 Represents a surface interaction as a string of ABAQUS keywords. More...
 
class  CSurfaceInteraction
 Abstract base class to represent a surface interaction. More...
 
struct  ELEMENT_FACE
 
struct  INTERSECTION_DATA
 
struct  SECTION_VF_DATA
 

Public Member Functions

 CSimulationAbaqus (void)
 
virtual ~CSimulationAbaqus (void)
 
bool CreateAbaqusInputFile (CTextile &Textile, string Filename, bool bRegenerateMesh, int iElementType=0, bool bAdjustMesh=false, double Tolerance=0.0000001)
 
void SetIncludePlates (bool bInclude)
 
bool GetIncludePlates ()
 
void SetInitialPlateGap (double dPlateGap)
 
double GetInitialPlateGap ()
 
void SetWholeSurfaces (bool bWholeSurface)
 
bool GetWholeSurfaces ()
 
void SetYarnSurfaceInteraction (string AbaqusCommands)
 Assign a surface interaction to be used at contacts between yarns. More...
 
void SetPlateSurfaceInteraction (string AbaqusCommands)
 Assign a surface interaction to be used at contacts between yarns and compaction plates. More...
 
void SetStaticStepParameters (double dInitTimeInc=0, double dTimePeriod=0, double dMinTimeInc=0, double dMaxTimeInc=0)
 
void ClearDeformationSteps ()
 Clear all deformation steps. More...
 
void AddDeformationStep (const CLinearTransformation &Deformation)
 Add a deformation step. More...
 
const vector< CLinearTransformation > & GetDeformationSteps () const
 Get the list of deformation steps. More...
 
void SetDeformationSteps (const vector< CLinearTransformation > &DeformationSteps)
 Set the list of deformation steps. More...
 
const CLinearTransformationGetDeformation () const
 Return the final deformation in the series or identity if none exist. More...
 
void SetDeformation (const CLinearTransformation &Deformation)
 Set the deformation, this will clear all existing deformations. More...
 

Protected Types

enum  SET_TYPE { NODE_SET , ELEMENT_SET }
 
enum  SURFACE_TYPE { SURFACE_UPPER , SURFACE_LOWER , SURFACE_ALL }
 
typedef int YarnNumber
 

Protected Member Functions

void CreateMaterials (ostream &Output, string Filename)
 Create the materials for the yarns. More...
 
void CreateContact (ostream &Output, string Name1, string Name2, string InteractionName)
 Create a contact pair from two surface definitions. More...
 
void CreateSet (ostream &Output, SET_TYPE Type, string Name, vector< int > &Indices, bool bUnSorted=false)
 Output an element or node set from a list of indices. More...
 
void CreateSet (ostream &Output, string Name, const vector< pair< int, int > > &NodePairs)
 Create two node sets from a vector of pairs of ints. More...
 
void CreateSurfaces (ostream &Output, map< string, vector< ELEMENT_FACE > > &SurfaceDefinitions)
 Create ABAQUS surface definitions. More...
 
void CreateSurfaceDefinitions (int iNumYarns, const vector< XYZ > &Repeats, map< string, vector< ELEMENT_FACE > > &SurfaceDefinitions)
 
void CreateContacts (ostream &Output, const CTextile &Textile)
 Create the contact definitions. More...
 
void CreateContacts (ostream &Output, const CTextileWeave &Weave)
 Create the contact definitions for a woven fabric. More...
 
void OutputContacts (ostream &Output, set< pair< int, int > > &Contacts)
 Output the contact definitions. More...
 
void CreateContacts (ostream &Output, const CTextile3DWeave &Weave)
 Create the contact definitions for a 3D woven fabric. More...
 
void CreateCompressionPlates (ostream &Output)
 Create two rigid body analytical planes: one above and one below. More...
 
void CreatePeriodicBoundaries (ostream &Output, const CDomain &Domain)
 Create a step with given deformation. More...
 
void CreateStep (ostream &Output)
 Create a step. More...
 
void CreateBoundary (ostream &Output, CLinearTransformation Deformation, const vector< int > &YarnCenterNodes, const vector< XYZ > &Repeats)
 Create output request and boundary conditions with given deformation. More...
 
int GetFaceIndex (CMesh::ELEMENT_TYPE ElemType, const set< int > &NodeIndices)
 
void GetYarnSurfaces (int iYarn, const vector< XYZ > &Repeats, vector< ELEMENT_FACE > &UpperFaces, vector< ELEMENT_FACE > &LowerFaces)
 Get a list of faces which make up the surfaces of a yarn. More...
 
void GetYarnSurface (int iYarn, const vector< XYZ > &Repeats, vector< ELEMENT_FACE > &Faces)
 Get a list of faces which make up the surface of a yarn. More...
 
ELEMENT_FACE FindFaceIndex (int iYarn, const vector< int > &SurfIndices)
 Given a surface element, find the volume element it belongs to along with its face index. More...
 
set< int > GetCommonIndices (const vector< int > &SurfIndices, const vector< int > &VolIndices)
 Find the common indices between a surface element and a volume element. More...
 
int GetCenterNode (const CMesh &Mesh)
 Get the central node index of a given mesh. More...
 
void BuildIndexOffsets ()
 Populate m_IndexOffsets parameter. More...
 
int GetGlobalElementIndex (int iYarn, CMesh::ELEMENT_TYPE ElemType, int iIndex)
 
int GetGlobalElementIndex (ELEMENT_FACE Face)
 Get the global element index of a given face. More...
 
int GetGlobalNodeIndex (int iYarn, int iIndex)
 Get the global element index of a given face. More...
 
double GetSectionArea (vector< int > &Section, CMesh &Mesh)
 Get the cross-sectional area of the yarn section. More...
 
double GetSectionVolumeFraction (double Area, CTextile &Textile, int Yarn)
 Get the volume fraction based on a given area. More...
 
void CreateMidPointVolumeFractions (vector< SECTION_VF_DATA > &VFData, vector< SECTION_VF_DATA > &VFMidData)
 Create an array of volume fractions at the mid points between sections. More...
 
void GetElementVolumeFractions (vector< POINT_INFO > &ElementsInfo, vector< SECTION_VF_DATA > &MidVFData)
 Save the volume fraction for a given element - taken to be at the centre of the element. More...
 
void GetSectionVolumeFractions (CTextile &Textile, vector< SECTION_VF_DATA > &VolFractionData, int iYarn)
 Get volume fraction of section saved in POLYGON mesh section. More...
 

Protected Attributes

vector< CMeshm_YarnMeshes
 
CMesh m_TextileMesh
 
map< YarnNumber, map< CMesh::ELEMENT_TYPE, int > > m_ElementIndexOffsets
 
map< YarnNumber, int > m_NodeIndexOffsets
 
int m_iTotalNumNodes
 
bool m_bIncludePlates
 
XYZ m_TopPlatePos
 
XYZ m_BottomPlatePos
 
double m_dInitialPlateGap
 
bool m_bWholeSurfaces
 
CTextileMaterials m_Materials
 
string m_StaticStepParameters
 
CObjectContainer< CSurfaceInteractionm_YarnInteraction
 
CObjectContainer< CSurfaceInteractionm_PlateInteraction
 
vector< CLinearTransformationm_DeformationSteps
 

Detailed Description

Class used to generate an abaqus input deck for textile mechanics simulations.

Definition at line 41 of file SimulationAbaqus.h.

Member Typedef Documentation

◆ YarnNumber

Definition at line 284 of file SimulationAbaqus.h.

Member Enumeration Documentation

◆ SET_TYPE

Enumerator
NODE_SET 
ELEMENT_SET 

Definition at line 76 of file SimulationAbaqus.h.

◆ SURFACE_TYPE

Enumerator
SURFACE_UPPER 
SURFACE_LOWER 
SURFACE_ALL 

Definition at line 82 of file SimulationAbaqus.h.

Constructor & Destructor Documentation

◆ CSimulationAbaqus()

CSimulationAbaqus::CSimulationAbaqus ( void  )

Definition at line 31 of file SimulationAbaqus.cpp.

◆ ~CSimulationAbaqus()

CSimulationAbaqus::~CSimulationAbaqus ( void  )
virtual

Definition at line 39 of file SimulationAbaqus.cpp.

Member Function Documentation

◆ AddDeformationStep()

void CSimulation::AddDeformationStep ( const CLinearTransformation Deformation)
inherited

Add a deformation step.

Definition at line 52 of file Simulation.cpp.

References TexGen::CSimulation::m_DeformationSteps.

Referenced by TexGen::CSimulation::SetDeformation().

◆ BuildIndexOffsets()

void CSimulationAbaqus::BuildIndexOffsets ( )
protected

Populate m_IndexOffsets parameter.

Definition at line 463 of file SimulationAbaqus.cpp.

References m_ElementIndexOffsets, m_NodeIndexOffsets, m_YarnMeshes, and TexGen::CMesh::NUM_ELEMENT_TYPES.

Referenced by CreateAbaqusInputFile().

◆ ClearDeformationSteps()

void CSimulation::ClearDeformationSteps ( )
inherited

Clear all deformation steps.

Definition at line 47 of file Simulation.cpp.

References TexGen::CSimulation::m_DeformationSteps.

Referenced by TexGen::CSimulation::SetDeformation().

◆ CreateAbaqusInputFile()

bool CSimulationAbaqus::CreateAbaqusInputFile ( CTextile Textile,
string  Filename,
bool  bRegenerateMesh,
int  iElementType = 0,
bool  bAdjustMesh = false,
double  Tolerance = 0.0000001 
)

◆ CreateBoundary()

void CSimulationAbaqus::CreateBoundary ( ostream &  Output,
CLinearTransformation  Deformation,
const vector< int > &  YarnCenterNodes,
const vector< XYZ > &  Repeats 
)
protected

Create output request and boundary conditions with given deformation.

Definition at line 814 of file SimulationAbaqus.cpp.

References TexGen::CMesh::GetNode(), m_bIncludePlates, m_BottomPlatePos, m_TextileMesh, and m_TopPlatePos.

Referenced by CreateAbaqusInputFile().

◆ CreateCompressionPlates()

void CSimulationAbaqus::CreateCompressionPlates ( ostream &  Output)
protected

Create two rigid body analytical planes: one above and one below.

Definition at line 676 of file SimulationAbaqus.cpp.

References m_BottomPlatePos, m_dInitialPlateGap, m_iTotalNumNodes, m_TopPlatePos, m_YarnMeshes, TexGen::Max(), TexGen::Min(), and TexGen::XYZ::z.

Referenced by CreateAbaqusInputFile().

◆ CreateContact()

void CSimulationAbaqus::CreateContact ( ostream &  Output,
string  Name1,
string  Name2,
string  InteractionName 
)
protected

Create a contact pair from two surface definitions.

Definition at line 866 of file SimulationAbaqus.cpp.

Referenced by CreateContacts(), and OutputContacts().

◆ CreateContacts() [1/3]

void CSimulationAbaqus::CreateContacts ( ostream &  Output,
const CTextile Textile 
)
protected

Create the contact definitions.

This function simply delegates the task to a function which takes a specific textile type. Or prints an error if no such function exists

Definition at line 573 of file SimulationAbaqus.cpp.

References CreateContact(), CreateContacts(), TexGen::CTextile::GetNumYarns(), m_bIncludePlates, m_bWholeSurfaces, m_PlateInteraction, and TexGen::stringify().

Referenced by CreateAbaqusInputFile(), and CreateContacts().

◆ CreateContacts() [2/3]

void CSimulationAbaqus::CreateContacts ( ostream &  Output,
const CTextile3DWeave Weave 
)
protected

◆ CreateContacts() [3/3]

void CSimulationAbaqus::CreateContacts ( ostream &  Output,
const CTextileWeave Weave 
)
protected

◆ CreateMaterials()

void CSimulationAbaqus::CreateMaterials ( ostream &  Output,
string  Filename 
)
protected

◆ CreateMidPointVolumeFractions()

void CSimulationAbaqus::CreateMidPointVolumeFractions ( vector< SECTION_VF_DATA > &  VFData,
vector< SECTION_VF_DATA > &  VFMidData 
)
protected

Create an array of volume fractions at the mid points between sections.

Definition at line 1023 of file SimulationAbaqus.cpp.

References TexGen::CSimulationAbaqus::SECTION_VF_DATA::dVolumeFraction, TexGen::CSimulationAbaqus::SECTION_VF_DATA::iMax, and TexGen::CSimulationAbaqus::SECTION_VF_DATA::iMin.

Referenced by CreateAbaqusInputFile().

◆ CreatePeriodicBoundaries()

void CSimulationAbaqus::CreatePeriodicBoundaries ( ostream &  Output,
const CDomain Domain 
)
protected

◆ CreateSet() [1/2]

void CSimulationAbaqus::CreateSet ( ostream &  Output,
SET_TYPE  Type,
string  Name,
vector< int > &  Indices,
bool  bUnSorted = false 
)
protected

Output an element or node set from a list of indices.

Note that TexGen meshes are 0-based (first element has index 0) while Abaqus is 1 based. This function will autmatically add 1 to each index. So this function should be passed a set of 0-based indices which will the be converted to 1-based for Abaqus.

Parameters
OutputOutput stream to which the set will be written to
TypeOn of the SET_TYPE enumurations, can be either node or element
NameThe name of the set to create
IndicesA list of 0-based indices that form the set
bUnSortedWhether or not abaqus should sort the set

Definition at line 885 of file SimulationAbaqus.cpp.

References ELEMENT_SET, NODE_SET, and TexGen::WriteValues().

Referenced by CreatePeriodicBoundaries(), and CreateSet().

◆ CreateSet() [2/2]

void CSimulationAbaqus::CreateSet ( ostream &  Output,
string  Name,
const vector< pair< int, int > > &  NodePairs 
)
protected

Create two node sets from a vector of pairs of ints.

The name is used as the base name, two sets will be create as <name>A and <name>B

Parameters
OutputOutput stream to which the set will be written to
NameThe base name of the set to create
NodePairsA list of 0-based pairs of indices (perhaps obtained from CMesh::GetNodePairs)

Definition at line 871 of file SimulationAbaqus.cpp.

References CreateSet(), and NODE_SET.

◆ CreateStep()

void CSimulationAbaqus::CreateStep ( ostream &  Output)
protected

Create a step.

Definition at line 792 of file SimulationAbaqus.cpp.

References m_StaticStepParameters.

Referenced by CreateAbaqusInputFile().

◆ CreateSurfaceDefinitions()

void CSimulationAbaqus::CreateSurfaceDefinitions ( int  iNumYarns,
const vector< XYZ > &  Repeats,
map< string, vector< ELEMENT_FACE > > &  SurfaceDefinitions 
)
protected

◆ CreateSurfaces()

void CSimulationAbaqus::CreateSurfaces ( ostream &  Output,
map< string, vector< ELEMENT_FACE > > &  SurfaceDefinitions 
)
protected

Create ABAQUS surface definitions.

This function creates 2 surface definitions for each yarn, one for the upper surface named YarnXUpper and one for the lower surface named YarnXLower where X is replaced with the yarn index

Definition at line 552 of file SimulationAbaqus.cpp.

References GetGlobalElementIndex().

Referenced by CreateAbaqusInputFile().

◆ FindFaceIndex()

CSimulationAbaqus::ELEMENT_FACE CSimulationAbaqus::FindFaceIndex ( int  iYarn,
const vector< int > &  SurfIndices 
)
protected

Given a surface element, find the volume element it belongs to along with its face index.

Parameters
iYarnThe yarn index
SurfaceTypeThe surface element type (usually either triangle or quad)
SurfIndicesThe indices of the surface element

Definition at line 366 of file SimulationAbaqus.cpp.

References TexGen::CSimulationAbaqus::ELEMENT_FACE::ElementType, GetCommonIndices(), GetFaceIndex(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNumNodes(), TexGen::CSimulationAbaqus::ELEMENT_FACE::iElementIndex, TexGen::CSimulationAbaqus::ELEMENT_FACE::iFaceIndex, TexGen::CSimulationAbaqus::ELEMENT_FACE::iYarn, m_YarnMeshes, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::POLYGON, TexGen::CMesh::RemoveElementType(), and TexGen::CMesh::RemoveUnreferencedNodes().

Referenced by GetYarnSurface(), and GetYarnSurfaces().

◆ GetCenterNode()

int CSimulationAbaqus::GetCenterNode ( const CMesh Mesh)
protected

Get the central node index of a given mesh.

Definition at line 737 of file SimulationAbaqus.cpp.

References TexGen::CMesh::GetAABB(), and TexGen::CMesh::GetClosestNode().

Referenced by CreateAbaqusInputFile().

◆ GetCommonIndices()

set< int > CSimulationAbaqus::GetCommonIndices ( const vector< int > &  SurfIndices,
const vector< int > &  VolIndices 
)
protected

Find the common indices between a surface element and a volume element.

Parameters
SurfIndicesThe indices of the surface element
VolIndicesThe indices of the volume element
Returns
Returns a list of local node indices into the volume element

Definition at line 444 of file SimulationAbaqus.cpp.

Referenced by FindFaceIndex().

◆ GetDeformation()

const CLinearTransformation & CSimulation::GetDeformation ( ) const
inherited

Return the final deformation in the series or identity if none exist.

This function is useful if the simulation consists of a single deformation step otherwise use GetDeformationSteps.

Definition at line 33 of file Simulation.cpp.

References TexGen::CSimulation::m_DeformationSteps.

◆ GetDeformationSteps()

const vector< CLinearTransformation > & TexGen::CSimulation::GetDeformationSteps ( ) const
inlineinherited

Get the list of deformation steps.

Definition at line 42 of file Simulation.h.

◆ GetElementVolumeFractions()

void CSimulationAbaqus::GetElementVolumeFractions ( vector< POINT_INFO > &  ElementsInfo,
vector< SECTION_VF_DATA > &  MidVFData 
)
protected

Save the volume fraction for a given element - taken to be at the centre of the element.

Definition at line 1046 of file SimulationAbaqus.cpp.

References TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNumNodes(), m_TextileMesh, and TexGen::CMesh::NUM_ELEMENT_TYPES.

Referenced by CreateAbaqusInputFile().

◆ GetFaceIndex()

int CSimulationAbaqus::GetFaceIndex ( CMesh::ELEMENT_TYPE  ElemType,
const set< int > &  NodeIndices 
)
protected

Get an element face index as defined by ABAQUS documentation given the node indices making up the face Used by CreateSurfaces to define the surfaces

Definition at line 406 of file SimulationAbaqus.cpp.

References TexGen::CMesh::HEX, and TexGen::CMesh::WEDGE.

Referenced by FindFaceIndex().

◆ GetGlobalElementIndex() [1/2]

int CSimulationAbaqus::GetGlobalElementIndex ( ELEMENT_FACE  Face)
protected

◆ GetGlobalElementIndex() [2/2]

int CSimulationAbaqus::GetGlobalElementIndex ( int  iYarn,
CMesh::ELEMENT_TYPE  ElemType,
int  iIndex 
)
protected

Given the element index of a particular yarn and element type, return the global element index

Definition at line 494 of file SimulationAbaqus.cpp.

References m_ElementIndexOffsets.

Referenced by CreateSurfaces(), and GetGlobalElementIndex().

◆ GetGlobalNodeIndex()

int CSimulationAbaqus::GetGlobalNodeIndex ( int  iYarn,
int  iIndex 
)
protected

Get the global element index of a given face.

Definition at line 504 of file SimulationAbaqus.cpp.

References m_NodeIndexOffsets.

Referenced by CreateAbaqusInputFile(), and GetSectionVolumeFractions().

◆ GetIncludePlates()

bool TexGen::CSimulationAbaqus::GetIncludePlates ( )
inline

Definition at line 50 of file SimulationAbaqus.h.

◆ GetInitialPlateGap()

double TexGen::CSimulationAbaqus::GetInitialPlateGap ( )
inline

Definition at line 53 of file SimulationAbaqus.h.

◆ GetSectionArea()

double CSimulationAbaqus::GetSectionArea ( vector< int > &  Section,
CMesh Mesh 
)
protected

Get the cross-sectional area of the yarn section.

Definition at line 931 of file SimulationAbaqus.cpp.

References TexGen::CrossProduct(), TexGen::GetLength(), TexGen::CMesh::GetNode(), TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

Referenced by GetSectionVolumeFractions().

◆ GetSectionVolumeFraction()

double CSimulationAbaqus::GetSectionVolumeFraction ( double  Area,
CTextile Textile,
int  Yarn 
)
protected

◆ GetSectionVolumeFractions()

void CSimulationAbaqus::GetSectionVolumeFractions ( CTextile Textile,
vector< SECTION_VF_DATA > &  VolFractionData,
int  iYarn 
)
protected

◆ GetWholeSurfaces()

bool TexGen::CSimulationAbaqus::GetWholeSurfaces ( )
inline

Definition at line 56 of file SimulationAbaqus.h.

◆ GetYarnSurface()

void CSimulationAbaqus::GetYarnSurface ( int  iYarn,
const vector< XYZ > &  Repeats,
vector< ELEMENT_FACE > &  Faces 
)
protected

Get a list of faces which make up the surface of a yarn.

Parameters
iYarnThe yarn index
RepeatsThe yarn repeat vectors
Faces,LowerFacesVectors for lists of surface faces

Definition at line 306 of file SimulationAbaqus.cpp.

References TexGen::CMesh::ConvertToSurfaceMesh(), FindFaceIndex(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNodePairs(), TexGen::CMesh::GetNumNodes(), m_YarnMeshes, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::POLYGON, TexGen::CMesh::RemoveElementType(), and TexGen::CMesh::RemoveUnreferencedNodes().

Referenced by CreateSurfaceDefinitions().

◆ GetYarnSurfaces()

void CSimulationAbaqus::GetYarnSurfaces ( int  iYarn,
const vector< XYZ > &  Repeats,
vector< ELEMENT_FACE > &  UpperFaces,
vector< ELEMENT_FACE > &  LowerFaces 
)
protected

Get a list of faces which make up the surfaces of a yarn.

Parameters
iYarnThe yarn index
RepeatsThe yarn repeat vectors
UpperFaces,LowerFacesVectors for lists of upper and lower surface faces

Definition at line 238 of file SimulationAbaqus.cpp.

References TexGen::CMesh::ConvertToSurfaceMesh(), TexGen::CrossProduct(), FindFaceIndex(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNodePairs(), TexGen::CMesh::GetNumNodes(), m_YarnMeshes, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::POLYGON, TexGen::CMesh::RemoveElementType(), TexGen::CMesh::RemoveUnreferencedNodes(), and TexGen::XYZ::z.

Referenced by CreateSurfaceDefinitions().

◆ OutputContacts()

void CSimulationAbaqus::OutputContacts ( ostream &  Output,
set< pair< int, int > > &  Contacts 
)
protected

Output the contact definitions.

Definition at line 662 of file SimulationAbaqus.cpp.

References CreateContact(), m_bWholeSurfaces, and TexGen::stringify().

Referenced by CreateContacts().

◆ SetDeformation()

void CSimulation::SetDeformation ( const CLinearTransformation Deformation)
inherited

Set the deformation, this will clear all existing deformations.

This function is useful if the simulation consists of a single deformation step otherwise use AddDeformationStep or SetDeformationSteps.

Definition at line 41 of file Simulation.cpp.

References TexGen::CSimulation::AddDeformationStep(), and TexGen::CSimulation::ClearDeformationSteps().

◆ SetDeformationSteps()

void TexGen::CSimulation::SetDeformationSteps ( const vector< CLinearTransformation > &  DeformationSteps)
inlineinherited

Set the list of deformation steps.

Definition at line 45 of file Simulation.h.

◆ SetIncludePlates()

void TexGen::CSimulationAbaqus::SetIncludePlates ( bool  bInclude)
inline

Definition at line 49 of file SimulationAbaqus.h.

◆ SetInitialPlateGap()

void TexGen::CSimulationAbaqus::SetInitialPlateGap ( double  dPlateGap)
inline

Definition at line 52 of file SimulationAbaqus.h.

◆ SetPlateSurfaceInteraction()

void CSimulationAbaqus::SetPlateSurfaceInteraction ( string  AbaqusCommands)

Assign a surface interaction to be used at contacts between yarns and compaction plates.

The string specified will be added in the .inp file below "*Surface Interaction, Name=Plate". It should be a series of ABAQUS keywords which may span multiple lines, the last line should contain a newline character at the end.

Definition at line 917 of file SimulationAbaqus.cpp.

References m_PlateInteraction.

◆ SetStaticStepParameters()

void CSimulationAbaqus::SetStaticStepParameters ( double  dInitTimeInc = 0,
double  dTimePeriod = 0,
double  dMinTimeInc = 0,
double  dMaxTimeInc = 0 
)

Definition at line 922 of file SimulationAbaqus.cpp.

References m_StaticStepParameters, and TexGen::stringify().

◆ SetWholeSurfaces()

void TexGen::CSimulationAbaqus::SetWholeSurfaces ( bool  bWholeSurface)
inline

Definition at line 55 of file SimulationAbaqus.h.

◆ SetYarnSurfaceInteraction()

void CSimulationAbaqus::SetYarnSurfaceInteraction ( string  AbaqusCommands)

Assign a surface interaction to be used at contacts between yarns.

The string specified will be added in the .inp file below "*Surface Interaction, Name=Yarn". It should be a series of ABAQUS keywords which may span multiple lines, the last line should contain a newline character at the end.

Definition at line 912 of file SimulationAbaqus.cpp.

References m_YarnInteraction.

Member Data Documentation

◆ m_bIncludePlates

bool TexGen::CSimulationAbaqus::m_bIncludePlates
protected

Definition at line 288 of file SimulationAbaqus.h.

Referenced by CreateAbaqusInputFile(), CreateBoundary(), and CreateContacts().

◆ m_BottomPlatePos

XYZ TexGen::CSimulationAbaqus::m_BottomPlatePos
protected

Definition at line 290 of file SimulationAbaqus.h.

Referenced by CreateBoundary(), and CreateCompressionPlates().

◆ m_bWholeSurfaces

bool TexGen::CSimulationAbaqus::m_bWholeSurfaces
protected

Definition at line 292 of file SimulationAbaqus.h.

Referenced by CreateContacts(), CreateSurfaceDefinitions(), and OutputContacts().

◆ m_DeformationSteps

vector<CLinearTransformation> TexGen::CSimulation::m_DeformationSteps
protectedinherited

◆ m_dInitialPlateGap

double TexGen::CSimulationAbaqus::m_dInitialPlateGap
protected

Definition at line 291 of file SimulationAbaqus.h.

Referenced by CreateCompressionPlates().

◆ m_ElementIndexOffsets

map<YarnNumber, map<CMesh::ELEMENT_TYPE, int> > TexGen::CSimulationAbaqus::m_ElementIndexOffsets
protected

Definition at line 285 of file SimulationAbaqus.h.

Referenced by BuildIndexOffsets(), and GetGlobalElementIndex().

◆ m_iTotalNumNodes

int TexGen::CSimulationAbaqus::m_iTotalNumNodes
protected

◆ m_Materials

CTextileMaterials TexGen::CSimulationAbaqus::m_Materials
protected

Definition at line 294 of file SimulationAbaqus.h.

Referenced by CreateAbaqusInputFile(), and CreateMaterials().

◆ m_NodeIndexOffsets

map<YarnNumber, int> TexGen::CSimulationAbaqus::m_NodeIndexOffsets
protected

Definition at line 286 of file SimulationAbaqus.h.

Referenced by BuildIndexOffsets(), and GetGlobalNodeIndex().

◆ m_PlateInteraction

CObjectContainer<CSurfaceInteraction> TexGen::CSimulationAbaqus::m_PlateInteraction
protected

Definition at line 298 of file SimulationAbaqus.h.

Referenced by CreateContacts(), and SetPlateSurfaceInteraction().

◆ m_StaticStepParameters

string TexGen::CSimulationAbaqus::m_StaticStepParameters
protected

Definition at line 296 of file SimulationAbaqus.h.

Referenced by CreateStep(), and SetStaticStepParameters().

◆ m_TextileMesh

CMesh TexGen::CSimulationAbaqus::m_TextileMesh
protected

◆ m_TopPlatePos

XYZ TexGen::CSimulationAbaqus::m_TopPlatePos
protected

Definition at line 289 of file SimulationAbaqus.h.

Referenced by CreateBoundary(), and CreateCompressionPlates().

◆ m_YarnInteraction

CObjectContainer<CSurfaceInteraction> TexGen::CSimulationAbaqus::m_YarnInteraction
protected

Definition at line 297 of file SimulationAbaqus.h.

Referenced by CreateContacts(), and SetYarnSurfaceInteraction().

◆ m_YarnMeshes

vector<CMesh> TexGen::CSimulationAbaqus::m_YarnMeshes
protected

The documentation for this class was generated from the following files: