KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
lsdyna_mesh_to_mdpa.LsDynaMeshConverter Class Reference

very simple function to parse a Gid mesh file and extract nodal coordinates and tetrahedra connectivity More...

Collaboration diagram for lsdyna_mesh_to_mdpa.LsDynaMeshConverter:

Public Member Functions

def __init__ (self, inputfilename, outputfilename)
 
def Read (self)
 
def ReadWords (self, line)
 
def ReadNodes (self)
 
def ReadElements (self)
 
def ReadSet (self)
 
def WritePropertyBlock (self)
 
def WriteNodes (self)
 
def WriteTetras (self, elementname)
 
def WriteSet (self, myset)
 
def WriteMeshes (self)
 

Public Attributes

 input_file
 
 out_file
 
 coordinates
 
 NodeIds
 
 TetraIds
 
 TetraConnectivity
 
 TetraProp
 
 TriangleIds
 
 TriangleConnectivity
 
 TriProp
 
 sets_in_file
 

Detailed Description

very simple function to parse a Gid mesh file and extract nodal coordinates and tetrahedra connectivity

Constructor & Destructor Documentation

◆ __init__()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.__init__ (   self,
  inputfilename,
  outputfilename 
)

Member Function Documentation

◆ Read()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.Read (   self)

◆ ReadElements()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.ReadElements (   self)

◆ ReadNodes()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.ReadNodes (   self)

◆ ReadSet()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.ReadSet (   self)

◆ ReadWords()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.ReadWords (   self,
  line 
)

◆ WriteMeshes()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.WriteMeshes (   self)

◆ WriteNodes()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.WriteNodes (   self)

◆ WritePropertyBlock()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.WritePropertyBlock (   self)

◆ WriteSet()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.WriteSet (   self,
  myset 
)

◆ WriteTetras()

def lsdyna_mesh_to_mdpa.LsDynaMeshConverter.WriteTetras (   self,
  elementname 
)

Member Data Documentation

◆ coordinates

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.coordinates

◆ input_file

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.input_file

◆ NodeIds

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.NodeIds

◆ out_file

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.out_file

◆ sets_in_file

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.sets_in_file

◆ TetraConnectivity

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TetraConnectivity

◆ TetraIds

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TetraIds

◆ TetraProp

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TetraProp

◆ TriangleConnectivity

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TriangleConnectivity

◆ TriangleIds

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TriangleIds

◆ TriProp

lsdyna_mesh_to_mdpa.LsDynaMeshConverter.TriProp

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