Code Monkey home page Code Monkey logo

hashinshtrikman-'s Introduction

HashinShtrikman-

Matlab Code associated with "Determination of Hashin-Shtrikman Bounds on the Isotropic Effective Elastic Moduli of Polycrystals of any Symmetry" Two files are included in this repository:

test_HSBounds.m HSBounds.m

The first contains example data, makes the call to the function, and includes a listing of expected results The second is the implementation determining the Hashin-Shtrikman Bounds:

function [hs,vrh,ko_go,ustart]=HSBounds(cij) % This function finds the Hashin-Shtrikman bounds for material with elastic % moduli cij in a 6x6 matrix. It is the implementation of the variational % equations first derived by Hashin and Shtrikman in 1963 and later % articulated in papers by Peselnick and Meister and Watt and Peselnick. % Usage: % [hs,vrh,ko_go,ustart]=HSBounds(cij) % where: % cij is a 6x6 matrix of elastic constants of any symmetry (GPa units) % hs is a 2x2 matrix with upper and lower "optimal" bounds for K and G % vrh gives, for reference, the Voigt-Reuss-Hill bounds % ko_go gives the properties of the reference material at the optimal point % ustart gives the starting point used for "go" in the calculations % % The following "nested" custom functions are included: % 1. [xmax,hs]=edgeu('pos' or 'neg'); finds the positive definite % boundary at small ko and the negative definite boundary at large ko % 2. [k,hsl]=edgek(y,'pos' or 'neg'); finds the positive/negative % boundary at fixed uo with increasing ko % 3. y=lowerbound(x) returns the hs value at the boundaries - used in % search for optimal values % 4. y=upperbound(x) returns the hs value at the boundaries - used in % search for optimal values % 5. [hs,value]=hscalc(ko,go,cij) does the Hashin-Shrtikman % calculations % 6. [K,G]=VRH(C) calculates Voigt-Reuss-Hill bounds % The built-in to MATLAB search function fminbnd is used to find the optimal bounds % JMB 2013

hashinshtrikman-'s People

Contributors

jmichaelb avatar

Watchers

 avatar

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.