This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
Material.py
2943 lines (2554 loc) · 106 KB
/
Material.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import typing
from abaqusConstants import *
from .Density.Density import Density
from .Elastic.HyperElastic.HyperFoam.Hyperfoam import Hyperfoam
from .Elastic.HyperElastic.Hyperelastic import Hyperelastic
from .Elastic.HyperElastic.ViscoElastic.Viscoelastic import Viscoelastic
from .Elastic.HypoElastic.Hypoelastic import Hypoelastic
from .Elastic.Linear.Elastic import Elastic
from .Elastic.LowDensityFoam.LowDensityFoam import LowDensityFoam
from .Elastic.Porous.PorousElastic import PorousElastic
from .Eos.Eos import Eos
from .Gap.GapFlow import GapFlow
from .Gasket.GasketMembraneElastic import GasketMembraneElastic
from .Gasket.GasketThicknessBehavior import GasketThicknessBehavior
from .Gasket.GasketTransverseShearElastic import GasketTransverseShearElastic
from .MaterialBase import MaterialBase
from .Others.Acoustic.AcousticMedium import AcousticMedium
from .Others.Electromagnetic.Dielectric import Dielectric
from .Others.Electromagnetic.ElectricalConductivity import ElectricalConductivity
from .Others.Electromagnetic.MagneticPermeability import MagneticPermeability
from .Others.Electromagnetic.Piezoelectric import Piezoelectric
from .Others.HeatTransfer.Conductivity import Conductivity
from .Others.HeatTransfer.InelasticHeatFraction import InelasticHeatFraction
from .Others.HeatTransfer.JouleHeatFraction import JouleHeatFraction
from .Others.HeatTransfer.LatentHeat import LatentHeat
from .Others.HeatTransfer.SpecificHeat import SpecificHeat
from .Others.MassDiffusion.Diffusivity import Diffusivity
from .Others.MassDiffusion.Solubility import Solubility
from .Others.Mechanical.Damping import Damping
from .Others.Mechanical.Expansion import Expansion
from .Others.Mechanical.PoreFluidExpansion import PoreFluidExpansion
from .Others.Mechanical.Viscosity.Viscosity import Viscosity
from .Others.PoreFluidFlow.FluidLeakoff import FluidLeakoff
from .Others.PoreFluidFlow.Gel import Gel
from .Others.PoreFluidFlow.MoistureSwelling.MoistureSwelling import MoistureSwelling
from .Others.PoreFluidFlow.Permeability.Permeability import Permeability
from .Others.PoreFluidFlow.PorousBulkModuli import PorousBulkModuli
from .Others.PoreFluidFlow.Sorption import Sorption
from .Others.User.Depvar import Depvar
from .Others.User.UserMaterial import UserMaterial
from .Others.User.UserOutputVariables import UserOutputVariables
from .Plastic.Concrete.BrittleCracking import BrittleCracking
from .Plastic.Concrete.Concrete import Concrete
from .Plastic.Concrete.ConcreteDamagedPlasticity import ConcreteDamagedPlasticity
from .Plastic.Creep.Creep import Creep
from .Plastic.CriticalStateClay.ClayPlasticity import ClayPlasticity
from .Plastic.CrushableFoam.CrushableFoam import CrushableFoam
from .Plastic.CrushStress.CrushStress import CrushStress
from .Plastic.DruckerPrager.Extended.DruckerPrager import DruckerPrager
from .Plastic.DruckerPrager.ModifiedCap.CapPlasticity import CapPlasticity
from .Plastic.Metal.CastIron.CastIronPlasticity import CastIronPlasticity
from .Plastic.Metal.Deformation.DeformationPlasticity import DeformationPlasticity
from .Plastic.Metal.Porous.PorousMetalPlasticity import PorousMetalPlasticity
from .Plastic.Metal.TwoLayerViscoPlasticity.Viscous import Viscous
from .Plastic.MohrCoulomb.MohrCoulombPlasticity import MohrCoulombPlasticity
from .Plastic.Plastic import Plastic
from .Plastic.Swelling.Swelling import Swelling
from .Regularization import Regularization
class Material(MaterialBase):
"""A Material object is the object used to specify a material. The Material object stores
the various settings that determine how a material behaves.
A material is created by combining one or more individual material options and sub
options. A particular material option is associated with the Material object through a
member. For example: the *acousticMedium* member may contain an AcousticMedium object.
The alternative of having a MaterialOption abstract base class and a container of
MaterialOptions was rejected because it would make it more difficult to enforce the fact
that one Material object cannot contain two AcousticMedium objects, for example.
Attributes
----------
acousticMedium: AcousticMedium
An :py:class:`~abaqus.Material.Others.Acoustic.AcousticMedium.AcousticMedium` object.
brittleCracking: BrittleCracking
A :py:class:`~abaqus.Material.Plastic.Concrete.BrittleCracking.BrittleCracking` object.
capPlasticity: CapPlasticity
A :py:class:`~abaqus.Material.Plastic.DruckerPrager.ModifiedCap.CapPlasticity.CapPlasticity` object.
castIronPlasticity: CastIronPlasticity
A :py:class:`~abaqus.Material.Plastic.Metal.CastIron.CastIronPlasticity.CastIronPlasticity` object.
clayPlasticity: ClayPlasticity
A :py:class:`~abaqus.Material.Plastic.CriticalStateClay.ClayPlasticity.ClayPlasticity` object.
concrete: Concrete
A :py:class:`~abaqus.Material.Plastic.Concrete.Concrete.Concrete` object.
concreteDamagedPlasticity: ConcreteDamagedPlasticity
A :py:class:`~abaqus.Material.Plastic.Concrete.ConcreteDamagedPlasticity.ConcreteDamagedPlasticity` object.
conductivity: Conductivity
A :py:class:`~abaqus.Material.Others.HeatTransfer.Conductivity.Conductivity` object.
creep: Creep
A :py:class:`~abaqus.Material.Plastic.Creep.Creep.Creep` object.
crushableFoam: CrushableFoam
A :py:class:`~abaqus.Material.Plastic.CrushableFoam.CrushableFoam.CrushableFoam` object.
crushStress: CrushStress
A :py:class:`~abaqus.Material.Plastic.CrushStress.CrushStress.CrushStress` object.
ductileDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
fldDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
flsdDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
johnsonCookDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
maxeDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
maxsDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
maxpeDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
maxpsDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
mkDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
msfldDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
quadeDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
quadsDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
shearDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
hashinDamageInitiation: DamageInitiation
A :py:class:`~abaqus.Material.ProgressiveDamageFailure.DamageInitiation.DamageInitiation` object.
damping: Damping
A :py:class:`~abaqus.Material.Others.Mechanical.Damping.Damping` object.
deformationPlasticity: DeformationPlasticity
A :py:class:`~abaqus.Material.Plastic.Metal.Deformation.DeformationPlasticity.DeformationPlasticity` object.
density: Density
A :py:class:`~abaqus.Material.Density.Density.Density` object.
depvar: Depvar
A :py:class:`~abaqus.Material.Others.User.Depvar.Depvar` object.
dielectric: Dielectric
A :py:class:`~abaqus.Material.Others.Electromagnetic.Dielectric.Dielectric` object.
diffusivity: Diffusivity
A :py:class:`~abaqus.Material.Others.MassDiffusion.Diffusivity.Diffusivity` object.
druckerPrager: DruckerPrager
A :py:class:`~abaqus.Material.Plastic.DruckerPrager.Extended.DruckerPrager.DruckerPrager` object.
elastic: Elastic
An :py:class:`~abaqus.Material.Elastic.Linear.Elastic.Elastic` object.
electricalConductivity: ElectricalConductivity
An :py:class:`~abaqus.Material.Others.Electromagnetic.ElectricalConductivity.ElectricalConductivity` object.
eos: Eos
An :py:class:`~abaqus.Material.Eos.Eos.Eos` object.
expansion: Expansion
An :py:class:`~abaqus.Material.Others.Mechanical.Expansion.Expansion` object.
fluidLeakoff: FluidLeakoff
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.FluidLeakoff.FluidLeakoff` object.
gapFlow: GapFlow
A :py:class:`~abaqus.Material.Gap.GapFlow.GapFlow` object.
gasketThicknessBehavior: GasketThicknessBehavior
A :py:class:`~abaqus.Material.Gasket.GasketThicknessBehavior.GasketThicknessBehavior` object.
gasketTransverseShearElastic: GasketTransverseShearElastic
A :py:class:`~abaqus.Material.Gasket.GasketTransverseShearElastic.GasketTransverseShearElastic` object.
gasketMembraneElastic: GasketMembraneElastic
A :py:class:`~abaqus.Material.Gasket.GasketMembraneElastic.GasketMembraneElastic` object.
gel: Gel
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.Gel.Gel` object.
heatGeneration: HeatGeneration
A :py:class:`~abaqus.Material.Others.HeatTransfer.HeatGeneration.HeatGeneration` object.
hyperelastic: Hyperelastic
A :py:class:`~abaqus.Material.Elastic.HyperElastic.Hyperelastic.Hyperelastic` object.
hyperfoam: Hyperfoam
A :py:class:`~abaqus.Material.Elastic.HyperElastic.HyperFoam.Hyperfoam.Hyperfoam` object.
hypoelastic: Hypoelastic
A :py:class:`~abaqus.Material.Elastic.HypoElastic.Hypoelastic.Hypoelastic` object.
inelasticHeatFraction: InelasticHeatFraction
An :py:class:`~abaqus.Material.Others.HeatTransfer.InelasticHeatFraction.InelasticHeatFraction` object.
jouleHeatFraction: JouleHeatFraction
A :py:class:`~abaqus.Material.Others.HeatTransfer.JouleHeatFraction.JouleHeatFraction` object.
latentHeat: LatentHeat
A :py:class:`~abaqus.Material.Others.HeatTransfer.LatentHeat.LatentHeat` object.
lowDensityFoam: LowDensityFoam
A :py:class:`~abaqus.Material.Elastic.LowDensityFoam.LowDensityFoam.LowDensityFoam` object.
magneticPermeability: MagneticPermeability
A :py:class:`~abaqus.Material.Others.Electromagnetic.MagneticPermeability.MagneticPermeability` object.
mohrCoulombPlasticity: MohrCoulombPlasticity
A :py:class:`~abaqus.Material.Plastic.MohrCoulomb.MohrCoulombPlasticity.MohrCoulombPlasticity` object.
moistureSwelling: MoistureSwelling
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.MoistureSwelling.MoistureSwelling.MoistureSwelling` object.
mullinsEffect: MullinsEffect
A :py:class:`~abaqus.Material.TestData.MullinsEffect.MullinsEffect` object.
permeability: Permeability
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.Permeability.Permeability.Permeability` object.
piezoelectric: Piezoelectric
A :py:class:`~abaqus.Material.Others.Electromagnetic.Piezoelectric.Piezoelectric` object.
plastic: Plastic
A :py:class:`~abaqus.Material.Plastic.Plastic.Plastic` object.
poreFluidExpansion: PoreFluidExpansion
A :py:class:`~abaqus.Material.Others.Mechanical.PoreFluidExpansion.PoreFluidExpansion` object.
porousBulkModuli: PorousBulkModuli
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.PorousBulkModuli.PorousBulkModuli` object.
porousElastic: PorousElastic
A :py:class:`~abaqus.Material.Elastic.Porous.PorousElastic.PorousElastic` object.
porousMetalPlasticity: PorousMetalPlasticity
A :py:class:`~abaqus.Material.Plastic.Metal.Porous.PorousMetalPlasticity.PorousMetalPlasticity` object.
regularization: Regularization
A :py:class:`~abaqus.Material.Regularization.Regularization` object.
solubility: Solubility
A :py:class:`~abaqus.Material.Others.MassDiffusion.Solubility.Solubility` object.
sorption: Sorption
A :py:class:`~abaqus.Material.Others.PoreFluidFlow.Sorption.Sorption` object.
specificHeat: SpecificHeat
A :py:class:`~abaqus.Material.Others.HeatTransfer.SpecificHeat.SpecificHeat` object.
swelling: Swelling
A :py:class:`~abaqus.Material.Plastic.Swelling.Swelling.Swelling` object.
userDefinedField: UserDefinedField
A :py:class:`~abaqus.Material.Others.User.UserDefinedField.UserDefinedField` object.
userMaterial: UserMaterial
A :py:class:`~abaqus.Material.Others.User.UserMaterial.UserMaterial` object.
userOutputVariables: UserOutputVariables
A :py:class:`~abaqus.Material.Others.User.UserOutputVariables.UserOutputVariables` object.
viscoelastic: Viscoelastic
A :py:class:`~abaqus.Material.Elastic.HyperElastic.ViscoElastic.Viscoelastic.Viscoelastic` object.
viscosity: Viscosity
A :py:class:`~abaqus.Material.Others.Mechanical.Viscosity.Viscosity.Viscosity` object.
viscous: Viscous
A :py:class:`~abaqus.Material.Plastic.Metal.TwoLayerViscoPlasticity.Viscous.Viscous` object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name]
import odbMaterial
session.odbs[name].materials[name]
The corresponding analysis keywords are:
- MATERIAL
"""
def AcousticMedium(
self,
acousticVolumetricDrag: Boolean = OFF,
temperatureDependencyB: Boolean = OFF,
temperatureDependencyV: Boolean = OFF,
dependenciesB: int = 0,
dependenciesV: int = 0,
bulkTable: tuple = (),
volumetricTable: tuple = (),
) -> AcousticMedium:
"""This method creates an AcousticMedium object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].AcousticMedium
session.odbs[name].materials[name].AcousticMedium
Parameters
----------
acousticVolumetricDrag
A Boolean specifying whether the volumetricTable data is specified. The default value is
OFF.
temperatureDependencyB
A Boolean specifying whether the data in *bulkTable* depend on temperature. The default
value is OFF.
temperatureDependencyV
A Boolean specifying whether the data in *volumetricTable* depend on temperature. The
default value is OFF.
dependenciesB
An Int specifying the number of field variable dependencies for the data in *bulkTable*.
The default value is 0.
dependenciesV
An Int specifying the number of field variable dependencies for the data in
*volumetricTable*. The default value is 0.
bulkTable
A sequence of sequences of Floats specifying the following:
- Bulk modulus.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
volumetricTable
A sequence of sequences of Floats specifying the following:
- Volumetric drag.
- Frequency.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
The default value is an empty sequence.
Returns
-------
An AcousticMedium object.
Raises
------
RangeError
"""
self.acousticMedium = AcousticMedium(
acousticVolumetricDrag,
temperatureDependencyB,
temperatureDependencyV,
dependenciesB,
dependenciesV,
bulkTable,
volumetricTable,
)
return self.acousticMedium
def BrittleCracking(
self,
table: tuple,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
type: SymbolicConstant = STRAIN,
) -> BrittleCracking:
"""This method creates a BrittleCracking object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].BrittleCracking
session.odbs[name].materials[name].BrittleCracking
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
type
A SymbolicConstant specifying the type of postcracking behavior. Possible values are
STRAIN, DISPLACEMENT, and GFI. The default value is STRAIN.
Returns
-------
A BrittleCracking object.
"""
self.brittleCracking = BrittleCracking(
table, temperatureDependency, dependencies, type
)
return self.brittleCracking
def CapPlasticity(
self, table: tuple, temperatureDependency: Boolean = OFF, dependencies: int = 0
) -> CapPlasticity:
"""This method creates a CapPlasticity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].CapPlasticity
session.odbs[name].materials[name].CapPlasticity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A CapPlasticity object.
Raises
------
RangeError
"""
self.capPlasticity = CapPlasticity(table, temperatureDependency, dependencies)
return self.capPlasticity
def CastIronPlasticity(
self, table: tuple, temperatureDependency: Boolean = OFF, dependencies: int = 0
) -> CastIronPlasticity:
"""This method creates a CastIronPlasticity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].CastIronPlasticity
session.odbs[name].materials[name].CastIronPlasticity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A CastIronPlasticity object.
Raises
------
RangeError
"""
self.castIronPlasticity = CastIronPlasticity(
table, temperatureDependency, dependencies
)
return self.castIronPlasticity
def ClayPlasticity(
self,
table: tuple,
intercept: float = None,
hardening: SymbolicConstant = EXPONENTIAL,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> ClayPlasticity:
"""This method creates a ClayPlasticity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].ClayPlasticity
session.odbs[name].materials[name].ClayPlasticity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
intercept
None or a Float specifying e1e1, the intercept of the virgin consolidation line with the
void ratio axis in a plot of void ratio versus the logarithm of pressure stress. The
default value is None.This argument is valid only if *hardening*=EXPONENTIAL.
hardening
A SymbolicConstant specifying the type of hardening/softening definition. Possible
values are EXPONENTIAL and TABULAR. The default value is EXPONENTIAL.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A ClayPlasticity object.
Raises
------
RangeError
"""
self.clayPlasticity = ClayPlasticity(
table, intercept, hardening, temperatureDependency, dependencies
)
return self.clayPlasticity
def Concrete(
self, table: tuple, temperatureDependency: Boolean = OFF, dependencies: int = 0
) -> Concrete:
"""This method creates a Concrete object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Concrete
session.odbs[name].materials[name].Concrete
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A Concrete object.
Raises
------
RangeError
"""
self.concrete = Concrete(table, temperatureDependency, dependencies)
return self.concrete
def ConcreteDamagedPlasticity(
self, table: tuple, temperatureDependency: Boolean = OFF, dependencies: int = 0
) -> ConcreteDamagedPlasticity:
"""This method creates a ConcreteDamagedPlasticity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].ConcreteDamagedPlasticity
session.odbs[name].materials[name].ConcreteDamagedPlasticity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A ConcreteDamagedPlasticity object.
Raises
------
RangeError
"""
self.concreteDamagedPlasticity = ConcreteDamagedPlasticity(
table, temperatureDependency, dependencies
)
return self.concreteDamagedPlasticity
def Conductivity(
self,
table: tuple,
type: SymbolicConstant = ISOTROPIC,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> Conductivity:
"""This method creates a Conductivity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Conductivity
session.odbs[name].materials[name].Conductivity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
type
A SymbolicConstant specifying the type of conductivity. Possible values are ISOTROPIC,
ORTHOTROPIC, and ANISOTROPIC. The default value is ISOTROPIC.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A Conductivity object.
Raises
------
RangeError
"""
self.conductivity = Conductivity(
table, type, temperatureDependency, dependencies
)
return self.conductivity
def Creep(
self,
table: tuple,
law: SymbolicConstant = STRAIN,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
time: SymbolicConstant = TOTAL,
) -> Creep:
"""This method creates a Creep object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Creep
session.odbs[name].materials[name].Creep
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
law
A SymbolicConstant specifying the strain-hardening law. Possible values are STRAIN,
TIME, HYPERBOLIC_SINE, USER, ANAND, DARVEAUX,DOUBLE_POWER, POWER_LAW, and
TIME_POWER_LAW. The default value is STRAIN.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
time
A SymbolicConstant specifying the time interval for relevant laws. Possible values are
CREEP and TOTAL. The default value is TOTAL.
Returns
-------
A Creep object.
Raises
------
RangeError
"""
self.creep = Creep(table, law, temperatureDependency, dependencies, time)
return self.creep
def CrushableFoam(
self,
table: tuple,
hardening: SymbolicConstant = VOLUMETRIC,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> CrushableFoam:
"""This method creates a CrushableFoam object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].CrushableFoam
session.odbs[name].materials[name].CrushableFoam
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
hardening
A SymbolicConstant specifying the type of hardening/softening definition. Possible
values are VOLUMETRIC and ISOTROPIC. The default value is VOLUMETRIC.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A CrushableFoam object.
Raises
------
RangeError
"""
self.crushableFoam = CrushableFoam(
table, hardening, temperatureDependency, dependencies
)
return self.crushableFoam
def CrushStress(
self,
crushStressTable: tuple[tuple[float, ...]],
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
):
"""This method creates a CrushStress object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].CrushStress
session.odbs[name].materials[name].CrushStress
Parameters
----------
crushStressTable
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A CrushStress object.
"""
self.crushStress = CrushStress(
crushStressTable, temperatureDependency, dependencies
)
return self.crushStress
def Damping(
self,
alpha: float = 0,
beta: float = 0,
composite: float = 0,
structural: float = 0,
) -> Damping:
"""This method creates a Damping object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Damping
session.odbs[name].materials[name].Damping
Parameters
----------
alpha
A Float specifying the αRαR factor to create mass proportional damping in
direct-integration and explicit dynamics. The default value is 0.0.
beta
A Float specifying the βRβR factor to create stiffness proportional damping in
direct-integration and explicit dynamics. The default value is 0.0.
composite
A Float specifying the fraction of critical damping to be used with this material in
calculating composite damping factors for the modes (for use in modal dynamics). The
default value is 0.0.This argument applies only to Abaqus/Standard analyses.
structural
A Float specifying the structural factor to create material damping in
direct-integration and explicit dynamics. The default value is 0.0.
Returns
-------
A Damping object.
Raises
------
RangeError
"""
self.damping = Damping(alpha, beta, composite, structural)
return self.damping
def DeformationPlasticity(
self, table: tuple, temperatureDependency: Boolean = OFF
) -> DeformationPlasticity:
"""This method creates a DeformationPlasticity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].DeformationPlasticity
session.odbs[name].materials[name].DeformationPlasticity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
Returns
-------
A DeformationPlasticity object.
Raises
------
RangeError
"""
self.deformationPlasticity = DeformationPlasticity(table, temperatureDependency)
return self.deformationPlasticity
def Density(
self,
table: tuple,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
distributionType: SymbolicConstant = UNIFORM,
fieldName: str = "",
) -> Density:
"""This method creates a Density object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Density
session.odbs[name].materials[name].Density
The table data for this object are:
- The mass density.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
distributionType
A SymbolicConstant specifying how the density is distributed spatially. Possible values
are UNIFORM, ANALYTICAL_FIELD, and DISCRETE_FIELD. The default value is UNIFORM.
fieldName
A String specifying the name of the AnalyticalField or DiscreteField object associated
with this material option. The *fieldName* argument applies only when
*distributionType*=ANALYTICAL_FIELD or *distributionType*=DISCRETE_FIELD. The default
value is an empty string.
Returns
-------
A Density object.
Raises
------
RangeError
"""
self.density = Density(
table, temperatureDependency, dependencies, distributionType, fieldName
)
return self.density
def Depvar(self, deleteVar: int = 0, n: int = 0) -> Depvar:
"""This method creates a Depvar object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Depvar
session.odbs[name].materials[name].Depvar
Parameters
----------
deleteVar
An Int specifying the state variable number controlling the element deletion flag. The
default value is 0.This argument applies only to Abaqus/Explicit analyses.
n
An Int specifying the number of solution-dependent state variables required at each
integration point. The default value is 0.
Returns
-------
A Depvar object.
Raises
------
RangeError
"""
self.depvar = Depvar(deleteVar, n)
return self.depvar
def Dielectric(
self,
table: tuple,
type: SymbolicConstant = ISOTROPIC,
frequencyDependency: Boolean = OFF,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> Dielectric:
"""This method creates a Dielectric object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Dielectric
session.odbs[name].materials[name].Dielectric
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
type
A SymbolicConstant specifying the dielectric behavior. Possible values are ISOTROPIC,
ORTHOTROPIC, and ANISOTROPIC. The default value is ISOTROPIC.
frequencyDependency
A Boolean specifying whether the data depend on frequency. The default value is OFF.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A Dielectric object.
"""
self.dielectric = Dielectric(
table, type, frequencyDependency, temperatureDependency, dependencies
)
return self.dielectric
def Diffusivity(
self,
table: tuple,
type: SymbolicConstant = ISOTROPIC,
law: SymbolicConstant = GENERAL,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> Diffusivity:
"""This method creates a Diffusivity object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Diffusivity
session.odbs[name].materials[name].Diffusivity
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
type
A SymbolicConstant specifying the type of diffusivity. Possible values are ISOTROPIC,
ORTHOTROPIC, and ANISOTROPIC. The default value is ISOTROPIC.
law
A SymbolicConstant specifying the diffusion behavior. Possible values are GENERAL and
FICK. The default value is GENERAL.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Returns
-------
A Diffusivity object.
Raises
------
RangeError
"""
self.diffusivity = Diffusivity(
table, type, law, temperatureDependency, dependencies
)
return self.diffusivity
def DruckerPrager(
self,
table: tuple,
shearCriterion: SymbolicConstant = LINEAR,
eccentricity: float = 0,
testData: Boolean = OFF,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
) -> DruckerPrager:
"""This method creates a DruckerPrager object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].DruckerPrager
session.odbs[name].materials[name].DruckerPrager
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
shearCriterion
A SymbolicConstant specifying the yield criterion. Possible values are LINEAR,
HYPERBOLIC, and EXPONENTIAL. The default value is LINEAR.This argument applies only to
Abaqus/Standard analyses. Only the linear Drucker-Prager model is available in
Abaqus/Explicit analyses.
eccentricity
A Float specifying the flow potential eccentricity, ϵϵ, a small positive number that
defines the rate at which the hyperbolic flow potential approaches its asymptote. The
default value is 0.1.This argument applies only to Abaqus/Standard analyses.
testData
A Boolean specifying whether the material constants for the exponent model are to be
computed by Abaqus/Standard from triaxial test data at different levels of confining
pressure. The default value is OFF.This argument is valid only if
*shearCriterion*=EXPONENTIAL.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.