carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Public Attributes | Properties | List of all members
carputils.mesh.bivslice.BiVSlice Class Reference
Inheritance diagram for carputils.mesh.bivslice.BiVSlice:
carputils.mesh.general.Mesh3D carputils.mesh.general.Mesh

Public Member Functions

def __init__ (self, r_lv, r_rv, thickness_lv, thickness_rv, height, separation=1., div_lvfreewall=30, div_rvfreewall=25, div_septum=15, div_lvtrans=3, div_rvtrans=2, div_height=2, args, kwargs)
 
def rvtheta_intersection (self, r_rv)
 
- Public Member Functions inherited from carputils.mesh.general.Mesh3D
def __init__ (self, fibre_rule=lambda t:0.0, fibre_rule_2=None, tetrahedrise=True)
 
def elements (self)
 Generate and return array of element point indices. More...
 
def faces (self, selection, return_elem=False)
 Generate an array of faces on the specified surface. More...
 
def n_face (self, surface)
 Return the number of faces in a given surface. More...
 
def face_centres (self, selection)
 Calculate the centroids of faces on the specified surface. More...
 
def face_normals (self, selection, unit=True)
 Calculate the normals to faces on the specified surface. More...
 
def face_areas (self, selection)
 Calculate the areas of faces on the specified surface. More...
 
def generate_cyl_coords (self, filename)
 Generate cylindrical coordinate field for the mesh. More...
 
def generate_carp (self, meshname, faces=[])
 Generate the mesh and store it to disk in openCARP format. More...
 
def generate_carp_rigid_dbc (self, basename)
 Generate files for DBC definiton preventing free motion. More...
 
def generate_vtk_face (self, filename, selection)
 Generate VTK file of selected face. More...
 
- Public Member Functions inherited from carputils.mesh.general.Mesh
def __init__ (self)
 
def add_region (self, tag, func)
 Add a new tag region. More...
 
def points (self)
 Generate and return numpy array of point coordinates. More...
 
def n_pts (self)
 Return the number of points/nodes in the mesh. More...
 
def elements (self)
 Generate and return list of numpy arrays of element node indices. More...
 
def n_elem (self)
 Count and return the total number of elements in the mesh. More...
 
def element_centres (self)
 Calculate the centroids of the mesh elements. More...
 
def element_tags (self)
 Determine element tags based on rules passed to :meth:add_region. More...
 
def fibres (self)
 Generate numpy array of fibre vectors and return. More...
 
def generate_carp (self, meshname)
 Generate the mesh and store it to disk in openCARP format. More...
 
def generate_vtk (self, filename)
 Generate VTK file of mesh. More...
 

Public Attributes

 r_inner_lv
 
 r_inner_rv
 

Properties

 r_outer_lv = property
 
 r_outer_rv = property
 
 lv_centre = property
 
 rv_centre = property
 
 lv_volume = property
 
 rv_volume = property
 
 lvtheta_intersection_outer = property
 
 lvtheta_intersection_inner = property
 

Constructor & Destructor Documentation

◆ __init__()

def carputils.mesh.bivslice.BiVSlice.__init__ (   self,
  r_lv,
  r_rv,
  thickness_lv,
  thickness_rv,
  height,
  separation = 1.,
  div_lvfreewall = 30,
  div_rvfreewall = 25,
  div_septum = 15,
  div_lvtrans = 3,
  div_rvtrans = 2,
  div_height = 2,
  args,
  kwargs 
)

Member Function Documentation

◆ rvtheta_intersection()

def carputils.mesh.bivslice.BiVSlice.rvtheta_intersection (   self,
  r_rv 
)

Member Data Documentation

◆ r_inner_lv

carputils.mesh.bivslice.BiVSlice.r_inner_lv

◆ r_inner_rv

carputils.mesh.bivslice.BiVSlice.r_inner_rv

Property Documentation

◆ lv_centre

carputils.mesh.bivslice.BiVSlice.lv_centre = property
static

◆ lv_volume

carputils.mesh.bivslice.BiVSlice.lv_volume = property
static

◆ lvtheta_intersection_inner

carputils.mesh.bivslice.BiVSlice.lvtheta_intersection_inner = property
static

◆ lvtheta_intersection_outer

carputils.mesh.bivslice.BiVSlice.lvtheta_intersection_outer = property
static

◆ r_outer_lv

carputils.mesh.bivslice.BiVSlice.r_outer_lv = property
static

◆ r_outer_rv

carputils.mesh.bivslice.BiVSlice.r_outer_rv = property
static

◆ rv_centre

carputils.mesh.bivslice.BiVSlice.rv_centre = property
static

◆ rv_volume

carputils.mesh.bivslice.BiVSlice.rv_volume = property
static

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