Code Monkey home page Code Monkey logo

mechkit's Issues

Define additional notations in Docs

Extention of the doc string of "mechkit.notation.ExplicitConveter"
by representations of stiffnesses and compliances in

  • Voigt
  • UMAT
  • VUMAT

notation would be a huge improvement.

Currently, some placeholder "todos" show where additional views may be placed.

image

Inspiration for the representations may be given by these views (actually the stiffness-representation for Voigt notation is included in the below screenshot)

image

Notation: Add new features

  • Abaqus UMAT notation
    • stress
    • strain
    • stiffness
    • compliance
  • Abaqus VUMAT notation (stress, strain, )
    • stress
    • strain
    • stiffness
    • compliance

Add "completely symmetric" fourth-order tensors to notation.ExplicitConverter

Exchange of completely symmetric tensors, such as fiber orientation tensors of fourth order in a
minimal, i.e., nearly redundancy-free notation is a common task for engineers working with short fiber reinforced composites.

Support of

tensors = <bunch of  fourth order fiber orientation tensors>

con = mechkit.notation.ExplicitConverter()
con.convert(
inp=tensors, source="tensor", target="exchange", quantity="fiber_orientation"
)

with "exchange", e.g., being

[
N_1111, N_2222, N_3333,
N_2233, N_1133, N_1122,
N_1123, N_2223, N_3323, 
N_1113, N_2213, N_3313, 
N_1112, N_2212, N_3312, 
]

See also equations (38) to (40) in
Variety of fiber orientation tensors, Bauer and Böhlke 2021

It is clear, that, e.g., N_3333 could be omitted, as only 14 components are independent, but
not omitting it, will enable usage for, e.g., diffusion-weighted magnet resonance tomography tensors of fourth order,
which have no normalized trace.

Notation: Rethink implementation

Current implementation focuses programmatically on extensibility and clarity
(e.g. dicts containing converter functions and scaling factors).
However, this extensibility is not truly existent.
Converter-commands like .to_mandel6, .to_tensor, .to_mandel9
identify the source format by analysis of the dimensions of the input quantity.

Possible structural changes:

  • Switch from Converter to tensor-class
    • Keep underlying extensible structure of converter internally and
      supply information of the source notation explicitly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.