ElasticSolid#

class osaft.core.solids.ElasticSolid(frequency, E, nu, rho)[source]#

Bases: RigidSolid

ElasticSolid class

Parameters:
  • frequency – excitation frequency in [Hz]

  • E – Young’s modulus in [Pa]

  • nu – Poisson’s ratio in [-]

  • rho – density in [km m^-3]

Public Data Attributes:

E_s

Returns the Young's modulus \(E_{s}\) [Pa].

nu_s

Returns the Poisson's ratio \(\nu_{s}\).

G

Returns the shear modulus \(G\).

B_s

Returns the bulk modulus \(B_{s}\) [Pa]

kappa_s

Returns the compressibility \(\kappa_{s}\) [1/Pa]

c_l

Returns the longitudinal wave speed \(c_l\) [m/s]

c_t

Return the transverse wave speed \(c_t\) [m/s]

k_l

Returns the longitudinal wave number \(k_l\) [1/m]

k_t

Returns the transverse wave number \(k_t\) [1/m]

lame_1

Returns the first Lamé parameter \(\lambda\) [Pa]

lame_2

Returns the second Lamé parameter \(\mu\)

Inherited from RigidSolid

rho_s

Returns the density \(\rho_{s}\).

Inherited from BaseFrequencyComposite

Public Methods:

E_from_wave_speed(c_1, c_2, rho)

Computes the Young's modulus \(E\) from the primary and the secondary wave speed \(c_1\), \(c_2\) and the density \(\rho\).

nu_from_wave_speed(c_1, c_2)

Computes the Poisson's ratio \(\nu\) from the primary and the secondary wave speed \(c_1\), \(c_2\), and the density \(\rho\).

lambda_from_wave_speed(c_1, c_2, rho)

Computes the Lamé first parameter \(\lambda\) from the primary and the secondary wave speed \(c_1\), \(c_2\) and the density \(\rho\).

G_from_wave_speed(c_2, rho)

Computes the second Lamé parameter \(G\) from the secondary wave speed \(c_2\) and the density \(\rho\).

c1_from_E_nu(E, nu, rho)

Computes the primary wave speed \(c_1\) from the Young's modulus \(E\) and the Poisson's ratio \(\nu\), and the density \(\rho\).

c2_from_E_nu(E, nu, rho)

Computes the secondary wave speed \(c_2\) from the Young's modulus \(E\) and the Poisson's ratio \(\nu\), and the density \(\rho\).

c1_from_Lame(lam, G, rho)

Computes the primary wave speed \(c_1\) from the Lamé parameters \(\lambda\), \(G\), and the density \(\rho\).

c2_from_Lame(G, rho)

Computes the secondary wave speed \(c_2\) from the Lamé parameters \(\lambda\), \(G\), and the density \(\rho\).

E_from_Lame(lam, G)

Computes the Young's modulus \(E\) from the Lamé parameters \(\lambda\), \(G\)

nu_from_Lame(lam, G)

Computes the the Poisson's ratio \(\nu\) from the Lamé parameters \(\lambda\), \(G\).

lambda_from_E_nu(E, nu)

Computes the first Lamé parameters \(\lambda\) from the Young's modulus \(E\) and the Poisson's ratio \(\nu\).

G_from_E_nu(E, nu)

Computes the second Lamé parameters \(G\) from the Young's modulus \(E\) and the Poisson's ratio \(\nu\).

Inherited from BaseFrequencyComposite

input_variables()

Returns all properties that are settable.


static E_from_Lame(lam, G)[source]#

Computes the Young’s modulus \(E\) from the Lamé parameters \(\lambda\), \(G\)

Parameters:
  • lam (float) – first Lamé parameter [Pa]

  • G (float) – second Lamé parameter [Pa]

Return type:

float

static E_from_wave_speed(c_1, c_2, rho)[source]#

Computes the Young’s modulus \(E\) from the primary and the secondary wave speed \(c_1\), \(c_2\) and the density \(\rho\).

Parameters:
  • c_1 (float) – primary wave speed [m/s]

  • c_2 (float) – secondary wave speed [m/s]

  • rho (float) – density [kg/m^3]

Return type:

float

static G_from_E_nu(E, nu)[source]#

Computes the second Lamé parameters \(G\) from the Young’s modulus \(E\) and the Poisson’s ratio \(\nu\).

Parameters:
  • E (float) – Young;s modulus [Pa]

  • nu (float) – Poisson’s ratio [-]

Return type:

float

static G_from_wave_speed(c_2, rho)[source]#

