We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MaterialStrain.plot()
The preview of MaterialStrain with state variables is wrong
MaterialStrain
import felupe as fem umat = fem.MaterialStrain( material=fem.linear_elastic_plastic_isotropic_hardening, λ=2.0, μ=1.0, σy=1.0, K=0, dim=3, statevars=(1, (3, 3)), tangent=False, ) move = fem.math.linsteps([1, 1.8, 1.4], num=21) ax = umat.plot(ux=move, bx=None, ps=None) ax.lines[0].set_marker("o")
but this is correct:
mesh = fem.Cube(n=2) region = fem.RegionHexahedron(mesh) field = fem.FieldContainer([fem.Field(region, dim=3)]) boundaries, loadcase = fem.dof.uniaxial(field, clamped=False) solid = fem.SolidBody(umat, field) step = fem.Step( items=[solid], ramp={boundaries["move"]: move - 1}, boundaries=boundaries ) job = fem.CharacteristicCurve(steps=[step], boundary=boundaries["move"]) job.evaluate() fig, ax = job.plot( xlabel="Displacement $u$ in mm $\longrightarrow$", ylabel="Normal Force $F$ in N $\longrightarrow$", )
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The preview of
MaterialStrain
with state variables is wrongbut this is correct:
The text was updated successfully, but these errors were encountered: