diff --git a/docs/.buildinfo b/docs/.buildinfo index 8b4b64d..900095c 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 11e24ecb086b3722c21b5fe755982994 +config: ff52a5f899b7dfb16e79b33e71c1803a tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_modules/index.html b/docs/_modules/index.html index dfc2252..939366d 100644 --- a/docs/_modules/index.html +++ b/docs/_modules/index.html @@ -5,7 +5,7 @@ - Overview: module code — pyLabFEA 4.0.0 documentation + Overview: module code — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

Navigation

  • modules |
  • - + @@ -73,13 +73,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/docs/_modules/pylabfea/basic.html b/docs/_modules/pylabfea/basic.html index e30196e..84c9df8 100644 --- a/docs/_modules/pylabfea/basic.html +++ b/docs/_modules/pylabfea/basic.html @@ -5,7 +5,7 @@ - pylabfea.basic — pyLabFEA 4.0.0 documentation + pylabfea.basic — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -574,6 +574,8 @@

    Source code for pylabfea.basic

         '''
         if name is None:
             raise ValueError('Name for pickled material must be given.')
    +    if path[-1] != '/':
    +        path += '/'
         with open(path+name, 'rb') as input:
             pckl = pickle.load(input)
         return pckl
    @@ -608,14 +610,14 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/docs/_modules/pylabfea/data.html b/docs/_modules/pylabfea/data.html index 2f823ba..68a8911 100644 --- a/docs/_modules/pylabfea/data.html +++ b/docs/_modules/pylabfea/data.html @@ -5,7 +5,7 @@ - pylabfea.data — pyLabFEA 4.0.0 documentation + pylabfea.data — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -285,7 +285,7 @@

    Source code for pylabfea.data

                 'nu_av'       : self.nu_av,# Poisson ratio
                 'sy_av'       : self.sy_av # yield strength
             }
    -        print(self.mat_param)
    +        #print(self.mat_param)
             syld = np.zeros((self.Nset,Nlc_min,6))  # Voigt stress tensor at onset of yielding
             for iset, dset in enumerate(self.set):   # loop over data sets
                 syld[iset,:,:] = dset.syld[0:Nlc_min,:]
    @@ -1133,14 +1133,14 @@ 

    Navigation

  • modules |
  • - +
    \ No newline at end of file diff --git a/docs/_modules/pylabfea/material.html b/docs/_modules/pylabfea/material.html index 11d9a43..d44ab1e 100644 --- a/docs/_modules/pylabfea/material.html +++ b/docs/_modules/pylabfea/material.html @@ -5,7 +5,7 @@ - pylabfea.material — pyLabFEA 4.0.0 documentation + pylabfea.material — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -1475,11 +1475,11 @@

    Source code for pylabfea.material

             sname : str
                 Name of script that created this material
             source : str
    -            Source of parameters (optiona, default: None)
    +            Source of parameters (optional, default: None)
             file : str
                 Trunk of filename to which CSV flies are written (optional, default: None)
             path : str
    -            Path to which files are written (optional: default: '')
    +            Path to which files are written (optional: default: '../../models/')
             descr : list
                 List of names of model parameters used for generating this ML material (optional, default: [])
             param : list
    @@ -1511,7 +1511,9 @@ 

    Source code for pylabfea.material

                 raise ValueError('Lists for descr and param must have the same lengths.')
             if file is None:
                 file = 'abq_'+self.name
    -        file = path+file
    +        if path[-1] != '/':
    +            path += '/'
    +        file = path + file
             
             # write parameters of trained SVC to file readable to Abaqus
             dc = self.svm_yf.dual_coef_[0] # dual coefficients
    @@ -1621,6 +1623,8 @@ 

    Source code for pylabfea.material

             '''
             if name is None:
                 name = 'mat_'+self.name + '.pkl'
    +        if path[-1] != '/':
    +            path += '/'
             with open(path+name, 'wb') as output:
                 pickle.dump(self, output, pickle.HIGHEST_PROTOCOL)
             return
    @@ -1790,7 +1794,8 @@

    Source code for pylabfea.material

             grain shapes and porosities. Will invoke definition of elastic and plastic 
             parameters by calls to the methods `Material.elasticity` and `Material.plasticity` 
             with the parameters provided in the data set. 
    -        Also initializes current texture to first one in list and re-sets work-hardening parameters.
    +        Also initializes current texture to first one in list and resets work hardening 
    +        parameters.
     
             Parameters
             ----------
    @@ -1839,6 +1844,23 @@ 

    Source code for pylabfea.material

             tp = np.zeros(self.Nset)
             tp[0] = 1.
             self.set_texture(tp)
    + +
    [docs] def from_MLparam(self, name, path='../../models/'): + '''Define material properties from parameters of trained machine learning + models that have been written with `Material.export_MLparam`. + Will invoke definition of elastic parameters by calls to the methods + `Material.elasticity` with the parameters provided in the data set. + Also initializes current texture to first one in list and resets work hardening + parameters. + + Parameters + ---------- + name : string + Name of parameter files (`name`.csv file and metadata file `name_meta.json`) + path : string + Path in which files are stored (optional, default: '../../models/') + ''' + raise ModuleNotFoundError('Import from ML parameters not yet implemented.')
    [docs] def set_texture(self, current, verb=False): '''Set parameters for current crystallographic texture of material as defined in microstructure. @@ -2478,14 +2500,14 @@

    Navigation

  • modules |
  • - +
    \ No newline at end of file diff --git a/docs/_modules/pylabfea/model.html b/docs/_modules/pylabfea/model.html index bd2b314..0fd6cab 100644 --- a/docs/_modules/pylabfea/model.html +++ b/docs/_modules/pylabfea/model.html @@ -5,7 +5,7 @@ - pylabfea.model — pyLabFEA 4.0.0 documentation + pylabfea.model — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -1759,6 +1759,8 @@

    Source code for pylabfea.model

             if annot:
                 ax.set_xlabel('x (mm)')
                 ax.set_ylabel('y (mm)')
    +        ax.set_aspect('equal', 'box')  # enforce equal scale on both axes
    +        #fig.tight_layout()
             #save plot to file if filename is provided
             if file is not None:
                 fig.savefig(file+'.pdf', format='pdf', dpi=300)
    @@ -1794,14 +1796,14 @@ 

    Navigation

  • modules |
  • - +
    \ No newline at end of file diff --git a/docs/_modules/pylabfea/training.html b/docs/_modules/pylabfea/training.html index 0f8849f..ebe447a 100644 --- a/docs/_modules/pylabfea/training.html +++ b/docs/_modules/pylabfea/training.html @@ -5,7 +5,7 @@ - pylabfea.training — pyLabFEA 4.0.0 documentation + pylabfea.training — pyLabFEA 4.1.1 documentation @@ -26,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -277,14 +277,14 @@

    Navigation

  • modules |
  • - +
    \ No newline at end of file diff --git a/docs/_sources/examples.rst.txt b/docs/_sources/examples.rst.txt index 5f5270c..ff9e8ab 100644 --- a/docs/_sources/examples.rst.txt +++ b/docs/_sources/examples.rst.txt @@ -38,41 +38,51 @@ The properties of composites made from different elastic materials are analyzed, and the numerical solution is compared with the expected values from mechanical models. -.. _`pyLabFEA_Composites`: _static/pyLabFEA_Composites.html +.. _`Tutorial 2: Composites`: _static/pyLabFEA_Composites.html .. _pyLabFEA_Composites: _static/pyLabFEA_Composites.html + +`Tutorial 3: Equivalent Stress`_ +-------------------------------- + +`pyLabFEA_Equiv-Stress`_ |br| +Introduction to equivalent stresses as basis for plastic flow rules. + +.. _`Tutorial 3: Equivalent Stress`: _static/pyLabFEA_Equiv-Stress.html +.. _pyLabFEA_Equiv-Stress: _static/pyLabFEA_Equiv-Stress.html -`Tutorial 3: Plasticity`_ + +`Tutorial 4: Plasticity`_ ------------------------- `pyLabFEA_Plasticity`_ |br| Non-linear material behavior in form of plasticity and linear strain hardening is introduced in this tutorial. -.. _`Tutorial 3: Plasticity`: _static/pyLabFEA_Plasticity.html +.. _`Tutorial 4: Plasticity`: _static/pyLabFEA_Plasticity.html .. _pyLabFEA_Plasticity: _static/pyLabFEA_Plasticity.html -`Tutorial 4: Homogenization`_ +`Tutorial 5: Homogenization`_ ----------------------------- `pyLabFEA_Homogenization`_ |br| Laminate structures with different elastic-plastic materials are analyzed with respect to their global mechanical behavior. -.. _`Tutorial 4: Homogenization`: _static/pyLabFEA_Homogenization.html +.. _`Tutorial 5: Homogenization`: _static/pyLabFEA_Homogenization.html .. _pyLabFEA_Homogenization: _static/pyLabFEA_Homogenization.html -`Application 1: Machine Learning Flow Rule for Hill-like plasticity`_ +`Application 1: Machine Learning Flow Rule for Hill-type plasticity`_ --------------------------------------------------------------------- `pyLabFEA_ML-FlowRule-Hill`_ |br| A machine learning algorithm is trained with -data from an anisotropic Hill-like yield criterion for pure normal stresses to +data from an anisotropic Hill-type yield criterion for pure normal stresses to be used as constitutive model for anisotropic plasticity of metals. -.. _`Application 1: Machine Learning Flow Rule for Hill-like plasticity`: _static/pyLabFEA_ML-FlowRule-Hill.html +.. _`Application 1: Machine Learning Flow Rule for Hill-type plasticity`: _static/pyLabFEA_ML-FlowRule-Hill.html .. _pyLabFEA_ML-FlowRule-Hill: _static/pyLabFEA_ML-FlowRule-Hill.html @@ -84,12 +94,12 @@ A machine learning algorithm is trained with data from a Tresca yield criterion for pure normal stresses to be used as constitutive model for plasticity of metals. -.. _Application 2: Machine Learning Flow Rule for Tresca plasticity: _static/pyLabFEA_ML-FlowRule-Tresca.html +.. _`Application 2: Machine Learning Flow Rule for Tresca plasticity`: _static/pyLabFEA_ML-FlowRule-Tresca.html .. _pyLabFEA_ML-FlowRule-Tresca: _static/pyLabFEA_ML-FlowRule-Tresca.html -`Application 3: Machine Learning Flow Rule for training with full tensorial stresses`_ --------------------------------------------------------------------------------------- +`Application 3: Training of Machine Learning flow rule with full tensorial stresses`_ +------------------------------------------------------------------------------------- `pyLabFEA_ML-FlowRule-Training`_ |br| A machine learning algorithm is trained with @@ -97,7 +107,7 @@ full tensorial stress data, including normal and shear stresses, from anisotropic Hill and Barlat-type yield criteria to be used as constitutive model for anisotropic plasticity of metals. -.. _`Application 3: Machine Learning Flow Rule for training with full tensorial stresses`: _static/pyLabFEA_ML-FlowRule-Training.html +.. _`Application 3: Training of Machine Learning flow rule with full tensorial stresses`: _static/pyLabFEA_ML-FlowRule-Training.html .. _pyLabFEA_ML-FlowRule-Training: _static/pyLabFEA_ML-FlowRule-Training.html @@ -107,18 +117,17 @@ Examples Python routines contained in the directory 'examples' demonstrate * how ML flow rules can be trained based on reference materials with significant plastic -anisotropy, as Hill or Barlat reference materials, but also for isotropic J2 plasticity. -The training data consists of different stress tensors that mark the onset of plastic -yielding of the material. It is important that these stress tensors cover the onset of -plastic yielding in the full 6-dimensional stress space, including normal and shear -stresses. The trained ML flow rules can be used in form of a user material (UMAT) for -the commercial FEA package Abaqus. - + anisotropy, as Hill or Barlat reference materials, but also for isotropic J2 plasticity. + The training data consists of different stress tensors that mark the onset of plastic + yielding of the material. It is important that these stress tensors cover the onset of + plastic yielding in the full 6-dimensional stress space, including normal and shear + stresses. The trained ML flow rules can be used in form of a user material (UMAT) for + the commercial FEA package Abaqus. * how more complex 2D models can be setup, e.g. an elastic inclusion in an elasto-plastic -matrix. Generally, models in pyLabFEA can have several sections where each section is -associated to a different material. For structured meshes, the assignment of each element -to a section (or material) can be defined simply a 2D array, that has the same shape as -the arrangement of elements in the model. + matrix. Generally, models in pyLabFEA can have several sections where each section is + associated to a different material. For structured meshes, the assignment of each element + to a section (or material) can be defined simply a 2D array, that has the same shape as + the arrangement of elements in the model. .. |br| raw:: html diff --git a/docs/_static/basic.css b/docs/_static/basic.css index 912859b..bf18350 100644 --- a/docs/_static/basic.css +++ b/docs/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -731,8 +731,9 @@ dl.glossary dt { .classifier:before { font-style: normal; - margin: 0.5em; + margin: 0 0.5em; content: ":"; + display: inline-block; } abbr, acronym { @@ -756,6 +757,7 @@ span.pre { -ms-hyphens: none; -webkit-hyphens: none; hyphens: none; + white-space: nowrap; } div[class*="highlight-"] { diff --git a/docs/_static/classic.css b/docs/_static/classic.css index dcae946..14cadd7 100644 --- a/docs/_static/classic.css +++ b/docs/_static/classic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- classic theme. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js index 8cbf1b1..e509e48 100644 --- a/docs/_static/doctools.js +++ b/docs/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -264,6 +264,9 @@ var Documentation = { hideSearchWords : function() { $('#searchbox .highlight-link').fadeOut(300); $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); }, /** diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 57c0f82..fc78d47 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '4.0.0', + VERSION: '4.1.1', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/_static/language_data.js b/docs/_static/language_data.js index 863704b..ebe2f03 100644 --- a/docs/_static/language_data.js +++ b/docs/_static/language_data.js @@ -5,7 +5,7 @@ * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/docs/_static/pyLabFEA_Equiv-Stress.html b/docs/_static/pyLabFEA_Equiv-Stress.html new file mode 100644 index 0000000..6da1125 --- /dev/null +++ b/docs/_static/pyLabFEA_Equiv-Stress.html @@ -0,0 +1,15015 @@ + + + + + +pyLabFEA_Equiv-Stress + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js index 58ff35c..2d77859 100644 --- a/docs/_static/searchtools.js +++ b/docs/_static/searchtools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for the full-text search. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -328,7 +328,9 @@ var Search = { var results = []; for (var prefix in objects) { - for (var name in objects[prefix]) { + for (var iMatch = 0; iMatch != objects[prefix].length; ++iMatch) { + var match = objects[prefix][iMatch]; + var name = match[4]; var fullname = (prefix ? prefix + '.' : '') + name; var fullnameLower = fullname.toLowerCase() if (fullnameLower.indexOf(object) > -1) { @@ -342,7 +344,6 @@ var Search = { } else if (parts[parts.length - 1].indexOf(object) > -1) { score += Scorer.objPartialMatch; } - var match = objects[prefix][name]; var objname = objnames[match[1]][2]; var title = titles[match[0]]; // If more than one term searched for, we require other words to be diff --git a/docs/_static/sidebar.js b/docs/_static/sidebar.js index 599639f..c45a2a9 100644 --- a/docs/_static/sidebar.js +++ b/docs/_static/sidebar.js @@ -16,7 +16,7 @@ * Once the browser is closed the cookie is deleted and the position * reset to the default (expanded). * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/docs/examples.html b/docs/examples.html index abae593..c9a798a 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -6,7 +6,7 @@ - Jupyter notebooks — pyLabFEA 4.0.0 documentation + Jupyter notebooks — pyLabFEA 4.1.1 documentation @@ -35,7 +35,7 @@

    Navigation

  • previous |
  • - +
    @@ -63,40 +63,45 @@

    Tuto demonstrated.

    -

    Tutorial 2: Composites

    +

    Tutorial 2: Composites

    pyLabFEA_Composites
    The properties of composites made from different elastic materials are analyzed, and the numerical solution is compared with the expected values from mechanical models.

    -
    -

    Tutorial 3: Plasticity

    +
    +

    Tutorial 3: Equivalent Stress

    +

    pyLabFEA_Equiv-Stress
    +Introduction to equivalent stresses as basis for plastic flow rules.

    +
    +
    +

    Tutorial 4: Plasticity

    pyLabFEA_Plasticity
    Non-linear material behavior in form of plasticity and linear strain hardening is introduced in this tutorial.

    -
    -

    Tutorial 4: Homogenization

    +
    +

    Tutorial 5: Homogenization

    pyLabFEA_Homogenization
    Laminate structures with different elastic-plastic materials are analyzed with respect to their global mechanical behavior.

    -
    -

    Application 1: Machine Learning Flow Rule for Hill-like plasticity

    +
    +

    Application 1: Machine Learning Flow Rule for Hill-type plasticity

    pyLabFEA_ML-FlowRule-Hill
    A machine learning algorithm is trained with -data from an anisotropic Hill-like yield criterion for pure normal stresses to +data from an anisotropic Hill-type yield criterion for pure normal stresses to be used as constitutive model for anisotropic plasticity of metals.

    -

    Application 2: Machine Learning Flow Rule for Tresca plasticity

    +

    Application 2: Machine Learning Flow Rule for Tresca plasticity

    pyLabFEA_ML-FlowRule-Tresca
    A machine learning algorithm is trained with data from a Tresca yield criterion for pure normal stresses to be used as constitutive model for plasticity of metals.

    -
    -

    Application 3: Machine Learning Flow Rule for training with full tensorial stresses

    +
    +

    Application 3: Training of Machine Learning flow rule with full tensorial stresses

    pyLabFEA_ML-FlowRule-Training
    A machine learning algorithm is trained with full tensorial stress data, including normal and shear stresses, @@ -108,21 +113,19 @@

    Python routines contained in the directory ‘examples’ demonstrate

      -
    • how ML flow rules can be trained based on reference materials with significant plastic

    • -
    -

    anisotropy, as Hill or Barlat reference materials, but also for isotropic J2 plasticity. +

  • how ML flow rules can be trained based on reference materials with significant plastic +anisotropy, as Hill or Barlat reference materials, but also for isotropic J2 plasticity. The training data consists of different stress tensors that mark the onset of plastic yielding of the material. It is important that these stress tensors cover the onset of plastic yielding in the full 6-dimensional stress space, including normal and shear stresses. The trained ML flow rules can be used in form of a user material (UMAT) for -the commercial FEA package Abaqus.

    -
      -
    • how more complex 2D models can be setup, e.g. an elastic inclusion in an elasto-plastic

    • -
    -

    matrix. Generally, models in pyLabFEA can have several sections where each section is +the commercial FEA package Abaqus.

  • +
  • how more complex 2D models can be setup, e.g. an elastic inclusion in an elasto-plastic +matrix. Generally, models in pyLabFEA can have several sections where each section is associated to a different material. For structured meshes, the assignment of each element to a section (or material) can be defined simply a 2D array, that has the same shape as -the arrangement of elements in the model.

    +the arrangement of elements in the model.

  • +
    @@ -132,27 +135,34 @@

    Examples
    -

    Table of Contents

    -
    @@ -222,15 +222,17 @@

    F

  • (pylabfea.data.Data.Set_DB attribute)
  • - - + @@ -738,13 +740,13 @@

    Navigation

  • modules |
  • - +

    \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index fc4f79c..7245fbe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,7 +6,7 @@ - Python Laboratory for Finite Element Analysis (pyLabFEA) — pyLabFEA 4.0.0 documentation + Python Laboratory for Finite Element Analysis (pyLabFEA) — pyLabFEA 4.1.1 documentation @@ -31,7 +31,7 @@

    Navigation

  • next |
  • - + @@ -75,11 +75,12 @@

    Python Laboratory for Finite Element Analysis (pyLabFEA)Jupyter notebooks
  • Examples
  • @@ -110,15 +111,19 @@

    Indices and tables
    -

    Table of Contents

    -
    @@ -113,13 +113,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/docs/pyLabFEA.html b/docs/pyLabFEA.html index 2902f53..34d44ac 100644 --- a/docs/pyLabFEA.html +++ b/docs/pyLabFEA.html @@ -6,7 +6,7 @@ - Modules — pyLabFEA 4.0.0 documentation + Modules — pyLabFEA 4.1.1 documentation @@ -31,7 +31,7 @@

    Navigation

  • previous |
  • - + @@ -56,7 +56,7 @@

    Modules
    -class pylabfea.basic.Strain(sv)[source]
    +class pylabfea.basic.Strain(sv)[source]

    Bases: object

    Stores and converts Voigt strain tensors into different formats, calculates principle strain and equivalent strain.

    @@ -130,7 +130,7 @@

    Modules
    -class pylabfea.basic.Stress(sv)[source]
    +class pylabfea.basic.Stress(sv)[source]

    Bases: object

    Stores and converts Voigt stress tensors into different formats, calculates principle stresses, equivalent stresses and transforms into cylindrical coordinates.

    @@ -267,13 +267,13 @@

    Modules
    -pylabfea.basic.a_vec = array([ 0.81649658, -0.40824829, -0.40824829])
    +pylabfea.basic.a_vec = array([ 0.81649658, -0.40824829, -0.40824829])

    First unit vector spanning deviatoric stress plane (real axis)

    -pylabfea.basic.b_vec = array([ 0.        ,  0.70710678, -0.70710678])
    +pylabfea.basic.b_vec = array([ 0.        ,  0.70710678, -0.70710678])

    Second unit vector spanning deviatoric stress plane (imaginary axis)

    @@ -335,7 +335,7 @@

    Modules
    -pylabfea.basic.ptol = 0.005
    +pylabfea.basic.ptol = 0.005

    Plastic yielding if yield function > ptol

    Type
    @@ -467,7 +467,7 @@

    Modules
    -class pylabfea.model.Model(dim=1, planestress=False)[source]
    +class pylabfea.model.Model(dim=1, planestress=False)[source]

    Bases: object

    Class for finite element model. Defines necessary attributes and methods for pre-processing (defining geometry, material assignments, mesh and @@ -879,7 +879,7 @@

    Modules
    -class Element(model, nodes, lx, ly, mat)[source]
    +class Element(model, nodes, lx, ly, mat)[source]

    Bases: object

    Class for isoparametric elements; supports 1-d elements with linear or quadratic shape function and full integration; @@ -1509,7 +1509,7 @@

    Modules
    -class pylabfea.material.Material(name='Material', num=1)[source]
    +class pylabfea.material.Material(name='Material', num=1)[source]

    Bases: object

    Define class for Materials including material parameters (attributes), constitutive relations (methods) and derived properties und various loading conditions (dictionary)

    @@ -1976,11 +1976,8 @@

    ModulesReturns -

    -
    -
    Return type
    -

    None.

    +
    Return type
    +

    None.

    @@ -2040,9 +2037,9 @@

    ModulesParameters
    • sname (str) – Name of script that created this material

    • -
    • source (str) – Source of parameters (optiona, default: None)

    • +
    • source (str) – Source of parameters (optional, default: None)

    • file (str) – Trunk of filename to which CSV flies are written (optional, default: None)

    • -
    • path (str) – Path to which files are written (optional: default: ‘’)

    • +
    • path (str) – Path to which files are written (optional: default: ‘../../models/’)

    • descr (list) – List of names of model parameters used for generating this ML material (optional, default: [])

    • param (list) – List of values of parameters used for generating this ML material (optional, default: []); descr and param must be of the same size

    • @@ -2103,6 +2100,25 @@

      Modules +
      +from_MLparam(name, path='../../models/')[source]
      +

      Define material properties from parameters of trained machine learning +models that have been written with Material.export_MLparam. +Will invoke definition of elastic parameters by calls to the methods +Material.elasticity with the parameters provided in the data set. +Also initializes current texture to first one in list and resets work hardening +parameters.

      +
      +
      Parameters
      +
        +
      • name (string) – Name of parameter files (name.csv file and metadata file name_meta.json)

      • +
      • path (string) – Path in which files are stored (optional, default: ‘../../models/’)

      • +
      +
      +
      +
      +
      from_data(param)[source]
      @@ -2112,7 +2128,8 @@

      Modules
      Parameters

      param (list or directories) – Data.mat_param directories containing material data sets

      @@ -2147,11 +2164,8 @@

      ModulesReturns -

      -
      -
      Return type
      -

      None.

      +
      Return type
      +

      None.

    @@ -2573,7 +2587,7 @@

    Modules
    -class pylabfea.data.Data(msl, path_data=None, path_json=None, host=None, port=17000, username='user', password='password', name='Dataset', sdim=6, mirror=False, epl_crit=0.002, d_ep=0.0005, epl_max=0.03, npe=1, plot=False, nth=1)[source]
    +class pylabfea.data.Data(msl, path_data=None, path_json=None, host=None, port=17000, username='user', password='password', name='Dataset', sdim=6, mirror=False, epl_crit=0.002, d_ep=0.0005, epl_max=0.03, npe=1, plot=False, nth=1)[source]

    Bases: object

    Define class for handling data from virtual mechanical tests in micromechanical simulations and data from physical mechanical tests on materials with various @@ -2731,7 +2745,7 @@

    Modules
    -class Set_CSV(db, name, plot=False)[source]
    +class Set_CSV(db, name, plot=False)[source]

    Bases: object

    Define class for handling of a CSV dataset for one individual material. At least stress data must be provided in dataset. Strain data must be provided @@ -2958,7 +2972,7 @@

    Modules
    -class Set_DB(db, name, plot=False)[source]
    +class Set_DB(db, name, plot=False)[source]

    Bases: object

    Define class for handling of a dataset from a Mongo databse

    @@ -3182,7 +3196,7 @@

    Modules
    -class Set_Data(db, sig, name)[source]
    +class Set_Data(db, sig, name)[source]

    Bases: object

    Generate set from input data

    @@ -3236,8 +3250,9 @@

    Modules
    -

    Table of Contents

    -
    @@ -116,8 +119,9 @@

    License
    -

    Table of Contents

    -
    @@ -92,13 +92,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/docs/searchindex.js b/docs/searchindex.js index efb83ce..3c81af9 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["examples","index","pyLabFEA","readme"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,"sphinx.ext.intersphinx":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["examples.rst","index.rst","pyLabFEA.rst","readme.rst"],objects:{"pylabfea.basic":{Strain:[2,1,1,""],Stress:[2,1,1,""],a_vec:[2,3,1,""],b_vec:[2,3,1,""],eps_eq:[2,4,1,""],pckl2mat:[2,4,1,""],polar_ang:[2,4,1,""],ptol:[2,3,1,""],s_cyl:[2,4,1,""],sdev:[2,4,1,""],seq_J2:[2,4,1,""],sp_cart:[2,4,1,""],sprinc:[2,4,1,""],svoigt:[2,4,1,""]},"pylabfea.basic.Strain":{eeq:[2,2,1,""],inv:[2,2,1,""]},"pylabfea.basic.Stress":{cyl:[2,2,1,""],lode_ang:[2,2,1,""],sJ2:[2,2,1,""],seq:[2,2,1,""],theta:[2,2,1,""]},"pylabfea.data":{Data:[2,1,1,""]},"pylabfea.data.Data":{E_av:[2,5,1,""],Nset:[2,5,1,""],Set_CSV:[2,1,1,""],Set_DB:[2,1,1,""],Set_Data:[2,1,1,""],dep:[2,5,1,""],epc:[2,5,1,""],flow_stress:[2,5,1,""],mat_param:[2,5,1,""],msl:[2,5,1,""],name:[2,5,1,""],nu_av:[2,5,1,""],pd:[2,5,1,""],pj:[2,5,1,""],plot_set:[2,2,1,""],plot_yield_locus:[2,2,1,""],set:[2,5,1,""],sy_av:[2,5,1,""]},"pylabfea.data.Data.Set_CSV":{N:[2,5,1,""],Ndat:[2,5,1,""],Nlc:[2,5,1,""],db:[2,5,1,""],f_yld_:[2,5,1,""],i_el_:[2,5,1,""],i_pl_:[2,5,1,""],lc_:[2,5,1,""],load_case:[2,5,1,""],name:[2,5,1,""],peeq_:[2,5,1,""],sfc_:[2,5,1,""],sig_:[2,5,1,""],sy:[2,5,1,""],syc:[2,5,1,""],texture_param:[2,5,1,""],ubc_:[2,5,1,""]},"pylabfea.data.Data.Set_DB":{N:[2,5,1,""],Ndat:[2,5,1,""],Nlc:[2,5,1,""],db:[2,5,1,""],f_yld_:[2,5,1,""],i_el_:[2,5,1,""],i_pl_:[2,5,1,""],lc_:[2,5,1,""],load_case:[2,5,1,""],name:[2,5,1,""],peeq_:[2,5,1,""],sfc_:[2,5,1,""],sig_:[2,5,1,""],sy:[2,5,1,""],syc:[2,5,1,""],texture_param:[2,5,1,""],ubc_:[2,5,1,""]},"pylabfea.material":{Material:[2,1,1,""]},"pylabfea.material.Material":{C_tan:[2,2,1,""],ML_full_yf:[2,2,1,""],ML_grad:[2,5,1,""],ML_yf:[2,5,1,""],Ndof:[2,5,1,""],barlat:[2,5,1,""],calc_fgrad:[2,2,1,""],calc_properties:[2,2,1,""],calc_seq:[2,2,1,""],calc_seqB:[2,2,1,""],calc_yf:[2,2,1,""],create_sig_data:[2,2,1,""],elasticity:[2,2,1,""],ellipsis:[2,2,1,""],epl_dot:[2,2,1,""],export_MLparam:[2,2,1,""],find_yloc:[2,2,1,""],find_yloc_scalar:[2,2,1,""],from_data:[2,2,1,""],get_sflow:[2,2,1,""],hill_3p:[2,5,1,""],hill_6p:[2,5,1,""],msg:[2,5,1,""],msparam:[2,5,1,""],name:[2,5,1,""],num:[2,5,1,""],pckl:[2,2,1,""],plasticity:[2,2,1,""],plot_data:[2,2,1,""],plot_stress_strain:[2,2,1,""],plot_yield_locus:[2,2,1,""],polar_plot_yl:[2,2,1,""],prop:[2,5,1,""],propJ2:[2,5,1,""],response:[2,2,1,""],set_texture:[2,2,1,""],setup_fgrad_SVM:[2,2,1,""],setup_yf_SVM_3D:[2,2,1,""],setup_yf_SVM_6D:[2,2,1,""],sigeps:[2,5,1,""],sy:[2,5,1,""],train_SVC:[2,2,1,""],tresca:[2,5,1,""],txdat:[2,5,1,""],whdat:[2,5,1,""]},"pylabfea.model":{Model:[2,1,1,""]},"pylabfea.model.Model":{Element:[2,1,1,""],LS:[2,5,1,""],Ndof:[2,5,1,""],Nel:[2,5,1,""],Nnode:[2,5,1,""],Nsec:[2,5,1,""],assign:[2,2,1,""],bcb:[2,5,1,""],bcbot:[2,2,1,""],bcl:[2,5,1,""],bcleft:[2,2,1,""],bcnode:[2,2,1,""],bcr:[2,5,1,""],bcright:[2,2,1,""],bct:[2,5,1,""],bctop:[2,2,1,""],bcval:[2,2,1,""],calc_global:[2,2,1,""],dim:[2,5,1,""],egl:[2,5,1,""],element:[2,5,1,""],epgl:[2,5,1,""],f:[2,5,1,""],geom:[2,2,1,""],glob:[2,5,1,""],lenx:[2,5,1,""],leny:[2,5,1,""],mat:[2,5,1,""],mesh:[2,2,1,""],noinner:[2,5,1,""],nonlin:[2,5,1,""],npos:[2,5,1,""],planestress:[2,5,1,""],plot:[2,2,1,""],setupK:[2,2,1,""],sgl:[2,5,1,""],solve:[2,2,1,""],thick:[2,5,1,""],u:[2,5,1,""],ubcbot:[2,5,1,""],ubcleft:[2,5,1,""],ubcright:[2,5,1,""],ubctop:[2,5,1,""]},"pylabfea.model.Model.Element":{Bmat:[2,5,1,""],CV:[2,5,1,""],Jac:[2,5,1,""],Kel:[2,5,1,""],Lelx:[2,5,1,""],Lely:[2,5,1,""],Mat:[2,5,1,""],Model:[2,5,1,""],Vel:[2,5,1,""],calc_Bmat:[2,2,1,""],calc_Kel:[2,2,1,""],depl:[2,2,1,""],deps:[2,2,1,""],dsig:[2,2,1,""],elstiff:[2,5,1,""],epl:[2,5,1,""],eps:[2,5,1,""],eps_t:[2,2,1,""],gpx:[2,5,1,""],gpy:[2,5,1,""],ngp:[2,5,1,""],node_num:[2,2,1,""],nodes:[2,5,1,""],sig:[2,5,1,""],wght:[2,5,1,""]},"pylabfea.model.Model.material":{mat:[2,5,1,""],nonlin:[2,5,1,""]},"pylabfea.training":{int_sin_m:[2,4,1,""],load_cases:[2,4,1,""],primes:[2,4,1,""],training_score:[2,4,1,""],uniform_hypersphere:[2,4,1,""]},pylabfea:{basic:[2,0,0,"-"],data:[2,0,0,"-"],material:[2,0,0,"-"],model:[2,0,0,"-"],training:[2,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","data","Python data"],"4":["py","function","Python function"],"5":["py","attribute","Python attribute"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:data","4":"py:function","5":"py:attribute"},terms:{"0":[2,3],"0005":2,"002":2,"005":2,"01":2,"02":2,"03":2,"1":[1,2],"10":2,"100":2,"1009":2,"11":2,"12":2,"14":2,"15":2,"16":2,"17":2,"17000":2,"18":2,"18p":2,"1d":2,"2":[1,2],"20":2,"2004":2,"2005":2,"2021":2,"2022":2,"21":2,"22":2,"23":2,"25":2,"27":2,"2d":[0,2],"3":[1,2],"36":2,"3d":2,"3x3":2,"4":[1,2,3],"40824829":2,"45":2,"5":2,"50":2,"57123194":2,"5773502691896258":2,"59279721":2,"6":[0,2],"6d":2,"6xn":2,"70710678":2,"72":2,"8":2,"81649658":2,"9":2,"boolean":2,"case":2,"class":2,"default":2,"export":2,"final":2,"float":2,"function":[2,3],"import":[0,2,3],"int":2,"long":2,"new":3,"public":[2,3],"return":2,"short":2,"static":2,"true":2,A:[0,2],At:2,BY:[2,3],Be:2,But:2,For:[0,2],If:2,In:[0,2],It:[0,2,3],NO:3,The:[0,1,2,3],Then:2,There:2,These:2,Will:2,a_vec:2,abaqu:[0,2],absolut:[2,3],accept:2,access:0,accor:2,accord:2,accuraci:2,activ:[2,3],ad:2,adapt:2,add:2,addit:2,after:[2,3],ahartmai:[1,3],al:2,alexand:[1,2],algorithm:[0,2,3],all:2,allsig:2,along:2,alreadi:2,also:[0,2],altern:3,alwai:2,an:[0,2,3],ana:2,anaconda:3,analysi:2,analyt:2,analyz:[0,2],ang:2,angl:2,ani:[2,3],anisoptrop:2,anisotrop:[0,2],anisotropi:[0,2],annot:2,appli:2,applic:[1,3],appreci:3,approach:2,appropri:2,ar:[0,2,3],arbitrari:2,argument:2,around:2,arrai:[0,2,3],arrang:0,arrayi:2,arrow:2,assembl:2,assign:[0,2],associ:[0,2],assum:2,asymmetri:2,attribut:[2,3],author:[1,2],automat:2,avail:[0,2],averag:2,avoid:2,ax:2,axi:2,axis1:2,axis2:2,b:2,b_vec:2,back:2,barlat:[0,2],barlat_exp:2,base:[0,2],basi:2,basic:[0,1],bc:2,bc_dir:2,bcb:2,bcbot:2,bcdir:2,bcl:2,bcleft:2,bcnode:2,bcr:2,bcright:2,bct:2,bctop:2,bctype:2,bcval:2,been:2,behavior:[0,1,2],belong:2,between:2,binder:0,bmat:2,bochum:[1,2],bool:2,bot:2,bottom:2,boundari:2,brentq:2,brows:3,bug:3,built:2,c11:2,c12:2,c44:2,c:2,c_tan:2,calc_bc:2,calc_bmat:2,calc_fgrad:2,calc_glob:2,calc_kel:2,calc_properti:2,calc_seq:2,calc_seqb:2,calc_yf:2,calcul:2,call:2,can:[0,2,3],captur:2,card:2,cartesian:2,categori:2,catgegori:2,cbar:2,cc:[2,3],cd:3,cdepth:2,cel:2,chapter:2,chose:2,classifi:2,clone:3,cmat:2,code:[2,3],coeffici:2,color:2,colorbar:2,colormap:2,com:[1,2,3],come:3,command:3,comment:3,commerci:0,common:3,compar:[0,2],comparison:2,complet:2,complex:0,compon:2,composit:1,compress:2,comput:2,conda:3,condit:[2,3],conform:2,consid:2,consist:[0,2],constant:2,constitut:[0,1,2],consum:2,contact:1,contain:[0,2],content:3,continu:2,contour:2,contribut:1,control:2,conveni:0,converg:2,convers:2,convert:2,coordin:2,corner:2,correct:3,correspond:2,cosin:2,cover:0,creat:[2,3],create_sig_data:2,creativ:3,creativecommon:2,crisfield:2,criteria:0,criterion:0,critic:2,crystallograph:2,csv:2,ct:2,current:2,curv:2,cut:2,cv:2,cval:2,cyl:2,cylindr:2,d:2,d_ep:2,d_sig:2,data:[0,1,3],data_label:2,databas:2,databs:2,dataset:2,db:2,de:[1,2],de_p:2,decai:2,decid:2,decis:2,defaul:2,defin:[0,2],defini:2,definit:2,deform:2,degre:2,degress:2,demonstr:0,densli:2,dep:2,depend:1,depl:2,deriv:2,descr:2,describ:2,determin:2,deviator:2,devitor:2,dicitionari:2,dictionari:2,dictonari:2,differ:[0,2],dim:2,dimens:2,dimensi:2,dimension:[0,2],dir:[],direct:[2,3],directli:[0,3],directori:[0,2],disp:2,displac:2,displai:2,distanc:2,distort:2,distribut:2,ditionari:2,dname:2,doc:3,document:2,dof:2,done:2,doubl:2,downscal:2,draw:2,drawn:2,drucker:2,ds:2,dset:2,dsig:2,dt:2,dual:2,due:1,dure:2,e:[0,2],e_av:2,each:[0,2],easi:2,easili:2,ebc1:2,ebc2:2,ect:2,edg:2,eel:2,eeq:2,effici:2,egl:2,eigenvector:2,either:[2,3],elast:[0,1,2],elasto:0,element:[0,2],ellipsi:2,elmt:2,elstiff:2,email:2,enabl:2,end:2,ensur:2,entir:2,env:3,environ:3,ep:2,epc:2,epgl:2,epl:2,epl_crit:2,epl_dot:2,epl_max:2,eps_eq:2,eps_t:2,eq:2,eqiv:2,equal:2,equat:2,equibiaxi:2,equic:2,equilibrium:2,equiv:2,equival:2,error:2,et2:2,et:2,etc:2,etot:2,eva:2,evalu:2,evec:2,evenli:2,everi:2,evolut:2,exampl:[1,3],exist:2,expand:2,expect:[0,2],expon:2,export_mlparam:2,extend:2,f1:2,f1score:2,f:[2,3],f_yld_:2,factor:2,fals:2,faster:2,fct:2,fe:[2,3],fea:[0,1,2],featur:2,fgrad:2,field:2,file:2,filenam:2,filter:2,find:2,find_yloc:2,find_yloc_scalar:2,finit:2,firework:3,first:2,fit:2,fix:2,flexibl:[1,2],fli:2,flot:2,flow:[1,2],flow_stress:2,flowrul:0,fluid:1,folder:[],follow:[0,3],fontsiz:2,forc:2,form:[0,2,3],format:2,formul:2,found:3,free:[2,3],freedom:2,freeli:2,freez:2,from:[0,2,3],from_data:2,fs:2,fsel:2,fucntion:2,fulfil:2,full:[1,2],fulli:1,fun:2,further:2,furthermor:[2,3],fx:2,fy1:2,fy:2,g:0,gamma:2,gather:2,gauss:2,gaussian:2,gener:[0,2,3],geom:2,geometri:2,germani:[1,2],get_sflow:2,git:[1,3],github:[1,3],given:2,glob:2,global:[0,2],gnu:[2,3],gplv3:[2,3],gpx:2,gpy:2,grad_stiff:2,gradient:2,grain:2,graph:2,graphic:[2,3],greatli:3,grid:2,gridsearch:2,guid:1,gval:2,h:2,ha:[0,2],half:2,hand:2,handl:[2,3],harden:[0,2],hartma4:[],hartmaier:[1,2],have:[0,2],here:2,higher:2,highli:3,hill:[1,2],hill_3p:2,hill_6p:2,homogen:[1,2],horiz:2,horizont:2,host:2,how:[0,2],html:3,http:[1,2,3],hydrostat:2,hyperparamet:2,hyperspher:2,i:2,i_el_:2,i_pl_:2,icam:[1,2],ident:2,ignor:2,ii:2,iii:2,imaginari:2,implement:[2,3],improv:3,includ:[0,2],inclus:0,increment:2,ind:2,indec:2,indent:2,independ:2,index:[0,1,2,3],indic:2,individu:2,infinit:2,influenc:2,inform:2,inherit:2,initi:2,initit:2,inner:2,input:2,instal:1,instead:2,int_sin_m:2,integ:2,integr:2,intens:2,intern:[2,3],interpol:2,interpret:2,introduc:[0,1,2],introduct:1,inv:2,invari:2,invers:2,invok:2,io:3,ipynb:0,iso:2,isoparametr:2,isotrop:[0,2],isotropi:2,iter:2,its:[1,2,3],j2:[0,2],j:2,jac:2,jacobian:2,josn:2,json:2,jupyt:1,k:2,kel:2,kernel:2,keyword:2,khard:2,la:2,label:2,lamin:[0,2],larger:2,largest:2,later:2,latest:3,latter:2,lc_:2,ld:2,lead:2,learn:[1,2,3],least:2,left:2,legend:2,leli:2,lelx:2,length:2,leni:2,lenx:2,level:2,lh:2,librari:2,licens:[1,2],lie:2,like:[1,2],limit:2,linalg:2,line:2,linear:[0,2],list:2,load:2,load_cas:2,local:3,locat:2,loci:2,locu:2,lode:2,lode_ang:2,loop:2,ls:2,lx:2,ly:2,lz:2,m:[2,3],machin:[1,2,3],made:0,mae:2,mag:2,magnif:2,main:2,make:[1,2],mandatori:2,mark:0,mat:2,mat_param:2,mat_ref:2,materi:[0,1],matplotlib:[2,3],matric:2,matrix:[0,2],maximum:2,maxit:2,mean:2,measur:2,mechan:[0,1,2],mere:2,mesh:[0,2],meshgrid:2,messag:2,meta:2,metadata:2,metal:0,method:[1,2],micromechan:2,microstructur:2,min_step:2,miniconda:3,minimum:2,minumum:2,mirror:2,mise:2,mixtur:2,ml:[0,2],ml_full_yf:2,ml_grad:2,ml_yf:2,model:[0,1],modifi:2,modul:1,modulu:2,mongo:2,more:[0,2],msg:2,msl:2,msparam:2,multiply:2,must:2,n:2,na:2,name:2,nc:3,ndat:2,ndof:2,necessari:2,need:2,neg:2,nel:2,nextend:2,ngp:2,nlc:2,nmesh:2,nnode:2,nnodei:2,nnodex:2,nobot:2,nodal:2,node:2,node_num:2,noinner:2,noleft:2,non:[0,2],noncommerci:3,none:2,nonlin:2,noright:2,normal:[0,2],notat:2,notebook:[1,3],notop:2,np:2,npe:2,npl:2,npo:2,nsec:2,nseq:2,nset:2,nstep:2,ntext:2,nth:2,nu:2,nu_av:2,num:2,number6d:2,number:2,number_3d:2,number_6d:2,numer:[0,1,2,3],numpi:[2,3],nx:2,ny:2,object:2,obtain:2,occur:2,off:2,offlin:3,offset:2,olot:2,one:2,onli:2,onlin:3,onset:[0,2],open:3,oper:2,optim:2,option:2,optiona:2,org:2,organ:1,orthotrop:2,other:2,otherwis:2,outer:2,output:[2,3],over:2,overflow:2,overwritten:2,own:2,p:2,packag:[0,1,2,3],page:1,panda:[2,3],param:2,paramat:2,paramet:2,parametr:2,parent:2,part:2,particularli:2,pass:2,password:2,path:2,path_data:2,path_json:2,pathnam:2,pckl2mat:2,pckl:2,pd:2,pdf:2,pdot:2,peeq:2,peeq_:2,peeq_max:2,per:2,perform:2,perid:2,period:2,physic:2,pi:2,pickl:2,pip:3,pj:2,plane:2,planestress:2,plast:2,plastic12:2,plastic1:2,plastic2:2,plastic:[1,2],plot:2,plot_data:2,plot_set:2,plot_stress_strain:2,plot_yield_locu:2,point:2,poisson:2,polar:2,polar_ang:2,polar_plot_yl:2,poros:2,port:2,posit:2,possibl:[2,3],post:2,power:2,pre:2,precis:2,pred:2,predict:2,predictor:2,present:2,previou:2,pricip:2,prime:2,princ:2,princip:2,principl:2,print:2,problem:2,process:2,produc:2,prop:2,properti:[0,2],propj2:2,propos:2,provid:[0,2],ptol:2,publish:[2,3],pure:[0,2],pylabefea:2,pylabfea:[0,2,3],pylabfea_composit:0,pylabfea_homogen:0,pylabfea_introduct:0,pylabfea_ml:0,pylabfea_plast:0,pyplot:2,pytest:3,python:[0,2,3],quadrat:2,quadrilater:2,quantiti:2,question:2,r:2,radial:2,rand:2,random:2,rang:2,rather:2,ratio:2,raw:2,re:2,reach:2,read:2,readabl:2,real:2,recal:2,recent:3,recurs:2,red:2,redefin:2,redistribut:3,ref_mat:2,refer:[0,2],regim:2,region:2,regress:2,regular:2,relat:2,relax:2,remain:2,report:3,repositori:[0,1,3],repres:2,represent:2,requir:[2,3],research:[0,1],reserv:2,residu:2,respect:[0,2],respons:2,rest:2,result:[2,3],retriev:2,rh:2,right:2,ronak:2,rotat:2,routin:0,rub:[1,2],ruhr:[1,2],rule:[1,2],s0:2,s1:2,s2:2,s6:2,s:2,s_cyl:2,sa:[2,3],same:[0,2],save:2,sbc1:2,sbc2:2,sc:2,sc_full:2,scalar:2,scale:2,scatter:2,scb2:2,scikit:3,scipi:[2,3],scippi:2,score:2,script:[2,3],scyl:2,sd:2,sdata:2,sdev:2,sdim:2,search:[1,2],second:2,sect:2,section:[0,2],see:2,selct:2,select:2,selector:2,self:2,seper:2,seq:2,seq_j2:2,seqj2:2,sequenc:2,serv:2,set:2,set_csv:2,set_data:2,set_db:2,set_ind:2,set_textur:2,setup:0,setup_fgrad_svm:2,setup_yf_svm_3d:2,setup_yf_svm_6d:2,setupk:2,sever:0,sf:2,sfc_:2,sflow:2,sgl:2,shall:2,shape:[0,2],sharealik:3,shear:[0,2],shoghi:2,should:2,show:2,showmesh:2,shown:2,shownod:2,side:2,sig:2,sig_:2,sigep:2,signific:0,simpl:1,simpli:[0,2],simplic:1,simul:2,sin:2,sinc:2,singl:2,situat:2,size:2,sj2:2,sklearn:2,slice:2,slope:2,smaller:2,smallest:2,sname:2,softwar:3,solid:[1,2],solut:[0,2,3],solv:2,solver:2,sourc:2,sp:2,sp_cart:2,spa:2,space:[0,2],span:2,spars:2,special:2,specif:2,specifi:2,sphinx:3,sprinc:2,sqrt:2,st:2,stack:2,stackoverflow:2,start:2,stength:2,step:[0,2],stiff:2,stiffn:2,store:2,str:2,strain12:2,strain1:2,strain2:2,strain:[0,2],strength:2,stress12:2,stress1:2,stress2:2,stress:[1,2],string:2,structur:[0,2],studi:1,stx:2,sty:2,style:2,su:2,sub:2,subdivid:2,subdivis:2,subfold:[],subroutin:2,suit:1,sum:2,supervis:2,support:2,surfac:2,sv:2,svc:2,svm:2,svm_meta:2,svoigt:2,svr:2,sy:2,sy_av:2,syc:2,system:2,sytel:2,t:2,tangent:2,teach:1,technic:1,ten:2,tensil:2,tension:2,tensor:[0,2],tensori:[1,2],test:[2,3],test_sc:2,text:2,textur:2,texture_param:2,than:2,theta:2,thi:[0,2,3],thick:2,three:2,through:[2,3],time:2,titl:2,togeth:2,toler:2,too:2,tool:1,top:2,total:2,train:1,train_sc:2,train_svc:2,training_scor:2,trang:2,transfer:2,transform:2,tresca:[1,2],trigonometr:2,trunc:2,trunk:[2,3],tutori:[1,3],tx_cur:2,txdat:2,type:[0,2],typic:2,u:2,ubc:2,ubc_:2,ubcbot:2,ubcleft:2,ubcright:2,ubctop:2,umat:0,und:2,under:[2,3],uniaxi:2,uniform_hyperspher:2,unit:2,univers:[1,2],unpickl:2,unset:2,until:2,up:2,upper:2,upscal:2,us:[0,1,2,3],useful:2,user:[0,2,3],usernam:2,usnit:2,ux:2,uy:2,v:[2,3],val:2,valu:[0,2],vari:2,variabl:2,variou:2,vector:2,vel:2,verb:2,verbos:2,versa:2,version:[1,2,3],vert:2,vertic:2,via:[0,3],vice:2,viridi:2,virtual:2,visual:2,vmax:2,vmin:2,voigt:2,volum:2,von:2,vs:2,w:2,warranti:3,weight:2,welcom:3,well:1,wght:2,whdat:2,when:2,where:[0,2],whether:2,which:[1,2],wise:2,work:2,work_hard:2,workflow:3,write:2,written:[1,2],wrt:2,x1:2,x2:2,x:2,x_grad_train:2,x_test:2,xend:2,xstart:2,xx:2,xy:2,y1:2,y:2,y_grad_train:2,y_test:2,y_train:2,yf:2,yf_ml:2,yf_ref:2,yield:[0,2],yield_fct:2,yl:2,yld2004:2,yml:3,you:3,young:2,ys:2,yt:2,yy:2,z:2,zero:2},titles:["Jupyter notebooks","Python Laboratory for Finite Element Analysis (pyLabFEA)","Modules","Technical guide"],titleterms:{"1":0,"2":0,"3":0,"4":0,analysi:1,applic:0,basic:2,composit:0,contribut:3,data:2,depend:3,document:[1,3],element:1,exampl:0,finit:1,flow:0,full:0,guid:3,hill:0,homogen:0,indic:1,instal:3,introduct:0,jupyt:0,laboratori:1,learn:0,licens:3,like:0,machin:0,materi:2,model:2,modul:2,notebook:0,plastic:0,pylabfea:1,python:1,rule:0,stress:0,tabl:1,technic:3,tensori:0,train:[0,2],tresca:0,tutori:0}}) \ No newline at end of file +Search.setIndex({docnames:["examples","index","pyLabFEA","readme"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,"sphinx.ext.intersphinx":1,"sphinx.ext.viewcode":1,sphinx:56},filenames:["examples.rst","index.rst","pyLabFEA.rst","readme.rst"],objects:{"pylabfea.basic":[[2,1,1,"","Strain"],[2,1,1,"","Stress"],[2,3,1,"","a_vec"],[2,3,1,"","b_vec"],[2,4,1,"","eps_eq"],[2,4,1,"","pckl2mat"],[2,4,1,"","polar_ang"],[2,3,1,"","ptol"],[2,4,1,"","s_cyl"],[2,4,1,"","sdev"],[2,4,1,"","seq_J2"],[2,4,1,"","sp_cart"],[2,4,1,"","sprinc"],[2,4,1,"","svoigt"]],"pylabfea.basic.Strain":[[2,2,1,"","eeq"],[2,2,1,"","inv"]],"pylabfea.basic.Stress":[[2,2,1,"","cyl"],[2,2,1,"","lode_ang"],[2,2,1,"","sJ2"],[2,2,1,"","seq"],[2,2,1,"","theta"]],"pylabfea.data":[[2,1,1,"","Data"]],"pylabfea.data.Data":[[2,5,1,"","E_av"],[2,5,1,"","Nset"],[2,1,1,"","Set_CSV"],[2,1,1,"","Set_DB"],[2,1,1,"","Set_Data"],[2,5,1,"","dep"],[2,5,1,"","epc"],[2,5,1,"","flow_stress"],[2,5,1,"","mat_param"],[2,5,1,"","msl"],[2,5,1,"","name"],[2,5,1,"","nu_av"],[2,5,1,"","pd"],[2,5,1,"","pj"],[2,2,1,"","plot_set"],[2,2,1,"","plot_yield_locus"],[2,5,1,"","set"],[2,5,1,"","sy_av"]],"pylabfea.data.Data.Set_CSV":[[2,5,1,"","N"],[2,5,1,"","Ndat"],[2,5,1,"","Nlc"],[2,5,1,"","db"],[2,5,1,"","f_yld_"],[2,5,1,"","i_el_"],[2,5,1,"","i_pl_"],[2,5,1,"","lc_"],[2,5,1,"","load_case"],[2,5,1,"","name"],[2,5,1,"","peeq_"],[2,5,1,"","sfc_"],[2,5,1,"","sig_"],[2,5,1,"","sy"],[2,5,1,"","syc"],[2,5,1,"","texture_param"],[2,5,1,"","ubc_"]],"pylabfea.data.Data.Set_DB":[[2,5,1,"","N"],[2,5,1,"","Ndat"],[2,5,1,"","Nlc"],[2,5,1,"","db"],[2,5,1,"","f_yld_"],[2,5,1,"","i_el_"],[2,5,1,"","i_pl_"],[2,5,1,"","lc_"],[2,5,1,"","load_case"],[2,5,1,"","name"],[2,5,1,"","peeq_"],[2,5,1,"","sfc_"],[2,5,1,"","sig_"],[2,5,1,"","sy"],[2,5,1,"","syc"],[2,5,1,"","texture_param"],[2,5,1,"","ubc_"]],"pylabfea.material":[[2,1,1,"","Material"]],"pylabfea.material.Material":[[2,2,1,"","C_tan"],[2,2,1,"","ML_full_yf"],[2,5,1,"","ML_grad"],[2,5,1,"","ML_yf"],[2,5,1,"","Ndof"],[2,5,1,"","barlat"],[2,2,1,"","calc_fgrad"],[2,2,1,"","calc_properties"],[2,2,1,"","calc_seq"],[2,2,1,"","calc_seqB"],[2,2,1,"","calc_yf"],[2,2,1,"","create_sig_data"],[2,2,1,"","elasticity"],[2,2,1,"","ellipsis"],[2,2,1,"","epl_dot"],[2,2,1,"","export_MLparam"],[2,2,1,"","find_yloc"],[2,2,1,"","find_yloc_scalar"],[2,2,1,"","from_MLparam"],[2,2,1,"","from_data"],[2,2,1,"","get_sflow"],[2,5,1,"","hill_3p"],[2,5,1,"","hill_6p"],[2,5,1,"","msg"],[2,5,1,"","msparam"],[2,5,1,"","name"],[2,5,1,"","num"],[2,2,1,"","pckl"],[2,2,1,"","plasticity"],[2,2,1,"","plot_data"],[2,2,1,"","plot_stress_strain"],[2,2,1,"","plot_yield_locus"],[2,2,1,"","polar_plot_yl"],[2,5,1,"","prop"],[2,5,1,"","propJ2"],[2,2,1,"","response"],[2,2,1,"","set_texture"],[2,2,1,"","setup_fgrad_SVM"],[2,2,1,"","setup_yf_SVM_3D"],[2,2,1,"","setup_yf_SVM_6D"],[2,5,1,"","sigeps"],[2,5,1,"","sy"],[2,2,1,"","train_SVC"],[2,5,1,"","tresca"],[2,5,1,"","txdat"],[2,5,1,"","whdat"]],"pylabfea.model":[[2,1,1,"","Model"]],"pylabfea.model.Model":[[2,1,1,"","Element"],[2,5,1,"","LS"],[2,5,1,"","Ndof"],[2,5,1,"","Nel"],[2,5,1,"","Nnode"],[2,5,1,"","Nsec"],[2,2,1,"","assign"],[2,5,1,"","bcb"],[2,2,1,"","bcbot"],[2,5,1,"","bcl"],[2,2,1,"","bcleft"],[2,2,1,"","bcnode"],[2,5,1,"","bcr"],[2,2,1,"","bcright"],[2,5,1,"","bct"],[2,2,1,"","bctop"],[2,2,1,"","bcval"],[2,2,1,"","calc_global"],[2,5,1,"","dim"],[2,5,1,"","egl"],[2,5,1,"","element"],[2,5,1,"","epgl"],[2,5,1,"","f"],[2,2,1,"","geom"],[2,5,1,"","glob"],[2,5,1,"","lenx"],[2,5,1,"","leny"],[2,5,1,"","mat"],[2,2,1,"","mesh"],[2,5,1,"","noinner"],[2,5,1,"","nonlin"],[2,5,1,"","npos"],[2,5,1,"","planestress"],[2,2,1,"","plot"],[2,2,1,"","setupK"],[2,5,1,"","sgl"],[2,2,1,"","solve"],[2,5,1,"","thick"],[2,5,1,"","u"],[2,5,1,"","ubcbot"],[2,5,1,"","ubcleft"],[2,5,1,"","ubcright"],[2,5,1,"","ubctop"]],"pylabfea.model.Model.Element":[[2,5,1,"","Bmat"],[2,5,1,"","CV"],[2,5,1,"","Jac"],[2,5,1,"","Kel"],[2,5,1,"","Lelx"],[2,5,1,"","Lely"],[2,5,1,"","Mat"],[2,5,1,"","Model"],[2,5,1,"","Vel"],[2,2,1,"","calc_Bmat"],[2,2,1,"","calc_Kel"],[2,2,1,"","depl"],[2,2,1,"","deps"],[2,2,1,"","dsig"],[2,5,1,"","elstiff"],[2,5,1,"","epl"],[2,5,1,"","eps"],[2,2,1,"","eps_t"],[2,5,1,"","gpx"],[2,5,1,"","gpy"],[2,5,1,"","ngp"],[2,2,1,"","node_num"],[2,5,1,"","nodes"],[2,5,1,"","sig"],[2,5,1,"","wght"]],"pylabfea.model.Model.material":[[2,5,1,"","mat"],[2,5,1,"","nonlin"]],"pylabfea.training":[[2,4,1,"","int_sin_m"],[2,4,1,"","load_cases"],[2,4,1,"","primes"],[2,4,1,"","training_score"],[2,4,1,"","uniform_hypersphere"]],pylabfea:[[2,0,0,"-","basic"],[2,0,0,"-","data"],[2,0,0,"-","material"],[2,0,0,"-","model"],[2,0,0,"-","training"]]},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","data","Python data"],"4":["py","function","Python function"],"5":["py","attribute","Python attribute"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:data","4":"py:function","5":"py:attribute"},terms:{"0":[2,3],"0005":2,"002":2,"005":2,"01":2,"02":2,"03":2,"1":[1,2],"10":2,"100":2,"1009":2,"11":2,"12":2,"14":2,"15":2,"16":2,"17":2,"17000":2,"18":2,"18p":2,"1d":2,"2":[1,2],"20":2,"2004":2,"2005":2,"2021":2,"2022":2,"21":2,"22":2,"23":2,"25":2,"27":2,"2d":[0,2],"3":[1,2],"36":2,"3d":2,"3x3":2,"4":[1,2,3],"40824829":2,"45":2,"5":[1,2],"50":2,"57123194":2,"5773502691896258":2,"59279721":2,"6":[0,2],"6d":2,"6xn":2,"70710678":2,"72":2,"8":2,"81649658":2,"9":2,"boolean":2,"case":2,"class":2,"default":2,"export":2,"final":2,"float":2,"function":[2,3],"import":[0,2,3],"int":2,"long":2,"new":3,"public":[2,3],"return":2,"short":2,"static":2,"true":2,A:[0,2],At:2,BY:[2,3],Be:2,But:2,For:[0,2],If:2,In:[0,2],It:[0,2,3],NO:3,The:[0,1,2,3],Then:2,There:2,These:2,Will:2,_:[],_meta:[],a_vec:2,abaqu:[0,2],absolut:[2,3],accept:2,access:0,accor:2,accord:2,accuraci:2,activ:[2,3],ad:2,adapt:2,add:2,addit:2,after:[2,3],ahartmai:[1,3],al:2,alexand:[1,2],algorithm:[0,2,3],all:2,allsig:2,along:2,alreadi:2,also:[0,2],altern:3,alwai:2,an:[0,2,3],ana:2,anaconda:3,analysi:2,analyt:2,analyz:[0,2],ang:2,angl:2,ani:[2,3],anisoptrop:2,anisotrop:[0,2],anisotropi:[0,2],annot:2,appli:2,applic:[1,3],appreci:3,approach:2,appropri:2,ar:[0,2,3],arbitrari:2,argument:2,around:2,arrai:[0,2,3],arrang:0,arrayi:2,arrow:2,assembl:2,assign:[0,2],associ:[0,2],assum:2,asymmetri:2,attribut:[2,3],author:[1,2],automat:2,avail:[0,2],averag:2,avoid:2,ax:2,axi:2,axis1:2,axis2:2,b:2,b_vec:2,back:2,barlat:[0,2],barlat_exp:2,base:[0,2],basi:[0,2],basic:[0,1],bc:2,bc_dir:2,bcb:2,bcbot:2,bcdir:2,bcl:2,bcleft:2,bcnode:2,bcr:2,bcright:2,bct:2,bctop:2,bctype:2,bcval:2,been:2,behavior:[0,1,2],belong:2,between:2,binder:0,bmat:2,bochum:[1,2],bool:2,bot:2,bottom:2,boundari:2,brentq:2,brows:3,bug:3,built:2,c11:2,c12:2,c44:2,c:2,c_tan:2,calc_bc:2,calc_bmat:2,calc_fgrad:2,calc_glob:2,calc_kel:2,calc_properti:2,calc_seq:2,calc_seqb:2,calc_yf:2,calcul:2,call:2,can:[0,2,3],captur:2,card:2,cartesian:2,categori:2,catgegori:2,cbar:2,cc:[2,3],cd:3,cdepth:2,cel:2,chapter:2,chose:2,classifi:2,clone:3,cmat:2,code:[2,3],coeffici:2,color:2,colorbar:2,colormap:2,com:[1,2,3],come:3,command:3,comment:3,commerci:0,common:3,compar:[0,2],comparison:2,complet:2,complex:0,compon:2,composit:1,compress:2,comput:2,conda:3,condit:[2,3],conform:2,consid:2,consist:[0,2],constant:2,constitut:[0,1,2],consum:2,contact:1,contain:[0,2],content:3,continu:2,contour:2,contribut:1,control:2,conveni:0,converg:2,convers:2,convert:2,coordin:2,corner:2,correct:3,correspond:2,cosin:2,cover:0,creat:[2,3],create_sig_data:2,creativ:3,creativecommon:2,crisfield:2,criteria:0,criterion:0,critic:2,crystallograph:2,csv:2,ct:2,current:2,curv:2,cut:2,cv:2,cval:2,cyl:2,cylindr:2,d:2,d_ep:2,d_sig:2,data:[0,1,3],data_label:2,databas:2,databs:2,dataset:2,db:2,de:[1,2],de_p:2,decai:2,decid:2,decis:2,defaul:2,defin:[0,2],defini:2,definit:2,deform:2,degre:2,degress:2,demonstr:0,densli:2,dep:2,depend:1,depl:2,deriv:2,descr:2,describ:2,determin:2,deviator:2,devitor:2,dicitionari:2,dictionari:2,dictonari:2,differ:[0,2],dim:2,dimens:2,dimensi:2,dimension:[0,2],dir:[],direct:[2,3],directli:[0,3],directori:[0,2],disp:2,displac:2,displai:2,distanc:2,distort:2,distribut:2,ditionari:2,dname:2,doc:3,document:2,dof:2,done:2,doubl:2,downscal:2,draw:2,drawn:2,drucker:2,ds:2,dset:2,dsig:2,dt:2,dual:2,due:1,dure:2,e:[0,2],e_av:2,each:[0,2],easi:2,easili:2,ebc1:2,ebc2:2,ect:2,edg:2,eel:2,eeq:2,effici:2,egl:2,eigenvector:2,either:[2,3],elast:[0,1,2],elasto:0,element:[0,2],ellipsi:2,elmt:2,elstiff:2,email:2,enabl:2,end:2,ensur:2,entir:2,env:3,environ:3,ep:2,epc:2,epgl:2,epl:2,epl_crit:2,epl_dot:2,epl_max:2,eps_eq:2,eps_t:2,eq:2,eqiv:2,equal:2,equat:2,equibiaxi:2,equic:2,equilibrium:2,equiv:2,equival:[1,2],error:2,et2:2,et:2,etc:2,etot:2,eva:2,evalu:2,evec:2,evenli:2,everi:2,evolut:2,exampl:[1,3],exist:2,expand:2,expect:[0,2],expon:2,export_mlparam:2,extend:2,f1:2,f1score:2,f:[2,3],f_yld_:2,factor:2,fals:2,faster:2,fct:2,fe:[2,3],fea:[0,1,2],featur:2,fgrad:2,field:2,file:2,filenam:2,filter:2,find:2,find_yloc:2,find_yloc_scalar:2,finit:2,firework:3,first:2,fit:2,fix:2,flexibl:[1,2],fli:2,flot:2,flow:[1,2],flow_stress:2,flowrul:0,fluid:1,folder:[],follow:[0,3],fontsiz:2,forc:2,form:[0,2,3],format:2,formul:2,found:3,free:[2,3],freedom:2,freeli:2,freez:2,from:[0,2,3],from_data:2,from_mlparam:2,fs:2,fsel:2,fucntion:2,fulfil:2,full:[1,2],fulli:1,fun:2,further:2,furthermor:[2,3],fx:2,fy1:2,fy:2,g:0,gamma:2,gather:2,gauss:2,gaussian:2,gener:[0,2,3],geom:2,geometri:2,germani:[1,2],get_sflow:2,git:[1,3],github:[1,3],given:2,glob:2,global:[0,2],gnu:[2,3],gplv3:[2,3],gpx:2,gpy:2,grad_stiff:2,gradient:2,grain:2,graph:2,graphic:[2,3],greatli:3,grid:2,gridsearch:2,guid:1,gval:2,h:2,ha:[0,2],half:2,hand:2,handl:[2,3],harden:[0,2],hartma4:[],hartmaier:[1,2],have:[0,2],here:2,higher:2,highli:3,hill:[1,2],hill_3p:2,hill_6p:2,homogen:[1,2],horiz:2,horizont:2,host:2,how:[0,2],html:3,http:[1,2,3],hydrostat:2,hyperparamet:2,hyperspher:2,i:2,i_el_:2,i_pl_:2,icam:[1,2],ident:2,ignor:2,ii:2,iii:2,imaginari:2,implement:[2,3],improv:3,includ:[0,2],inclus:0,increment:2,ind:2,indec:2,indent:2,independ:2,index:[0,1,2,3],indic:2,individu:2,infinit:2,influenc:2,inform:2,inherit:2,initi:2,initit:2,inner:2,input:2,instal:1,instead:2,int_sin_m:2,integ:2,integr:2,intens:2,intern:[2,3],interpol:2,interpret:2,introduc:[0,1,2],introduct:1,inv:2,invari:2,invers:2,invok:2,io:3,ipynb:0,iso:2,isoparametr:2,isotrop:[0,2],isotropi:2,iter:2,its:[1,2,3],j2:[0,2],j:2,jac:2,jacobian:2,josn:2,json:2,jupyt:1,k:2,kel:2,kernel:2,keyword:2,khard:2,la:2,label:2,lamin:[0,2],larger:2,largest:2,later:2,latest:3,latter:2,lc_:2,ld:2,lead:2,learn:[1,2,3],least:2,left:2,legend:2,leli:2,lelx:2,length:2,leni:2,lenx:2,level:2,lh:2,librari:2,licens:[1,2],lie:2,like:2,limit:2,linalg:2,line:2,linear:[0,2],list:2,load:2,load_cas:2,local:3,locat:2,loci:2,locu:2,lode:2,lode_ang:2,loop:2,ls:2,lx:2,ly:2,lz:2,m:[2,3],machin:[1,2,3],made:0,mae:2,mag:2,magnif:2,main:2,make:[1,2],mandatori:2,mark:0,mat:2,mat_param:2,mat_ref:2,materi:[0,1],matplotlib:[2,3],matric:2,matrix:[0,2],maximum:2,maxit:2,mean:2,measur:2,mechan:[0,1,2],mere:2,mesh:[0,2],meshgrid:2,messag:2,meta:2,metadata:2,metal:0,method:[1,2],micromechan:2,microstructur:2,min_step:2,miniconda:3,minimum:2,minumum:2,mirror:2,mise:2,mixtur:2,ml:[0,2],ml_full_yf:2,ml_grad:2,ml_yf:2,model:[0,1],modifi:2,modul:1,modulu:2,mongo:2,more:[0,2],msg:2,msl:2,msparam:2,multiply:2,must:2,n:2,na:2,name:2,name_meta:2,nc:3,ndat:2,ndof:2,necessari:2,need:2,neg:2,nel:2,nextend:2,ngp:2,nlc:2,nmesh:2,nnode:2,nnodei:2,nnodex:2,nobot:2,nodal:2,node:2,node_num:2,noinner:2,noleft:2,non:[0,2],noncommerci:3,none:2,nonlin:2,noright:2,normal:[0,2],notat:2,notebook:[1,3],notop:2,np:2,npe:2,npl:2,npo:2,nsec:2,nseq:2,nset:2,nstep:2,ntext:2,nth:2,nu:2,nu_av:2,num:2,number6d:2,number:2,number_3d:2,number_6d:2,numer:[0,1,2,3],numpi:[2,3],nx:2,ny:2,object:2,obtain:2,occur:2,off:2,offlin:3,offset:2,olot:2,one:2,onli:2,onlin:3,onset:[0,2],open:3,oper:2,optim:2,option:2,optiona:[],org:2,organ:1,orthotrop:2,other:2,otherwis:2,outer:2,output:[2,3],over:2,overflow:2,overwritten:2,own:2,p:2,packag:[0,1,2,3],page:1,panda:[2,3],param:2,paramat:2,paramet:2,parametr:2,parent:2,part:2,particularli:2,pass:2,password:2,path:2,path_data:2,path_json:2,pathnam:2,pckl2mat:2,pckl:2,pd:2,pdf:2,pdot:2,peeq:2,peeq_:2,peeq_max:2,per:2,perform:2,perid:2,period:2,physic:2,pi:2,pickl:2,pip:3,pj:2,plane:2,planestress:2,plast:2,plastic12:2,plastic1:2,plastic2:2,plastic:[1,2],plot:2,plot_data:2,plot_set:2,plot_stress_strain:2,plot_yield_locu:2,point:2,poisson:2,polar:2,polar_ang:2,polar_plot_yl:2,poros:2,port:2,posit:2,possibl:[2,3],post:2,power:2,pre:2,precis:2,pred:2,predict:2,predictor:2,present:2,previou:2,pricip:2,prime:2,princ:2,princip:2,principl:2,print:2,problem:2,process:2,produc:2,prop:2,properti:[0,2],propj2:2,propos:2,provid:[0,2],ptol:2,publish:[2,3],pure:[0,2],pylabefea:2,pylabfea:[0,2,3],pylabfea_composit:0,pylabfea_equiv:0,pylabfea_homogen:0,pylabfea_introduct:0,pylabfea_ml:0,pylabfea_plast:0,pyplot:2,pytest:3,python:[0,2,3],quadrat:2,quadrilater:2,quantiti:2,question:2,r:2,radial:2,rand:2,random:2,rang:2,rather:2,ratio:2,raw:2,re:2,reach:2,read:2,readabl:2,real:2,recal:2,recent:3,recurs:2,red:2,redefin:2,redistribut:3,ref_mat:2,refer:[0,2],regim:2,region:2,regress:2,regular:2,relat:2,relax:2,remain:2,report:3,repositori:[0,1,3],repres:2,represent:2,requir:[2,3],research:[0,1],reserv:2,reset:2,residu:2,respect:[0,2],respons:2,rest:2,result:[2,3],retriev:2,rh:2,right:2,ronak:2,rotat:2,routin:0,rub:[1,2],ruhr:[1,2],rule:[1,2],s0:2,s1:2,s2:2,s6:2,s:2,s_cyl:2,sa:[2,3],same:[0,2],save:2,sbc1:2,sbc2:2,sc:2,sc_full:2,scalar:2,scale:2,scatter:2,scb2:2,scikit:3,scipi:[2,3],scippi:2,score:2,script:[2,3],scyl:2,sd:2,sdata:2,sdev:2,sdim:2,search:[1,2],second:2,sect:2,section:[0,2],see:2,selct:2,select:2,selector:2,self:2,seper:2,seq:2,seq_j2:2,seqj2:2,sequenc:2,serv:2,set:2,set_csv:2,set_data:2,set_db:2,set_ind:2,set_textur:2,setup:0,setup_fgrad_svm:2,setup_yf_svm_3d:2,setup_yf_svm_6d:2,setupk:2,sever:0,sf:2,sfc_:2,sflow:2,sgl:2,shall:2,shape:[0,2],sharealik:3,shear:[0,2],shoghi:2,should:2,show:2,showmesh:2,shown:2,shownod:2,side:2,sig:2,sig_:2,sigep:2,signific:0,simpl:1,simpli:[0,2],simplic:1,simul:2,sin:2,sinc:2,singl:2,situat:2,size:2,sj2:2,sklearn:2,slice:2,slope:2,smaller:2,smallest:2,sname:2,softwar:3,solid:[1,2],solut:[0,2,3],solv:2,solver:2,sourc:2,sp:2,sp_cart:2,spa:2,space:[0,2],span:2,spars:2,special:2,specif:2,specifi:2,sphinx:3,sprinc:2,sqrt:2,st:2,stack:2,stackoverflow:2,start:2,stength:2,step:[0,2],stiff:2,stiffn:2,store:2,str:2,strain12:2,strain1:2,strain2:2,strain:[0,2],strength:2,stress12:2,stress1:2,stress2:2,stress:[1,2],string:2,structur:[0,2],studi:1,stx:2,sty:2,style:2,su:2,sub:2,subdivid:2,subdivis:2,subfold:[],subroutin:2,suit:1,sum:2,supervis:2,support:2,surfac:2,sv:2,svc:2,svm:2,svm_meta:2,svoigt:2,svr:2,sy:2,sy_av:2,syc:2,system:2,sytel:2,t:2,tangent:2,teach:1,technic:1,ten:2,tensil:2,tension:2,tensor:[0,2],tensori:[1,2],test:[2,3],test_sc:2,text:2,textur:2,texture_param:2,than:2,theta:2,thi:[0,2,3],thick:2,three:2,through:[2,3],time:2,titl:2,togeth:2,toler:2,too:2,tool:1,top:2,total:2,train:1,train_sc:2,train_svc:2,training_scor:2,trang:2,transfer:2,transform:2,tresca:[1,2],trigonometr:2,trunc:2,trunk:[2,3],tutori:[1,3],tx_cur:2,txdat:2,type:[1,2],typic:2,u:2,ubc:2,ubc_:2,ubcbot:2,ubcleft:2,ubcright:2,ubctop:2,umat:0,und:2,under:[2,3],uniaxi:2,uniform_hyperspher:2,unit:2,univers:[1,2],unpickl:2,unset:2,until:2,up:2,upper:2,upscal:2,us:[0,1,2,3],useful:2,user:[0,2,3],usernam:2,usnit:2,ux:2,uy:2,v:[2,3],val:2,valu:[0,2],vari:2,variabl:2,variou:2,vector:2,vel:2,verb:2,verbos:2,versa:2,version:[1,2,3],vert:2,vertic:2,via:[0,3],vice:2,viridi:2,virtual:2,visual:2,vmax:2,vmin:2,voigt:2,volum:2,von:2,vs:2,w:2,warranti:3,weight:2,welcom:3,well:1,wght:2,whdat:2,when:2,where:[0,2],whether:2,which:[1,2],wise:2,work:2,work_hard:2,workflow:3,write:2,written:[1,2],wrt:2,x1:2,x2:2,x:2,x_grad_train:2,x_test:2,xend:2,xstart:2,xx:2,xy:2,y1:2,y:2,y_grad_train:2,y_test:2,y_train:2,yf:2,yf_ml:2,yf_ref:2,yield:[0,2],yield_fct:2,yl:2,yld2004:2,yml:3,you:3,young:2,ys:2,yt:2,yy:2,z:2,zero:2},titles:["Jupyter notebooks","Python Laboratory for Finite Element Analysis (pyLabFEA)","Modules","Technical guide"],titleterms:{"1":0,"2":0,"3":0,"4":0,"5":0,analysi:1,applic:0,basic:2,composit:0,contribut:3,data:2,depend:3,document:[1,3],element:1,equival:0,exampl:0,finit:1,flow:0,full:0,guid:3,hill:0,homogen:0,indic:1,instal:3,introduct:0,jupyt:0,laboratori:1,learn:0,licens:3,like:[],machin:0,materi:2,model:2,modul:2,notebook:0,plastic:0,pylabfea:1,python:1,rule:0,stress:0,tabl:1,technic:3,tensori:0,train:[0,2],tresca:0,tutori:0,type:0}}) \ No newline at end of file diff --git a/src/pylabfea/material.py b/src/pylabfea/material.py index 258f9db..5232f68 100644 --- a/src/pylabfea/material.py +++ b/src/pylabfea/material.py @@ -1754,7 +1754,8 @@ def from_data(self, param): grain shapes and porosities. Will invoke definition of elastic and plastic parameters by calls to the methods `Material.elasticity` and `Material.plasticity` with the parameters provided in the data set. - Also initializes current texture to first one in list and re-sets work-hardening parameters. + Also initializes current texture to first one in list and resets work hardening + parameters. Parameters ---------- @@ -1806,17 +1807,18 @@ def from_data(self, param): def from_MLparam(self, name, path='../../models/'): '''Define material properties from parameters of trained machine learning - models that have been written with ``Material.export_MLparam`. + models that have been written with `Material.export_MLparam`. Will invoke definition of elastic parameters by calls to the methods - ``Material.elasticity`` with the parameters provided in the data set. - Also initializes current texture to first one in list and re-sets + `Material.elasticity` with the parameters provided in the data set. + Also initializes current texture to first one in list and resets work hardening + parameters. Parameters ---------- name : string - Name of parameter files (`name`.csv file and metadata file `name`_meta.json) + Name of parameter files (`name`.csv file and metadata file `name_meta.json`) path : string - Path in which files are stored (optional, default: ../../models/'') + Path in which files are stored (optional, default: '../../models/') ''' raise ModuleNotFoundError('Import from ML parameters not yet implemented.')