Computes the second Lamé parameter \(G\) from the secondary wave speed \(c_2\) and the density \(\rho\).

Parameters:
  • c_2 (float) – secondary wave speed [m/s]

  • rho (float) – density [kg/m^3]

Return type:

float

static c1_from_E_nu(E, nu, rho)[source]#

Computes the primary wave speed \(c_1\) from the Young’s modulus \(E\) and the Poisson’s ratio \(\nu\), and the density \(\rho\).

Parameters:
  • E (float) – Young;s modulus [Pa]

  • nu (float) – Poisson’s ratio [-]

  • rho (float) – density [kg/m^3]

Return type:

float

static c1_from_Lame(lam, G, rho)[source]#

Computes the primary wave speed \(c_1\) from the Lamé parameters \(\lambda\), \(G\), and the density \(\rho\).

Parameters:
  • lam (float) – first Lamé parameter [Pa]

  • G (float) – second Lamé parameter [Pa]

  • rho (float) – density [kg/m^3]

Return type:

float

static c2_from_E_nu(E, nu, rho)[source]#

Computes the secondary wave speed \(c_2\) from the Young’s modulus \(E\) and the Poisson’s ratio \(\nu\), and the density \(\rho\).

Parameters:
  • E (float) – Young;s modulus [Pa]

  • nu (float) – Poisson’s ratio [-]

  • rho (float) – density [kg/m^3]

Return type:

float

static c2_from_Lame(G, rho)[source]#

Computes the secondary wave speed \(c_2\) from the Lamé parameters \(\lambda\), \(G\), and the density \(\rho\).

Parameters:
  • G (float) – second Lamé parameter [Pa]

  • rho (float) – density [kg/m^3]

Return type:

float

classmethod input_variables()#

Returns all properties that are settable.

Returns a list of the names of all properties that are settable, i.e. all properties that wrap a PassiveVariable.

Return type:

list[str]

classmethod lambda_from_E_nu(E, nu)[source]#

Computes the first Lamé parameters \(\lambda\) from the Young’s modulus \(E\) and the Poisson’s ratio \(\nu\).

Parameters:
  • E (float) – Young;s modulus [Pa]

  • nu (float) – Poisson’s ratio [-]

Return type:

float

static lambda_from_wave_speed(c_1, c_2, rho)[source]#

Computes the Lamé first parameter \(\lambda\) from the primary and the secondary wave speed \(c_1\), \(c_2\) and the density \(\rho\).

Parameters:
  • c_1 (float) – primary wave speed [m/s]

  • c_2 (float) – secondary wave speed [m/s]

  • rho (float) – density [kg/m^3]

Return type:

float

static nu_from_Lame(lam, G)[source]#

Computes the the Poisson’s ratio \(\nu\) from the Lamé parameters \(\lambda\), \(G\).

Parameters:
  • lam (float) – first Lamé parameter [Pa]

  • G (float) – second Lamé parameter [Pa]

Return type:

float

static nu_from_wave_speed(c_1, c_2)[source]#

Computes the Poisson’s ratio \(\nu\) from the primary and the secondary wave speed \(c_1\), \(c_2\), and the density \(\rho\).

Parameters:
  • c_1 (float) – primary wave speed [m/s]

  • c_2 (float) – secondary wave speed [m/s]

Return type:

float

property B_s: float#

Returns the bulk modulus \(B_{s}\) [Pa]

property E_s: float#

Returns the Young’s modulus \(E_{s}\) [Pa].

Getter:

returns the value for the Young’s modulus

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property G: float#

Returns the shear modulus \(G\).

property c_l: float#

Returns the longitudinal wave speed \(c_l\) [m/s]

property c_t: float#

Return the transverse wave speed \(c_t\) [m/s]

property f: float#

wrapper for osaft.core.frequency.Frequency.f

property k_l: float#

Returns the longitudinal wave number \(k_l\) [1/m]

property k_t: float#

Returns the transverse wave number \(k_t\) [1/m]

property kappa_s: float#

Returns the compressibility \(\kappa_{s}\) [1/Pa]

property lame_1: float#

Returns the first Lamé parameter \(\lambda\) [Pa]

property lame_2: float#

Returns the second Lamé parameter \(\mu\)

property nu_s: float#

Returns the Poisson’s ratio \(\nu_{s}\).

Getter:

returns the value for the Poisson’s ratio

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()

property omega: float#

wrapper for osaft.core.frequency.Frequency.omega

property rho_s: float#

Returns the density \(\rho_{s}\).

Getter:

returns the value for the density

Setter:

automatically invokes osaft.core.variable.BaseVariable.notify()