Example #1
0
nodes = preprocessor.getNodeHandler
nodes.calculateNodalReactions(True, 1e-7)

RN = nodes.getNode(1).getReaction[0]
RM = nodes.getNode(1).getReaction[5]
RN2 = nodes.getNode(2).getReaction[0]

elements = preprocessor.getElementHandler
ele1 = elements.getElement(1)
scc = ele1.getSection()
esfN = scc.getStressResultantComponent("N")
esfMy = scc.getStressResultantComponent("My")
esfMz = scc.getStressResultantComponent("Mz")
defMz = scc.getSectionDeformationByName("defMz")
defN = scc.getSectionDeformationByName("defN")
concrFibers = fiber_sets.FiberSet(scc, 'concrete', EHE_materials.HP45.matTagD)
fibraCEpsMin = concrFibers.getFiberWithMinStrain()
epsCMin = fibraCEpsMin.getMaterial().getStrain()  # Minimum concrete strain.
fibraCEpsMax = concrFibers.getFiberWithMaxStrain()
epsCMax = fibraCEpsMax.getMaterial().getStrain()  # Maximum concrete strain.
reinfFibers = fiber_sets.FiberSet(scc, "reinforcement",
                                  EHE_materials.Y1860S7.matTagD)
fibraSEpsMax = reinfFibers.getFiberWithMaxStrain()
epsSMax = fibraSEpsMax.getMaterial().getStrain()  # Maximum steel strain.

from materials.sections import section_properties
from materials.ehe import EHE_limit_state_checking

solicitationType = section_properties.solicitationType(epsCMin, epsSMax)
solicitationTypeString = section_properties.solicitationTypeString(
    solicitationType)
Example #2
0
nodes = preprocessor.getNodeHandler
nodes.calculateNodalReactions(True, 1e-7)

RN = nodes.getNode(1).getReaction[0]
RM = nodes.getNode(1).getReaction[5]
RN2 = nodes.getNode(2).getReaction[0]

elements = preprocessor.getElementHandler
ele1 = elements.getElement(1)
scc = ele1.getSection()
esfN = scc.getStressResultantComponent("N")
esfMy = scc.getStressResultantComponent("My")
esfMz = scc.getStressResultantComponent("Mz")
defMz = scc.getSectionDeformationByName("defMz")
defN = scc.getSectionDeformationByName("defN")
concrFibers = fiber_sets.FiberSet(scc, 'concrete', EHE_materials.HA25.matTagD)
fibraCEpsMin = concrFibers.getFiberWithMinStrain()
epsCMin = fibraCEpsMin.getMaterial().getStrain()  # Minumum concrete strain.
fibraCEpsMax = concrFibers.getFiberWithMaxStrain()
epsCMax = fibraCEpsMax.getMaterial().getStrain()  # Maximum concrete strain.
reinfFibers = fiber_sets.FiberSet(scc, "reinforcement",
                                  EHE_materials.B500S.matTagD)
fibraSEpsMax = reinfFibers.getFiberWithMaxStrain()
epsSMax = fibraSEpsMax.getMaterial().getStrain()  # Maximum steel strain

from materials.sections import section_properties
from materials.ehe import EHE_limit_state_checking
solicitationType = section_properties.solicitationType(epsCMin, epsSMax)
solicitationTypeString = section_properties.solicitationTypeString(
    solicitationType)
cumpleFT = EHE_materials.ReinforcedConcreteLimitStrainsEHE08.bendingOK(