From 719ce8b44649200e44168dc23a713b05f592e2f3 Mon Sep 17 00:00:00 2001 From: Su Tian Date: Fri, 1 Oct 2021 09:05:40 -0400 Subject: [PATCH] updated writing shell model sg with geometric correction --- msgpi/sg/sg.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msgpi/sg/sg.py b/msgpi/sg/sg.py index bc9f5e3..2db9c07 100644 --- a/msgpi/sg/sg.py +++ b/msgpi/sg/sg.py @@ -662,6 +662,9 @@ def __init__(self, name, sgdim, smdim=None): #: list of floats: Oblique (beam only) self.oblique = [1.0, 0.0] + #: list of floats: Lame parameters for geometrically corrected shell model + self.lame_params = [1.0, 1.0] + #: dict of {int, :obj:`msgpi.sg.MaterialProperty`}: Materials self.materials = {} @@ -1088,6 +1091,7 @@ def __writeInputSGHeader(self, fobj, sfi, sff, solver, sg_fmt): # self.initial_curvature[0], self.initial_curvature[1] # )) utio.writeFormatFloats(fobj, self.initial_curvature, sff) + utio.writeFormatFloats(fobj, self.lame_params, sff) fobj.write('\n') # Head