diff --git a/codegen/templates/keyword.j2 b/codegen/templates/keyword.j2 index cec73fdbb..921120719 100644 --- a/codegen/templates/keyword.j2 +++ b/codegen/templates/keyword.j2 @@ -2,6 +2,7 @@ import typing {# TODO - only do this if there's a keyword without a default #} from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults {% if keyword_data.duplicate %} from ansys.dyna.core.lib.duplicate_card import DuplicateCard {% endif %} diff --git a/codegen/templates/keyword/card.j2 b/codegen/templates/keyword/card.j2 index f8d9f9a5b..2a5ac467c 100644 --- a/codegen/templates/keyword/card.j2 +++ b/codegen/templates/keyword/card.j2 @@ -85,7 +85,7 @@ {% if field.readonly %} {{field.default}} {% else %} - kwargs.get("{{field.name}}", {{field.default}}) + kwargs.get("{{field.name}}", {{field.default}} if use_lspp_defaults() else None) {% endif %} {% else %} kwargs.get("{{field.name}}") diff --git a/doc/changelog/649.miscellaneous.md b/doc/changelog/649.miscellaneous.md new file mode 100644 index 000000000..fb82db42f --- /dev/null +++ b/doc/changelog/649.miscellaneous.md @@ -0,0 +1 @@ +feat: Option to disable LSPP defaults \ No newline at end of file diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model.py index 9a858eccb..5b97d413c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagAdiabaticGasModel(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("psf", 1.0) + kwargs.get("psf", 1.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model_id.py index a935932c2..ba05a8290 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_adiabatic_gas_model_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagAdiabaticGasModelId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,7 +119,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("psf", 1.0) + kwargs.get("psf", 1.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_ale.py index 28113576f..f53867d88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagAle(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mwd", 0) + kwargs.get("mwd", 0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0) + kwargs.get("spsf", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atmost", 0.0) + kwargs.get("atmost", 0.0 if use_lspp_defaults() else None) ), Field( "atmosp", float, 10, 10, - kwargs.get("atmosp", 0.0) + kwargs.get("atmosp", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -128,21 +129,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), Field( "tnkvol", float, 50, 10, - kwargs.get("tnkvol", 0.0) + kwargs.get("tnkvol", 0.0 if use_lspp_defaults() else None) ), Field( "tnkfinp", float, 60, 10, - kwargs.get("tnkfinp", 0.0) + kwargs.get("tnkfinp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,56 +154,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nquad", 4) + kwargs.get("nquad", 4 if use_lspp_defaults() else None) ), Field( "ctype", int, 10, 10, - kwargs.get("ctype", 4) + kwargs.get("ctype", 4 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "frcmin", float, 40, 10, - kwargs.get("frcmin", 0.3) + kwargs.get("frcmin", 0.3 if use_lspp_defaults() else None) ), Field( "normtyp", int, 50, 10, - kwargs.get("normtyp", 0) + kwargs.get("normtyp", 0 if use_lspp_defaults() else None) ), Field( "ileak", int, 60, 10, - kwargs.get("ileak", 2) + kwargs.get("ileak", 2 if use_lspp_defaults() else None) ), Field( "pleak", float, 70, 10, - kwargs.get("pleak", 0.1) + kwargs.get("pleak", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -213,28 +214,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivsetid", 0) + kwargs.get("ivsetid", 0 if use_lspp_defaults() else None) ), Field( "ivtype", int, 10, 10, - kwargs.get("ivtype", 0) + kwargs.get("ivtype", 0 if use_lspp_defaults() else None) ), Field( "iblock", int, 20, 10, - kwargs.get("iblock", 0) + kwargs.get("iblock", 0 if use_lspp_defaults() else None) ), Field( "vntcof", float, 30, 10, - kwargs.get("vntcof", 0.0) + kwargs.get("vntcof", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -259,21 +260,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nz", 1) + kwargs.get("nz", 1 if use_lspp_defaults() else None) ), Field( "movern", int, 30, 10, - kwargs.get("movern", 0) + kwargs.get("movern", 0 if use_lspp_defaults() else None) ), Field( "zoom", int, 40, 10, - kwargs.get("zoom", 0) + kwargs.get("zoom", 0 if use_lspp_defaults() else None) ), ], ), @@ -376,7 +377,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("swtime", 0.0) + kwargs.get("swtime", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -390,28 +391,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("hg", 0.0) + kwargs.get("hg", 0.0 if use_lspp_defaults() else None) ), Field( "nair", int, 30, 10, - kwargs.get("nair", 0) + kwargs.get("nair", 0 if use_lspp_defaults() else None) ), Field( "ngas", int, 40, 10, - kwargs.get("ngas", 0) + kwargs.get("ngas", 0 if use_lspp_defaults() else None) ), Field( "norif", int, 50, 10, - kwargs.get("norif", 0) + kwargs.get("norif", 0 if use_lspp_defaults() else None) ), Field( "lcvel", @@ -457,35 +458,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mwair", 0) + kwargs.get("mwair", 0 if use_lspp_defaults() else None) ), Field( "initm", float, 40, 10, - kwargs.get("initm", 0) + kwargs.get("initm", 0 if use_lspp_defaults() else None) ), Field( "aira", float, 50, 10, - kwargs.get("aira", 0) + kwargs.get("aira", 0 if use_lspp_defaults() else None) ), Field( "airb", float, 60, 10, - kwargs.get("airb", 0) + kwargs.get("airb", 0 if use_lspp_defaults() else None) ), Field( "airc", float, 70, 10, - kwargs.get("airc", 0) + kwargs.get("airc", 0 if use_lspp_defaults() else None) ), ], ), @@ -517,7 +518,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mwgas", 0) + kwargs.get("mwgas", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -531,21 +532,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("gasa", 0) + kwargs.get("gasa", 0 if use_lspp_defaults() else None) ), Field( "gasb", float, 60, 10, - kwargs.get("gasb", 0) + kwargs.get("gasb", 0 if use_lspp_defaults() else None) ), Field( "gasc", float, 70, 10, - kwargs.get("gasc", 0) + kwargs.get("gasc", 0 if use_lspp_defaults() else None) ), ], ), @@ -556,21 +557,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), Field( "vecid", int, 10, 10, - kwargs.get("vecid", 0) + kwargs.get("vecid", 0 if use_lspp_defaults() else None) ), Field( "orifare", float, 20, 10, - kwargs.get("orifare", 0) + kwargs.get("orifare", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas.py index 1f383ca6d..cc6c8d1ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagFluidAndGas(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nproj", 3) + kwargs.get("nproj", 3 if use_lspp_defaults() else None) ), Field( "idir", @@ -188,7 +189,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("kappa", 1.0) + kwargs.get("kappa", 1.0 if use_lspp_defaults() else None) ), Field( "kbm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas_id.py index 0be629dec..3f9385fed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_fluid_and_gas_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagFluidAndGasId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nproj", 3) + kwargs.get("nproj", 3 if use_lspp_defaults() else None) ), Field( "idir", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("kappa", 1.0) + kwargs.get("kappa", 1.0 if use_lspp_defaults() else None) ), Field( "kbm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid.py index bf530b8de..843f37870 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybrid(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -128,14 +129,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), Field( "hconv", float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -195,7 +196,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -206,7 +207,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "pvent", @@ -241,7 +242,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("vntopt", 0) + kwargs.get("vntopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin.py index ef9adae10..3b220ee5d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridChemkin(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("data", 0) + kwargs.get("data", 0 if use_lspp_defaults() else None) ), Field( "atmt", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,14 +165,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c23", 0.0) + kwargs.get("c23", 0.0 if use_lspp_defaults() else None) ), Field( "a23", float, 10, 10, - kwargs.get("a23", 0.0) + kwargs.get("a23", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcidn", 0) + kwargs.get("lcidn", 0 if use_lspp_defaults() else None) ), Field( "fmole", @@ -210,7 +211,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fmolet", 0.0) + kwargs.get("fmolet", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -359,28 +360,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "c", float, 20, 10, - kwargs.get("c", 0.0) + kwargs.get("c", 0.0 if use_lspp_defaults() else None) ), Field( "d", float, 30, 10, - kwargs.get("d", 0.0) + kwargs.get("d", 0.0 if use_lspp_defaults() else None) ), Field( "e", float, 40, 10, - kwargs.get("e", 0.0) + kwargs.get("e", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin_id.py index 082fd30a4..97ab4c077 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_chemkin_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridChemkinId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("data", 0) + kwargs.get("data", 0 if use_lspp_defaults() else None) ), Field( "atmt", @@ -171,7 +172,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -182,14 +183,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c23", 0.0) + kwargs.get("c23", 0.0 if use_lspp_defaults() else None) ), Field( "a23", float, 10, 10, - kwargs.get("a23", 0.0) + kwargs.get("a23", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcidn", 0) + kwargs.get("lcidn", 0 if use_lspp_defaults() else None) ), Field( "fmole", @@ -228,7 +229,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fmolet", 0.0) + kwargs.get("fmolet", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -377,28 +378,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "c", float, 20, 10, - kwargs.get("c", 0.0) + kwargs.get("c", 0.0 if use_lspp_defaults() else None) ), Field( "d", float, 30, 10, - kwargs.get("d", 0.0) + kwargs.get("d", 0.0 if use_lspp_defaults() else None) ), Field( "e", float, 40, 10, - kwargs.get("e", 0.0) + kwargs.get("e", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_id.py index e363029a0..3563bbfbc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), Field( "hconv", float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,7 +172,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -213,7 +214,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -224,7 +225,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "pvent", @@ -259,7 +260,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("vntopt", 0) + kwargs.get("vntopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting.py index 9cc7bfb2a..ae7e52889 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridJetting(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -128,7 +129,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -160,7 +161,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -174,7 +175,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -188,7 +189,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "pvent", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "lcidm0", int, 40, 10, - kwargs.get("lcidm0", 0) + kwargs.get("lcidm0", 0 if use_lspp_defaults() else None) ), Field( "vntopt", @@ -411,21 +412,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm.py index f720438a2..2aec1977f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridJettingCm(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -128,7 +129,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -160,7 +161,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -174,7 +175,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -188,7 +189,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "pvent", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "lcidm0", int, 40, 10, - kwargs.get("lcidm0", 0) + kwargs.get("lcidm0", 0 if use_lspp_defaults() else None) ), Field( "vntopt", @@ -411,21 +412,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -436,7 +437,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm_id.py index 5f7a06336..747e02991 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_cm_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridJettingCmId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -164,7 +165,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -178,7 +179,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -192,7 +193,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "pvent", @@ -238,14 +239,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "lcidm0", int, 40, 10, - kwargs.get("lcidm0", 0) + kwargs.get("lcidm0", 0 if use_lspp_defaults() else None) ), Field( "vntopt", @@ -429,21 +430,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -454,7 +455,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_id.py index c4a0c4e3a..a46496fc2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_hybrid_jetting_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagHybridJettingId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cc", 1.0) + kwargs.get("cc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -164,7 +165,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -178,7 +179,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -192,7 +193,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcp23", 0) + kwargs.get("lcp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "pvent", @@ -238,14 +239,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "lcidm0", int, 40, 10, - kwargs.get("lcidm0", 0) + kwargs.get("lcidm0", 0 if use_lspp_defaults() else None) ), Field( "vntopt", @@ -429,21 +430,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_interaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_interaction.py index be9ea0a05..306821959 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_interaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_interaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagInteraction(KeywordBase): @@ -68,21 +69,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "iflow", int, 60, 10, - kwargs.get("iflow", 0) + kwargs.get("iflow", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid.py index eef51cd3d..54122a08f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagLinearFluid(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid_id.py index 88fec24b5..bd752e93f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_linear_fluid_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagLinearFluidId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve.py index 5be1dc18a..b69eaf67c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagLoadCurve(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve_id.py index 3276484cd..00ef1d193 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_load_curve_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagLoadCurveId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,7 +119,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle.py index 5660224b8..c04637db6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticle(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -577,21 +578,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -623,28 +624,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition.py index 052b20785..87a842044 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecomposition(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -577,21 +578,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -623,28 +624,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_id.py index 45bc0cff9..f7fe7017a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -595,21 +596,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -641,28 +642,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation.py index 96fabff3c..5aa57fa67 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflation(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -577,21 +578,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -623,28 +624,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_id.py index 2311e6726..f170d97cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -595,21 +596,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -641,28 +642,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment.py index 5167d1f82..77b3860b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationSegment(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -171,28 +172,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -231,14 +232,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -295,7 +296,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -316,35 +317,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -362,14 +363,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -394,7 +395,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -408,28 +409,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -454,14 +455,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -482,14 +483,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -507,7 +508,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -528,28 +529,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -588,21 +589,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -634,28 +635,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_id.py index 4636868f1..e2159c237 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time.py index e0b0b4ec1..7ef3dee89 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time_id.py index 29d97e38a..dcde94033 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time.py index 158086a7c..c645823fa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time_id.py index 901cbfa22..c19f1024e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_inflation_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionInflationTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet.py index 1cbb16efa..e31ae8ba7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJet(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_id.py index 5827454aa..c118fe3cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment.py index 96fc4f922..160042f94 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetSegment(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -200,28 +201,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -249,7 +250,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -260,14 +261,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -345,35 +346,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -391,14 +392,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -423,7 +424,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -437,28 +438,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -483,14 +484,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -511,14 +512,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -536,7 +537,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -557,28 +558,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_id.py index 908ed4391..392e250d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -200,28 +201,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -249,7 +250,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -260,14 +261,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -345,35 +346,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -391,14 +392,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -423,7 +424,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -437,28 +438,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -483,14 +484,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -511,14 +512,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -536,7 +537,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -557,28 +558,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time.py index a6d275a4e..ad26b9121 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -218,28 +219,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -267,7 +268,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -278,14 +279,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -342,7 +343,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -363,35 +364,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -409,14 +410,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -441,7 +442,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -455,28 +456,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -501,14 +502,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -529,14 +530,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -554,7 +555,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -575,28 +576,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time_id.py index 993c9fa0f..974da7175 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -218,28 +219,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -267,7 +268,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -278,14 +279,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -342,7 +343,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -363,35 +364,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -409,14 +410,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -441,7 +442,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -455,28 +456,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -501,14 +502,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -529,14 +530,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -554,7 +555,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -575,28 +576,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time.py index a5c527514..54d6a302f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time_id.py index 3aedc6398..7cef4861b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_jet_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionJetTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction.py index f92b8b0d9..b8025fca4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefraction(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -588,21 +589,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -634,28 +635,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_id.py index 55ca42321..0659c9544 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment.py index 9cfe9c9c7..90e702fee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionSegment(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -171,28 +172,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -231,14 +232,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -295,7 +296,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -316,35 +317,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -362,14 +363,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -394,7 +395,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -408,28 +409,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -454,14 +455,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -482,14 +483,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -507,7 +508,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -528,28 +529,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -599,21 +600,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -645,28 +646,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_id.py index 11887cd4a..1baca4f52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time.py index f175cff02..1ec703e29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time_id.py index 7c9623547..60359822e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time.py index f7f240399..8c492750f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time_id.py index 83d61ec4f..8e748b9fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_molefraction_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionMolefractionTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment.py index f002779ac..c9bd06a6c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionSegment(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -171,28 +172,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -231,14 +232,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -295,7 +296,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -316,35 +317,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -362,14 +363,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -394,7 +395,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -408,28 +409,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -454,14 +455,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -482,14 +483,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -507,7 +508,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -528,28 +529,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -588,21 +589,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -634,28 +635,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_id.py index 9af599326..cbb2c744d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time.py index b2512afad..8d2e7f474 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time_id.py index 53ea6fbad..16e2e453b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time.py index 1de5dc210..887727469 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time_id.py index 39b54c7c8..ff013e4c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_decomposition_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleDecompositionTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_id.py index d95e0f962..dfee00556 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -595,21 +596,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -641,28 +642,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation.py index 647aec4f1..4308071d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflation(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -577,21 +578,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -623,28 +624,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_id.py index 892354501..32d4083d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -595,21 +596,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -641,28 +642,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment.py index a2685440f..32bc55b92 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationSegment(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -171,28 +172,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -231,14 +232,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -295,7 +296,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -316,35 +317,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -362,14 +363,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -394,7 +395,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -408,28 +409,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -454,14 +455,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -482,14 +483,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -507,7 +508,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -528,28 +529,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -588,21 +589,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -634,28 +635,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_id.py index c4d4d8d55..c1a4d5f62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time.py index 5254c76b4..62ede2a47 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time_id.py index e47efd7a7..a727d79d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time.py index 726db1437..875a06509 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time_id.py index 33b092d22..4e355f3f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_inflation_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleInflationTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet.py index dafe43e8d..9a8197954 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJet(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_id.py index 496bfe678..9ef83c54a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment.py index 8b4999f73..7bcf1c84a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetSegment(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -200,28 +201,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -249,7 +250,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -260,14 +261,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -345,35 +346,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -391,14 +392,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -423,7 +424,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -437,28 +438,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -483,14 +484,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -511,14 +512,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -536,7 +537,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -557,28 +558,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_id.py index 570c8a7b1..68f499282 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -200,28 +201,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -249,7 +250,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -260,14 +261,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -345,35 +346,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -391,14 +392,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -423,7 +424,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -437,28 +438,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -483,14 +484,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -511,14 +512,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -536,7 +537,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -557,28 +558,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time.py index 1f4e7d63c..9c3baeda6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -218,28 +219,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -267,7 +268,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -278,14 +279,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -342,7 +343,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -363,35 +364,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -409,14 +410,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -441,7 +442,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -455,28 +456,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -501,14 +502,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -529,14 +530,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -554,7 +555,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -575,28 +576,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time_id.py index f7208a78c..5e3d144f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -218,28 +219,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -267,7 +268,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -278,14 +279,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -342,7 +343,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -363,35 +364,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -409,14 +410,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -441,7 +442,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -455,28 +456,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -501,14 +502,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -529,14 +530,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -554,7 +555,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -575,28 +576,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time.py index e0a3ed16c..df29d5d5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time_id.py index 7d5a91157..843732109 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_jet_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleJetTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction.py index b4186ee2a..082e115ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefraction(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -160,28 +161,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -209,7 +210,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,7 +285,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -305,35 +306,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -351,14 +352,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -383,7 +384,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -397,28 +398,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -443,14 +444,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -471,14 +472,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -496,7 +497,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -517,28 +518,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -588,21 +589,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -634,28 +635,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_id.py index 4dc63dfd6..f60c12749 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -178,28 +179,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -238,14 +239,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -323,35 +324,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -369,14 +370,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -401,7 +402,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -415,28 +416,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -461,14 +462,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -489,14 +490,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -535,28 +536,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment.py index 3e307a97d..4a6185fa9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionSegment(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -171,28 +172,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -231,14 +232,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -295,7 +296,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -316,35 +317,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -362,14 +363,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -394,7 +395,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -408,28 +409,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -454,14 +455,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -482,14 +483,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -507,7 +508,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -528,28 +529,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -599,21 +600,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -645,28 +646,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_id.py index 03105ecb6..b6bf28f4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -617,21 +618,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -663,28 +664,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time.py index cc0755d70..53c1aab41 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time_id.py index 3ad860aee..80c9cf938 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -635,21 +636,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -681,28 +682,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time.py index 8c7875d31..9c3f49f32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time_id.py index 1bf7c235e..60bf9b51b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_molefraction_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMolefractionTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp.py index 2238180cc..a139977ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMpp(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition.py index 97e5669a6..a88c96f18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecomposition(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_id.py index 74e805638..dede2c574 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation.py index 2edf7d60c..0db132739 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflation(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_id.py index 4233e30ad..cc4155666 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment.py index ca4c6e8ac..f3a09cf98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_id.py index 575326a8b..05a89d6be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time.py index 147dc8399..7b171bbb9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time_id.py index b81fef600..b19b9c766 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time.py index 01a04cc95..8eb564744 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time_id.py index c6812ae16..3f3c7be20 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_inflation_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionInflationTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet.py index 86a70658c..1154ccf63 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJet(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_id.py index 7019051de..9f5e01ccf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment.py index 077856730..8c963e8b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -225,28 +226,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -349,7 +350,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -370,35 +371,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -416,14 +417,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -448,7 +449,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -462,28 +463,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -508,14 +509,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -536,14 +537,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -561,7 +562,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -582,28 +583,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_id.py index 76aeb1d23..84ea4d2f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -225,28 +226,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -349,7 +350,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -370,35 +371,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -416,14 +417,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -448,7 +449,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -462,28 +463,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -508,14 +509,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -536,14 +537,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -561,7 +562,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -582,28 +583,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time.py index fdbfcb43f..33de20f89 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -292,7 +293,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -303,14 +304,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -367,7 +368,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -388,35 +389,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -434,14 +435,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -466,7 +467,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -480,28 +481,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -526,14 +527,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -554,14 +555,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -579,7 +580,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -600,28 +601,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time_id.py index 8ae3847c1..99a466dc4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -292,7 +293,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -303,14 +304,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -367,7 +368,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -388,35 +389,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -434,14 +435,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -466,7 +467,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -480,28 +481,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -526,14 +527,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -554,14 +555,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -579,7 +580,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -600,28 +601,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time.py index 665c742c1..6a60a44b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time_id.py index 80d0c25e2..66ba73590 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_jet_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionJetTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction.py index edc262f56..0da330d5f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefraction(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_id.py index fb7b4652d..3f7668029 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment.py index 0ccb725d1..e6e762daa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_id.py index b59291c7c..b86662294 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time.py index 65624c8f3..6f78dfb13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time_id.py index cefb595ff..2f5efb2f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time.py index f0c8fc4a0..e2dee549e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time_id.py index 1dddbb89f..95c5561ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_molefraction_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionMolefractionTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment.py index 32efd2543..e1e7b3980 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_id.py index 5eb726a75..926754136 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time.py index 27a648169..805d863cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time_id.py index 10feb1f5a..08841f829 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time.py index ccb5b4295..d5068c7fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time_id.py index a5e3cc0a1..9ce0efbf2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_decomposition_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppDecompositionTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_id.py index 451c802d4..3fb1248f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation.py index 12a752167..2181ed9bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflation(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_id.py index 7479cbc53..7cbecd67a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -620,21 +621,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -666,28 +667,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment.py index ad7f2b668..54a913b62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_id.py index b572a6b4c..5056ced5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time.py index 836ad1e73..3fe226232 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time_id.py index 03a04df07..c95a832a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time.py index 7c6470b09..d2b4749f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time_id.py index dd413b34c..421b1f286 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_inflation_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppInflationTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet.py index 664db5dec..365b9913c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJet(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_id.py index 9981d5a14..f3e888500 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment.py index 7c7d24cb0..aa949efbe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -225,28 +226,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -349,7 +350,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -370,35 +371,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -416,14 +417,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -448,7 +449,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -462,28 +463,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -508,14 +509,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -536,14 +537,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -561,7 +562,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -582,28 +583,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_id.py index 2afd9336d..db8a744f3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -225,28 +226,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -349,7 +350,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -370,35 +371,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -416,14 +417,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -448,7 +449,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -462,28 +463,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -508,14 +509,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -536,14 +537,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -561,7 +562,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -582,28 +583,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time.py index f34b3ebb5..20744bad3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -292,7 +293,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -303,14 +304,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -367,7 +368,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -388,35 +389,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -434,14 +435,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -466,7 +467,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -480,28 +481,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -526,14 +527,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -554,14 +555,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -579,7 +580,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -600,28 +601,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time_id.py index 5ad972f55..6ead06670 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -292,7 +293,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -303,14 +304,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -367,7 +368,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -388,35 +389,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -434,14 +435,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -466,7 +467,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -480,28 +481,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -526,14 +527,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -554,14 +555,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -579,7 +580,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -600,28 +601,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time.py index 242e3f53c..655b038a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time_id.py index d48be8043..7e42f57d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_jet_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppJetTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction.py index 5e9df7bc7..3a8d766e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefraction(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_id.py index f0ee57ec0..8f4fee032 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -143,56 +144,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -203,28 +204,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -252,7 +253,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -263,14 +264,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -327,7 +328,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -348,35 +349,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,14 +395,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -426,7 +427,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -440,28 +441,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -486,14 +487,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -514,14 +515,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -539,7 +540,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -560,28 +561,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment.py index 81d45ea73..04faf8845 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_id.py index 2bcc53f63..ddd675f98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -642,21 +643,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -688,28 +689,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time.py index 0287f9fd7..7d2851ba6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time_id.py index 28e75ffa4..260d9a848 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -660,21 +661,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -706,28 +707,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time.py index f5b89ef17..daac39064 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time_id.py index c832a8ff1..3ffb14153 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_molefraction_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppMolefractionTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment.py index 4ee1ba5b3..0088c5c92 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppSegment(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_id.py index 5c9784d0b..fdcecf4a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppSegmentId(KeywordBase): @@ -90,21 +91,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -118,21 +119,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,56 +155,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -214,28 +215,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -263,7 +264,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -274,14 +275,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -338,7 +339,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -359,35 +360,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,14 +406,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -437,7 +438,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -451,28 +452,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -497,14 +498,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -525,14 +526,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -550,7 +551,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -571,28 +572,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -631,21 +632,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -677,28 +678,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time.py index 0efbda8b2..2f4dd4d97 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppSegmentTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time_id.py index b63127c18..65cd3ecc1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppSegmentTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,56 +173,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -232,28 +233,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -281,7 +282,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -292,14 +293,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,7 +357,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -377,35 +378,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -423,14 +424,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -455,7 +456,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -469,28 +470,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -515,14 +516,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -543,14 +544,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -568,7 +569,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -589,28 +590,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -649,21 +650,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -695,28 +696,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time.py index f33ab4e3e..67c37a402 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppTime(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time_id.py index 2f7ef567a..bca99793b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_mpp_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleMppTimeId(KeywordBase): @@ -108,21 +109,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -136,21 +137,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -221,28 +222,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -270,7 +271,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -281,14 +282,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -366,35 +367,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -412,14 +413,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -444,7 +445,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -458,28 +459,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -504,14 +505,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -532,14 +533,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -557,7 +558,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -578,28 +579,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -638,21 +639,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -684,28 +685,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment.py index a5cadb664..897a39076 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleSegment(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_id.py index b31ae4971..90750a84a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleSegmentId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,56 +130,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -189,28 +190,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -238,7 +239,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -249,14 +250,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -334,35 +335,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -380,14 +381,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -426,28 +427,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -472,14 +473,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -500,14 +501,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -525,7 +526,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -546,28 +547,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -606,21 +607,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -652,28 +653,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time.py index bb3fbacb5..3fd417071 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleSegmentTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time_id.py index 0336f4e71..4b5f9a763 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_segment_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleSegmentTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,56 +148,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -207,28 +208,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -256,7 +257,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -267,14 +268,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -352,35 +353,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -398,14 +399,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -430,7 +431,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -444,28 +445,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -490,14 +491,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -518,14 +519,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -543,7 +544,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -564,28 +565,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -624,21 +625,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -670,28 +671,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time.py index 53c5364f9..96cff0f8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleTime(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time_id.py index 5e344b3c0..1993bcf67 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_particle_time_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagParticleTimeId(KeywordBase): @@ -83,21 +84,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype1", 0) + kwargs.get("stype1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 20, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "stype2", int, 30, 10, - kwargs.get("stype2", 0) + kwargs.get("stype2", 0 if use_lspp_defaults() else None) ), Field( "block", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("npdata", 0) + kwargs.get("npdata", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "irdp", int, 70, 10, - kwargs.get("irdp", 0) + kwargs.get("irdp", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,56 +137,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("np", 200000) + kwargs.get("np", 200000 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "visflg", int, 20, 10, - kwargs.get("visflg", 1) + kwargs.get("visflg", 1 if use_lspp_defaults() else None) ), Field( "tatm", float, 30, 10, - kwargs.get("tatm", 293) + kwargs.get("tatm", 293 if use_lspp_defaults() else None) ), Field( "patm", float, 40, 10, - kwargs.get("patm", 1) + kwargs.get("patm", 1 if use_lspp_defaults() else None) ), Field( "nvent", int, 50, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "tend", float, 60, 10, - kwargs.get("tend", 1.0E10) + kwargs.get("tend", 1.0E10 if use_lspp_defaults() else None) ), Field( "tsw", float, 70, 10, - kwargs.get("tsw", 1.0E10) + kwargs.get("tsw", 1.0E10 if use_lspp_defaults() else None) ), ], ), @@ -196,28 +197,28 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("tstop", 1e11) + kwargs.get("tstop", 1e11 if use_lspp_defaults() else None) ), Field( "tsmth", float, 10, 10, - kwargs.get("tsmth", 1.0) + kwargs.get("tsmth", 1.0 if use_lspp_defaults() else None) ), Field( "occup", float, 20, 10, - kwargs.get("occup", 0.1) + kwargs.get("occup", 0.1 if use_lspp_defaults() else None) ), Field( "rebl", int, 30, 10, - kwargs.get("rebl", 0) + kwargs.get("rebl", 0 if use_lspp_defaults() else None) ), Field( "sidsv", @@ -245,7 +246,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -256,14 +257,14 @@ def __init__(self, **kwargs): float, 1, 9, - kwargs.get("sfiair4", 1.0) + kwargs.get("sfiair4", 1.0 if use_lspp_defaults() else None) ), Field( "idfric", int, 10, 10, - kwargs.get("idfric", 0) + kwargs.get("idfric", 0 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iair", 0) + kwargs.get("iair", 0 if use_lspp_defaults() else None) ), Field( "ngas", @@ -341,35 +342,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 40, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 50, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "chm", int, 60, 10, - kwargs.get("chm", 0) + kwargs.get("chm", 0 if use_lspp_defaults() else None) ), Field( "cd_ext", float, 70, 10, - kwargs.get("cd_ext", 0.0) + kwargs.get("cd_ext", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -387,14 +388,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styup", 0) + kwargs.get("styup", 0 if use_lspp_defaults() else None) ), Field( "pfrac", float, 20, 10, - kwargs.get("pfrac", 0.0) + kwargs.get("pfrac", 0.0 if use_lspp_defaults() else None) ), Field( "linking", @@ -419,7 +420,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stypeh", 0) + kwargs.get("stypeh", 0 if use_lspp_defaults() else None) ), Field( "hconv", @@ -433,28 +434,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pfric", 0.0) + kwargs.get("pfric", 0.0 if use_lspp_defaults() else None) ), Field( "sdfblk", float, 40, 10, - kwargs.get("sdfblk", 1.0) + kwargs.get("sdfblk", 1.0 if use_lspp_defaults() else None) ), Field( "kp", float, 50, 10, - kwargs.get("kp", 0.0) + kwargs.get("kp", 0.0 if use_lspp_defaults() else None) ), Field( "inip", int, 60, 10, - kwargs.get("inip", 0) + kwargs.get("inip", 0 if use_lspp_defaults() else None) ), Field( "cp", @@ -479,14 +480,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype3", 0) + kwargs.get("stype3", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -507,14 +508,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", float, 60, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -532,7 +533,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tair", 0) + kwargs.get("tair", 0 if use_lspp_defaults() else None) ), Field( "xmair", @@ -553,28 +554,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bair", 0.0) + kwargs.get("bair", 0.0 if use_lspp_defaults() else None) ), Field( "cair", float, 50, 10, - kwargs.get("cair", 0.0) + kwargs.get("cair", 0.0 if use_lspp_defaults() else None) ), Field( "npair", int, 60, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "nprlx", str, 70, 10, - kwargs.get("nprlx", "0") + kwargs.get("nprlx", "0" if use_lspp_defaults() else None) ), ], ), @@ -613,21 +614,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("bi", 0.0) + kwargs.get("bi", 0.0 if use_lspp_defaults() else None) ), Field( "ci", float, 50, 10, - kwargs.get("ci", 0.0) + kwargs.get("ci", 0.0 if use_lspp_defaults() else None) ), Field( "infgi", int, 60, 10, - kwargs.get("infgi", 1) + kwargs.get("infgi", 1 if use_lspp_defaults() else None) ), ], ), @@ -659,28 +660,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cai", 30.0) + kwargs.get("cai", 30.0 if use_lspp_defaults() else None) ), Field( "infoi", int, 40, 10, - kwargs.get("infoi", 1) + kwargs.get("infoi", 1 if use_lspp_defaults() else None) ), Field( "imom", int, 50, 10, - kwargs.get("imom", 0) + kwargs.get("imom", 0 if use_lspp_defaults() else None) ), Field( "iang", int, 60, 10, - kwargs.get("iang", 0) + kwargs.get("iang", 0 if use_lspp_defaults() else None) ), Field( "chm_id", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry.py index 166ba6f08..3c018a325 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometry(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth.py index a5ab2ca7b..6b060b59b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryBirth(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -58,21 +59,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_id.py index 2c4a741cd..5ffa6a84b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryBirthId(KeywordBase): @@ -79,7 +80,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -97,21 +98,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_rdt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_rdt.py index 391bba463..325ab7c14 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_rdt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_birth_rdt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryBirthRdt(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -58,21 +59,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_id.py index 30567f66c..cf013917e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryId(KeywordBase): @@ -86,21 +87,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt.py index 105f7f64b..cb72404b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryRdt(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth.py index 9e3758e7d..29cf8cadd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryRdtBirth(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -58,21 +59,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth_id.py index acc85f338..3697d25cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_birth_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryRdtBirthId(KeywordBase): @@ -79,7 +80,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -97,21 +98,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_id.py index c5d12a102..de4e73e5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_reference_geometry_rdt_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagReferenceGeometryRdtId(KeywordBase): @@ -86,21 +87,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry.py index 6d80952d1..126a90670 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagShellReferenceGeometry(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_id.py index 8005f08b9..6c6679f49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagShellReferenceGeometryId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt.py index 2bf1b6262..db6d6308b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagShellReferenceGeometryRdt(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt_id.py index 1c70cbf2f..8819cbaca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_shell_reference_geometry_rdt_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagShellReferenceGeometryRdtId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model.py index ede1f83f3..a4c11cac5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagSimpleAirbagModel(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lou", 0) + kwargs.get("lou", 0 if use_lspp_defaults() else None) ), Field( "text", float, 10, 10, - kwargs.get("text", 0.0) + kwargs.get("text", 0.0 if use_lspp_defaults() else None) ), Field( "a", float, 20, 10, - kwargs.get("a", 0.0) + kwargs.get("a", 0.0 if use_lspp_defaults() else None) ), Field( "b", float, 30, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "mw", float, 40, 10, - kwargs.get("mw", 0.0) + kwargs.get("mw", 0.0 if use_lspp_defaults() else None) ), Field( "gasc", float, 50, 10, - kwargs.get("gasc", 0.0) + kwargs.get("gasc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model_id.py index ef18ecf0e..5fe394b0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_airbag_model_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagSimpleAirbagModelId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,42 +179,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lou", 0) + kwargs.get("lou", 0 if use_lspp_defaults() else None) ), Field( "text", float, 10, 10, - kwargs.get("text", 0.0) + kwargs.get("text", 0.0 if use_lspp_defaults() else None) ), Field( "a", float, 20, 10, - kwargs.get("a", 0.0) + kwargs.get("a", 0.0 if use_lspp_defaults() else None) ), Field( "b", float, 30, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "mw", float, 40, 10, - kwargs.get("mw", 0.0) + kwargs.get("mw", 0.0 if use_lspp_defaults() else None) ), Field( "gasc", float, 50, 10, - kwargs.get("gasc", 0.0) + kwargs.get("gasc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume.py index 315163505..7d6154642 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagSimplePressureVolume(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume_id.py index 19922bd52..c859fc804 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_simple_pressure_volume_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagSimplePressureVolumeId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske.py index c5e0d8f2a..d007f4fef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefske(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_id.py index 648c75bf3..61e7669c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting.py index 318eb7480..661287d8c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJetting(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -421,7 +422,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -467,21 +468,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm.py index 118118a63..98ca4ac68 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingCm(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -421,7 +422,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -467,21 +468,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -492,7 +493,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm_id.py index d4b6d0302..a44678aca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_cm_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingCmId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -439,7 +440,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -485,21 +486,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -510,7 +511,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_id.py index a417bb990..8797f6f02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -439,7 +440,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -485,21 +486,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop.py index af8830a81..a69124a60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingPop(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -372,49 +373,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -481,7 +482,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -527,21 +528,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm.py index 8c75eb582..0e7471c9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingPopCm(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -372,49 +373,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -481,7 +482,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -527,21 +528,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -552,7 +553,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm_id.py index baadf51c5..467d27067 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_cm_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingPopCmId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -390,49 +391,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -499,7 +500,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -545,21 +546,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -570,7 +571,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_id.py index 54fb388c1..95af2cdf2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_jetting_pop_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeJettingPopId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -390,49 +391,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -499,7 +500,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -545,21 +546,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting.py index db7d32c24..2d6f44491 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJetting(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -421,7 +422,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -467,21 +468,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm.py index 8731820eb..61a848ce9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingCm(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -421,7 +422,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -467,21 +468,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -492,7 +493,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm_id.py index 47870aec6..9607c6f29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_cm_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingCmId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -439,7 +440,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -485,21 +486,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), @@ -510,7 +511,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nreact", 0) + kwargs.get("nreact", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_id.py index 6f53b1461..8ce9a80c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -439,7 +440,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -485,21 +486,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop.py index 6c1c1cf0e..8d75ac6e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingPop(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -372,49 +373,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -481,7 +482,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -527,21 +528,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm.py index 2a24164d3..86b8181ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingPopCm(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -372,49 +373,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -481,7 +482,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -527,21 +528,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm_id.py index fbd0b8327..e94df820a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_cm_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingPopCmId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -390,49 +391,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -499,7 +500,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -545,21 +546,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_id.py index 25fc10cbf..df35aedcb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_multiple_jetting_pop_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskeMultipleJettingPopId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -390,49 +391,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", @@ -499,7 +500,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -545,21 +546,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 60, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "node3", int, 70, 10, - kwargs.get("node3", 0) + kwargs.get("node3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop.py index c9ed6e756..9e2d16da6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskePop(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -114,14 +115,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -195,21 +196,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -361,7 +362,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -372,49 +373,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop_id.py index faad6bf43..4bb5ebd62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/airbag_wang_nefske_pop_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AirbagWangNefskePopId(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "rbid", int, 20, 10, - kwargs.get("rbid", 0) + kwargs.get("rbid", 0 if use_lspp_defaults() else None) ), Field( "vsca", float, 30, 10, - kwargs.get("vsca", 1.0) + kwargs.get("vsca", 1.0 if use_lspp_defaults() else None) ), Field( "psca", float, 40, 10, - kwargs.get("psca", 1.0) + kwargs.get("psca", 1.0 if use_lspp_defaults() else None) ), Field( "vini", float, 50, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), Field( "mwd", float, 60, 10, - kwargs.get("mwd", 0.0) + kwargs.get("mwd", 0.0 if use_lspp_defaults() else None) ), Field( "spsf", float, 70, 10, - kwargs.get("spsf", 0.0) + kwargs.get("spsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,14 +133,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "lct", int, 30, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcmt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tvol", 0.0) + kwargs.get("tvol", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 60, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "iabt", float, 70, 10, - kwargs.get("iabt", not used) + kwargs.get("iabt", not used if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcc23", 0) + kwargs.get("lcc23", 0 if use_lspp_defaults() else None) ), Field( "a23", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lca23", 0) + kwargs.get("lca23", 0 if use_lspp_defaults() else None) ), Field( "cp23", @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lccp23", 0) + kwargs.get("lccp23", 0 if use_lspp_defaults() else None) ), Field( "ap23", float, 60, 10, - kwargs.get("ap23", 0.0) + kwargs.get("ap23", 0.0 if use_lspp_defaults() else None) ), Field( "lcap23", int, 70, 10, - kwargs.get("lcap23", 0) + kwargs.get("lcap23", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,35 +260,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcefr", 0) + kwargs.get("lcefr", 0 if use_lspp_defaults() else None) ), Field( "pover", float, 40, 10, - kwargs.get("pover", 0.0) + kwargs.get("pover", 0.0 if use_lspp_defaults() else None) ), Field( "ppop", float, 50, 10, - kwargs.get("ppop", 0.0) + kwargs.get("ppop", 0.0 if use_lspp_defaults() else None) ), Field( "opt", int, 60, 10, - kwargs.get("opt", 1) + kwargs.get("opt", 1 if use_lspp_defaults() else None) ), Field( "knkdn", int, 70, 10, - kwargs.get("knkdn", 0) + kwargs.get("knkdn", 0 if use_lspp_defaults() else None) ), ], ), @@ -379,7 +380,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hconv", 0.0) + kwargs.get("hconv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -390,49 +391,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdp", 0.0) + kwargs.get("tdp", 0.0 if use_lspp_defaults() else None) ), Field( "axp", float, 10, 10, - kwargs.get("axp", 0.0) + kwargs.get("axp", 0.0 if use_lspp_defaults() else None) ), Field( "ayp", float, 20, 10, - kwargs.get("ayp", 0.0) + kwargs.get("ayp", 0.0 if use_lspp_defaults() else None) ), Field( "azp", float, 30, 10, - kwargs.get("azp", 0.0) + kwargs.get("azp", 0.0 if use_lspp_defaults() else None) ), Field( "amagp", float, 40, 10, - kwargs.get("amagp", 0.0) + kwargs.get("amagp", 0.0 if use_lspp_defaults() else None) ), Field( "tdurp", float, 50, 10, - kwargs.get("tdurp", 0.0) + kwargs.get("tdurp", 0.0 if use_lspp_defaults() else None) ), Field( "tda", float, 60, 10, - kwargs.get("tda", 0.0) + kwargs.get("tda", 0.0 if use_lspp_defaults() else None) ), Field( "rbidp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_ambient_hydrostatic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_ambient_hydrostatic.py index 146d0335c..51b540e2f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_ambient_hydrostatic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_ambient_hydrostatic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleAmbientHydrostatic(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "vecid", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pbase", 0) + kwargs.get("pbase", 0 if use_lspp_defaults() else None) ), Field( "ramptlc", int, 50, 10, - kwargs.get("ramptlc", 0) + kwargs.get("ramptlc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_burn_switch_mmg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_burn_switch_mmg.py index 63b005ae1..b3467888e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_burn_switch_mmg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_burn_switch_mmg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleBurnSwitchMmg(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nvarline", 0) + kwargs.get("nvarline", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,7 +66,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("react", 0) + kwargs.get("react", 0 if use_lspp_defaults() else None) ), ], ), @@ -76,21 +77,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("igni", 0) + kwargs.get("igni", 0 if use_lspp_defaults() else None) ), Field( "igniv", int, 10, 10, - kwargs.get("igniv", 0) + kwargs.get("igniv", 0 if use_lspp_defaults() else None) ), Field( "ignivf", int, 20, 10, - kwargs.get("ignivf", 0) + kwargs.get("ignivf", 0 if use_lspp_defaults() else None) ), ], ), @@ -101,56 +102,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 10, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 20, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 30, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 40, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 50, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 60, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 70, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), ], ), @@ -161,56 +162,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 10, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 20, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 30, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 40, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 50, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 60, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), Field( "par", float, 70, 10, - kwargs.get("par", 0.0) + kwargs.get("par", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint.py index 1de03e0c6..bbc94637e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalConstraint(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 40, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "mcoup", @@ -86,14 +87,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -121,7 +122,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_id.py index 391caed65..419b4252b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalConstraintId(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 40, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "mcoup", @@ -104,14 +105,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_title.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_title.py index a2fc8b0b8..f28ed271e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_title.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_constraint_title.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalConstraintTitle(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 40, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "mcoup", @@ -104,14 +105,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag.py index 57dfe43f1..482dfbc38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalDrag(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fcoef", 1) + kwargs.get("fcoef", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -132,14 +133,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("direcg", 1) + kwargs.get("direcg", 1 if use_lspp_defaults() else None) ), Field( "grav", float, 70, 10, - kwargs.get("grav", 0.0) + kwargs.get("grav", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_id.py index 042886bae..e2d6e1575 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalDragId(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fcoef", 1) + kwargs.get("fcoef", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -132,14 +133,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("direcg", 1) + kwargs.get("direcg", 1 if use_lspp_defaults() else None) ), Field( "grav", float, 70, 10, - kwargs.get("grav", 0.0) + kwargs.get("grav", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_title.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_title.py index 2b47f5e76..588691fc7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_title.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_drag_title.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalDragTitle(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "unused", @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fcoef", 1) + kwargs.get("fcoef", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -132,14 +133,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("direcg", 1) + kwargs.get("direcg", 1 if use_lspp_defaults() else None) ), Field( "grav", float, 70, 10, - kwargs.get("grav", 0.0) + kwargs.get("grav", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty.py index eeecf7daa..e8f10df81 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalPenalty(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,14 +105,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "pform", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_id.py index e7be9015e..af2611e7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalPenaltyId(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,14 +105,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "pform", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_title.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_title.py index d0af3ac67..c76f01ed2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_title.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_nodal_penalty_title.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingNodalPenaltyTitle(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("strsty", 0) + kwargs.get("strsty", 0 if use_lspp_defaults() else None) ), Field( "alesty", int, 30, 10, - kwargs.get("alesty", 0) + kwargs.get("alesty", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,14 +105,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0) + kwargs.get("start", 0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E10) + kwargs.get("end", 1.0E10 if use_lspp_defaults() else None) ), Field( "pform", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_rigid_body.py index f673f9cb4..5b9a686a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_coupling_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleCouplingRigidBody(KeywordBase): @@ -65,14 +66,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idtype", 0) + kwargs.get("idtype", 0 if use_lspp_defaults() else None) ), Field( "ictype", int, 20, 10, - kwargs.get("ictype", 1) + kwargs.get("ictype", 1 if use_lspp_defaults() else None) ), Field( "iexcle", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_essential_boundary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_essential_boundary.py index ad91aba9a..826a3b82e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_essential_boundary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_essential_boundary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleEssentialBoundary(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idtype", 0) + kwargs.get("idtype", 0 if use_lspp_defaults() else None) ), Field( "ictype", int, 20, 10, - kwargs.get("ictype", 1) + kwargs.get("ictype", 1 if use_lspp_defaults() else None) ), Field( "iexcl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fail_switch_mmg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fail_switch_mmg.py index 684112d51..48de2e435 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fail_switch_mmg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fail_switch_mmg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFailSwitchMmg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fragmentation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fragmentation.py index d00990180..180e9f060 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fragmentation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fragmentation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFragmentation(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("fragtyp", 1) + kwargs.get("fragtyp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_load_to_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_load_to_node.py index 32963af8e..b14b3121d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_load_to_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_load_to_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFsiLoadToNode(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_projection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_projection.py index 80c61e5a1..1d73d5d36 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_projection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_projection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFsiProjection(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lsidtyp", 0) + kwargs.get("lsidtyp", 0 if use_lspp_defaults() else None) ), Field( "asidtyp", int, 30, 10, - kwargs.get("asidtyp", 0) + kwargs.get("asidtyp", 0 if use_lspp_defaults() else None) ), Field( "smmgid", @@ -93,14 +94,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 10, 10, - kwargs.get("death", 1.0e10) + kwargs.get("death", 1.0e10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_switch_mmg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_switch_mmg.py index a1a7b8108..03de6cbd0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_switch_mmg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_switch_mmg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFsiSwitchMmg(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 20, 10, - kwargs.get("nquad", 1) + kwargs.get("nquad", 1 if use_lspp_defaults() else None) ), Field( "xoff", float, 30, 10, - kwargs.get("xoff", 0.0) + kwargs.get("xoff", 0.0 if use_lspp_defaults() else None) ), Field( "btime", float, 40, 10, - kwargs.get("btime", 0.0) + kwargs.get("btime", 0.0 if use_lspp_defaults() else None) ), Field( "dtime", float, 50, 10, - kwargs.get("dtime", 1.0e20) + kwargs.get("dtime", 1.0e20 if use_lspp_defaults() else None) ), Field( "nfreq", int, 60, 10, - kwargs.get("nfreq", 1) + kwargs.get("nfreq", 1 if use_lspp_defaults() else None) ), Field( "nfold", int, 70, 10, - kwargs.get("nfold", 0) + kwargs.get("nfold", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,7 +133,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xclen", 0.0) + kwargs.get("xclen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_to_load_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_to_load_node.py index 8c05344ff..ab8d67bfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_to_load_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_fsi_to_load_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleFsiToLoadNode(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_injection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_injection.py index ea4cd0919..b3e0ca112 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_injection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_injection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleInjection(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("global", 0) + kwargs.get("global", 0 if use_lspp_defaults() else None) ), Field( "lce", int, 30, 10, - kwargs.get("lce", 0) + kwargs.get("lce", 0 if use_lspp_defaults() else None) ), Field( "lcrvl", int, 40, 10, - kwargs.get("lcrvl", 0) + kwargs.get("lcrvl", 0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcvt", 0) + kwargs.get("lcvt", 0 if use_lspp_defaults() else None) ), Field( "vect", int, 10, 10, - kwargs.get("vect", 0) + kwargs.get("vect", 0 if use_lspp_defaults() else None) ), Field( "lcvr", int, 20, 10, - kwargs.get("lcvr", 0) + kwargs.get("lcvr", 0 if use_lspp_defaults() else None) ), Field( "vecr", int, 30, 10, - kwargs.get("vecr", 0) + kwargs.get("vecr", 0 if use_lspp_defaults() else None) ), Field( "boxv", int, 40, 10, - kwargs.get("boxv", 0) + kwargs.get("boxv", 0 if use_lspp_defaults() else None) ), Field( "xg", float, 50, 10, - kwargs.get("xg", 0.0) + kwargs.get("xg", 0.0 if use_lspp_defaults() else None) ), Field( "yg", float, 60, 10, - kwargs.get("yg", 0.0) + kwargs.get("yg", 0.0 if use_lspp_defaults() else None) ), Field( "zg", float, 70, 10, - kwargs.get("zg", 0.0) + kwargs.get("zg", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("surfct", 0) + kwargs.get("surfct", 0 if use_lspp_defaults() else None) ), Field( "ndiv", int, 10, 10, - kwargs.get("ndiv", 3) + kwargs.get("ndiv", 3 if use_lspp_defaults() else None) ), Field( "xl", float, 20, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 30, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "zd", float, 40, 10, - kwargs.get("zd", 0.0) + kwargs.get("zd", 0.0 if use_lspp_defaults() else None) ), Field( "zu", float, 50, 10, - kwargs.get("zu", 0.0) + kwargs.get("zu", 0.0 if use_lspp_defaults() else None) ), Field( "xc", float, 60, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 70, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping.py index d2df79f9b..be921ae03 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMapping(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("rw", -1) + kwargs.get("rw", -1 if use_lspp_defaults() else None) ), ], ), @@ -58,14 +59,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntim", 1) + kwargs.get("ntim", 1 if use_lspp_defaults() else None) ), Field( "tbeg", float, 10, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", @@ -90,28 +91,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "xp", float, 20, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 30, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -129,14 +130,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nvol", int, 20, 10, - kwargs.get("nvol", 0) + kwargs.get("nvol", 0 if use_lspp_defaults() else None) ), ], ), @@ -154,49 +155,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("vecid1", 0) + kwargs.get("vecid1", 0 if use_lspp_defaults() else None) ), Field( "dw1", float, 20, 10, - kwargs.get("dw1", 0.0) + kwargs.get("dw1", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 30, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 40, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "zl", float, 50, 10, - kwargs.get("zl", 0.0) + kwargs.get("zl", 0.0 if use_lspp_defaults() else None) ), Field( "dw2", float, 60, 10, - kwargs.get("dw2", 0.0) + kwargs.get("dw2", 0.0 if use_lspp_defaults() else None) ), Field( "dv2", float, 70, 10, - kwargs.get("dv2", 0.0) + kwargs.get("dv2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping_from_lagrangian.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping_from_lagrangian.py index 44d3c4d5d..9e5f38e5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping_from_lagrangian.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mapping_from_lagrangian.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMappingFromLagrangian(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lagpty", 0) + kwargs.get("lagpty", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mesh_interface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mesh_interface.py index b44895849..ef8e9f9c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mesh_interface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_mesh_interface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMeshInterface(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nowrt", 0) + kwargs.get("nowrt", 0 if use_lspp_defaults() else None) ), Field( "volrat", float, 20, 10, - kwargs.get("volrat", 0.0) + kwargs.get("volrat", 0.0 if use_lspp_defaults() else None) ), Field( "interp", int, 30, 10, - kwargs.get("interp", 0) + kwargs.get("interp", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,14 +73,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("edgmin", 0.0) + kwargs.get("edgmin", 0.0 if use_lspp_defaults() else None) ), Field( "edgmax", float, 10, 10, - kwargs.get("edgmax", 0.0) + kwargs.get("edgmax", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group.py index 6fadc6ece..e609f6630 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMultiMaterialGroup(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idtype", 0) + kwargs.get("idtype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_part.py index d286f1fe4..9643e0f49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMultiMaterialGroupPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_set.py index a1dc25a56..77cbb2b80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_multi_material_group_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleMultiMaterialGroupSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_prescribed_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_prescribed_motion.py index ceed39761..c829d86a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_prescribed_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_prescribed_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AlePrescribedMotion(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("inside", 0) + kwargs.get("inside", 0 if use_lspp_defaults() else None) ), Field( "sidr", int, 20, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_curve.py index 66804242d..2a1a49f82 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleReferenceSystemCurve(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_group.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_group.py index f90539b43..681548929 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_group.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_group.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleReferenceSystemGroup(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "prtype", int, 20, 10, - kwargs.get("prtype", 0) + kwargs.get("prtype", 0 if use_lspp_defaults() else None) ), Field( "prid", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("bctran", 0) + kwargs.get("bctran", 0 if use_lspp_defaults() else None) ), Field( "bcexp", int, 50, 10, - kwargs.get("bcexp", 0) + kwargs.get("bcexp", 0 if use_lspp_defaults() else None) ), Field( "bcrot", int, 60, 10, - kwargs.get("bcrot", 0) + kwargs.get("bcrot", 0 if use_lspp_defaults() else None) ), Field( "icoord", int, 70, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "prtype", int, 20, 10, - kwargs.get("prtype", 0) + kwargs.get("prtype", 0 if use_lspp_defaults() else None) ), Field( "prid", @@ -128,28 +129,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("bctran", 0) + kwargs.get("bctran", 0 if use_lspp_defaults() else None) ), Field( "bcexp", int, 50, 10, - kwargs.get("bcexp", 0) + kwargs.get("bcexp", 0 if use_lspp_defaults() else None) ), Field( "bcrot", int, 60, 10, - kwargs.get("bcrot", 0) + kwargs.get("bcrot", 0 if use_lspp_defaults() else None) ), Field( "icoord", int, 70, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), ], ), @@ -167,14 +168,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "prtype", int, 20, 10, - kwargs.get("prtype", 0) + kwargs.get("prtype", 0 if use_lspp_defaults() else None) ), Field( "prid", @@ -188,28 +189,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("bctran", 0) + kwargs.get("bctran", 0 if use_lspp_defaults() else None) ), Field( "bcexp", int, 50, 10, - kwargs.get("bcexp", 0) + kwargs.get("bcexp", 0 if use_lspp_defaults() else None) ), Field( "bcrot", int, 60, 10, - kwargs.get("bcrot", 0) + kwargs.get("bcrot", 0 if use_lspp_defaults() else None) ), Field( "icoord", int, 70, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_node.py index a73f8b765..03c46e46a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleReferenceSystemNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_switch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_switch.py index e1fdee8a0..a8bff055a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_switch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_reference_system_switch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleReferenceSystemSwitch(KeywordBase): @@ -51,49 +52,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "t5", float, 40, 10, - kwargs.get("t5", 0.0) + kwargs.get("t5", 0.0 if use_lspp_defaults() else None) ), Field( "t6", float, 50, 10, - kwargs.get("t6", 0.0) + kwargs.get("t6", 0.0 if use_lspp_defaults() else None) ), Field( "t7", float, 60, 10, - kwargs.get("t7", 0.0) + kwargs.get("t7", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -104,56 +105,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type1", 0) + kwargs.get("type1", 0 if use_lspp_defaults() else None) ), Field( "type2", int, 10, 10, - kwargs.get("type2", 0) + kwargs.get("type2", 0 if use_lspp_defaults() else None) ), Field( "type3", int, 20, 10, - kwargs.get("type3", 0) + kwargs.get("type3", 0 if use_lspp_defaults() else None) ), Field( "type4", int, 30, 10, - kwargs.get("type4", 0) + kwargs.get("type4", 0 if use_lspp_defaults() else None) ), Field( "type5", int, 40, 10, - kwargs.get("type5", 0) + kwargs.get("type5", 0 if use_lspp_defaults() else None) ), Field( "type6", int, 50, 10, - kwargs.get("type6", 0) + kwargs.get("type6", 0 if use_lspp_defaults() else None) ), Field( "type7", int, 60, 10, - kwargs.get("type7", 0) + kwargs.get("type7", 0 if use_lspp_defaults() else None) ), Field( "type8", int, 70, 10, - kwargs.get("type8", 0) + kwargs.get("type8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_refine.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_refine.py index 78b20cc92..63cea22c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_refine.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_refine.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleRefine(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nlvl", int, 20, 10, - kwargs.get("nlvl", 1) + kwargs.get("nlvl", 1 if use_lspp_defaults() else None) ), Field( "mmsid", int, 30, 10, - kwargs.get("mmsid", 0) + kwargs.get("mmsid", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,49 +73,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntotrf", 0) + kwargs.get("ntotrf", 0 if use_lspp_defaults() else None) ), Field( "ncycrf", int, 10, 10, - kwargs.get("ncycrf", 0) + kwargs.get("ncycrf", 0 if use_lspp_defaults() else None) ), Field( "critrf", int, 20, 10, - kwargs.get("critrf", 0) + kwargs.get("critrf", 0 if use_lspp_defaults() else None) ), Field( "valrf", float, 30, 10, - kwargs.get("valrf", 0.0) + kwargs.get("valrf", 0.0 if use_lspp_defaults() else None) ), Field( "begrf", float, 40, 10, - kwargs.get("begrf", 0.0) + kwargs.get("begrf", 0.0 if use_lspp_defaults() else None) ), Field( "endrf", float, 50, 10, - kwargs.get("endrf", 0.0) + kwargs.get("endrf", 0.0 if use_lspp_defaults() else None) ), Field( "layrf", int, 60, 10, - kwargs.get("layrf", 0) + kwargs.get("layrf", 0 if use_lspp_defaults() else None) ), ], ), @@ -125,42 +126,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxrm", 0) + kwargs.get("maxrm", 0 if use_lspp_defaults() else None) ), Field( "ncycrm", int, 10, 10, - kwargs.get("ncycrm", 0) + kwargs.get("ncycrm", 0 if use_lspp_defaults() else None) ), Field( "critrm", int, 20, 10, - kwargs.get("critrm", 0) + kwargs.get("critrm", 0 if use_lspp_defaults() else None) ), Field( "valrm", float, 30, 10, - kwargs.get("valrm", 0.0) + kwargs.get("valrm", 0.0 if use_lspp_defaults() else None) ), Field( "begrm", float, 40, 10, - kwargs.get("begrm", 0.0) + kwargs.get("begrm", 0.0 if use_lspp_defaults() else None) ), Field( "endrm", float, 50, 10, - kwargs.get("endrm", 0.0) + kwargs.get("endrm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_smoothing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_smoothing.py index 956cb4ded..73946cb5d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_smoothing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_smoothing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleSmoothing(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ipre", 0) + kwargs.get("ipre", 0 if use_lspp_defaults() else None) ), Field( "xco", float, 40, 10, - kwargs.get("xco", 0.0) + kwargs.get("xco", 0.0 if use_lspp_defaults() else None) ), Field( "yco", float, 50, 10, - kwargs.get("yco", 0.0) + kwargs.get("yco", 0.0 if use_lspp_defaults() else None) ), Field( "zco", float, 60, 10, - kwargs.get("zco", 0.0) + kwargs.get("zco", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_fsi.py index 966acdda4..c9ac508be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredFsi(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lstrstyp", 0) + kwargs.get("lstrstyp", 0 if use_lspp_defaults() else None) ), Field( "alestyp", int, 30, 10, - kwargs.get("alestyp", 0) + kwargs.get("alestyp", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -118,28 +119,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0e10) + kwargs.get("end", 1.0e10 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("flip", 0) + kwargs.get("flip", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh.py index 3ea66e085..b3bdc1461 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMesh(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mshid", 0) + kwargs.get("mshid", 0 if use_lspp_defaults() else None) ), Field( "dpid", @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nbid", 0) + kwargs.get("nbid", 0 if use_lspp_defaults() else None) ), Field( "ebid", int, 30, 10, - kwargs.get("ebid", 0) + kwargs.get("ebid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tdeath", 1.0E16) + kwargs.get("tdeath", 1.0E16 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_control_points.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_control_points.py index d02b21a31..a5da5eeb8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_control_points.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_control_points.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMeshControlPoints(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cpid", 0) + kwargs.get("cpid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("icase", 0) + kwargs.get("icase", 0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 0, 20, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "x", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 40, 20, - kwargs.get("ratio", 0.0) + kwargs.get("ratio", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_motion.py index 50d96b8e5..bb76f26aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMeshMotion(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("option", "FOLLOW_GC") + kwargs.get("option", "FOLLOW_GC" if use_lspp_defaults() else None) ), Field( "ammgsid", int, 20, 10, - kwargs.get("ammgsid", 0) + kwargs.get("ammgsid", 0 if use_lspp_defaults() else None) ), Field( "explim", float, 30, 10, - kwargs.get("explim", 1.0) + kwargs.get("explim", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("symcod", 0) + kwargs.get("symcod", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_refine.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_refine.py index a920be0a0..55f4e1ff5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_refine.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_refine.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMeshRefine(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mshid", 0) + kwargs.get("mshid", 0 if use_lspp_defaults() else None) ), Field( "ifx,", int, 10, 10, - kwargs.get("ifx,", 1) + kwargs.get("ifx,", 1 if use_lspp_defaults() else None) ), Field( "ify,", int, 20, 10, - kwargs.get("ify,", 1) + kwargs.get("ify,", 1 if use_lspp_defaults() else None) ), Field( "ifz,", int, 30, 10, - kwargs.get("ifz,", 1) + kwargs.get("ifz,", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_trim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_trim.py index 08bbf5c85..c19969e53 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_trim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_trim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMeshTrim(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mshid", 0) + kwargs.get("mshid", 0 if use_lspp_defaults() else None) ), Field( "option", str, 10, 10, - kwargs.get("option", "PARTSET") + kwargs.get("option", "PARTSET" if use_lspp_defaults() else None) ), Field( "oper", int, 20, 10, - kwargs.get("oper", 0) + kwargs.get("oper", 0 if use_lspp_defaults() else None) ), Field( "ioutin", int, 30, 10, - kwargs.get("ioutin", 0) + kwargs.get("ioutin", 0 if use_lspp_defaults() else None) ), Field( "psid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_volume_filling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_volume_filling.py index 796cbad9c..ef0652787 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_volume_filling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_mesh_volume_filling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMeshVolumeFilling(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mshid", 0) + kwargs.get("mshid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("ammgto", "0") + kwargs.get("ammgto", "0" if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nsample", 3) + kwargs.get("nsample", 3 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("geom", "ALL") + kwargs.get("geom", "ALL" if use_lspp_defaults() else None) ), Field( "in/out", int, 10, 10, - kwargs.get("in/out", 0) + kwargs.get("in/out", 0 if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group.py index 6c9ef10b6..d03f37d3d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMultiMaterialGroup(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_axisym.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_axisym.py index 0f81dac83..dc85b8450 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_axisym.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_axisym.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMultiMaterialGroupAxisym(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_plneps.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_plneps.py index bf415e043..1a7acd5d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_plneps.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_structured_multi_material_group_plneps.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleStructuredMultiMaterialGroupPlneps(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_switch_mmg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_switch_mmg.py index c25986861..5ea291e71 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_switch_mmg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_switch_mmg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleSwitchMmg(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("idsegset", 0) + kwargs.get("idsegset", 0 if use_lspp_defaults() else None) ), Field( "idsldset", int, 40, 10, - kwargs.get("idsldset", 0) + kwargs.get("idsldset", 0 if use_lspp_defaults() else None) ), Field( "ncycseg", int, 50, 10, - kwargs.get("ncycseg", 50) + kwargs.get("ncycseg", 50 if use_lspp_defaults() else None) ), Field( "ncycsld", int, 60, 10, - kwargs.get("ncycsld", 50) + kwargs.get("ncycsld", 50 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("var1", 0) + kwargs.get("var1", 0 if use_lspp_defaults() else None) ), Field( "var2", int, 10, 10, - kwargs.get("var2", 0) + kwargs.get("var2", 0 if use_lspp_defaults() else None) ), Field( "var3", int, 20, 10, - kwargs.get("var3", 0) + kwargs.get("var3", 0 if use_lspp_defaults() else None) ), Field( "var4", int, 30, 10, - kwargs.get("var4", 0) + kwargs.get("var4", 0 if use_lspp_defaults() else None) ), Field( "var5", int, 40, 10, - kwargs.get("var5", 0) + kwargs.get("var5", 0 if use_lspp_defaults() else None) ), Field( "var6", int, 50, 10, - kwargs.get("var6", 0) + kwargs.get("var6", 0 if use_lspp_defaults() else None) ), Field( "var7", int, 60, 10, - kwargs.get("var7", 0) + kwargs.get("var7", 0 if use_lspp_defaults() else None) ), Field( "var8", int, 70, 10, - kwargs.get("var8", 0) + kwargs.get("var8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_tank_test.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_tank_test.py index 6a2edddac..e9cc087fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_tank_test.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_tank_test.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleTankTest(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdotlc", 0) + kwargs.get("mdotlc", 0 if use_lspp_defaults() else None) ), Field( "tankvol", float, 10, 10, - kwargs.get("tankvol", 0.0) + kwargs.get("tankvol", 0.0 if use_lspp_defaults() else None) ), Field( "pamb", float, 20, 10, - kwargs.get("pamb", 0.0) + kwargs.get("pamb", 0.0 if use_lspp_defaults() else None) ), Field( "pfinal", float, 30, 10, - kwargs.get("pfinal", 0.0) + kwargs.get("pfinal", 0.0 if use_lspp_defaults() else None) ), Field( "machlim", float, 40, 10, - kwargs.get("machlim", 0.0) + kwargs.get("machlim", 0.0 if use_lspp_defaults() else None) ), Field( "velmax", float, 50, 10, - kwargs.get("velmax", 0.0) + kwargs.get("velmax", 0.0 if use_lspp_defaults() else None) ), Field( "aorif", float, 60, 10, - kwargs.get("aorif", 0.0) + kwargs.get("aorif", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ammgidg", 0) + kwargs.get("ammgidg", 0 if use_lspp_defaults() else None) ), Field( "ammgida", int, 10, 10, - kwargs.get("ammgida", 0) + kwargs.get("ammgida", 0 if use_lspp_defaults() else None) ), Field( "numpnt", int, 20, 10, - kwargs.get("numpnt", 50) + kwargs.get("numpnt", 50 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_up_switch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_up_switch.py index 16c73ff2f..be391d55a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_up_switch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ale_up_switch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class AleUpSwitch(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("upid", 0) + kwargs.get("upid", 0 if use_lspp_defaults() else None) ), Field( "swtime", float, 10, 10, - kwargs.get("swtime", 1.0e+16) + kwargs.get("swtime", 1.0e+16 if use_lspp_defaults() else None) ), ], ), @@ -58,56 +59,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("fsi_id1", 0) + kwargs.get("fsi_id1", 0 if use_lspp_defaults() else None) ), Field( "fsi_id2", int, 10, 10, - kwargs.get("fsi_id2", 0) + kwargs.get("fsi_id2", 0 if use_lspp_defaults() else None) ), Field( "fsi_id3", int, 20, 10, - kwargs.get("fsi_id3", 0) + kwargs.get("fsi_id3", 0 if use_lspp_defaults() else None) ), Field( "fsi_id4", int, 30, 10, - kwargs.get("fsi_id4", 0) + kwargs.get("fsi_id4", 0 if use_lspp_defaults() else None) ), Field( "fsi_id5", int, 40, 10, - kwargs.get("fsi_id5", 0) + kwargs.get("fsi_id5", 0 if use_lspp_defaults() else None) ), Field( "fsi_id6", int, 50, 10, - kwargs.get("fsi_id6", 0) + kwargs.get("fsi_id6", 0 if use_lspp_defaults() else None) ), Field( "fsi_id7", int, 60, 10, - kwargs.get("fsi_id7", 0) + kwargs.get("fsi_id7", 0 if use_lspp_defaults() else None) ), Field( "fsi_id8", int, 70, 10, - kwargs.get("fsi_id8", 0) + kwargs.get("fsi_id8", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,28 +119,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "sidtype", int, 10, 10, - kwargs.get("sidtype", 0) + kwargs.get("sidtype", 0 if use_lspp_defaults() else None) ), Field( "mmgair", int, 20, 10, - kwargs.get("mmgair", 0) + kwargs.get("mmgair", 0 if use_lspp_defaults() else None) ), Field( "mmggas", int, 30, 10, - kwargs.get("mmggas", 0) + kwargs.get("mmggas", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_ba_echem_control_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_ba_echem_control_solver.py index 0653e95a6..4ff274703 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_ba_echem_control_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_ba_echem_control_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryBaEchemControlSolver(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ncycle", 1) + kwargs.get("ncycle", 1 if use_lspp_defaults() else None) ), Field( "aging", int, 30, 10, - kwargs.get("aging", 1) + kwargs.get("aging", 1 if use_lspp_defaults() else None) ), Field( "tra", int, 40, 10, - kwargs.get("tra", 0) + kwargs.get("tra", 0 if use_lspp_defaults() else None) ), Field( "gas", int, 50, 10, - kwargs.get("gas", 0) + kwargs.get("gas", 0 if use_lspp_defaults() else None) ), Field( "esolid", int, 60, 10, - kwargs.get("esolid", 0) + kwargs.get("esolid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -121,14 +122,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ctime", 0.0) + kwargs.get("ctime", 0.0 if use_lspp_defaults() else None) ), Field( "vcut", float, 40, 10, - kwargs.get("vcut", 0.0) + kwargs.get("vcut", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_cell_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_cell_geometry.py index 568828e28..ee3b4f4f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_cell_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_cell_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemCellGeometry(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_control_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_control_solver.py index aba263436..a5da4c15c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_control_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_control_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemControlSolver(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ncycle", 1) + kwargs.get("ncycle", 1 if use_lspp_defaults() else None) ), Field( "aging", int, 30, 10, - kwargs.get("aging", 1) + kwargs.get("aging", 1 if use_lspp_defaults() else None) ), Field( "tra", int, 40, 10, - kwargs.get("tra", 0) + kwargs.get("tra", 0 if use_lspp_defaults() else None) ), Field( "gas", int, 50, 10, - kwargs.get("gas", 0) + kwargs.get("gas", 0 if use_lspp_defaults() else None) ), Field( "esolid", int, 60, 10, - kwargs.get("esolid", 0) + kwargs.get("esolid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -121,14 +122,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ctime", 0.0) + kwargs.get("ctime", 0.0 if use_lspp_defaults() else None) ), Field( "vcut", float, 40, 10, - kwargs.get("vcut", 0.0) + kwargs.get("vcut", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_initial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_initial.py index 14eebffb0..76bed1cfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_initial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_initial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemInitial(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_anode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_anode.py index 983ecc660..f7533d768 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_anode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_anode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemMatAnode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_cathode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_cathode.py index 3a32d1020..43794d9e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_cathode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_cathode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemMatCathode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_electrolyte.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_electrolyte.py index 7e6264233..d854aecd5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_electrolyte.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_mat_electrolyte.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemMatElectrolyte(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_part.py index c175f10f0..1ed314946 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_thermal.py index bdfab887d..ab0eda0e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/battery_echem_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BatteryEchemThermal(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling.py index 5cfbfd657..c3b7f8164 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticCoupling(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_mismatch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_mismatch.py index 08851b8e6..290f39fd7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_mismatch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_mismatch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticCouplingMismatch(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_spectral.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_spectral.py index 227c6cf1e..8cf05c39d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_spectral.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_coupling_spectral.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticCouplingSpectral(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_free_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_free_surface.py index c49c5e848..1d3522439 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_free_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_free_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticFreeSurface(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance.py index 540286373..ab1301acd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticImpedance(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("zee", 0.0) + kwargs.get("zee", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_complex.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_complex.py index 2bd2061cb..face5ef02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_complex.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_complex.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticImpedanceComplex(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("zr", 0.0) + kwargs.get("zr", 0.0 if use_lspp_defaults() else None) ), Field( "zi", float, 20, 10, - kwargs.get("zi", 0.0) + kwargs.get("zi", 0.0 if use_lspp_defaults() else None) ), Field( "lcidr", int, 30, 10, - kwargs.get("lcidr", 0) + kwargs.get("lcidr", 0 if use_lspp_defaults() else None) ), Field( "lcidi", int, 40, 10, - kwargs.get("lcidi", 0) + kwargs.get("lcidi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_mechanical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_mechanical.py index 6a24d0f08..f21c1c617 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_mechanical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_impedance_mechanical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticImpedanceMechanical(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mparea", 0.0) + kwargs.get("mparea", 0.0 if use_lspp_defaults() else None) ), Field( "cparea", float, 20, 10, - kwargs.get("cparea", 0.0) + kwargs.get("cparea", 0.0 if use_lspp_defaults() else None) ), Field( "kparea", int, 30, 10, - kwargs.get("kparea", 0) + kwargs.get("kparea", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_interface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_interface.py index 813543f1c..a7738ce58 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_interface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_interface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticInterface(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_mapping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_mapping.py index 15249fca2..7bf57587b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_mapping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_mapping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticMapping(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 0) + kwargs.get("styp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_non_reflecting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_non_reflecting.py index fe6d6c70b..28987fadd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_non_reflecting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_non_reflecting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticNonReflecting(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_prescribed_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_prescribed_motion.py index 75748f813..ed0cd9015 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_prescribed_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_prescribed_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticPrescribedMotion(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_pressure_spectral.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_pressure_spectral.py index 0aace9c6e..4b2d5c025 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_pressure_spectral.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_acoustic_pressure_spectral.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAcousticPressureSpectral(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.e10) + kwargs.get("tdeath", 1.e10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ale_mapping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ale_mapping.py index 4b3b9f92f..47dac2c0d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ale_mapping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ale_mapping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAleMapping(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("typ", 0) + kwargs.get("typ", 0 if use_lspp_defaults() else None) ), Field( "ammsid", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1e20) + kwargs.get("death", 1e20 if use_lspp_defaults() else None) ), Field( "dtout", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ini", 0) + kwargs.get("ini", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("thick", 0.0) + kwargs.get("thick", 0.0 if use_lspp_defaults() else None) ), Field( "radius", float, 10, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), Field( "x1", float, 20, 10, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "y1", float, 30, 10, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 40, 10, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 50, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 60, 10, - kwargs.get("y2", 0.0) + kwargs.get("y2", 0.0 if use_lspp_defaults() else None) ), Field( "z2", float, 70, 10, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,21 +161,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x0", 0.0) + kwargs.get("x0", 0.0 if use_lspp_defaults() else None) ), Field( "y0", float, 10, 10, - kwargs.get("y0", 0.0) + kwargs.get("y0", 0.0 if use_lspp_defaults() else None) ), Field( "z0", float, 20, 10, - kwargs.get("z0", 0.0) + kwargs.get("z0", 0.0 if use_lspp_defaults() else None) ), Field( "vecid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient.py index 5e78eb199..5993d6d71 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAmbient(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient_eos.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient_eos.py index c660b7e91..3f0381b71 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient_eos.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_ambient_eos.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryAmbientEos(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_segment.py index 38729b7de..75a622d56 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryConvectionSegment(KeywordBase): @@ -79,7 +80,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hmult", 1.0) + kwargs.get("hmult", 1.0 if use_lspp_defaults() else None) ), Field( "tlcid", @@ -93,14 +94,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tmult", 1.0) + kwargs.get("tmult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 40, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_set.py index 1040a4937..2fbf5805d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_convection_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryConvectionSet(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hmult", 1.0) + kwargs.get("hmult", 1.0 if use_lspp_defaults() else None) ), Field( "tlcid", @@ -79,14 +80,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tmult", 1.0) + kwargs.get("tmult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 40, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_coupled.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_coupled.py index 7502826d6..528dd7185 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_coupled.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_coupled.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryCoupled(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "prog", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_cyclic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_cyclic.py index c2f5b91d4..0d2fe5ad5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_cyclic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_cyclic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryCyclic(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iglobal", 0) + kwargs.get("iglobal", 0 if use_lspp_defaults() else None) ), Field( "isort", int, 60, 10, - kwargs.get("isort", 0) + kwargs.get("isort", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_de_non_reflecting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_de_non_reflecting.py index d51a904bb..c1ac16d66 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_de_non_reflecting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_de_non_reflecting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryDeNonReflecting(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_acoustic.py index f8c4ca9f1..cdb51d3dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodAcoustic(KeywordBase): @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type_ext", 1) + kwargs.get("type_ext", 1 if use_lspp_defaults() else None) ), Field( "nsid_int", @@ -121,14 +122,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("type_int", 1) + kwargs.get("type_int", 1 if use_lspp_defaults() else None) ), Field( "fft_win", int, 40, 10, - kwargs.get("fft_win", 0) + kwargs.get("fft_win", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", @@ -178,14 +179,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bem_type", @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restart", 0) + kwargs.get("restart", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_control.py index 94d64acc7..38f378c57 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodControl(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lwake", 50) + kwargs.get("lwake", 50 if use_lspp_defaults() else None) ), Field( "dtbem", float, 10, 10, - kwargs.get("dtbem", 0.0) + kwargs.get("dtbem", 0.0 if use_lspp_defaults() else None) ), Field( "iupbem", int, 20, 10, - kwargs.get("iupbem", 100) + kwargs.get("iupbem", 100 if use_lspp_defaults() else None) ), Field( "farbem", float, 30, 10, - kwargs.get("farbem", 2.0) + kwargs.get("farbem", 2.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_flow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_flow.py index f9b770463..cc6928606 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_flow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_flow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodFlow(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pstatic", 0.0) + kwargs.get("pstatic", 0.0 if use_lspp_defaults() else None) ), Field( "mach", float, 60, 10, - kwargs.get("mach", 0.0) + kwargs.get("mach", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_neighbor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_neighbor.py index 696bc0068..0eea48d3c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_neighbor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_neighbor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodNeighbor(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_symmetry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_symmetry.py index 473a7e240..ccae1905b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_symmetry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_symmetry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodSymmetry(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("bemsym", 0) + kwargs.get("bemsym", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_wake.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_wake.py index 90eb6625a..50c397218 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_wake.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_element_method_wake.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryElementMethodWake(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_segment.py index be8c14b8d..2a0fb9877 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFluxSegment(KeywordBase): @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mlc1", 1.0) + kwargs.get("mlc1", 1.0 if use_lspp_defaults() else None) ), Field( "mlc2", float, 20, 10, - kwargs.get("mlc2", 1.0) + kwargs.get("mlc2", 1.0 if use_lspp_defaults() else None) ), Field( "mlc3", float, 30, 10, - kwargs.get("mlc3", 1.0) + kwargs.get("mlc3", 1.0 if use_lspp_defaults() else None) ), Field( "mlc4", float, 40, 10, - kwargs.get("mlc4", 1.0) + kwargs.get("mlc4", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 50, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 60, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -132,56 +133,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("nhisv1", 0.0) + kwargs.get("nhisv1", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv2", float, 10, 10, - kwargs.get("nhisv2", 0.0) + kwargs.get("nhisv2", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv3", float, 20, 10, - kwargs.get("nhisv3", 0.0) + kwargs.get("nhisv3", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv4", float, 30, 10, - kwargs.get("nhisv4", 0.0) + kwargs.get("nhisv4", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv5", float, 40, 10, - kwargs.get("nhisv5", 0.0) + kwargs.get("nhisv5", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv6", float, 50, 10, - kwargs.get("nhisv6", 0.0) + kwargs.get("nhisv6", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv7", float, 60, 10, - kwargs.get("nhisv7", 0.0) + kwargs.get("nhisv7", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv8", float, 70, 10, - kwargs.get("nhisv8", 0.0) + kwargs.get("nhisv8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_set.py index b2a57141e..d5d44a39a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFluxSet(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mlc1", 1.0) + kwargs.get("mlc1", 1.0 if use_lspp_defaults() else None) ), Field( "mlc2", float, 20, 10, - kwargs.get("mlc2", 1.0) + kwargs.get("mlc2", 1.0 if use_lspp_defaults() else None) ), Field( "mlc3", float, 30, 10, - kwargs.get("mlc3", 1.0) + kwargs.get("mlc3", 1.0 if use_lspp_defaults() else None) ), Field( "mlc4", float, 40, 10, - kwargs.get("mlc4", 1.0) + kwargs.get("mlc4", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 50, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 60, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -118,56 +119,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("nhisv1", 0.0) + kwargs.get("nhisv1", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv2", float, 10, 10, - kwargs.get("nhisv2", 0.0) + kwargs.get("nhisv2", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv3", float, 20, 10, - kwargs.get("nhisv3", 0.0) + kwargs.get("nhisv3", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv4", float, 30, 10, - kwargs.get("nhisv4", 0.0) + kwargs.get("nhisv4", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv5", float, 40, 10, - kwargs.get("nhisv5", 0.0) + kwargs.get("nhisv5", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv6", float, 50, 10, - kwargs.get("nhisv6", 0.0) + kwargs.get("nhisv6", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv7", float, 60, 10, - kwargs.get("nhisv7", 0.0) + kwargs.get("nhisv7", 0.0 if use_lspp_defaults() else None) ), Field( "nhisv8", float, 70, 10, - kwargs.get("nhisv8", 0.0) + kwargs.get("nhisv8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_trajectory.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_trajectory.py index e9f582abe..087b3299d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_trajectory.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_flux_trajectory.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFluxTrajectory(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("spd1", 0.) + kwargs.get("spd1", 0. if use_lspp_defaults() else None) ), Field( "nsid2", @@ -75,14 +76,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("spd2", 0.) + kwargs.get("spd2", 0. if use_lspp_defaults() else None) ), Field( "relvel", int, 60, 10, - kwargs.get("relvel", 0) + kwargs.get("relvel", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("erod", 0) + kwargs.get("erod", 0 if use_lspp_defaults() else None) ), Field( "loc", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("q", 0.) + kwargs.get("q", 0. if use_lspp_defaults() else None) ), Field( "lcinc", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("enfor", 0) + kwargs.get("enfor", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_node.py index 4f760a40e..76530abed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFreeFieldGroundMotionNode(KeywordBase): @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_point.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_point.py index d568dc436..a3bf83015 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_point.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_point.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFreeFieldGroundMotionPoint(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 24, 16, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 16, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "gmx", @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_set.py index d29be0c02..3825ad35e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_free_field_ground_motion_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryFreeFieldGroundMotionSet(KeywordBase): @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_mcol.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_mcol.py index d0be176ca..9d43672d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_mcol.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_mcol.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryMcol(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nmcol", 2) + kwargs.get("nmcol", 2 if use_lspp_defaults() else None) ), Field( "mxstep", @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("endtmcol", 0.0) + kwargs.get("endtmcol", 0.0 if use_lspp_defaults() else None) ), Field( "tsubc", float, 30, 10, - kwargs.get("tsubc", 0.0) + kwargs.get("tsubc", 0.0 if use_lspp_defaults() else None) ), Field( "prtmcol", @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rbmcol", 2) + kwargs.get("rbmcol", 2 if use_lspp_defaults() else None) ), Field( "mcolfile", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting.py index f3d4ac579..7c31d38b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryNonReflecting(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ad", 0.0) + kwargs.get("ad", 0.0 if use_lspp_defaults() else None) ), Field( "as", float, 20, 10, - kwargs.get("as", 0.0) + kwargs.get("as", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting_2d.py index 8bab0134d..c29ed16a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_non_reflecting_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryNonReflecting2D(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ad", 0) + kwargs.get("ad", 0 if use_lspp_defaults() else None) ), Field( "as", int, 20, 10, - kwargs.get("as", 0) + kwargs.get("as", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pap.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pap.py index 80544da2b..f68e34d8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pap.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pap.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPap(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("block", 0.0) + kwargs.get("block", 0.0 if use_lspp_defaults() else None) ), Field( "tbirth", float, 50, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 60, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), Field( "cvrper", float, 70, 10, - kwargs.get("cvrper", 1.0) + kwargs.get("cvrper", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_part.py index add2f0f1b..0899e6d62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPoreFluidPart(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("atype", 0) + kwargs.get("atype", 0 if use_lspp_defaults() else None) ), Field( "pf_bulk", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_set.py index 033123ddd..e8ff405c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pore_fluid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPoreFluidSet(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("atype", 0) + kwargs.get("atype", 0 if use_lspp_defaults() else None) ), Field( "pf_bulk", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_precrack.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_precrack.py index 44c7c7787..8e7216354 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_precrack.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_precrack.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrecrack(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ctype", 1) + kwargs.get("ctype", 1 if use_lspp_defaults() else None) ), Field( "np", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_accelerometer_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_accelerometer_rigid.py index eaa2a1a69..9fa39879c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_accelerometer_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_accelerometer_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedAccelerometerRigid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_final_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_final_geometry.py index 0ea9f26cd..eda370c3d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_final_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_final_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedFinalGeometry(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("bpfgid", 0) + kwargs.get("bpfgid", 0 if use_lspp_defaults() else None) ), Field( "lcidf", int, 10, 10, - kwargs.get("lcidf", 0) + kwargs.get("lcidf", 0 if use_lspp_defaults() else None) ), Field( "deathd", @@ -72,21 +73,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion.py index 0fd19a610..48f9a41d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotion(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", int, 50, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "death", float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_edge_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_edge_uvw.py index 6701346f8..62230edee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_edge_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_edge_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionEdgeUvw(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_face_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_face_xyz.py index 335750835..1840e0d88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_face_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_face_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionFaceXyz(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_node.py index 8e604f1b8..fdae60475 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionNode(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", int, 50, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "death", float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_point_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_point_uvw.py index 89c6b17ca..9e4f1412b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_point_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_point_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionPointUvw(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid.py index 77b709e4d..6b198473f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionRigid(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_bndout2dynain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_bndout2dynain.py index 62e5d4850..ba944b0a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_bndout2dynain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_bndout2dynain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionRigidBndout2Dynain(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local.py index b43944673..abd21663e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionRigidLocal(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local_bndout2dynain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local_bndout2dynain.py index 11d80ab7c..86ad06db2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local_bndout2dynain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_rigid_local_bndout2dynain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionRigidLocalBndout2Dynain(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set.py index 0868d0a96..ad57928d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSet(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_box.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_box.py index 5531b9c32..ee6cafb69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_box.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_box.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetBox(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("toffset", 0) + kwargs.get("toffset", 0 if use_lspp_defaults() else None) ), Field( "lcbchk", int, 20, 10, - kwargs.get("lcbchk", 0) + kwargs.get("lcbchk", 0 if use_lspp_defaults() else None) ), ], ), @@ -125,35 +126,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_edge_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_edge_uvw.py index b9d642d96..8c710a829 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_edge_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_edge_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetEdgeUvw(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_face_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_face_xyz.py index a98fe4ddd..4a33cc6a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_face_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_face_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetFaceXyz(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_line.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_line.py index 184b3ef60..170c81c5d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_line.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_line.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetLine(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_point_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_point_uvw.py index b15ac3f00..e3a4c4a67 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_point_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_point_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetPointUvw(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("offset1", 0.0) + kwargs.get("offset1", 0.0 if use_lspp_defaults() else None) ), Field( "offset2", float, 10, 10, - kwargs.get("offset2", 0.0) + kwargs.get("offset2", 0.0 if use_lspp_defaults() else None) ), Field( "lrb", int, 20, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "node1", int, 30, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 40, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 20, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_segment.py index 5d6cef470..e07e7763b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_motion_set_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedMotionSetSegment(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_angles.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_angles.py index e6a0f2adf..de24a0888 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_angles.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_angles.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedOrientationRigidAngles(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("intrp", 1) + kwargs.get("intrp", 1 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e20) + kwargs.get("death", 1.e20 if use_lspp_defaults() else None) ), Field( "toffset", int, 50, 10, - kwargs.get("toffset", 0) + kwargs.get("toffset", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,21 +108,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("iseq", 123) + kwargs.get("iseq", 123 if use_lspp_defaults() else None) ), Field( "ishft", int, 40, 10, - kwargs.get("ishft", 1) + kwargs.get("ishft", 1 if use_lspp_defaults() else None) ), Field( "body", int, 50, 10, - kwargs.get("body", 0) + kwargs.get("body", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_dircos.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_dircos.py index e59910ad3..90275c996 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_dircos.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_dircos.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedOrientationRigidDircos(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("intrp", 1) + kwargs.get("intrp", 1 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e20) + kwargs.get("death", 1.e20 if use_lspp_defaults() else None) ), Field( "toffset", int, 50, 10, - kwargs.get("toffset", 0) + kwargs.get("toffset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_eulerp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_eulerp.py index abbf705ea..21089b393 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_eulerp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_eulerp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedOrientationRigidEulerp(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("intrp", 1) + kwargs.get("intrp", 1 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e20) + kwargs.get("death", 1.e20 if use_lspp_defaults() else None) ), Field( "toffset", int, 50, 10, - kwargs.get("toffset", 0) + kwargs.get("toffset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_vector.py index 4090cea33..942e81aa6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_prescribed_orientation_rigid_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPrescribedOrientationRigidVector(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("intrp", 1) + kwargs.get("intrp", 1 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e20) + kwargs.get("death", 1.e20 if use_lspp_defaults() else None) ), Field( "toffset", int, 50, 10, - kwargs.get("toffset", 0) + kwargs.get("toffset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_segment.py index 43907b2a0..fc13c2d86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPressureOutflowSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_set.py index 22efbf438..6ee1cb33d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pressure_outflow_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPressureOutflowSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_node.py index 0a418cff4..38a2a588e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPwpNode(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 0.0) + kwargs.get("cmult", 0.0 if use_lspp_defaults() else None) ), Field( "lcdr", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -86,21 +87,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iphre", 0) + kwargs.get("iphre", 0 if use_lspp_defaults() else None) ), Field( "itotex", int, 10, 10, - kwargs.get("itotex", 0) + kwargs.get("itotex", 0 if use_lspp_defaults() else None) ), Field( "idrflag", int, 20, 10, - kwargs.get("idrflag", 0) + kwargs.get("idrflag", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_set.py index d721b0b2f..396c730b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPwpSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 0.0) + kwargs.get("cmult", 0.0 if use_lspp_defaults() else None) ), Field( "lcdr", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -86,21 +87,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iphre", 0) + kwargs.get("iphre", 0 if use_lspp_defaults() else None) ), Field( "itotex", int, 10, 10, - kwargs.get("itotex", 0) + kwargs.get("itotex", 0 if use_lspp_defaults() else None) ), Field( "idrflag", int, 20, 10, - kwargs.get("idrflag", 0) + kwargs.get("idrflag", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table.py index 2207a27c5..6d85c2380 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPwpTable(KeywordBase): @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itotex", 0) + kwargs.get("itotex", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("table", 0) + kwargs.get("table", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table_set.py index 84f893df0..e382ab562 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pwp_table_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPwpTableSet(KeywordBase): @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itotex", 0) + kwargs.get("itotex", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("table", 0) + kwargs.get("table", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pzepot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pzepot.py index 7e9703201..14a4c2a38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pzepot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_pzepot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryPzepot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_enclosure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_enclosure.py index aadfceee5..f2dec6c98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_enclosure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_enclosure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationEnclosure(KeywordBase): @@ -58,21 +59,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("calopt", 0) + kwargs.get("calopt", 0 if use_lspp_defaults() else None) ), Field( "outopt", int, 10, 10, - kwargs.get("outopt", 0) + kwargs.get("outopt", 0 if use_lspp_defaults() else None) ), Field( "conopt", int, 20, 10, - kwargs.get("conopt", 0) + kwargs.get("conopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -94,28 +95,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("smflag", 0) + kwargs.get("smflag", 0 if use_lspp_defaults() else None) ), Field( "smmaxi", int, 10, 10, - kwargs.get("smmaxi", 500) + kwargs.get("smmaxi", 500 if use_lspp_defaults() else None) ), Field( "smabst", float, 20, 10, - kwargs.get("smabst", 1.0E-10) + kwargs.get("smabst", 1.0E-10 if use_lspp_defaults() else None) ), Field( "smrelt", float, 30, 10, - kwargs.get("smrelt", 1.0E-6) + kwargs.get("smrelt", 1.0E-6 if use_lspp_defaults() else None) ), ], ), @@ -126,35 +127,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "slmaxi", int, 10, 10, - kwargs.get("slmaxi", 500) + kwargs.get("slmaxi", 500 if use_lspp_defaults() else None) ), Field( "slabst", float, 20, 10, - kwargs.get("slabst", 1.0E-10) + kwargs.get("slabst", 1.0E-10 if use_lspp_defaults() else None) ), Field( "slrelt", float, 30, 10, - kwargs.get("slrelt", 1.0E-6) + kwargs.get("slrelt", 1.0E-6 if use_lspp_defaults() else None) ), Field( "slmlev", int, 40, 10, - kwargs.get("slmlev", 0) + kwargs.get("slmlev", 0 if use_lspp_defaults() else None) ), ], ), @@ -183,28 +184,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("block", 0) + kwargs.get("block", 0 if use_lspp_defaults() else None) ), Field( "selcid", int, 20, 10, - kwargs.get("selcid", 0) + kwargs.get("selcid", 0 if use_lspp_defaults() else None) ), Field( "semult", float, 30, 10, - kwargs.get("semult", 0.0) + kwargs.get("semult", 0.0 if use_lspp_defaults() else None) ), Field( "loc", int, 40, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment.py index 651ac66b0..1969c377c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSegment(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), ], ), @@ -79,35 +80,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rflcid", 0) + kwargs.get("rflcid", 0 if use_lspp_defaults() else None) ), Field( "rfmult", float, 10, 10, - kwargs.get("rfmult", 1.0) + kwargs.get("rfmult", 1.0 if use_lspp_defaults() else None) ), Field( "tilcid", int, 20, 10, - kwargs.get("tilcid", 0) + kwargs.get("tilcid", 0 if use_lspp_defaults() else None) ), Field( "timult", float, 30, 10, - kwargs.get("timult", 1.0) + kwargs.get("timult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 40, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_calculate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_calculate.py index 3d5181a6b..290997490 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_calculate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_calculate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSegmentVfCalculate(KeywordBase): @@ -68,21 +69,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("type", 2) + kwargs.get("type", 2 if use_lspp_defaults() else None) ), Field( "block", int, 50, 10, - kwargs.get("block", 0) + kwargs.get("block", 0 if use_lspp_defaults() else None) ), Field( "nint", int, 60, 10, - kwargs.get("nint", 0) + kwargs.get("nint", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("selcid", 0) + kwargs.get("selcid", 0 if use_lspp_defaults() else None) ), Field( "semult", float, 10, 10, - kwargs.get("semult", 1.0) + kwargs.get("semult", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_read.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_read.py index 43923a3e8..7f8d4c8be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_read.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_segment_vf_read.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSegmentVfRead(KeywordBase): @@ -68,21 +69,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("type", 2) + kwargs.get("type", 2 if use_lspp_defaults() else None) ), Field( "block", int, 50, 10, - kwargs.get("block", 0) + kwargs.get("block", 0 if use_lspp_defaults() else None) ), Field( "nint", int, 60, 10, - kwargs.get("nint", 0) + kwargs.get("nint", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("selcid", 0) + kwargs.get("selcid", 0 if use_lspp_defaults() else None) ), Field( "semult", float, 10, 10, - kwargs.get("semult", 1.0) + kwargs.get("semult", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set.py index 4b0b204bd..774c0268e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,35 +94,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rflcid", 0) + kwargs.get("rflcid", 0 if use_lspp_defaults() else None) ), Field( "rfmult", float, 10, 10, - kwargs.get("rfmult", 1.0) + kwargs.get("rfmult", 1.0 if use_lspp_defaults() else None) ), Field( "tilcid", int, 20, 10, - kwargs.get("tilcid", 0) + kwargs.get("tilcid", 0 if use_lspp_defaults() else None) ), Field( "timult", float, 30, 10, - kwargs.get("timult", 1.0) + kwargs.get("timult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 40, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_calculate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_calculate.py index 5302cbdc7..1250f9ec9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_calculate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_calculate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSetEfCalculate(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("npht", 1) + kwargs.get("npht", 1 if use_lspp_defaults() else None) ), Field( "errmax", int, 30, 10, - kwargs.get("errmax", 0) + kwargs.get("errmax", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_read.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_read.py index ab71117d1..b595e7c1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_read.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_ef_read.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSetEfRead(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("npht", 1) + kwargs.get("npht", 1 if use_lspp_defaults() else None) ), Field( "errmax", int, 30, 10, - kwargs.get("errmax", 0) + kwargs.get("errmax", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_calculate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_calculate.py index 5eae278ce..d6d622654 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_calculate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_calculate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSetVfCalculate(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 2) + kwargs.get("type", 2 if use_lspp_defaults() else None) ), Field( "rad_grp", int, 20, 10, - kwargs.get("rad_grp", 0) + kwargs.get("rad_grp", 0 if use_lspp_defaults() else None) ), Field( "file_no", int, 30, 10, - kwargs.get("file_no", 0) + kwargs.get("file_no", 0 if use_lspp_defaults() else None) ), Field( "block", int, 40, 10, - kwargs.get("block", 0) + kwargs.get("block", 0 if use_lspp_defaults() else None) ), Field( "nint", int, 50, 10, - kwargs.get("nint", 0) + kwargs.get("nint", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,14 +87,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("selcid", 0) + kwargs.get("selcid", 0 if use_lspp_defaults() else None) ), Field( "semult", float, 10, 10, - kwargs.get("semult", 1.0) + kwargs.get("semult", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_read.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_read.py index 713fdef2c..2c63ca3f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_read.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_radiation_set_vf_read.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryRadiationSetVfRead(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 2) + kwargs.get("type", 2 if use_lspp_defaults() else None) ), Field( "rad_grp", int, 20, 10, - kwargs.get("rad_grp", 0) + kwargs.get("rad_grp", 0 if use_lspp_defaults() else None) ), Field( "file_no", int, 30, 10, - kwargs.get("file_no", 0) + kwargs.get("file_no", 0 if use_lspp_defaults() else None) ), Field( "block", int, 40, 10, - kwargs.get("block", 0) + kwargs.get("block", 0 if use_lspp_defaults() else None) ), Field( "nint", int, 50, 10, - kwargs.get("nint", 0) + kwargs.get("nint", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,14 +87,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("selcid", 0) + kwargs.get("selcid", 0 if use_lspp_defaults() else None) ), Field( "semult", float, 10, 10, - kwargs.get("semult", 1.0) + kwargs.get("semult", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sale_mesh_face.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sale_mesh_face.py index a15059284..024ccb92b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sale_mesh_face.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sale_mesh_face.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySaleMeshFace(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "FIXED") + kwargs.get("option", "FIXED" if use_lspp_defaults() else None) ), Field( "mshid", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("-x", 0) + kwargs.get("-x", 0 if use_lspp_defaults() else None) ), Field( "+x", int, 30, 10, - kwargs.get("+x", 0) + kwargs.get("+x", 0 if use_lspp_defaults() else None) ), Field( "-y", int, 40, 10, - kwargs.get("-y", 0) + kwargs.get("-y", 0 if use_lspp_defaults() else None) ), Field( "+y", int, 50, 10, - kwargs.get("+y", 0) + kwargs.get("+y", 0 if use_lspp_defaults() else None) ), Field( "-z", int, 60, 10, - kwargs.get("-z", 0) + kwargs.get("-z", 0 if use_lspp_defaults() else None) ), Field( "-z", int, 70, 10, - kwargs.get("-z", 0) + kwargs.get("-z", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sliding_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sliding_plane.py index 4f1909fce..a847e81a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sliding_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sliding_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySlidingPlane(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "copt", int, 40, 10, - kwargs.get("copt", 0) + kwargs.get("copt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc.py index bc6eeccc3..2a970d793 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpc(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "dofx", int, 20, 10, - kwargs.get("dofx", 0) + kwargs.get("dofx", 0 if use_lspp_defaults() else None) ), Field( "dofy", int, 30, 10, - kwargs.get("dofy", 0) + kwargs.get("dofy", 0 if use_lspp_defaults() else None) ), Field( "dofz", int, 40, 10, - kwargs.get("dofz", 0) + kwargs.get("dofz", 0 if use_lspp_defaults() else None) ), Field( "dofrx", int, 50, 10, - kwargs.get("dofrx", 0) + kwargs.get("dofrx", 0 if use_lspp_defaults() else None) ), Field( "dofry", int, 60, 10, - kwargs.get("dofry", 0) + kwargs.get("dofry", 0 if use_lspp_defaults() else None) ), Field( "dofrz", int, 70, 10, - kwargs.get("dofrz", 0) + kwargs.get("dofrz", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node.py index cdede6bb1..5eebca330 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node_birth_death.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node_birth_death.py index 1c8b67903..121a3fbd3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node_birth_death.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_node_birth_death.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpcNodeBirthDeath(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "dofx", int, 20, 10, - kwargs.get("dofx", 0) + kwargs.get("dofx", 0 if use_lspp_defaults() else None) ), Field( "dofy", int, 30, 10, - kwargs.get("dofy", 0) + kwargs.get("dofy", 0 if use_lspp_defaults() else None) ), Field( "dofz", int, 40, 10, - kwargs.get("dofz", 0) + kwargs.get("dofz", 0 if use_lspp_defaults() else None) ), Field( "dofrx", int, 50, 10, - kwargs.get("dofrx", 0) + kwargs.get("dofrx", 0 if use_lspp_defaults() else None) ), Field( "dofry", int, 60, 10, - kwargs.get("dofry", 0) + kwargs.get("dofry", 0 if use_lspp_defaults() else None) ), Field( "dofrz", int, 70, 10, - kwargs.get("dofrz", 0) + kwargs.get("dofrz", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 10, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set.py index 54d63541c..2fbc67360 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpcSet(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "dofx", int, 20, 10, - kwargs.get("dofx", 0) + kwargs.get("dofx", 0 if use_lspp_defaults() else None) ), Field( "dofy", int, 30, 10, - kwargs.get("dofy", 0) + kwargs.get("dofy", 0 if use_lspp_defaults() else None) ), Field( "dofz", int, 40, 10, - kwargs.get("dofz", 0) + kwargs.get("dofz", 0 if use_lspp_defaults() else None) ), Field( "dofrx", int, 50, 10, - kwargs.get("dofrx", 0) + kwargs.get("dofrx", 0 if use_lspp_defaults() else None) ), Field( "dofry", int, 60, 10, - kwargs.get("dofry", 0) + kwargs.get("dofry", 0 if use_lspp_defaults() else None) ), Field( "dofrz", int, 70, 10, - kwargs.get("dofrz", 0) + kwargs.get("dofrz", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set_birth_death.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set_birth_death.py index 06b45b906..811c56e38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set_birth_death.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_set_birth_death.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpcSetBirthDeath(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "dofx", int, 20, 10, - kwargs.get("dofx", 0) + kwargs.get("dofx", 0 if use_lspp_defaults() else None) ), Field( "dofy", int, 30, 10, - kwargs.get("dofy", 0) + kwargs.get("dofy", 0 if use_lspp_defaults() else None) ), Field( "dofz", int, 40, 10, - kwargs.get("dofz", 0) + kwargs.get("dofz", 0 if use_lspp_defaults() else None) ), Field( "dofrx", int, 50, 10, - kwargs.get("dofrx", 0) + kwargs.get("dofrx", 0 if use_lspp_defaults() else None) ), Field( "dofry", int, 60, 10, - kwargs.get("dofry", 0) + kwargs.get("dofry", 0 if use_lspp_defaults() else None) ), Field( "dofrz", int, 70, 10, - kwargs.get("dofrz", 0) + kwargs.get("dofrz", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 10, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane.py index 4627cd333..1bb538faa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpcSymmetryPlane(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 30, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 50, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 60, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 70, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane_set.py index d5bafc922..95d8d5843 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_spc_symmetry_plane_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySpcSymmetryPlaneSet(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 30, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 50, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 60, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 70, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_flow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_flow.py index fbbfc23b0..b6ae97e62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_flow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_flow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySphFlow(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 1) + kwargs.get("styp", 1 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "death", float, 60, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_non_reflecting.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_non_reflecting.py index 64bd65750..cdca30356 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_non_reflecting.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_non_reflecting.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySphNonReflecting(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_symmetry_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_symmetry_plane.py index cbba49524..3554be842 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_symmetry_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_sph_symmetry_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySphSymmetryPlane(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vhx", float, 30, 10, - kwargs.get("vhx", 0.0) + kwargs.get("vhx", 0.0 if use_lspp_defaults() else None) ), Field( "vhy", float, 40, 10, - kwargs.get("vhy", 0.0) + kwargs.get("vhy", 0.0 if use_lspp_defaults() else None) ), Field( "vhz", float, 50, 10, - kwargs.get("vhz", 0.0) + kwargs.get("vhz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_symmetry_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_symmetry_failure.py index 2dda4ccac..18b998ad7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_symmetry_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_symmetry_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundarySymmetryFailure(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "vtx", float, 20, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 30, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 40, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vhx", float, 50, 10, - kwargs.get("vhx", 0.0) + kwargs.get("vhx", 0.0 if use_lspp_defaults() else None) ), Field( "vhy", float, 60, 10, - kwargs.get("vhy", 0.0) + kwargs.get("vhy", 0.0 if use_lspp_defaults() else None) ), Field( "vhz", float, 70, 10, - kwargs.get("vhz", 0.0) + kwargs.get("vhz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_node.py index a47e959a7..67b6824cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryTemperatureNode(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "cmult", float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 30, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 40, 10, - kwargs.get("tdeath", 1.e20) + kwargs.get("tdeath", 1.e20 if use_lspp_defaults() else None) ), Field( "tbirth", float, 50, 10, - kwargs.get("tbirth", 0.) + kwargs.get("tbirth", 0. if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_periodic_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_periodic_set.py index d26891896..7f76b7f85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_periodic_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_periodic_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryTemperaturePeriodicSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_rsw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_rsw.py index 94c6a3c5e..127487727 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_rsw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_rsw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryTemperatureRsw(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("option", 0) + kwargs.get("option", 0 if use_lspp_defaults() else None) ), Field( "nid1", @@ -68,21 +69,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tdeath", 1.e20) + kwargs.get("tdeath", 1.e20 if use_lspp_defaults() else None) ), Field( "tbirth", float, 50, 10, - kwargs.get("tbirth", 0.) + kwargs.get("tbirth", 0. if use_lspp_defaults() else None) ), Field( "loc", int, 60, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dist", 0) + kwargs.get("dist", 0 if use_lspp_defaults() else None) ), Field( "h1", float, 10, 10, - kwargs.get("h1", 0.0) + kwargs.get("h1", 0.0 if use_lspp_defaults() else None) ), Field( "h2", float, 20, 10, - kwargs.get("h2", 0.0) + kwargs.get("h2", 0.0 if use_lspp_defaults() else None) ), Field( "r", float, 30, 10, - kwargs.get("r", 0.0) + kwargs.get("r", 0.0 if use_lspp_defaults() else None) ), Field( "tempc", float, 40, 10, - kwargs.get("tempc", 0.0) + kwargs.get("tempc", 0.0 if use_lspp_defaults() else None) ), Field( "tempb", float, 50, 10, - kwargs.get("tempb", 0.0) + kwargs.get("tempb", 0.0 if use_lspp_defaults() else None) ), Field( "lcidt", @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hz2", 0.0) + kwargs.get("hz2", 0.0 if use_lspp_defaults() else None) ), Field( "rz", float, 20, 10, - kwargs.get("rz", 0.0) + kwargs.get("rz", 0.0 if use_lspp_defaults() else None) ), Field( "tempzb", float, 30, 10, - kwargs.get("tempzb", 0.0) + kwargs.get("tempzb", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_set.py index aa059165f..da6080b46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryTemperatureSet(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "cmult", float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "loc", int, 30, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 40, 10, - kwargs.get("tdeath", 1.e20) + kwargs.get("tdeath", 1.e20 if use_lspp_defaults() else None) ), Field( "tbirth", float, 50, 10, - kwargs.get("tbirth", 0.) + kwargs.get("tbirth", 0. if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_trajectory.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_trajectory.py index c708da2ac..6e458d4d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_trajectory.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_temperature_trajectory.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryTemperatureTrajectory(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("pype", 1) + kwargs.get("pype", 1 if use_lspp_defaults() else None) ), Field( "nsid1", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("relvel", 0) + kwargs.get("relvel", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iform", 1) + kwargs.get("iform", 1 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_element.py index da4d0d276..f4ce44207 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalBulkflowElement(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set.py index 18d0f14ca..845e94737 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalBulkflowSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set_upwind.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set_upwind.py index fabd02b10..fa1519b13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set_upwind.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulkflow_set_upwind.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalBulkflowSetUpwind(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulknode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulknode.py index de42a2073..4df0f64e1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulknode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_bulknode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalBulknode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld.py index 051ae646a..8dc335611 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalWeld(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 1) + kwargs.get("ptyp", 1 if use_lspp_defaults() else None) ), Field( "nid", int, 20, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), Field( "nflag", int, 30, 10, - kwargs.get("nflag", 1) + kwargs.get("nflag", 1 if use_lspp_defaults() else None) ), Field( "x0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld_trajectory.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld_trajectory.py index 4d5b02e50..177dfc1a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld_trajectory.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_thermal_weld_trajectory.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryThermalWeldTrajectory(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 1) + kwargs.get("ptyp", 1 if use_lspp_defaults() else None) ), Field( "nsid1", int, 20, 10, - kwargs.get("nsid1", 0) + kwargs.get("nsid1", 0 if use_lspp_defaults() else None) ), Field( "spd1", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("ncyc", 1) + kwargs.get("ncyc", 1 if use_lspp_defaults() else None) ), Field( "relvel", int, 70, 10, - kwargs.get("relvel", 0) + kwargs.get("relvel", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iform", 1) + kwargs.get("iform", 1 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_usa_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_usa_surface.py index 39366f872..dd2abd970 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_usa_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/boundary_usa_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class BoundaryUsaSurface(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("wetdry", 0) + kwargs.get("wetdry", 0 if use_lspp_defaults() else None) ), Field( "nbeam", int, 20, 10, - kwargs.get("nbeam", 0) + kwargs.get("nbeam", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/case.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/case.py index fa99609f6..8b79ad021 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/case.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/case.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Case(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/case_begin.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/case_begin.py index 28745e4b5..f11f8395c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/case_begin.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/case_begin.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CaseBegin(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/case_end.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/case_end.py index 47da14251..6b8a52088 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/case_end.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/case_end.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CaseEnd(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part.py index fbee7d032..710c711dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisSymmetricPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part_set.py index 48b0a05f9..4a31ed904 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisSymmetricPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_segment.py index ff79c5eee..5c4425f21 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisSymmetricSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_set.py index d7ca17b07..32dc9d559 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axis_symmetric_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisSymmetricSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf.py index 5a1b91143..b02408983 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf_set.py index 46e969016..6a2da75d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part.py index c1bc86a43..e2815501e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part_set.py index 9388ece66..ce25ce993 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_segment.py index 395e13032..ab1af7e80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_set.py index d0b8c1273..cb6b7c8c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_axisymmetric_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryAxisymmetricSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf.py index 002b8592b..76120b698 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryBlastLoadMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf_set.py index 126030412..c3b57340f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryBlastLoadMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_segment.py index 26f9b2287..497672fde 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryBlastLoadSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_set.py index 1a77ceeee..c0d1aa71e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_blast_load_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryBlastLoadSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf.py index 94cdb5e9e..c16756b36 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryConjHeatMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf_set.py index 02cc91fb9..f914f67d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryConjHeatMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_segment.py index 8ccba9cfa..2da291f1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryConjHeatSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_set.py index 856b0f786..3b6119334 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_conj_heat_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryConjHeatSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf.py index 932e48d34..f0200076b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicMsurf(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axisx1", 0) + kwargs.get("axisx1", 0 if use_lspp_defaults() else None) ), Field( "axisy1", float, 10, 10, - kwargs.get("axisy1", 0) + kwargs.get("axisy1", 0 if use_lspp_defaults() else None) ), Field( "axisz1", float, 20, 10, - kwargs.get("axisz1", 0) + kwargs.get("axisz1", 0 if use_lspp_defaults() else None) ), Field( "dirx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf_set.py index 6b704131d..e74f67dcb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicMsurfSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axisx1", 0) + kwargs.get("axisx1", 0 if use_lspp_defaults() else None) ), Field( "axisy1", float, 10, 10, - kwargs.get("axisy1", 0) + kwargs.get("axisy1", 0 if use_lspp_defaults() else None) ), Field( "axisz1", float, 20, 10, - kwargs.get("axisz1", 0) + kwargs.get("axisz1", 0 if use_lspp_defaults() else None) ), Field( "dirx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part.py index 53c80702b..c96e312c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicPart(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axisx1", 0) + kwargs.get("axisx1", 0 if use_lspp_defaults() else None) ), Field( "axisy1", float, 10, 10, - kwargs.get("axisy1", 0) + kwargs.get("axisy1", 0 if use_lspp_defaults() else None) ), Field( "axisz1", float, 20, 10, - kwargs.get("axisz1", 0) + kwargs.get("axisz1", 0 if use_lspp_defaults() else None) ), Field( "dirx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part_set.py index 1ce859598..2dda8b763 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicPartSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axisx1", 0) + kwargs.get("axisx1", 0 if use_lspp_defaults() else None) ), Field( "axisy1", float, 10, 10, - kwargs.get("axisy1", 0) + kwargs.get("axisy1", 0 if use_lspp_defaults() else None) ), Field( "axisz1", float, 20, 10, - kwargs.get("axisz1", 0) + kwargs.get("axisz1", 0 if use_lspp_defaults() else None) ), Field( "dirx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_segment.py index 481f8e88d..50fa258b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_set.py index a860b2d89..3a0293549 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_cyclic_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryCyclicSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axisx1", 0) + kwargs.get("axisx1", 0 if use_lspp_defaults() else None) ), Field( "axisy1", float, 10, 10, - kwargs.get("axisy1", 0) + kwargs.get("axisy1", 0 if use_lspp_defaults() else None) ), Field( "axisz1", float, 20, 10, - kwargs.get("axisz1", 0) + kwargs.get("axisz1", 0 if use_lspp_defaults() else None) ), Field( "dirx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part.py index 0d9421683..1c4778539 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryFsiPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part_set.py index cf5f5de1e..09e324762 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryFsiPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_segment.py index f46100081..aef7b5924 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryFsiSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_set.py index 83bcf097a..eb62716b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_fsi_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryFsiSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf.py index 15eb63fc0..53bc44ae7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectiveMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf_set.py index 6f66e0f26..5bd3ac820 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectiveMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part.py index 03ea0bbfe..b8e8d49bd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectivePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part_set.py index c8d906723..d259aa331 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectivePartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_segment.py index fa61cb0c6..f67d6a024 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectiveSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_set.py index dd5496730..e5b880731 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_non_reflective_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryNonReflectiveSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf.py index f4c09ffdf..7e080f922 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedMsurf(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf_set.py index f40a76317..d2cf6f37c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedMsurfSet(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part.py index cd8273bdc..e833b5204 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedPart(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part_set.py index 9d2a27462..9b4c51d9f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedPartSet(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_segment.py index e113440cb..11dbe386a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedSegment(KeywordBase): @@ -125,42 +126,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_set.py index 36008f933..90464e840 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_prescribed_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryPrescribedSet(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v ", float, 10, 10, - kwargs.get("sf_v ", 1.0) + kwargs.get("sf_v ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p ", float, 40, 10, - kwargs.get("sf_p ", 1.0) + kwargs.get("sf_p ", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf.py index a5e351599..576aa21d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectiveMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf_set.py index 5e59cc86c..f07be2a10 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectiveMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part.py index 1d442f343..a13500bf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectivePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part_set.py index b498f4be1..b62fa994c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectivePartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_segment.py index 4c8dbcefa..e7366074e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectiveSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_set.py index 37c2ac2da..e5a555042 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_reflective_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundaryReflectiveSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_segment.py index 2e2f4b21a..807ffbda7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySegment(KeywordBase): @@ -82,7 +83,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_set.py index 3573b6317..4967f9d9e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof ", 101) + kwargs.get("dof ", 101 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf.py index 12c638343..e490bc949 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf_set.py index df4337923..e28204330 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingMsurfSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part.py index bb67cb548..523a3b8f9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part_set.py index d106b57b5..271eeeba9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_segment.py index c681f0c55..5cb25f298 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_set.py index 3a2dfde2d..64256ace3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_sliding_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySlidingSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf.py index d5d48c5c1..33cf983e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallMsurf(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_rotate.py index 194df16f4..89cb5256d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallMsurfRotate(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set.py index 2ebf8378c..819197165 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallMsurfSet(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set_rotate.py index b0130d733..a3c8113c2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_msurf_set_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallMsurfSetRotate(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part.py index 48d9de164..2717f76c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallPart(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_rotate.py index 79e7b602d..a86f599aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallPartRotate(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set.py index 98dab3fe5..3c2f7cf7d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallPartSet(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set_rotate.py index 24b825c31..0de8ff4ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_part_set_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallPartSetRotate(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment.py index d3c8c83a2..d67548062 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallSegment(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 50, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 60, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 70, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment_rotate.py index 427094b8b..6f5a6ecf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_segment_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallSegmentRotate(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 50, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 60, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 70, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,21 +101,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 10, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 20, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set.py index 129c67267..447cd3503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallSet(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set_rotate.py index c454cd8a6..b81493780 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_boundary_solid_wall_set_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseBoundarySolidWallSetRotate(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_chemistry_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_chemistry_d3plot.py index 2734595ea..bfc880a8d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_chemistry_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_chemistry_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseChemistryD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_limiter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_limiter.py index 783866522..cf52c29ae 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_limiter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_limiter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseControlLimiter(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idlmt", 0) + kwargs.get("idlmt", 0 if use_lspp_defaults() else None) ), Field( "alfa", float, 10, 10, - kwargs.get("alfa", 0.0) + kwargs.get("alfa", 0.0 if use_lspp_defaults() else None) ), Field( "beta ", float, 20, 10, - kwargs.get("beta ", 0.0) + kwargs.get("beta ", 0.0 if use_lspp_defaults() else None) ), Field( "epsr", float, 30, 10, - kwargs.get("epsr", 0.0) + kwargs.get("epsr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_mesh_mov.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_mesh_mov.py index 359d09ed7..6aaa4e689 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_mesh_mov.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_mesh_mov.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseControlMeshMov(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mmsh", 1) + kwargs.get("mmsh", 1 if use_lspp_defaults() else None) ), Field( "lim_iter", int, 10, 10, - kwargs.get("lim_iter", 100) + kwargs.get("lim_iter", 100 if use_lspp_defaults() else None) ), Field( "reltol", float, 20, 10, - kwargs.get("reltol", 1.0e-3) + kwargs.get("reltol", 1.0e-3 if use_lspp_defaults() else None) ), Field( "abstol", float, 30, 10, - kwargs.get("abstol", 1.0e-3) + kwargs.get("abstol", 1.0e-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_solver.py index 241f0b6b7..19e28a4cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseControlSolver(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icese", 0) + kwargs.get("icese", 0 if use_lspp_defaults() else None) ), Field( "iflow", int, 10, 10, - kwargs.get("iflow", 0) + kwargs.get("iflow", 0 if use_lspp_defaults() else None) ), Field( "igeom", int, 20, 10, - kwargs.get("igeom", 0) + kwargs.get("igeom", 0 if use_lspp_defaults() else None) ), Field( "iframe", int, 30, 10, - kwargs.get("iframe", 0) + kwargs.get("iframe", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_timestep.py index c9122f0e3..824b4dd9c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_control_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseControlTimestep(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iddt", 0) + kwargs.get("iddt", 0 if use_lspp_defaults() else None) ), Field( "cfl", float, 10, 10, - kwargs.get("cfl", 0.9) + kwargs.get("cfl", 0.9 if use_lspp_defaults() else None) ), Field( "dtint", float, 20, 10, - kwargs.get("dtint", 1.0e-3) + kwargs.get("dtint", 1.0e-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_elout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_elout.py index 76f2368f0..7a081043c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_elout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_elout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDatabaseElout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fluxavg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fluxavg.py index d706ab69e..75722048c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fluxavg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fluxavg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDatabaseFluxavg(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fsidrag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fsidrag.py index 2e58a1e17..2c658abcd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fsidrag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_fsidrag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDatabaseFsidrag(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_pointout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_pointout.py index 1d3756b86..d21b25311 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_pointout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_pointout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDatabasePointout(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "pstype", int, 20, 10, - kwargs.get("pstype", 0) + kwargs.get("pstype", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_ssetdrag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_ssetdrag.py index ae600f5f2..8a8467d24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_ssetdrag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_database_ssetdrag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDatabaseSsetdrag(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_noninertial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_noninertial.py index 22092b976..13e364d0e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_noninertial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_noninertial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDefineNoninertial(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "pid", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("relv", 0) + kwargs.get("relv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_point.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_point.py index 62a524eca..c864c4edc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_point.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_define_point.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDefinePoint(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_drag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_drag.py index d45427959..3bff6900d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_drag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_drag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseDrag(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_cav_homog_equilib.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_cav_homog_equilib.py index 7527811c3..f54bc4a0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_cav_homog_equilib.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_cav_homog_equilib.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseEosCavHomogEquilib(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("p_vap", 0.8) + kwargs.get("p_vap", 0.8 if use_lspp_defaults() else None) ), Field( "p_liq", float, 20, 10, - kwargs.get("p_liq", 880.0) + kwargs.get("p_liq", 880.0 if use_lspp_defaults() else None) ), Field( "a_vap", float, 30, 10, - kwargs.get("a_vap", 334.0) + kwargs.get("a_vap", 334.0 if use_lspp_defaults() else None) ), Field( "a_liq", float, 40, 10, - kwargs.get("a_liq", 1386.0) + kwargs.get("a_liq", 1386.0 if use_lspp_defaults() else None) ), Field( "u_vap", float, 50, 10, - kwargs.get("u_vap", 1.435e-5) + kwargs.get("u_vap", 1.435e-5 if use_lspp_defaults() else None) ), Field( "u_liq", float, 60, 10, - kwargs.get("u_liq", 1.586e-4) + kwargs.get("u_liq", 1.586e-4 if use_lspp_defaults() else None) ), Field( "p_sat_vap", float, 70, 10, - kwargs.get("p_sat_vap", 1.2e+4) + kwargs.get("p_sat_vap", 1.2e+4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_ideal_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_ideal_gas.py index fb64f72d5..17f4a22e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_ideal_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_ideal_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseEosIdealGas(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cv", 717.5) + kwargs.get("cv", 717.5 if use_lspp_defaults() else None) ), Field( "cp", float, 20, 10, - kwargs.get("cp", 1004.5) + kwargs.get("cp", 1004.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator1.py index 8d9dda586..86e935a9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseEosInflator1(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp0", 0.0) + kwargs.get("cp0", 0.0 if use_lspp_defaults() else None) ), Field( "cp1", float, 10, 10, - kwargs.get("cp1", 0.0) + kwargs.get("cp1", 0.0 if use_lspp_defaults() else None) ), Field( "cp2", float, 20, 10, - kwargs.get("cp2", 0.0) + kwargs.get("cp2", 0.0 if use_lspp_defaults() else None) ), Field( "cp3", float, 30, 10, - kwargs.get("cp3", 0.0) + kwargs.get("cp3", 0.0 if use_lspp_defaults() else None) ), Field( "cp4", float, 40, 10, - kwargs.get("cp4", 0.0) + kwargs.get("cp4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -90,35 +91,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv0", 0.0) + kwargs.get("cv0", 0.0 if use_lspp_defaults() else None) ), Field( "cv1", float, 10, 10, - kwargs.get("cv1", 0.0) + kwargs.get("cv1", 0.0 if use_lspp_defaults() else None) ), Field( "cv2", float, 20, 10, - kwargs.get("cv2", 0.0) + kwargs.get("cv2", 0.0 if use_lspp_defaults() else None) ), Field( "cv3", float, 30, 10, - kwargs.get("cv3", 0.0) + kwargs.get("cv3", 0.0 if use_lspp_defaults() else None) ), Field( "cv4", float, 40, 10, - kwargs.get("cv4", 0.0) + kwargs.get("cv4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator2.py index d8fe0efd4..2fb6ee832 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_eos_inflator2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseEosInflator2(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp1_0", 0.0) + kwargs.get("cp1_0", 0.0 if use_lspp_defaults() else None) ), Field( "cp1_1", float, 10, 10, - kwargs.get("cp1_1", 0.0) + kwargs.get("cp1_1", 0.0 if use_lspp_defaults() else None) ), Field( "cp1_2", float, 20, 10, - kwargs.get("cp1_2", 0.0) + kwargs.get("cp1_2", 0.0 if use_lspp_defaults() else None) ), Field( "cp1_3", float, 30, 10, - kwargs.get("cp1_3", 0.0) + kwargs.get("cp1_3", 0.0 if use_lspp_defaults() else None) ), Field( "cp1_4", float, 40, 10, - kwargs.get("cp1_4", 0.0) + kwargs.get("cp1_4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -90,35 +91,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp2_0", 0.0) + kwargs.get("cp2_0", 0.0 if use_lspp_defaults() else None) ), Field( "cp2_1", float, 10, 10, - kwargs.get("cp2_1", 0.0) + kwargs.get("cp2_1", 0.0 if use_lspp_defaults() else None) ), Field( "cp2_2", float, 20, 10, - kwargs.get("cp2_2", 0.0) + kwargs.get("cp2_2", 0.0 if use_lspp_defaults() else None) ), Field( "cp2_3", float, 30, 10, - kwargs.get("cp2_3", 0.0) + kwargs.get("cp2_3", 0.0 if use_lspp_defaults() else None) ), Field( "cp2_4", float, 40, 10, - kwargs.get("cp2_4", 0.0) + kwargs.get("cp2_4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -129,35 +130,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv1_0", 0.0) + kwargs.get("cv1_0", 0.0 if use_lspp_defaults() else None) ), Field( "cv1_1", float, 10, 10, - kwargs.get("cv1_1", 0.0) + kwargs.get("cv1_1", 0.0 if use_lspp_defaults() else None) ), Field( "cv1_2", float, 20, 10, - kwargs.get("cv1_2", 0.0) + kwargs.get("cv1_2", 0.0 if use_lspp_defaults() else None) ), Field( "cv1_3", float, 30, 10, - kwargs.get("cv1_3", 0.0) + kwargs.get("cv1_3", 0.0 if use_lspp_defaults() else None) ), Field( "cv1_4", float, 40, 10, - kwargs.get("cv1_4", 0.0) + kwargs.get("cv1_4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -168,35 +169,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv2_0", 0.0) + kwargs.get("cv2_0", 0.0 if use_lspp_defaults() else None) ), Field( "cv2_1", float, 10, 10, - kwargs.get("cv2_1", 0.0) + kwargs.get("cv2_1", 0.0 if use_lspp_defaults() else None) ), Field( "cv2_2", float, 20, 10, - kwargs.get("cv2_2", 0.0) + kwargs.get("cv2_2", 0.0 if use_lspp_defaults() else None) ), Field( "cv2_3", float, 30, 10, - kwargs.get("cv2_3", 0.0) + kwargs.get("cv2_3", 0.0 if use_lspp_defaults() else None) ), Field( "cv2_4", float, 40, 10, - kwargs.get("cv2_4", 0.0) + kwargs.get("cv2_4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_fsi_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_fsi_exclude.py index 9547fcf86..5c1784fc3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_fsi_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_fsi_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseFsiExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial.py index 35945a096..bb35f8c39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitial(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 10, 10, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 20, 10, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), Field( "rho", float, 30, 10, - kwargs.get("rho", 1.225) + kwargs.get("rho", 1.225 if use_lspp_defaults() else None) ), Field( "p", float, 40, 10, - kwargs.get("p", 0.0) + kwargs.get("p", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 50, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry.py index 237caf927..fe5f464ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialChemistry(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_element.py index 8b20d98f3..6a67abd2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialChemistryElement(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_part.py index 4c03ce00a..8bf125afb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialChemistryPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_set.py index 353328aea..8446cc30f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_chemistry_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialChemistrySet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_element.py index 406d7728e..3513f586d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialElement(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 20, 10, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 30, 10, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), Field( "rho", float, 40, 10, - kwargs.get("rho", 1.225) + kwargs.get("rho", 1.225 if use_lspp_defaults() else None) ), Field( "p", float, 50, 10, - kwargs.get("p", 0.0) + kwargs.get("p", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 60, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_set.py index 82815dca6..2737d882a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_initial_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseInitialSet(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 20, 10, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 30, 10, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), Field( "rho", float, 40, 10, - kwargs.get("rho", 1.225) + kwargs.get("rho", 1.225 if use_lspp_defaults() else None) ), Field( "p", float, 50, 10, - kwargs.get("p", 0.0) + kwargs.get("p", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 60, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_001.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_001.py index 6b14c6968..f05588785 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_001.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_001.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseMat001(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c1", 1.458e-6) + kwargs.get("c1", 1.458e-6 if use_lspp_defaults() else None) ), Field( "c2", float, 20, 10, - kwargs.get("c2", 110.4) + kwargs.get("c2", 110.4 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.72) + kwargs.get("pr", 0.72 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_002.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_002.py index 6fd437d19..039b9c4d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_002.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_002.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseMat002(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("prnd", 0.72) + kwargs.get("prnd", 0.72 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_gas.py index 4c4d37fcc..18f53e535 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_mat_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseMatGas(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c1", 1.458e-6) + kwargs.get("c1", 1.458e-6 if use_lspp_defaults() else None) ), Field( "c2", float, 20, 10, - kwargs.get("c2", 110.4) + kwargs.get("c2", 110.4 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.72) + kwargs.get("pr", 0.72 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_part.py index cfedfa33e..e16b283d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CesePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechssid_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechssid_d3plot.py index 2e0c30998..e057e97c6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechssid_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechssid_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseSurfaceMechssidD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechvars_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechvars_d3plot.py index d7320825b..9b2e88053 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechvars_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cese_surface_mechvars_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CeseSurfaceMechvarsD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_boundary_condition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_boundary_condition.py index 906ad4d82..4e97d85cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_boundary_condition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_boundary_condition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeBoundaryCondition(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("bcc", 1) + kwargs.get("bcc", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_contact_small_penetration.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_contact_small_penetration.py index a4e7facfc..51d4732e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_contact_small_penetration.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_contact_small_penetration.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeContactSmallPenetration(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_curve_definition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_curve_definition.py index 6a541fe91..aca021b2c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_curve_definition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_curve_definition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeCurveDefinition(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_output.py index dd5db953f..5e65aa36a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeOutput(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iascii", 0) + kwargs.get("iascii", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_constraint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_constraint.py index a7d8e0c56..13eb5213c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_constraint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_constraint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeRigidBodyConstraint(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_inertia.py index a6bd56ff5..ba08dfb4a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeRigidBodyInertia(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "tm", float, 20, 10, - kwargs.get("tm", 0) + kwargs.get("tm", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0) + kwargs.get("ixy", 0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0) + kwargs.get("ixz", 0 if use_lspp_defaults() else None) ), Field( "iyy", float, 30, 10, - kwargs.get("iyy", 0) + kwargs.get("iyy", 0 if use_lspp_defaults() else None) ), Field( "iyz", float, 40, 10, - kwargs.get("iyz", 0) + kwargs.get("iyz", 0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0) + kwargs.get("izz", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_stopper.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_stopper.py index 29fd6ce68..6896a16b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_stopper.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigid_body_stopper.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeRigidBodyStopper(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcmax", 0) + kwargs.get("lcmax", 0 if use_lspp_defaults() else None) ), Field( "lcmin", int, 20, 10, - kwargs.get("lcmin", 0) + kwargs.get("lcmin", 0 if use_lspp_defaults() else None) ), Field( "psidmx", int, 30, 10, - kwargs.get("psidmx", 0) + kwargs.get("psidmx", 0 if use_lspp_defaults() else None) ), Field( "psidmn", int, 40, 10, - kwargs.get("psidmn", 0) + kwargs.get("psidmn", 0 if use_lspp_defaults() else None) ), Field( "lcvmnx", int, 50, 10, - kwargs.get("lcvmnx", 0) + kwargs.get("lcvmnx", 0 if use_lspp_defaults() else None) ), Field( "dir", int, 60, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 10, 10, - kwargs.get("death", 1.0E+28) + kwargs.get("death", 1.0E+28 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_geometric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_geometric.py index fe5e97d45..0a8589f1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_geometric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_geometric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeRigidwallGeometric(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_planar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_planar.py index 8c2d20333..0ff48284e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_planar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_rigidwall_planar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeRigidwallPlanar(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_status_report_frequency.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_status_report_frequency.py index 889c095d0..3ad6877c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_status_report_frequency.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_status_report_frequency.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeStatusReportFrequency(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ikedit", 0) + kwargs.get("ikedit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_thermal_parameters.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_thermal_parameters.py index 5b2af953b..0449fe994 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_thermal_parameters.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_thermal_parameters.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeThermalParameters(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ts", 0) + kwargs.get("ts", 0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "tmin", float, 20, 10, - kwargs.get("tmin", 0.0) + kwargs.get("tmin", 0.0 if use_lspp_defaults() else None) ), Field( "tmax", float, 30, 10, - kwargs.get("tmax", 0.0) + kwargs.get("tmax", 0.0 if use_lspp_defaults() else None) ), Field( "dtemp", float, 40, 10, - kwargs.get("dtemp", 0.0) + kwargs.get("dtemp", 0.0 if use_lspp_defaults() else None) ), Field( "tscp", float, 50, 10, - kwargs.get("tscp", 0.0) + kwargs.get("tscp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,14 +87,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("refmax", 0) + kwargs.get("refmax", 0 if use_lspp_defaults() else None) ), Field( "tol", float, 10, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity.py index dde69d111..fbd204d4f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocity(KeywordBase): @@ -51,42 +52,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 30, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 40, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 50, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_generation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_generation.py index 31ba4e3ca..096854f7c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_generation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_generation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocityGeneration(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 1) + kwargs.get("styp", 1 if use_lspp_defaults() else None) ), Field( "omega", float, 20, 10, - kwargs.get("omega", 0.0) + kwargs.get("omega", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "ivatn", int, 60, 10, - kwargs.get("ivatn", 0) + kwargs.get("ivatn", 0 if use_lspp_defaults() else None) ), Field( "icid", @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 30, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 40, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 50, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "irigid", int, 70, 10, - kwargs.get("irigid", 0) + kwargs.get("irigid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node.py index df03dc255..51121bdcc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocityNode(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 40, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 50, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 60, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node_only.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node_only.py index 0379a60a4..62f612b25 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node_only.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_node_only.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocityNodeOnly(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 40, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 50, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 60, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_rigid_body.py index 4752ba7ad..d17af9467 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocityRigidBody(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 40, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 50, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 60, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_zero.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_zero.py index 41b783102..644b777be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_zero.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/change_velocity_zero.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChangeVelocityZero(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_composition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_composition.py index f4b918b86..87cffcacc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_composition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_composition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryComposition(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_0d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_0d.py index 248e8cde9..76998767a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_0d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_0d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControl0D(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("soltyp", 1) + kwargs.get("soltyp", 1 if use_lspp_defaults() else None) ), Field( "plotdt", float, 30, 10, - kwargs.get("plotdt", 1.0e-6) + kwargs.get("plotdt", 1.0e-6 if use_lspp_defaults() else None) ), Field( "csp_sel", int, 40, 10, - kwargs.get("csp_sel", 0) + kwargs.get("csp_sel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_1d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_1d.py index 47b49892e..0d4b2dda2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_1d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_1d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControl1D(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("csp_sel", 0) + kwargs.get("csp_sel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_blast1d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_blast1d.py index 87928a1b6..3d2ae3dda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_blast1d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_blast1d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlBlast1D(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_csp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_csp.py index 792d13439..d314a0256 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_csp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_csp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlCsp(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_full.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_full.py index 7221e9573..c5f63b6e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_full.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_full.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlFull(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_part.py index 2b766aa95..13ac15b74 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlHgiPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_set.py index b8ad9b099..df21ee3b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_hgi_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlHgiSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_inflator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_inflator.py index a90722cb3..26337d7b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_inflator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_inflator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlInflator(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("model", 1) + kwargs.get("model", 1 if use_lspp_defaults() else None) ), Field( "out_type", int, 10, 10, - kwargs.get("out_type", 0) + kwargs.get("out_type", 0 if use_lspp_defaults() else None) ), Field( "truntim", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_pyrptechnic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_pyrptechnic.py index 7b2a4d3ee..4f9bcc196 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_pyrptechnic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_pyrptechnic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlPyrptechnic(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_tbx.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_tbx.py index 7b484d456..408e2fa5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_tbx.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_tbx.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlTbx(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("usepar", 1) + kwargs.get("usepar", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_znd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_znd.py index 9d01c9c5b..b88baa631 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_znd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_control_znd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryControlZnd(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_det_initiation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_det_initiation.py index 26bfae075..ed85ae717 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_det_initiation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_det_initiation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryDetInitiation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_inflator_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_inflator_properties.py index dfca0c63a..89109e5aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_inflator_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_inflator_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryInflatorProperties(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("comp_id", 1) + kwargs.get("comp_id", 1 if use_lspp_defaults() else None) ), Field( "pdia", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_model.py index 940af9086..6bc689e46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryModel(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("jacsel", 1) + kwargs.get("jacsel", 1 if use_lspp_defaults() else None) ), Field( "errlim", float, 20, 10, - kwargs.get("errlim", 1.0e-3) + kwargs.get("errlim", 1.0e-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_path.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_path.py index 09c93ed97..9e5072267 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_path.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/chemistry_path.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ChemistryPath(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/comment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/comment.py index 2915d32d8..0a69da428 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/comment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/comment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Comment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_child.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_child.py index b97cf2896..ac7a2d6a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_child.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_child.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodChild(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("units", 1) + kwargs.get("units", 1 if use_lspp_defaults() else None) ), Field( "size", @@ -65,42 +66,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "gx", float, 30, 10, - kwargs.get("gx", 0.0) + kwargs.get("gx", 0.0 if use_lspp_defaults() else None) ), Field( "gy", float, 40, 10, - kwargs.get("gy", 0.0) + kwargs.get("gy", 0.0 if use_lspp_defaults() else None) ), Field( "gz", float, 50, 10, - kwargs.get("gz", 0.0) + kwargs.get("gz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_female.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_female.py index a8c78d83b..893c1d673 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_female.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_female.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodFemale(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("units", 1) + kwargs.get("units", 1 if use_lspp_defaults() else None) ), Field( "size", @@ -65,42 +66,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "gx", float, 30, 10, - kwargs.get("gx", 0.0) + kwargs.get("gx", 0.0 if use_lspp_defaults() else None) ), Field( "gy", float, 40, 10, - kwargs.get("gy", 0.0) + kwargs.get("gy", 0.0 if use_lspp_defaults() else None) ), Field( "gz", float, 50, 10, - kwargs.get("gz", 0.0) + kwargs.get("gz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_ankle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_ankle.py index 4807f23c9..b4baf8bc4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_ankle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_ankle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLeftAnkle(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_elbow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_elbow.py index fe093344a..c0752380c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_elbow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_elbow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLeftElbow(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_hip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_hip.py index 460f11002..00475aa37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_hip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_hip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLeftHip(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_knee.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_knee.py index d4818cd83..0030a176d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_knee.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_knee.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLeftKnee(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_shoulder.py index 7e1a0d629..dd3a84030 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_left_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLeftShoulder(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_lower_neck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_lower_neck.py index 6ec6fb5bb..8dbb7caa1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_lower_neck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_lower_neck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointLowerNeck(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_pelvis.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_pelvis.py index 2a9ae6110..22b18fadd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_pelvis.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_pelvis.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointPelvis(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_ankle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_ankle.py index 144f375c3..53a2ef73d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_ankle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_ankle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointRightAnkle(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_elbow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_elbow.py index eb8eb270c..f8298d491 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_elbow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_elbow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointRightElbow(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_hip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_hip.py index 8dc7eefa8..c211e2d74 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_hip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_hip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointRightHip(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_knee.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_knee.py index 6e0813279..53c673ebe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_knee.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_knee.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointRightKnee(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_shoulder.py index ad5ba144e..a7d7c69cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_right_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointRightShoulder(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_upper_neck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_upper_neck.py index 1f2401304..8f3816f14 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_upper_neck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_upper_neck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointUpperNeck(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_waist.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_waist.py index d5f92c1e6..0299b0cb9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_waist.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_joint_waist.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodJointWaist(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "scf1", float, 40, 10, - kwargs.get("scf1", 1.0) + kwargs.get("scf1", 1.0 if use_lspp_defaults() else None) ), Field( "scf2", float, 50, 10, - kwargs.get("scf2", 1.0) + kwargs.get("scf2", 1.0 if use_lspp_defaults() else None) ), Field( "scf3", float, 60, 10, - kwargs.get("scf3", 1.0) + kwargs.get("scf3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 10, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 20, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "neut1", float, 30, 10, - kwargs.get("neut1", 0.0) + kwargs.get("neut1", 0.0 if use_lspp_defaults() else None) ), Field( "neut2", float, 40, 10, - kwargs.get("neut2", 0.0) + kwargs.get("neut2", 0.0 if use_lspp_defaults() else None) ), Field( "neut3", float, 50, 10, - kwargs.get("neut3", 0.0) + kwargs.get("neut3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("losa1", 0.0) + kwargs.get("losa1", 0.0 if use_lspp_defaults() else None) ), Field( "hisa1", float, 10, 10, - kwargs.get("hisa1", 0.0) + kwargs.get("hisa1", 0.0 if use_lspp_defaults() else None) ), Field( "losa2", float, 20, 10, - kwargs.get("losa2", 0.0) + kwargs.get("losa2", 0.0 if use_lspp_defaults() else None) ), Field( "hisa2", float, 30, 10, - kwargs.get("hisa2", 0.0) + kwargs.get("hisa2", 0.0 if use_lspp_defaults() else None) ), Field( "losa3", float, 40, 10, - kwargs.get("losa3", 0.0) + kwargs.get("losa3", 0.0 if use_lspp_defaults() else None) ), Field( "hisa3", float, 50, 10, - kwargs.get("hisa3", 0.0) + kwargs.get("hisa3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unk1", 0.0) + kwargs.get("unk1", 0.0 if use_lspp_defaults() else None) ), Field( "unk2", float, 10, 10, - kwargs.get("unk2", 0.0) + kwargs.get("unk2", 0.0 if use_lspp_defaults() else None) ), Field( "unk3", float, 20, 10, - kwargs.get("unk3", 0.0) + kwargs.get("unk3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_male.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_male.py index d9642a3e3..3bc5ef9dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_male.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_gebod_male.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentGebodMale(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("units", 1) + kwargs.get("units", 1 if use_lspp_defaults() else None) ), Field( "size", @@ -65,42 +66,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "gx", float, 30, 10, - kwargs.get("gx", 0.0) + kwargs.get("gx", 0.0 if use_lspp_defaults() else None) ), Field( "gy", float, 40, 10, - kwargs.get("gy", 0.0) + kwargs.get("gy", 0.0 if use_lspp_defaults() else None) ), Field( "gz", float, 50, 10, - kwargs.get("gz", 0.0) + kwargs.get("gz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii.py index adb5b0354..0aa1261bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiii(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("size", 1) + kwargs.get("size", 1 if use_lspp_defaults() else None) ), Field( "units", int, 20, 10, - kwargs.get("units", 1) + kwargs.get("units", 1 if use_lspp_defaults() else None) ), Field( "defrm", int, 30, 10, - kwargs.get("defrm", 1) + kwargs.get("defrm", 1 if use_lspp_defaults() else None) ), Field( "vx", float, 40, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 50, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 60, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hx", 0.0) + kwargs.get("hx", 0.0 if use_lspp_defaults() else None) ), Field( "hy", float, 10, 10, - kwargs.get("hy", 0.0) + kwargs.get("hy", 0.0 if use_lspp_defaults() else None) ), Field( "hz", float, 20, 10, - kwargs.get("hz", 0.0) + kwargs.get("hz", 0.0 if use_lspp_defaults() else None) ), Field( "rx", float, 30, 10, - kwargs.get("rx", 0.0) + kwargs.get("rx", 0.0 if use_lspp_defaults() else None) ), Field( "ry", float, 40, 10, - kwargs.get("ry", 0.0) + kwargs.get("ry", 0.0 if use_lspp_defaults() else None) ), Field( "rz", float, 50, 10, - kwargs.get("rz", 0.0) + kwargs.get("rz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_ankle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_ankle.py index b01655a6d..6ec646681 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_ankle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_ankle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftAnkle(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_elbow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_elbow.py index 596eee2e4..2b39f552b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_elbow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_elbow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftElbow(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_hip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_hip.py index a6f75250c..0f62f6217 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_hip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_hip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftHip(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_knee.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_knee.py index 7b5e8d8a4..1ff1b9d05 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_knee.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_knee.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftKnee(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_shoulder.py index fb2752b1e..54c2f9f84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftShoulder(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_wrist.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_wrist.py index 4e9281cf6..ddf81437a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_wrist.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_left_wrist.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLeftWrist(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lower_neck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lower_neck.py index 2603ae880..721a5017c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lower_neck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lower_neck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLowerNeck(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lumbar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lumbar.py index e15954644..e23dfc05b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lumbar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_lumbar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointLumbar(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_ribcage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_ribcage.py index 1994c765e..4dd6cbe98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_ribcage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_ribcage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRibcage(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_ankle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_ankle.py index f917c3e7a..e0ec00804 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_ankle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_ankle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightAnkle(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_elbow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_elbow.py index b4e511893..c88579263 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_elbow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_elbow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightElbow(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_hip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_hip.py index 32fec8f5c..4d9104fdc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_hip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_hip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightHip(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_knee.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_knee.py index f3fd2ab34..4e4b4b2bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_knee.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_knee.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightKnee(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_shoulder.py index 9cdb0bdc4..651618cc1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightShoulder(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_wrist.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_wrist.py index 73a265773..edc753661 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_wrist.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_right_wrist.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointRightWrist(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_upper_neck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_upper_neck.py index b5139dd98..8a982fc2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_upper_neck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/component_hybridiii_joint_upper_neck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ComponentHybridiiiJointUpperNeck(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("q1", 0.0) + kwargs.get("q1", 0.0 if use_lspp_defaults() else None) ), Field( "q2", float, 20, 10, - kwargs.get("q2", 0.0) + kwargs.get("q2", 0.0 if use_lspp_defaults() else None) ), Field( "q3", float, 30, 10, - kwargs.get("q3", 0.0) + kwargs.get("q3", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 40, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -79,56 +80,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "alo1", float, 10, 10, - kwargs.get("alo1", 0.0) + kwargs.get("alo1", 0.0 if use_lspp_defaults() else None) ), Field( "blo1", float, 20, 10, - kwargs.get("blo1", 0.0) + kwargs.get("blo1", 0.0 if use_lspp_defaults() else None) ), Field( "ahi1", float, 30, 10, - kwargs.get("ahi1", 0.0) + kwargs.get("ahi1", 0.0 if use_lspp_defaults() else None) ), Field( "bhi1", float, 40, 10, - kwargs.get("bhi1", 0.0) + kwargs.get("bhi1", 0.0 if use_lspp_defaults() else None) ), Field( "qlo1", float, 50, 10, - kwargs.get("qlo1", 0.0) + kwargs.get("qlo1", 0.0 if use_lspp_defaults() else None) ), Field( "qhi1", float, 60, 10, - kwargs.get("qhi1", 0.0) + kwargs.get("qhi1", 0.0 if use_lspp_defaults() else None) ), Field( "sclk1", float, 70, 10, - kwargs.get("sclk1", 1.0) + kwargs.get("sclk1", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "alo2", float, 10, 10, - kwargs.get("alo2", 0.0) + kwargs.get("alo2", 0.0 if use_lspp_defaults() else None) ), Field( "blo2", float, 20, 10, - kwargs.get("blo2", 0.0) + kwargs.get("blo2", 0.0 if use_lspp_defaults() else None) ), Field( "ahi2", float, 30, 10, - kwargs.get("ahi2", 0.0) + kwargs.get("ahi2", 0.0 if use_lspp_defaults() else None) ), Field( "bhi2", float, 40, 10, - kwargs.get("bhi2", 0.0) + kwargs.get("bhi2", 0.0 if use_lspp_defaults() else None) ), Field( "qlo2", float, 50, 10, - kwargs.get("qlo2", 0.0) + kwargs.get("qlo2", 0.0 if use_lspp_defaults() else None) ), Field( "qhi2", float, 60, 10, - kwargs.get("qhi2", 0.0) + kwargs.get("qhi2", 0.0 if use_lspp_defaults() else None) ), Field( "sclk2", float, 70, 10, - kwargs.get("sclk2", 1.0) + kwargs.get("sclk2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -199,56 +200,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "alo3", float, 10, 10, - kwargs.get("alo3", 0.0) + kwargs.get("alo3", 0.0 if use_lspp_defaults() else None) ), Field( "blo3", float, 20, 10, - kwargs.get("blo3", 0.0) + kwargs.get("blo3", 0.0 if use_lspp_defaults() else None) ), Field( "ahi3", float, 30, 10, - kwargs.get("ahi3", 0.0) + kwargs.get("ahi3", 0.0 if use_lspp_defaults() else None) ), Field( "bhi3", float, 40, 10, - kwargs.get("bhi3", 0.0) + kwargs.get("bhi3", 0.0 if use_lspp_defaults() else None) ), Field( "qlo3", float, 50, 10, - kwargs.get("qlo3", 0.0) + kwargs.get("qlo3", 0.0 if use_lspp_defaults() else None) ), Field( "qhi3", float, 60, 10, - kwargs.get("qhi3", 0.0) + kwargs.get("qhi3", 0.0 if use_lspp_defaults() else None) ), Field( "sclk3", float, 70, 10, - kwargs.get("sclk3", 1.0) + kwargs.get("sclk3", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_adaptivity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_adaptivity.py index 101f0e7e0..27fe827ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_adaptivity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_adaptivity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedAdaptivity(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid.py index b0add94c0..9d3921e51 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedBeamInSolid(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("bstyp", 0) + kwargs.get("bstyp", 0 if use_lspp_defaults() else None) ), Field( "sstyp", int, 30, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -118,14 +119,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid_penalty.py index c31621ad2..6df1db943 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_beam_in_solid_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedBeamInSolidPenalty(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("bstyp", 0) + kwargs.get("bstyp", 0 if use_lspp_defaults() else None) ), Field( "sstyp", int, 30, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -118,14 +119,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_butt_weld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_butt_weld.py index ad4033eca..41918d398 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_butt_weld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_butt_weld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedButtWeld(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("eppf", 0.0) + kwargs.get("eppf", 0.0 if use_lspp_defaults() else None) ), Field( "sigf", float, 30, 10, - kwargs.get("sigf", 1.0e16) + kwargs.get("sigf", 1.0e16 if use_lspp_defaults() else None) ), Field( "beta", float, 40, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate.py index e0fff9f66..e89b9ce26 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedCoordinate(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idir", 1) + kwargs.get("idir", 1 if use_lspp_defaults() else None) ), Field( "x", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate_local.py index 28ed90489..2ae7e1245 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_coordinate_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedCoordinateLocal(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idir", 1) + kwargs.get("idir", 1 if use_lspp_defaults() else None) ), Field( "x", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_euler_in_euler.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_euler_in_euler.py index 241d8adae..29bcea075 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_euler_in_euler.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_euler_in_euler.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedEulerInEuler(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid1", 0) + kwargs.get("psid1", 0 if use_lspp_defaults() else None) ), Field( "psid2", int, 10, 10, - kwargs.get("psid2", 0) + kwargs.get("psid2", 0 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_node.py index 577266738..99e082cf7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedExtraNodesNode(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_set.py index e706c8052..c3fa97aa6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_extra_nodes_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedExtraNodesSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie.py index d760dd3b2..4fd02b804 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedFemPeriTie(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie_break.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie_break.py index 9eff50840..f8806f5b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie_break.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_fem_peri_tie_break.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedFemPeriTieBreak(KeywordBase): @@ -61,14 +62,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ft", 100000000000000000000) + kwargs.get("ft", 100000000000000000000 if use_lspp_defaults() else None) ), Field( "fs", int, 40, 10, - kwargs.get("fs", 100000000000000000000) + kwargs.get("fs", 100000000000000000000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_butt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_butt.py index b88862139..7af9eac18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_butt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_butt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGeneralizedWeldButt(KeywordBase): @@ -72,7 +73,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("window", 0) + kwargs.get("window", 0 if use_lspp_defaults() else None) ), Field( "npr", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nprt", 0) + kwargs.get("nprt", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,7 +98,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tfail", 1.0E+20) + kwargs.get("tfail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epsf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_combined.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_combined.py index e8bbb50f3..e45c29746 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_combined.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_combined.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGeneralizedWeldCombined(KeywordBase): @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("window", 0) + kwargs.get("window", 0 if use_lspp_defaults() else None) ), Field( "npr", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nprt", 0) + kwargs.get("nprt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_cross_fillet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_cross_fillet.py index d0c60ca65..df344b429 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_cross_fillet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_cross_fillet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGeneralizedWeldCrossFillet(KeywordBase): @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("window", 0) + kwargs.get("window", 0 if use_lspp_defaults() else None) ), Field( "npr", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nprt", 0) + kwargs.get("nprt", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,7 +98,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tfail", 1.0E+20) + kwargs.get("tfail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epsf", @@ -171,7 +172,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ncid", 0) + kwargs.get("ncid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_fillet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_fillet.py index db1cdb85d..291f8b975 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_fillet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_fillet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGeneralizedWeldFillet(KeywordBase): @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("window", 0) + kwargs.get("window", 0 if use_lspp_defaults() else None) ), Field( "npr", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nprt", 0) + kwargs.get("nprt", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,7 +98,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tfail", 1.0E+20) + kwargs.get("tfail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epsf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_spot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_spot.py index a64f5ac44..439e3272e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_spot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_generalized_weld_spot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGeneralizedWeldSpot(KeywordBase): @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("window", 0) + kwargs.get("window", 0 if use_lspp_defaults() else None) ), Field( "npr", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nprt", 0) + kwargs.get("nprt", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,7 +98,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tfail", 1.0E+20) + kwargs.get("tfail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epsf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_global.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_global.py index c04783562..ca8691969 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_global.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_global.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedGlobal(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 10, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), Field( "dir", int, 20, 10, - kwargs.get("dir", 0) + kwargs.get("dir", 0 if use_lspp_defaults() else None) ), Field( "x", float, 30, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 40, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 50, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "tol", float, 60, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_immersed_in_spg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_immersed_in_spg.py index 63c73ccdd..5d212d52b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_immersed_in_spg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_immersed_in_spg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedImmersedInSpg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation.py index 9b6b29ab9..e623a186d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedInterpolation(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dnid", 0) + kwargs.get("dnid", 0 if use_lspp_defaults() else None) ), Field( "ddof", int, 20, 10, - kwargs.get("ddof", 123456) + kwargs.get("ddof", 123456 if use_lspp_defaults() else None) ), Field( "cidd", @@ -68,21 +69,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ityp", 0) + kwargs.get("ityp", 0 if use_lspp_defaults() else None) ), Field( "idnsw", int, 50, 10, - kwargs.get("idnsw", 0) + kwargs.get("idnsw", 0 if use_lspp_defaults() else None) ), Field( "fgm", int, 60, 10, - kwargs.get("fgm", 0) + kwargs.get("fgm", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("inid", 0) + kwargs.get("inid", 0 if use_lspp_defaults() else None) ), Field( "idof", int, 10, 10, - kwargs.get("idof", 123456) + kwargs.get("idof", 123456 if use_lspp_defaults() else None) ), Field( "twghtx", float, 20, 10, - kwargs.get("twghtx", 1.0) + kwargs.get("twghtx", 1.0 if use_lspp_defaults() else None) ), Field( "twghty", float, 30, 10, - kwargs.get("twghty", 1.0) + kwargs.get("twghty", 1.0 if use_lspp_defaults() else None) ), Field( "twghtz", float, 40, 10, - kwargs.get("twghtz", 1.0) + kwargs.get("twghtz", 1.0 if use_lspp_defaults() else None) ), Field( "rwghtx", float, 50, 10, - kwargs.get("rwghtx", 1.0) + kwargs.get("rwghtx", 1.0 if use_lspp_defaults() else None) ), Field( "rwghty", float, 60, 10, - kwargs.get("rwghty", 1.0) + kwargs.get("rwghty", 1.0 if use_lspp_defaults() else None) ), Field( "rwghtz", float, 70, 10, - kwargs.get("rwghtz", 1.0) + kwargs.get("rwghtz", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_local.py index d5922d627..0c65abd29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedInterpolationLocal(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dnid", 0) + kwargs.get("dnid", 0 if use_lspp_defaults() else None) ), Field( "ddof", int, 20, 10, - kwargs.get("ddof", 123456) + kwargs.get("ddof", 123456 if use_lspp_defaults() else None) ), Field( "cidd", @@ -68,21 +69,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ityp", 0) + kwargs.get("ityp", 0 if use_lspp_defaults() else None) ), Field( "idnsw", int, 50, 10, - kwargs.get("idnsw", 0) + kwargs.get("idnsw", 0 if use_lspp_defaults() else None) ), Field( "fgm", int, 60, 10, - kwargs.get("fgm", 0) + kwargs.get("fgm", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("inid", 0) + kwargs.get("inid", 0 if use_lspp_defaults() else None) ), Field( "idof", int, 10, 10, - kwargs.get("idof", 123456) + kwargs.get("idof", 123456 if use_lspp_defaults() else None) ), Field( "twghtx", float, 20, 10, - kwargs.get("twghtx", 1.0) + kwargs.get("twghtx", 1.0 if use_lspp_defaults() else None) ), Field( "twghty", float, 30, 10, - kwargs.get("twghty", 1.0) + kwargs.get("twghty", 1.0 if use_lspp_defaults() else None) ), Field( "twghtz", float, 40, 10, - kwargs.get("twghtz", 1.0) + kwargs.get("twghtz", 1.0 if use_lspp_defaults() else None) ), Field( "rwghtx", float, 50, 10, - kwargs.get("rwghtx", 1.0) + kwargs.get("rwghtx", 1.0 if use_lspp_defaults() else None) ), Field( "rwghty", float, 60, 10, - kwargs.get("rwghty", 1.0) + kwargs.get("rwghty", 1.0 if use_lspp_defaults() else None) ), Field( "rwghtz", float, 70, 10, - kwargs.get("rwghtz", 1.0) + kwargs.get("rwghtz", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cidi", 0) + kwargs.get("cidi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_spotweld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_spotweld.py index abf3d0b97..2d8ee5060 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_spotweld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_interpolation_spotweld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedInterpolationSpotweld(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("model", 1) + kwargs.get("model", 1 if use_lspp_defaults() else None) ), ], ), @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("intp", 0) + kwargs.get("intp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_constant_velocity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_constant_velocity.py index 74011ed69..2397a9314 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_constant_velocity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_constant_velocity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointConstantVelocity(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_constant_velocity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_constant_velocity.py index 749c7d020..b1bd3e982 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_constant_velocity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_constant_velocity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorConstantVelocity(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_cylindrical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_cylindrical.py index 27172fef1..596a66808 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_cylindrical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_cylindrical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorCylindrical(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_gears.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_gears.py index 97e6f91d8..548e5a3ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_gears.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_gears.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorGears(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_locking.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_locking.py index 32d3acdff..ffa6047a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_locking.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_locking.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorLocking(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_planar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_planar.py index 375aabd84..d1c74f098 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_planar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_planar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorPlanar(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_pulley.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_pulley.py index d77c7e20c..b3e82e4fa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_pulley.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_pulley.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorPulley(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rack_and_pinion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rack_and_pinion.py index 29aa98246..6723d8626 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rack_and_pinion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rack_and_pinion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorRackAndPinion(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_revolute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_revolute.py index f5e083d1e..fe91eb956 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_revolute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_revolute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorRevolute(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rotational_motor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rotational_motor.py index 6914d5753..92dee142f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rotational_motor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_rotational_motor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorRotationalMotor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_screw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_screw.py index 998ca7f46..66d8d0ef6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_screw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_screw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorScrew(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_spherical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_spherical.py index 08ab4fb01..4ef9cc8da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_spherical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_spherical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorSpherical(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational.py index 16c418965..708787ad5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorTranslational(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational_motor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational_motor.py index 8cb722e4d..1caf8d501 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational_motor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_translational_motor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorTranslationalMotor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -243,14 +244,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_universal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_universal.py index e7cb88d69..4d2c5f242 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_universal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_coor_universal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCoorUniversal(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_cylindrical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_cylindrical.py index c6b3ab9a3..362728196 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_cylindrical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_cylindrical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointCylindrical(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "rps", float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_gears.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_gears.py index 8d13603bb..076695e5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_gears.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_gears.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointGears(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", @@ -128,7 +129,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("h_angle", 0.0) + kwargs.get("h_angle", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_locking.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_locking.py index 942d3f493..5f5227dff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_locking.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_locking.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointLocking(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_planar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_planar.py index e08756136..6cde0ca0a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_planar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_planar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointPlanar(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "rps", float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_pulley.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_pulley.py index f43759d16..1a5ef2b09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_pulley.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_pulley.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointPulley(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rack_and_pinion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rack_and_pinion.py index ceb8b65ee..1e55f52e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rack_and_pinion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rack_and_pinion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointRackAndPinion(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_revolute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_revolute.py index d2388f276..25a2a1e7f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_revolute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_revolute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointRevolute(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "rps", float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 1.0) + kwargs.get("damp", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rotational_motor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rotational_motor.py index 6644f5cc3..e0ec609bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rotational_motor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_rotational_motor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointRotationalMotor(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("parm", 0) + kwargs.get("parm", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -114,7 +115,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_screw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_screw.py index 7c302fc26..665957ecc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_screw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_screw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointScrew(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_spherical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_spherical.py index 4ae70ac9f..d87086452 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_spherical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_spherical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointSpherical(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 30, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), Field( "n5", int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "rps", float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 1.0) + kwargs.get("damp", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_cylindrical.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_cylindrical.py index e2a9cc96b..8f5276992 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_cylindrical.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_cylindrical.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointStiffnessCylindrical(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("cidb", 0) + kwargs.get("cidb", 0 if use_lspp_defaults() else None) ), Field( "jid", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidr", 0) + kwargs.get("lcidr", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,42 +101,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcidz", 0) + kwargs.get("lcidz", 0 if use_lspp_defaults() else None) ), Field( "dlcidr", int, 30, 10, - kwargs.get("dlcidr", 0) + kwargs.get("dlcidr", 0 if use_lspp_defaults() else None) ), Field( "dlcidp", int, 40, 10, - kwargs.get("dlcidp", 0) + kwargs.get("dlcidp", 0 if use_lspp_defaults() else None) ), Field( "dlcidz", int, 50, 10, - kwargs.get("dlcidz", 0) + kwargs.get("dlcidz", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 60, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "dlcidt", int, 70, 10, - kwargs.get("dlcidt", 0) + kwargs.get("dlcidt", 0 if use_lspp_defaults() else None) ), ], ), @@ -146,14 +147,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("esr", 0.0) + kwargs.get("esr", 0.0 if use_lspp_defaults() else None) ), Field( "ffr", float, 10, 10, - kwargs.get("ffr", 0.0) + kwargs.get("ffr", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -174,28 +175,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("esz", 0.0) + kwargs.get("esz", 0.0 if use_lspp_defaults() else None) ), Field( "ffz", float, 50, 10, - kwargs.get("ffz", 0.0) + kwargs.get("ffz", 0.0 if use_lspp_defaults() else None) ), Field( "rad1", float, 60, 10, - kwargs.get("rad1", 0.0) + kwargs.get("rad1", 0.0 if use_lspp_defaults() else None) ), Field( "rad2", float, 70, 10, - kwargs.get("rad2", 0.0) + kwargs.get("rad2", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -213,7 +214,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("psdr", 0.0) + kwargs.get("psdr", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -234,14 +235,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nsdz", 0.0) + kwargs.get("nsdz", 0.0 if use_lspp_defaults() else None) ), Field( "psdz", float, 50, 10, - kwargs.get("psdz", 0.0) + kwargs.get("psdz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_flexion_torsion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_flexion_torsion.py index 5b26b5d1a..31d2bca2d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_flexion_torsion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_flexion_torsion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointStiffnessFlexionTorsion(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("cidb", 0) + kwargs.get("cidb", 0 if use_lspp_defaults() else None) ), Field( "jid", @@ -86,42 +87,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidal", 0) + kwargs.get("lcidal", 0 if use_lspp_defaults() else None) ), Field( "lcidg", int, 10, 10, - kwargs.get("lcidg", 0) + kwargs.get("lcidg", 0 if use_lspp_defaults() else None) ), Field( "lcidbt", int, 20, 10, - kwargs.get("lcidbt", 0) + kwargs.get("lcidbt", 0 if use_lspp_defaults() else None) ), Field( "dlcidal", int, 30, 10, - kwargs.get("dlcidal", 0) + kwargs.get("dlcidal", 0 if use_lspp_defaults() else None) ), Field( "dlcidg", int, 40, 10, - kwargs.get("dlcidg", 0) + kwargs.get("dlcidg", 0 if use_lspp_defaults() else None) ), Field( "dlcidbt", int, 50, 10, - kwargs.get("dlcidbt", 0) + kwargs.get("dlcidbt", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,28 +133,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("esal", 0.0) + kwargs.get("esal", 0.0 if use_lspp_defaults() else None) ), Field( "fmal", float, 10, 10, - kwargs.get("fmal", 0.0) + kwargs.get("fmal", 0.0 if use_lspp_defaults() else None) ), Field( "esbt", float, 20, 10, - kwargs.get("esbt", 0.0) + kwargs.get("esbt", 0.0 if use_lspp_defaults() else None) ), Field( "fmbt", float, 30, 10, - kwargs.get("fmbt", 0.0) + kwargs.get("fmbt", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,21 +165,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("saal", 0) + kwargs.get("saal", 0 if use_lspp_defaults() else None) ), Field( "nsabt", float, 10, 10, - kwargs.get("nsabt", 0) + kwargs.get("nsabt", 0 if use_lspp_defaults() else None) ), Field( "psabt", float, 20, 10, - kwargs.get("psabt", 0) + kwargs.get("psabt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_general.py index 0bcaa44e3..a78151ce1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointStiffnessGeneral(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("cidb", 0) + kwargs.get("cidb", 0 if use_lspp_defaults() else None) ), Field( "jid", @@ -86,42 +87,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidph", 0) + kwargs.get("lcidph", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 10, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "lcidps", int, 20, 10, - kwargs.get("lcidps", 0) + kwargs.get("lcidps", 0 if use_lspp_defaults() else None) ), Field( "dlcidph", int, 30, 10, - kwargs.get("dlcidph", 0) + kwargs.get("dlcidph", 0 if use_lspp_defaults() else None) ), Field( "dlcidt", int, 40, 10, - kwargs.get("dlcidt", 0) + kwargs.get("dlcidt", 0 if use_lspp_defaults() else None) ), Field( "dlcidps", int, 50, 10, - kwargs.get("dlcidps", 0) + kwargs.get("dlcidps", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,42 +133,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("esph", 0.0) + kwargs.get("esph", 0.0 if use_lspp_defaults() else None) ), Field( "fmph", float, 10, 10, - kwargs.get("fmph", 0.0) + kwargs.get("fmph", 0.0 if use_lspp_defaults() else None) ), Field( "est", float, 20, 10, - kwargs.get("est", 0.0) + kwargs.get("est", 0.0 if use_lspp_defaults() else None) ), Field( "fmt", float, 30, 10, - kwargs.get("fmt", 0.0) + kwargs.get("fmt", 0.0 if use_lspp_defaults() else None) ), Field( "esps", float, 40, 10, - kwargs.get("esps", 0.0) + kwargs.get("esps", 0.0 if use_lspp_defaults() else None) ), Field( "fmps", float, 50, 10, - kwargs.get("fmps", 0.0) + kwargs.get("fmps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,42 +179,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("nsaph", 0) + kwargs.get("nsaph", 0 if use_lspp_defaults() else None) ), Field( "psaph", float, 10, 10, - kwargs.get("psaph", 0) + kwargs.get("psaph", 0 if use_lspp_defaults() else None) ), Field( "nsat", float, 20, 10, - kwargs.get("nsat", 0) + kwargs.get("nsat", 0 if use_lspp_defaults() else None) ), Field( "psat", float, 30, 10, - kwargs.get("psat", 0) + kwargs.get("psat", 0 if use_lspp_defaults() else None) ), Field( "nsaps", float, 40, 10, - kwargs.get("nsaps", 0) + kwargs.get("nsaps", 0 if use_lspp_defaults() else None) ), Field( "psaps", float, 50, 10, - kwargs.get("psaps", 0) + kwargs.get("psaps", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_generalized.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_generalized.py index 7ddb09ed4..6ee69fb0d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_generalized.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_generalized.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointStiffnessGeneralized(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("cidb", 0) + kwargs.get("cidb", 0 if use_lspp_defaults() else None) ), Field( "jid", @@ -86,42 +87,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidph", 0) + kwargs.get("lcidph", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 10, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "lcidps", int, 20, 10, - kwargs.get("lcidps", 0) + kwargs.get("lcidps", 0 if use_lspp_defaults() else None) ), Field( "dlcidph", int, 30, 10, - kwargs.get("dlcidph", 0) + kwargs.get("dlcidph", 0 if use_lspp_defaults() else None) ), Field( "dlcidt", int, 40, 10, - kwargs.get("dlcidt", 0) + kwargs.get("dlcidt", 0 if use_lspp_defaults() else None) ), Field( "dlcidps", int, 50, 10, - kwargs.get("dlcidps", 0) + kwargs.get("dlcidps", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,42 +133,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("esph", 0.0) + kwargs.get("esph", 0.0 if use_lspp_defaults() else None) ), Field( "fmph", float, 10, 10, - kwargs.get("fmph", 0.0) + kwargs.get("fmph", 0.0 if use_lspp_defaults() else None) ), Field( "est", float, 20, 10, - kwargs.get("est", 0.0) + kwargs.get("est", 0.0 if use_lspp_defaults() else None) ), Field( "fmt", float, 30, 10, - kwargs.get("fmt", 0.0) + kwargs.get("fmt", 0.0 if use_lspp_defaults() else None) ), Field( "esps", float, 40, 10, - kwargs.get("esps", 0.0) + kwargs.get("esps", 0.0 if use_lspp_defaults() else None) ), Field( "fmps", float, 50, 10, - kwargs.get("fmps", 0.0) + kwargs.get("fmps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,42 +179,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("nsaph", 0) + kwargs.get("nsaph", 0 if use_lspp_defaults() else None) ), Field( "psaph", float, 10, 10, - kwargs.get("psaph", 0) + kwargs.get("psaph", 0 if use_lspp_defaults() else None) ), Field( "nsat", float, 20, 10, - kwargs.get("nsat", 0) + kwargs.get("nsat", 0 if use_lspp_defaults() else None) ), Field( "psat", float, 30, 10, - kwargs.get("psat", 0) + kwargs.get("psat", 0 if use_lspp_defaults() else None) ), Field( "nsaps", float, 40, 10, - kwargs.get("nsaps", 0) + kwargs.get("nsaps", 0 if use_lspp_defaults() else None) ), Field( "psaps", float, 50, 10, - kwargs.get("psaps", 0) + kwargs.get("psaps", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_translational.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_translational.py index c1d85999f..b766c7a1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_translational.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_stiffness_translational.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointStiffnessTranslational(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("cidb", 0) + kwargs.get("cidb", 0 if use_lspp_defaults() else None) ), Field( "jid", @@ -132,42 +133,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("esx", 0.0) + kwargs.get("esx", 0.0 if use_lspp_defaults() else None) ), Field( "ffx", float, 10, 10, - kwargs.get("ffx", 0.0) + kwargs.get("ffx", 0.0 if use_lspp_defaults() else None) ), Field( "esy", float, 20, 10, - kwargs.get("esy", 0.0) + kwargs.get("esy", 0.0 if use_lspp_defaults() else None) ), Field( "ffy", float, 30, 10, - kwargs.get("ffy", 0.0) + kwargs.get("ffy", 0.0 if use_lspp_defaults() else None) ), Field( "esz", float, 40, 10, - kwargs.get("esz", 0.0) + kwargs.get("esz", 0.0 if use_lspp_defaults() else None) ), Field( "ffz", float, 50, 10, - kwargs.get("ffz", 0.0) + kwargs.get("ffz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational.py index 62430e348..3734edd16 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointTranslational(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0) + kwargs.get("damp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational_motor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational_motor.py index 233d3cab2..4f21f1020 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational_motor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_translational_motor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointTranslationalMotor(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0) + kwargs.get("damp", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("parm", 0) + kwargs.get("parm", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -114,7 +115,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "r1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_universal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_universal.py index 7f4555b82..3a7fcbddd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_universal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_universal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointUniversal(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "rps", float, 60, 10, - kwargs.get("rps", 1.0) + kwargs.get("rps", 1.0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0) + kwargs.get("damp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_user_force.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_user_force.py index bb3cd0947..60edc1f38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_user_force.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_joint_user_force.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedJointUserForce(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid.py index af2e24a13..df58ee851 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLagrangeInSolid(KeywordBase): @@ -72,42 +73,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lstrstyp", 0) + kwargs.get("lstrstyp", 0 if use_lspp_defaults() else None) ), Field( "alestyp", int, 30, 10, - kwargs.get("alestyp", 0) + kwargs.get("alestyp", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 40, 10, - kwargs.get("nquad", 0) + kwargs.get("nquad", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 50, 10, - kwargs.get("ctype", 2) + kwargs.get("ctype", 2 if use_lspp_defaults() else None) ), Field( "direc", int, 60, 10, - kwargs.get("direc", 1) + kwargs.get("direc", 1 if use_lspp_defaults() else None) ), Field( "mcoup", int, 70, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E+10) + kwargs.get("end", 1.0E+10 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "frcmin", float, 40, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), Field( "norm", int, 50, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "normtyp", int, 60, 10, - kwargs.get("normtyp", 0) + kwargs.get("normtyp", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("k", 0.0) + kwargs.get("k", 0.0 if use_lspp_defaults() else None) ), Field( "hmin", @@ -199,14 +200,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ileak", 0) + kwargs.get("ileak", 0 if use_lspp_defaults() else None) ), Field( "pleak", float, 40, 10, - kwargs.get("pleak", 0.1) + kwargs.get("pleak", 0.1 if use_lspp_defaults() else None) ), Field( "lcidpor", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "blockage", int, 70, 10, - kwargs.get("blockage", 0) + kwargs.get("blockage", 0 if use_lspp_defaults() else None) ), ], ), @@ -238,49 +239,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iboxid", 0) + kwargs.get("iboxid", 0 if use_lspp_defaults() else None) ), Field( "ipenchk", int, 10, 10, - kwargs.get("ipenchk", 0) + kwargs.get("ipenchk", 0 if use_lspp_defaults() else None) ), Field( "intforc", int, 20, 10, - kwargs.get("intforc", 0) + kwargs.get("intforc", 0 if use_lspp_defaults() else None) ), Field( "ialesof", int, 30, 10, - kwargs.get("ialesof", 0) + kwargs.get("ialesof", 0 if use_lspp_defaults() else None) ), Field( "lagmul", float, 40, 10, - kwargs.get("lagmul", 0.0) + kwargs.get("lagmul", 0.0 if use_lspp_defaults() else None) ), Field( "pfacmm", int, 50, 10, - kwargs.get("pfacmm", 0) + kwargs.get("pfacmm", 0 if use_lspp_defaults() else None) ), Field( "thkf", float, 60, 10, - kwargs.get("thkf", 0.0) + kwargs.get("thkf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -358,28 +359,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ventyp", 0) + kwargs.get("ventyp", 0 if use_lspp_defaults() else None) ), Field( "vtcoef", int, 20, 10, - kwargs.get("vtcoef", 0) + kwargs.get("vtcoef", 0 if use_lspp_defaults() else None) ), Field( "poppres", float, 30, 10, - kwargs.get("poppres", 0.0) + kwargs.get("poppres", 0.0 if use_lspp_defaults() else None) ), Field( "coeflc", int, 40, 10, - kwargs.get("coeflc", 0) + kwargs.get("coeflc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edge.py index 264acb642..4eeeffdbd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLagrangeInSolidEdge(KeywordBase): @@ -72,42 +73,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 40, 10, - kwargs.get("nquad", 0) + kwargs.get("nquad", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 50, 10, - kwargs.get("ctype", 2) + kwargs.get("ctype", 2 if use_lspp_defaults() else None) ), Field( "direc", int, 60, 10, - kwargs.get("direc", 1) + kwargs.get("direc", 1 if use_lspp_defaults() else None) ), Field( "mcoup", int, 70, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E+10) + kwargs.get("end", 1.0E+10 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "frcmin", float, 40, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), Field( "norm", int, 50, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "normtyp", int, 60, 10, - kwargs.get("normtyp", 0) + kwargs.get("normtyp", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cq", 0.0) + kwargs.get("cq", 0.0 if use_lspp_defaults() else None) ), Field( "hmin", @@ -199,14 +200,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ileak", 0) + kwargs.get("ileak", 0 if use_lspp_defaults() else None) ), Field( "pleak", float, 40, 10, - kwargs.get("pleak", 0.1) + kwargs.get("pleak", 0.1 if use_lspp_defaults() else None) ), Field( "lcidpor", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "blockage", int, 70, 10, - kwargs.get("blockage", 0) + kwargs.get("blockage", 0 if use_lspp_defaults() else None) ), ], ), @@ -238,49 +239,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iboxid", 0) + kwargs.get("iboxid", 0 if use_lspp_defaults() else None) ), Field( "ipenchk", int, 10, 10, - kwargs.get("ipenchk", 0) + kwargs.get("ipenchk", 0 if use_lspp_defaults() else None) ), Field( "intforc", int, 20, 10, - kwargs.get("intforc", 0) + kwargs.get("intforc", 0 if use_lspp_defaults() else None) ), Field( "ialesof", int, 30, 10, - kwargs.get("ialesof", 0) + kwargs.get("ialesof", 0 if use_lspp_defaults() else None) ), Field( "lagmul", float, 40, 10, - kwargs.get("lagmul", 0.0) + kwargs.get("lagmul", 0.0 if use_lspp_defaults() else None) ), Field( "pfacmm", int, 50, 10, - kwargs.get("pfacmm", 0) + kwargs.get("pfacmm", 0 if use_lspp_defaults() else None) ), Field( "thkf", float, 60, 10, - kwargs.get("thkf", 0.0) + kwargs.get("thkf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -344,28 +345,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ventyp", 0) + kwargs.get("ventyp", 0 if use_lspp_defaults() else None) ), Field( "vtcoef", int, 20, 10, - kwargs.get("vtcoef", 0) + kwargs.get("vtcoef", 0 if use_lspp_defaults() else None) ), Field( "poppres", float, 30, 10, - kwargs.get("poppres", 0.0) + kwargs.get("poppres", 0.0 if use_lspp_defaults() else None) ), Field( "coeflc", int, 40, 10, - kwargs.get("coeflc", 0) + kwargs.get("coeflc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edges.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edges.py index 4f8816729..912621f3a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edges.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_lagrange_in_solid_edges.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLagrangeInSolidEdges(KeywordBase): @@ -72,42 +73,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 40, 10, - kwargs.get("nquad", 0) + kwargs.get("nquad", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 50, 10, - kwargs.get("ctype", 2) + kwargs.get("ctype", 2 if use_lspp_defaults() else None) ), Field( "direc", int, 60, 10, - kwargs.get("direc", 1) + kwargs.get("direc", 1 if use_lspp_defaults() else None) ), Field( "mcoup", int, 70, 10, - kwargs.get("mcoup", 0) + kwargs.get("mcoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,56 +119,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E+10) + kwargs.get("end", 1.0E+10 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "frcmin", float, 40, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), Field( "norm", int, 50, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "normtyp", int, 60, 10, - kwargs.get("normtyp", 0) + kwargs.get("normtyp", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 70, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cq", 0.0) + kwargs.get("cq", 0.0 if use_lspp_defaults() else None) ), Field( "hmin", @@ -199,14 +200,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ileak", 0) + kwargs.get("ileak", 0 if use_lspp_defaults() else None) ), Field( "pleak", float, 40, 10, - kwargs.get("pleak", 0.1) + kwargs.get("pleak", 0.1 if use_lspp_defaults() else None) ), Field( "lcidpor", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nvent", 0) + kwargs.get("nvent", 0 if use_lspp_defaults() else None) ), Field( "blockage", int, 70, 10, - kwargs.get("blockage", 0) + kwargs.get("blockage", 0 if use_lspp_defaults() else None) ), ], ), @@ -238,49 +239,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iboxid", 0) + kwargs.get("iboxid", 0 if use_lspp_defaults() else None) ), Field( "ipenchk", int, 10, 10, - kwargs.get("ipenchk", 0) + kwargs.get("ipenchk", 0 if use_lspp_defaults() else None) ), Field( "intforc", int, 20, 10, - kwargs.get("intforc", 0) + kwargs.get("intforc", 0 if use_lspp_defaults() else None) ), Field( "ialesof", int, 30, 10, - kwargs.get("ialesof", 0) + kwargs.get("ialesof", 0 if use_lspp_defaults() else None) ), Field( "lagmul", float, 40, 10, - kwargs.get("lagmul", 0.0) + kwargs.get("lagmul", 0.0 if use_lspp_defaults() else None) ), Field( "pfacmm", int, 50, 10, - kwargs.get("pfacmm", 0) + kwargs.get("pfacmm", 0 if use_lspp_defaults() else None) ), Field( "thkf", float, 60, 10, - kwargs.get("thkf", 0.0) + kwargs.get("thkf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_global.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_global.py index 36a4d9db2..9a47943fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_global.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_global.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLinearGlobal(KeywordBase): @@ -58,14 +59,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "coef", float, 20, 10, - kwargs.get("coef", 0.0) + kwargs.get("coef", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_local.py index 0c25d0ec8..abf5a1107 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_linear_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLinearLocal(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_local.py index 32b14f870..958f6e4a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedLocal(KeywordBase): @@ -58,21 +59,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tc", 1) + kwargs.get("tc", 1 if use_lspp_defaults() else None) ), Field( "rc", int, 10, 10, - kwargs.get("rc", 1) + kwargs.get("rc", 1 if use_lspp_defaults() else None) ), Field( "dir", int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "x", @@ -107,7 +108,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_multiple_global.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_multiple_global.py index 494894c51..d0b7671c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_multiple_global.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_multiple_global.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedMultipleGlobal(KeywordBase): @@ -69,7 +70,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "coef", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body.py index 4f0e143ff..75b61cf7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card_group import DuplicateCardGroup from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia.py index 749f395e9..afb9cd8e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,42 +99,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -172,14 +173,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -190,42 +191,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_override.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_override.py index 9338eba21..e731f2ae2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_override.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_override.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,42 +99,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -172,14 +173,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -190,42 +191,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -289,21 +290,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icnt", 0) + kwargs.get("icnt", 0 if use_lspp_defaults() else None) ), Field( "ibag", int, 10, 10, - kwargs.get("ibag", 0) + kwargs.get("ibag", 0 if use_lspp_defaults() else None) ), Field( "ipsm", int, 20, 10, - kwargs.get("ipsm", 0) + kwargs.get("ipsm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_spc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_spc.py index 42f5bc1aa..e65652194 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_spc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_inertia_spc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,42 +124,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -176,14 +177,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -215,42 +216,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_override.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_override.py index 9b4a9e274..b398e9d83 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_override.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_override.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icnt", 0) + kwargs.get("icnt", 0 if use_lspp_defaults() else None) ), Field( "ibag", int, 10, 10, - kwargs.get("ibag", 0) + kwargs.get("ibag", 0 if use_lspp_defaults() else None) ), Field( "ipsm", int, 20, 10, - kwargs.get("ipsm", 0) + kwargs.get("ipsm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc.py index 5d150ba85..163551ec2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia.py index 22876cfb5..d1b0a9ce4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,42 +124,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -176,14 +177,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -215,42 +216,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_master.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_master.py index 014755f6b..c4d6e0100 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_master.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_master.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,42 +124,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -176,14 +177,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -215,42 +216,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_override.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_override.py index 5dd4b3421..04b49275c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_override.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_inertia_override.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,42 +124,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "tm", float, 30, 10, - kwargs.get("tm", 0.0) + kwargs.get("tm", 0.0 if use_lspp_defaults() else None) ), Field( "ircs", int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", int, 50, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), ], ), @@ -176,14 +177,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -215,42 +216,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vtx", 0.0) + kwargs.get("vtx", 0.0 if use_lspp_defaults() else None) ), Field( "vty", float, 10, 10, - kwargs.get("vty", 0.0) + kwargs.get("vty", 0.0 if use_lspp_defaults() else None) ), Field( "vtz", float, 20, 10, - kwargs.get("vtz", 0.0) + kwargs.get("vtz", 0.0 if use_lspp_defaults() else None) ), Field( "vrx", float, 30, 10, - kwargs.get("vrx", 0.0) + kwargs.get("vrx", 0.0 if use_lspp_defaults() else None) ), Field( "vry", float, 40, 10, - kwargs.get("vry", 0.0) + kwargs.get("vry", 0.0 if use_lspp_defaults() else None) ), Field( "vrz", float, 50, 10, - kwargs.get("vrz", 0.0) + kwargs.get("vrz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -314,21 +315,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icnt", 0) + kwargs.get("icnt", 0 if use_lspp_defaults() else None) ), Field( "ibag", int, 10, 10, - kwargs.get("ibag", 0) + kwargs.get("ibag", 0 if use_lspp_defaults() else None) ), Field( "ipsm", int, 20, 10, - kwargs.get("ipsm", 0) + kwargs.get("ipsm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_override.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_override.py index 0e42ddfb1..80204b522 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_override.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigid_body_spc_override.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", float, 10, 10, - kwargs.get("con1", 0) + kwargs.get("con1", 0 if use_lspp_defaults() else None) ), Field( "con2", float, 20, 10, - kwargs.get("con2", 0) + kwargs.get("con2", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,21 +124,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icnt", 0) + kwargs.get("icnt", 0 if use_lspp_defaults() else None) ), Field( "ibag", int, 10, 10, - kwargs.get("ibag", 0) + kwargs.get("ibag", 0 if use_lspp_defaults() else None) ), Field( "ipsm", int, 20, 10, - kwargs.get("ipsm", 0) + kwargs.get("ipsm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigidbody.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigidbody.py index 34ad4e607..cb49aa401 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigidbody.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_nodal_rigidbody.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedNodalRigidbody(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pnode", 0) + kwargs.get("pnode", 0 if use_lspp_defaults() else None) ), Field( "iprt", int, 40, 10, - kwargs.get("iprt", 0) + kwargs.get("iprt", 0 if use_lspp_defaults() else None) ), Field( "drflag", int, 50, 10, - kwargs.get("drflag", 0) + kwargs.get("drflag", 0 if use_lspp_defaults() else None) ), Field( "rrflag", int, 60, 10, - kwargs.get("rrflag", 0) + kwargs.get("rrflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_interpolation.py index 220d657c4..55499b9f9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedNodeInterpolation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_set.py index c43b41b79..04eb8ef2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedNodeSet(KeywordBase): @@ -58,14 +59,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "tf", float, 20, 10, - kwargs.get("tf", 1.0E+20) + kwargs.get("tf", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch.py index c489ec987..4888d1df3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedNodeToNurbsPatch(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("con", "000000") + kwargs.get("con", "000000" if use_lspp_defaults() else None) ), Field( "cid", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "dbflg", int, 50, 10, - kwargs.get("dbflg", 0) + kwargs.get("dbflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch_set.py index e41fcb25c..1e50a14e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_node_to_nurbs_patch_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedNodeToNurbsPatchSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("con", "000000") + kwargs.get("con", "000000" if use_lspp_defaults() else None) ), Field( "cid", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "dbflg", int, 50, 10, - kwargs.get("dbflg", 0) + kwargs.get("dbflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_points.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_points.py index 2d68d908c..16948d055 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_points.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_points.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedPoints(KeywordBase): @@ -58,21 +59,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "y1", float, 24, 16, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 40, 16, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -90,21 +91,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 24, 16, - kwargs.get("y2", 0.0) + kwargs.get("y2", 0.0 if use_lspp_defaults() else None) ), Field( "z2", float, 40, 16, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -115,28 +116,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("psf", 1.0) + kwargs.get("psf", 1.0 if use_lspp_defaults() else None) ), Field( "faila", float, 10, 10, - kwargs.get("faila", 0.0) + kwargs.get("faila", 0.0 if use_lspp_defaults() else None) ), Field( "fails", float, 20, 10, - kwargs.get("fails", 0.0) + kwargs.get("fails", 0.0 if use_lspp_defaults() else None) ), Field( "failm", float, 30, 10, - kwargs.get("failm", 0.0) + kwargs.get("failm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies.py index 4fa902527..0f51f868f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedRigidBodies(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies_set.py index de1f9632b..407be363d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_bodies_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedRigidBodiesSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_insert.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_insert.py index 41f37f7c7..3b600d752 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_insert.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_insert.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedRigidBodyInsert(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("idir", 3) + kwargs.get("idir", 3 if use_lspp_defaults() else None) ), ], ), @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mflag", 0) + kwargs.get("mflag", 0 if use_lspp_defaults() else None) ), Field( "mcid", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("deathm", 0.0) + kwargs.get("deathm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("deathb", 0.0) + kwargs.get("deathb", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_stoppers.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_stoppers.py index b9068de9d..50213a106 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_stoppers.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rigid_body_stoppers.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedRigidBodyStoppers(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcmax", 0) + kwargs.get("lcmax", 0 if use_lspp_defaults() else None) ), Field( "lcmin", int, 20, 10, - kwargs.get("lcmin", 0) + kwargs.get("lcmin", 0 if use_lspp_defaults() else None) ), Field( "psidmx", int, 30, 10, - kwargs.get("psidmx", 0) + kwargs.get("psidmx", 0 if use_lspp_defaults() else None) ), Field( "psidmn", int, 40, 10, - kwargs.get("psidmn", 0) + kwargs.get("psidmn", 0 if use_lspp_defaults() else None) ), Field( "lcvmnx", int, 50, 10, - kwargs.get("lcvmnx", 0) + kwargs.get("lcvmnx", 0 if use_lspp_defaults() else None) ), Field( "dir", int, 60, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tb", 0.0) + kwargs.get("tb", 0.0 if use_lspp_defaults() else None) ), Field( "td", float, 10, 10, - kwargs.get("td", 1.0E+21) + kwargs.get("td", 1.0E+21 if use_lspp_defaults() else None) ), Field( "unused", @@ -121,7 +122,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("stiff", 0.0) + kwargs.get("stiff", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rivet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rivet.py index bf9e023e9..770f6ffdc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rivet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_rivet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tf", 1.0E+20) + kwargs.get("tf", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid.py index e7b6c3085..2acf82225 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedShellInSolid(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("shstyp", 0) + kwargs.get("shstyp", 0 if use_lspp_defaults() else None) ), Field( "sstyp", int, 30, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid_penalty.py index 634240e94..32bc07da2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_in_solid_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedShellInSolidPenalty(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("shstyp", 0) + kwargs.get("shstyp", 0 if use_lspp_defaults() else None) ), Field( "sstyp", int, 30, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_to_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_to_solid.py index 66f850a00..bc21e421f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_to_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_shell_to_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedShellToSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile.py index 44fde5a37..3d89bba42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPile(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -195,7 +196,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("bstfac", 1.0) + kwargs.get("bstfac", 1.0 if use_lspp_defaults() else None) ), Field( "bhyper", @@ -255,7 +256,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vstfac", 1.0) + kwargs.get("vstfac", 1.0 if use_lspp_defaults() else None) ), Field( "vhyper", @@ -315,7 +316,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hstfac", 1.0) + kwargs.get("hstfac", 1.0 if use_lspp_defaults() else None) ), Field( "hhyper", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants.py index 90e130746..2755f3e54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPileConstants(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), Field( "local", int, 10, 10, - kwargs.get("local", 1) + kwargs.get("local", 1 if use_lspp_defaults() else None) ), ], ), @@ -213,7 +214,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("bstfac", 1.0) + kwargs.get("bstfac", 1.0 if use_lspp_defaults() else None) ), Field( "bhyper", @@ -273,7 +274,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vstfac", 1.0) + kwargs.get("vstfac", 1.0 if use_lspp_defaults() else None) ), Field( "vhyper", @@ -333,7 +334,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hstfac", 1.0) + kwargs.get("hstfac", 1.0 if use_lspp_defaults() else None) ), Field( "hhyper", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants_set.py index 73ac6ca37..213bdf924 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_constants_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPileConstantsSet(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), Field( "local", int, 10, 10, - kwargs.get("local", 1) + kwargs.get("local", 1 if use_lspp_defaults() else None) ), ], ), @@ -213,7 +214,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("bstfac", 1.0) + kwargs.get("bstfac", 1.0 if use_lspp_defaults() else None) ), Field( "bhyper", @@ -273,7 +274,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vstfac", 1.0) + kwargs.get("vstfac", 1.0 if use_lspp_defaults() else None) ), Field( "vhyper", @@ -333,7 +334,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hstfac", 1.0) + kwargs.get("hstfac", 1.0 if use_lspp_defaults() else None) ), Field( "hhyper", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves.py index 7d4c3f222..6990e032c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPileCurves(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), Field( "local", int, 10, 10, - kwargs.get("local", 1) + kwargs.get("local", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves_set.py index f802002fd..98f7e27c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_curves_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPileCurvesSet(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), Field( "local", int, 10, 10, - kwargs.get("local", 1) + kwargs.get("local", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_set.py index d46abaa22..1fbcba4b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_soil_pile_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSoilPileSet(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("error", 0) + kwargs.get("error", 0 if use_lspp_defaults() else None) ), Field( "nring", int, 60, 10, - kwargs.get("nring", 1) + kwargs.get("nring", 1 if use_lspp_defaults() else None) ), Field( "nringb", @@ -195,7 +196,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("bstfac", 1.0) + kwargs.get("bstfac", 1.0 if use_lspp_defaults() else None) ), Field( "bhyper", @@ -255,7 +256,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vstfac", 1.0) + kwargs.get("vstfac", 1.0 if use_lspp_defaults() else None) ), Field( "vhyper", @@ -315,7 +316,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hstfac", 1.0) + kwargs.get("hstfac", 1.0 if use_lspp_defaults() else None) ), Field( "hhyper", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid.py index daffd3fd0..f8f497ecd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSolidInSolid(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("bstypb", 0) + kwargs.get("bstypb", 0 if use_lspp_defaults() else None) ), Field( "sstypa", int, 30, 10, - kwargs.get("sstypa", 0) + kwargs.get("sstypa", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid_penalty.py index 061e5e018..7186e12bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_solid_in_solid_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSolidInSolidPenalty(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("bstypb", 0) + kwargs.get("bstypb", 0 if use_lspp_defaults() else None) ), Field( "sstypa", int, 30, 10, - kwargs.get("sstypa", 0) + kwargs.get("sstypa", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 10E20) + kwargs.get("end", 10E20 if use_lspp_defaults() else None) ), Field( "unused", @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("pssf", 0.1) + kwargs.get("pssf", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spline.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spline.py index 74665e29a..9ec914a93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spline.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spline.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSpline(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("dlratio", 0.10) + kwargs.get("dlratio", 0.10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld.py index 8877e3136..49af39be9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSpotweld(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("tf", 1.0E+20) + kwargs.get("tf", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ep", float, 70, 10, - kwargs.get("ep", 1.0E+20) + kwargs.get("ep", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld_filtered_force.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld_filtered_force.py index b00296de6..8ab4c5673 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld_filtered_force.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spotweld_filtered_force.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSpotweldFilteredForce(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("tf", 1.0E+20) + kwargs.get("tf", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ep", float, 70, 10, - kwargs.get("ep", 1.0E+20) + kwargs.get("ep", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spr2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spr2.py index 3a474ba56..a822bbbe3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spr2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_spr2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedSpr2(KeywordBase): @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("intp", 0) + kwargs.get("intp", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expn", 8.0) + kwargs.get("expn", 8.0 if use_lspp_defaults() else None) ), Field( "expt", float, 10, 10, - kwargs.get("expt", 8.0) + kwargs.get("expt", 8.0 if use_lspp_defaults() else None) ), Field( "pidvb", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tie_break.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tie_break.py index de64e8fd4..47d34386e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tie_break.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tie_break.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedTieBreak(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("eppf", 0.0) + kwargs.get("eppf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes.py index 9acf137b8..26b0007a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedTiedNodes(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("eppf", 0.0) + kwargs.get("eppf", 0.0 if use_lspp_defaults() else None) ), Field( "etype", int, 20, 10, - kwargs.get("etype", 0) + kwargs.get("etype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes_failure.py index b2dc0ea3e..71e9e3234 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/constrained_tied_nodes_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ConstrainedTiedNodesFailure(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("eppf", 0.0) + kwargs.get("eppf", 0.0 if use_lspp_defaults() else None) ), Field( "etype", int, 20, 10, - kwargs.get("etype", 0) + kwargs.get("etype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_1d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_1d.py index a02693f6e..bdefa91b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_1d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_1d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("err", 0.0) + kwargs.get("err", 0.0 if use_lspp_defaults() else None) ), Field( "sigc", float, 30, 10, - kwargs.get("sigc", 0.0) + kwargs.get("sigc", 0.0 if use_lspp_defaults() else None) ), Field( "gb", float, 40, 10, - kwargs.get("gb", 0.0) + kwargs.get("gb", 0.0 if use_lspp_defaults() else None) ), Field( "smax", float, 50, 10, - kwargs.get("smax", 0.0) + kwargs.get("smax", 0.0 if use_lspp_defaults() else None) ), Field( "exp", float, 60, 10, - kwargs.get("exp", 0.0) + kwargs.get("exp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface.py index 99643fc7a..1781f43b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface_thermal.py index 50e258ba0..16d79b02a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_node_to_surface_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface.py index 53ff97a82..19ccbded7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface_thermal.py index 6f97e9a19..3bee4dc95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_one_way_surface_to_surface_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface.py index 78dc5b961..1f814437b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar.py index c49f68c15..9cf3dd755 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar_thermal.py index c6362e4fe..44ca6a6d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_mortar_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_thermal.py index f2f3dddeb..b797270d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_single_surface_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum.py index 54c375c75..c1d9a3f37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum_thermal.py index 914ac5932..0f441f16c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_in_continuum_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface.py index 69a1b0e48..45c90f031 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar.py index 6a0c9aa65..26cb0d6dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar_thermal.py index 4e4788d4a..be0076a69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_mortar_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_thermal.py index 2862cd623..5a7154847 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_surface_to_surface_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied.py index 78966cd91..a5ec7962d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way.py index 53eb11266..575fedd09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,56 +167,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way_thermal.py index d6106ceef..bd60cf319 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_one_way_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_thermal.py index dc4378c60..368e017ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_automatic_tied_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), @@ -201,14 +202,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("chlm", 1.0) + kwargs.get("chlm", 1.0 if use_lspp_defaults() else None) ), Field( "bc_flag", int, 60, 10, - kwargs.get("bc_flag", 0) + kwargs.get("bc_flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -219,56 +220,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 10, 10, - kwargs.get("vdc", 10.0) + kwargs.get("vdc", 10.0 if use_lspp_defaults() else None) ), Field( "ipf", int, 20, 10, - kwargs.get("ipf", 0) + kwargs.get("ipf", 0 if use_lspp_defaults() else None) ), Field( "slide", int, 30, 10, - kwargs.get("slide", 0) + kwargs.get("slide", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 40, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), Field( "tiedgap", float, 50, 10, - kwargs.get("tiedgap", 0.0) + kwargs.get("tiedgap", 0.0 if use_lspp_defaults() else None) ), Field( "igapcl", int, 60, 10, - kwargs.get("igapcl", 0) + kwargs.get("igapcl", 0 if use_lspp_defaults() else None) ), Field( "tietyp", int, 70, 10, - kwargs.get("tietyp", 0) + kwargs.get("tietyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -279,21 +280,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sldsoa", 0.0) + kwargs.get("sldsoa", 0.0 if use_lspp_defaults() else None) ), Field( "sldsob", float, 10, 10, - kwargs.get("sldsob", 0.0) + kwargs.get("sldsob", 0.0 if use_lspp_defaults() else None) ), Field( "tdpen", float, 20, 10, - kwargs.get("tdpen", 0.0) + kwargs.get("tdpen", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_force_transducer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_force_transducer.py index a5bf7ddd9..e6b1fc044 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_force_transducer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_force_transducer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfact", 1.0) + kwargs.get("sfact", 1.0 if use_lspp_defaults() else None) ), Field( "freq", int, 30, 10, - kwargs.get("freq", 50) + kwargs.get("freq", 50 if use_lspp_defaults() else None) ), Field( "fs", float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 10, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "soa", float, 20, 10, - kwargs.get("soa", 1.0) + kwargs.get("soa", 1.0 if use_lspp_defaults() else None) ), Field( "sob", float, 30, 10, - kwargs.get("sob", 1.0) + kwargs.get("sob", 1.0 if use_lspp_defaults() else None) ), Field( "nda", int, 40, 10, - kwargs.get("nda", 0) + kwargs.get("nda", 0 if use_lspp_defaults() else None) ), Field( "ndb", int, 50, 10, - kwargs.get("ndb", 0) + kwargs.get("ndb", 0 if use_lspp_defaults() else None) ), Field( "cof", int, 60, 10, - kwargs.get("cof", 0) + kwargs.get("cof", 0 if use_lspp_defaults() else None) ), Field( "init", int, 70, 10, - kwargs.get("init", 0) + kwargs.get("init", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid.py index bbcd86711..8e1704141 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,7 +79,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,28 +107,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pen", 1.0) + kwargs.get("pen", 1.0 if use_lspp_defaults() else None) ), Field( "fs", float, 50, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 60, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 70, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid_tied.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid_tied.py index 2776348d3..36b4c7672 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid_tied.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_node_to_solid_tied.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,7 +79,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -106,28 +107,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pen", 1.0) + kwargs.get("pen", 1.0 if use_lspp_defaults() else None) ), Field( "fs", float, 50, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 60, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 70, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty.py index 5432eb790..45a3dfc18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -78,56 +79,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ext_pas", 0) + kwargs.get("ext_pas", 0 if use_lspp_defaults() else None) ), Field( "theta1", float, 10, 10, - kwargs.get("theta1", 0.0) + kwargs.get("theta1", 0.0 if use_lspp_defaults() else None) ), Field( "theta2", float, 20, 10, - kwargs.get("theta2", 0.0) + kwargs.get("theta2", 0.0 if use_lspp_defaults() else None) ), Field( "tol_ig", float, 30, 10, - kwargs.get("tol_ig", 1.0E-03) + kwargs.get("tol_ig", 1.0E-03 if use_lspp_defaults() else None) ), Field( "pen", float, 40, 10, - kwargs.get("pen", 1.0E-01) + kwargs.get("pen", 1.0E-01 if use_lspp_defaults() else None) ), Field( "toloff", float, 50, 10, - kwargs.get("toloff", 0.25) + kwargs.get("toloff", 0.25 if use_lspp_defaults() else None) ), Field( "frcscl", float, 60, 10, - kwargs.get("frcscl", 1.0E-01) + kwargs.get("frcscl", 1.0E-01 if use_lspp_defaults() else None) ), Field( "oneway", float, 70, 10, - kwargs.get("oneway", 0.0) + kwargs.get("oneway", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty_friction.py index 29961ad00..6bad35768 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_penalty_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -78,56 +79,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ext_pas", 0) + kwargs.get("ext_pas", 0 if use_lspp_defaults() else None) ), Field( "theta1", float, 10, 10, - kwargs.get("theta1", 0.0) + kwargs.get("theta1", 0.0 if use_lspp_defaults() else None) ), Field( "theta2", float, 20, 10, - kwargs.get("theta2", 0.0) + kwargs.get("theta2", 0.0 if use_lspp_defaults() else None) ), Field( "tol_ig", float, 30, 10, - kwargs.get("tol_ig", 1.0E-03) + kwargs.get("tol_ig", 1.0E-03 if use_lspp_defaults() else None) ), Field( "pen", float, 40, 10, - kwargs.get("pen", 1.0E-01) + kwargs.get("pen", 1.0E-01 if use_lspp_defaults() else None) ), Field( "toloff", float, 50, 10, - kwargs.get("toloff", 0.25) + kwargs.get("toloff", 0.25 if use_lspp_defaults() else None) ), Field( "frcscl", float, 60, 10, - kwargs.get("frcscl", 1.0E-01) + kwargs.get("frcscl", 1.0E-01 if use_lspp_defaults() else None) ), Field( "oneway", float, 70, 10, - kwargs.get("oneway", 0.0) + kwargs.get("oneway", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_only.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_only.py index cad225c1d..93c7ec090 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_only.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_only.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -78,56 +79,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ext_pas", 0) + kwargs.get("ext_pas", 0 if use_lspp_defaults() else None) ), Field( "theta1", float, 10, 10, - kwargs.get("theta1", 0.0) + kwargs.get("theta1", 0.0 if use_lspp_defaults() else None) ), Field( "theta2", float, 20, 10, - kwargs.get("theta2", 0.0) + kwargs.get("theta2", 0.0 if use_lspp_defaults() else None) ), Field( "tol_ig", float, 30, 10, - kwargs.get("tol_ig", 1.0E-03) + kwargs.get("tol_ig", 1.0E-03 if use_lspp_defaults() else None) ), Field( "pen", float, 40, 10, - kwargs.get("pen", 1.0E-01) + kwargs.get("pen", 1.0E-01 if use_lspp_defaults() else None) ), Field( "toloff", float, 50, 10, - kwargs.get("toloff", 0.25) + kwargs.get("toloff", 0.25 if use_lspp_defaults() else None) ), Field( "frcscl", float, 60, 10, - kwargs.get("frcscl", 1.0E-01) + kwargs.get("frcscl", 1.0E-01 if use_lspp_defaults() else None) ), Field( "oneway", float, 70, 10, - kwargs.get("oneway", 0.0) + kwargs.get("oneway", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_voids.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_voids.py index 482354cb3..0f8e6bef9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_voids.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_sliding_voids.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -78,56 +79,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ext_pas", 0) + kwargs.get("ext_pas", 0 if use_lspp_defaults() else None) ), Field( "theta1", float, 10, 10, - kwargs.get("theta1", 0.0) + kwargs.get("theta1", 0.0 if use_lspp_defaults() else None) ), Field( "theta2", float, 20, 10, - kwargs.get("theta2", 0.0) + kwargs.get("theta2", 0.0 if use_lspp_defaults() else None) ), Field( "tol_ig", float, 30, 10, - kwargs.get("tol_ig", 1.0E-03) + kwargs.get("tol_ig", 1.0E-03 if use_lspp_defaults() else None) ), Field( "pen", float, 40, 10, - kwargs.get("pen", 1.0E-01) + kwargs.get("pen", 1.0E-01 if use_lspp_defaults() else None) ), Field( "toloff", float, 50, 10, - kwargs.get("toloff", 0.25) + kwargs.get("toloff", 0.25 if use_lspp_defaults() else None) ), Field( "frcscl", float, 60, 10, - kwargs.get("frcscl", 1.0E-01) + kwargs.get("frcscl", 1.0E-01 if use_lspp_defaults() else None) ), Field( "oneway", float, 70, 10, - kwargs.get("oneway", 0.0) + kwargs.get("oneway", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_tied_sliding.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_tied_sliding.py index 3a061b8cc..fd982c22f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_tied_sliding.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_2d_tied_sliding.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 30, 10, - kwargs.get("tdeath", 1.0E20) + kwargs.get("tdeath", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -78,56 +79,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ext_pas", 0) + kwargs.get("ext_pas", 0 if use_lspp_defaults() else None) ), Field( "theta1", float, 10, 10, - kwargs.get("theta1", 0.0) + kwargs.get("theta1", 0.0 if use_lspp_defaults() else None) ), Field( "theta2", float, 20, 10, - kwargs.get("theta2", 0.0) + kwargs.get("theta2", 0.0 if use_lspp_defaults() else None) ), Field( "tol_ig", float, 30, 10, - kwargs.get("tol_ig", 1.0E-03) + kwargs.get("tol_ig", 1.0E-03 if use_lspp_defaults() else None) ), Field( "pen", float, 40, 10, - kwargs.get("pen", 1.0E-01) + kwargs.get("pen", 1.0E-01 if use_lspp_defaults() else None) ), Field( "toloff", float, 50, 10, - kwargs.get("toloff", 0.25) + kwargs.get("toloff", 0.25 if use_lspp_defaults() else None) ), Field( "frcscl", float, 60, 10, - kwargs.get("frcscl", 1.0E-01) + kwargs.get("frcscl", 1.0E-01 if use_lspp_defaults() else None) ), Field( "oneway", float, 70, 10, - kwargs.get("oneway", 0.0) + kwargs.get("oneway", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_add_wear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_add_wear.py index 7dd4764bd..79e1d0976 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_add_wear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_add_wear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,7 +54,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("wtype", 0) + kwargs.get("wtype", 0 if use_lspp_defaults() else None) ), Field( "p1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_airbag_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_airbag_single_surface.py index a2fe4b43e..9a63a198d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_airbag_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_airbag_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_auto_move.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_auto_move.py index e976c3dce..cd46155ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_auto_move.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_auto_move.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -81,7 +82,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_beams_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_beams_to_surface.py index 24577dcf2..f38adb9ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_beams_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_beams_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general.py index e6e30f914..40c70a5ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_edgeonly.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_edgeonly.py index 239b42229..f46adac3d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_edgeonly.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_edgeonly.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_interior.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_interior.py index f679fa551..ef7127c02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_interior.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_interior.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak.py index 64c8ab814..2a856dbb3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak_beam_offset.py index 8215f91d6..9bbad4866 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_general_tiebreak_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface.py index 1af68ede2..e92c006f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface_smooth.py index 09260ed27..48892b1a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_nodes_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface.py index e65ecbba7..1baf10208 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_ortho_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_ortho_friction.py index 235272d60..f074d147a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_ortho_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_ortho_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,28 +227,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sa", 0.0) + kwargs.get("fs1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sa", float, 10, 10, - kwargs.get("fd1_sa", 0.0) + kwargs.get("fd1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sa", float, 20, 10, - kwargs.get("dc1_sa", 0.0) + kwargs.get("dc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sa", float, 30, 10, - kwargs.get("vc1_sa", 0.0) + kwargs.get("vc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sa", @@ -286,28 +287,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sa", 0.0) + kwargs.get("fs2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sa", float, 10, 10, - kwargs.get("fd2_sa", 0.0) + kwargs.get("fd2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sa", float, 20, 10, - kwargs.get("dc2_sa", 0.0) + kwargs.get("dc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sa", float, 30, 10, - kwargs.get("vc2_sa", 0.0) + kwargs.get("vc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sa", @@ -325,28 +326,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sb", 0.0) + kwargs.get("fs1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sb", float, 10, 10, - kwargs.get("fd1_sb", 0.0) + kwargs.get("fd1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sb", float, 20, 10, - kwargs.get("dc1_sb", 0.0) + kwargs.get("dc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sb", float, 30, 10, - kwargs.get("vc1_sb", 0.0) + kwargs.get("vc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sb", @@ -385,28 +386,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sb", 0.0) + kwargs.get("fs2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sb", float, 10, 10, - kwargs.get("fd2_sb", 0.0) + kwargs.get("fd2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sb", float, 20, 10, - kwargs.get("dc2_sb", 0.0) + kwargs.get("dc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sb", float, 30, 10, - kwargs.get("vc2_sb", 0.0) + kwargs.get("vc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sb", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_smooth.py index dffeccd52..64251838e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak.py index 04d0a4bc8..444d2bb64 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_damping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_damping.py index 6904c5282..9e3366c9c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_damping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_damping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_user.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_user.py index 953088cd5..d10701ea9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_user.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_one_way_surface_to_surface_tiebreak_user.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,49 +227,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 101) + kwargs.get("option", 101 if use_lspp_defaults() else None) ), Field( "nhv", int, 10, 10, - kwargs.get("nhv", 0) + kwargs.get("nhv", 0 if use_lspp_defaults() else None) ), Field( "ct2cn", float, 20, 10, - kwargs.get("ct2cn", 1.0) + kwargs.get("ct2cn", 1.0 if use_lspp_defaults() else None) ), Field( "cn", float, 30, 10, - kwargs.get("cn", 0.0) + kwargs.get("cn", 0.0 if use_lspp_defaults() else None) ), Field( "offset", int, 40, 10, - kwargs.get("offset", 0) + kwargs.get("offset", 0 if use_lspp_defaults() else None) ), Field( "nhmat", int, 50, 10, - kwargs.get("nhmat", 0) + kwargs.get("nhmat", 0 if use_lspp_defaults() else None) ), Field( "nhwld", int, 60, 10, - kwargs.get("nhwld", 0) + kwargs.get("nhwld", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single.py index 16e7a8b61..f1cee9e3a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface.py index 20004dc30..d40192c1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -106,56 +107,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0) + kwargs.get("fs", 0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0) + kwargs.get("fd", 0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0) + kwargs.get("dc", 0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0) + kwargs.get("vc", 0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0) + kwargs.get("vdc", 0 if use_lspp_defaults() else None) ), Field( "penchk", int, 50, 10, - kwargs.get("penchk", 0) + kwargs.get("penchk", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 60, 10, - kwargs.get("bt", 0) + kwargs.get("bt", 0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 0) + kwargs.get("dt", 0 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfs", 1) + kwargs.get("sfs", 1 if use_lspp_defaults() else None) ), Field( "sfm", float, 10, 10, - kwargs.get("sfm", 1) + kwargs.get("sfm", 1 if use_lspp_defaults() else None) ), Field( "sst", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfst", 1) + kwargs.get("sfst", 1 if use_lspp_defaults() else None) ), Field( "sfmt", float, 50, 10, - kwargs.get("sfmt", 1) + kwargs.get("sfmt", 1 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1) + kwargs.get("fsf", 1 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1) + kwargs.get("vsf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_mortar.py index d697f2ddc..727e1f2a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_smooth.py index a83014a79..9f9c6ef91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak.py index 4486ebf69..b3e1177d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak_beam_offset.py index cc27ddad3..2935731ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tiebreak_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tied.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tied.py index 0d838938a..5e25a8384 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tied.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_single_surface_tied.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("close", 0.0) + kwargs.get("close", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface.py index d188e6e25..a9f75f823 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_composite.py index f1f7546c8..5de0af117 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("model", 1) + kwargs.get("model", 1 if use_lspp_defaults() else None) ), Field( "cidmu", @@ -254,7 +255,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("d", 0.0) + kwargs.get("d", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar.py index df8d6ea6e..529b9c6bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied.py index 32163e956..2538cefda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied_weld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied_weld.py index c3f25371a..5009861bd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied_weld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_mortar_tied_weld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -279,56 +280,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tprm1", 0.0) + kwargs.get("tprm1", 0.0 if use_lspp_defaults() else None) ), Field( "tprm2", float, 10, 10, - kwargs.get("tprm2", 0.0) + kwargs.get("tprm2", 0.0 if use_lspp_defaults() else None) ), Field( "tprm3", float, 20, 10, - kwargs.get("tprm3", 0.0) + kwargs.get("tprm3", 0.0 if use_lspp_defaults() else None) ), Field( "tprm4", float, 30, 10, - kwargs.get("tprm4", 0.0) + kwargs.get("tprm4", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 40, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 50, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 60, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 70, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_ortho_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_ortho_friction.py index ae1a55dc8..48784712e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_ortho_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_ortho_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,28 +227,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sa", 0.0) + kwargs.get("fs1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sa", float, 10, 10, - kwargs.get("fd1_sa", 0.0) + kwargs.get("fd1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sa", float, 20, 10, - kwargs.get("dc1_sa", 0.0) + kwargs.get("dc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sa", float, 30, 10, - kwargs.get("vc1_sa", 0.0) + kwargs.get("vc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sa", @@ -286,28 +287,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sa", 0.0) + kwargs.get("fs2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sa", float, 10, 10, - kwargs.get("fd2_sa", 0.0) + kwargs.get("fd2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sa", float, 20, 10, - kwargs.get("dc2_sa", 0.0) + kwargs.get("dc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sa", float, 30, 10, - kwargs.get("vc2_sa", 0.0) + kwargs.get("vc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sa", @@ -325,28 +326,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sb", 0.0) + kwargs.get("fs1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sb", float, 10, 10, - kwargs.get("fd1_sb", 0.0) + kwargs.get("fd1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sb", float, 20, 10, - kwargs.get("dc1_sb", 0.0) + kwargs.get("dc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sb", float, 30, 10, - kwargs.get("vc1_sb", 0.0) + kwargs.get("vc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sb", @@ -385,28 +386,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sb", 0.0) + kwargs.get("fs2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sb", float, 10, 10, - kwargs.get("fd2_sb", 0.0) + kwargs.get("fd2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sb", float, 20, 10, - kwargs.get("dc2_sb", 0.0) + kwargs.get("dc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sb", float, 30, 10, - kwargs.get("vc2_sb", 0.0) + kwargs.get("vc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sb", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_smooth.py index 0b64dc14a..5529fe78a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak.py index cd849ca71..690ced804 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_damping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_damping.py index 225854f3b..8b4a8fc27 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_damping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_damping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_mortar.py index 2e486edd6..a69312da6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 9) + kwargs.get("option", 9 if use_lspp_defaults() else None) ), Field( "nfls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user.py index 9a362f4e4..32f9c3c6d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,49 +227,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 101) + kwargs.get("option", 101 if use_lspp_defaults() else None) ), Field( "nhv", int, 10, 10, - kwargs.get("nhv", 0) + kwargs.get("nhv", 0 if use_lspp_defaults() else None) ), Field( "ct2cn", float, 20, 10, - kwargs.get("ct2cn", 1.0) + kwargs.get("ct2cn", 1.0 if use_lspp_defaults() else None) ), Field( "cn", float, 30, 10, - kwargs.get("cn", 0.0) + kwargs.get("cn", 0.0 if use_lspp_defaults() else None) ), Field( "offset", int, 40, 10, - kwargs.get("offset", 0) + kwargs.get("offset", 0 if use_lspp_defaults() else None) ), Field( "nhmat", int, 50, 10, - kwargs.get("nhmat", 0) + kwargs.get("nhmat", 0 if use_lspp_defaults() else None) ), Field( "nhwld", int, 60, 10, - kwargs.get("nhwld", 0) + kwargs.get("nhwld", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user_mortar.py index a448c8e6f..29f342e67 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tiebreak_user_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,49 +227,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 101) + kwargs.get("option", 101 if use_lspp_defaults() else None) ), Field( "nhv", int, 10, 10, - kwargs.get("nhv", 0) + kwargs.get("nhv", 0 if use_lspp_defaults() else None) ), Field( "ct2cn", float, 20, 10, - kwargs.get("ct2cn", 1.0) + kwargs.get("ct2cn", 1.0 if use_lspp_defaults() else None) ), Field( "cn", float, 30, 10, - kwargs.get("cn", 0.0) + kwargs.get("cn", 0.0 if use_lspp_defaults() else None) ), Field( "offset", int, 40, 10, - kwargs.get("offset", 0) + kwargs.get("offset", 0 if use_lspp_defaults() else None) ), Field( "nhmat", int, 50, 10, - kwargs.get("nhmat", 0) + kwargs.get("nhmat", 0 if use_lspp_defaults() else None) ), Field( "nhwld", int, 60, 10, - kwargs.get("nhwld", 0) + kwargs.get("nhwld", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tied_weld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tied_weld.py index 779fd7796..1d919a8a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tied_weld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_automatic_surface_to_surface_tied_weld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -279,56 +280,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tprm1", 0.0) + kwargs.get("tprm1", 0.0 if use_lspp_defaults() else None) ), Field( "tprm2", float, 10, 10, - kwargs.get("tprm2", 0.0) + kwargs.get("tprm2", 0.0 if use_lspp_defaults() else None) ), Field( "tprm3", float, 20, 10, - kwargs.get("tprm3", 0.0) + kwargs.get("tprm3", 0.0 if use_lspp_defaults() else None) ), Field( "tprm4", float, 30, 10, - kwargs.get("tprm4", 0.0) + kwargs.get("tprm4", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 40, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 50, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 60, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), Field( "tprmi", float, 70, 10, - kwargs.get("tprmi", 0.0) + kwargs.get("tprmi", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_nodes_to_surface.py index 3233b59ab..3dbc31fcd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kpf", 0.0) + kwargs.get("kpf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_surface_to_surface.py index 2b5a4b5b4..b1920cb36 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_constraint_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,7 +227,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kpf", 0.0) + kwargs.get("kpf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_coupling.py index b070894c0..0a3901945 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -64,7 +65,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead.py index 060e6909e..9aae9886e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -240,28 +241,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dbdth", 0.0) + kwargs.get("dbdth", 0.0 if use_lspp_defaults() else None) ), Field( "dfscl", float, 30, 10, - kwargs.get("dfscl", 1.0) + kwargs.get("dfscl", 1.0 if use_lspp_defaults() else None) ), Field( "numint", int, 40, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), Field( "dbpid", int, 50, 10, - kwargs.get("dbpid", 0) + kwargs.get("dbpid", 0 if use_lspp_defaults() else None) ), Field( "eloff", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_bending.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_bending.py index fd0b88b4f..1f5ca504c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_bending.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_bending.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -240,28 +241,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dbdth", 0.0) + kwargs.get("dbdth", 0.0 if use_lspp_defaults() else None) ), Field( "dfscl", float, 30, 10, - kwargs.get("dfscl", 1.0) + kwargs.get("dfscl", 1.0 if use_lspp_defaults() else None) ), Field( "numint", int, 40, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), Field( "dbpid", int, 50, 10, - kwargs.get("dbpid", 0) + kwargs.get("dbpid", 0 if use_lspp_defaults() else None) ), Field( "eloff", @@ -332,7 +333,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("ending", 10.0) + kwargs.get("ending", 10.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_initialize.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_initialize.py index 4f97322f5..a6d2253a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_initialize.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_drawbead_initialize.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -240,28 +241,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dbdth", 0.0) + kwargs.get("dbdth", 0.0 if use_lspp_defaults() else None) ), Field( "dfscl", float, 30, 10, - kwargs.get("dfscl", 1.0) + kwargs.get("dfscl", 1.0 if use_lspp_defaults() else None) ), Field( "numint", int, 40, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), Field( "dbpid", int, 50, 10, - kwargs.get("dbpid", 0) + kwargs.get("dbpid", 0 if use_lspp_defaults() else None) ), Field( "eloff", @@ -325,7 +326,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("tscale", 1.0) + kwargs.get("tscale", 1.0 if use_lspp_defaults() else None) ), Field( "lceps2", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_entity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_entity.py index b0f001cf1..2165740ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_entity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_entity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,7 +54,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("geotyp", 1) + kwargs.get("geotyp", 1 if use_lspp_defaults() else None) ), Field( "ssid", @@ -67,35 +68,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 50, 10, - kwargs.get("df", 0.0) + kwargs.get("df", 0.0 if use_lspp_defaults() else None) ), Field( "cf", float, 60, 10, - kwargs.get("cf", 0.0) + kwargs.get("cf", 0.0 if use_lspp_defaults() else None) ), Field( "intord", int, 70, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,42 +107,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), Field( "go", int, 30, 10, - kwargs.get("go", 0) + kwargs.get("go", 0 if use_lspp_defaults() else None) ), Field( "ithk", int, 40, 10, - kwargs.get("ithk", 0) + kwargs.get("ithk", 0 if use_lspp_defaults() else None) ), Field( "spr", int, 50, 10, - kwargs.get("spr", 0) + kwargs.get("spr", 0 if use_lspp_defaults() else None) ), ], ), @@ -152,42 +153,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "ax", float, 30, 10, - kwargs.get("ax", 0.0) + kwargs.get("ax", 0.0 if use_lspp_defaults() else None) ), Field( "ay", float, 40, 10, - kwargs.get("ay", 0.0) + kwargs.get("ay", 0.0 if use_lspp_defaults() else None) ), Field( "az", float, 50, 10, - kwargs.get("az", 0.0) + kwargs.get("az", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -198,21 +199,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bx", 0.0) + kwargs.get("bx", 0.0 if use_lspp_defaults() else None) ), Field( "by", float, 10, 10, - kwargs.get("by", 0.0) + kwargs.get("by", 0.0 if use_lspp_defaults() else None) ), Field( "bz", float, 20, 10, - kwargs.get("bz", 0.0) + kwargs.get("bz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -223,56 +224,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "g1", float, 10, 10, - kwargs.get("g1", 0.0) + kwargs.get("g1", 0.0 if use_lspp_defaults() else None) ), Field( "g2", float, 20, 10, - kwargs.get("g2", 0.0) + kwargs.get("g2", 0.0 if use_lspp_defaults() else None) ), Field( "g3", float, 30, 10, - kwargs.get("g3", 0.0) + kwargs.get("g3", 0.0 if use_lspp_defaults() else None) ), Field( "g4", float, 40, 10, - kwargs.get("g4", 0.0) + kwargs.get("g4", 0.0 if use_lspp_defaults() else None) ), Field( "g5", float, 50, 10, - kwargs.get("g5", 0.0) + kwargs.get("g5", 0.0 if use_lspp_defaults() else None) ), Field( "g6", float, 60, 10, - kwargs.get("g6", 0.0) + kwargs.get("g6", 0.0 if use_lspp_defaults() else None) ), Field( "g7", float, 70, 10, - kwargs.get("g7", 0.0) + kwargs.get("g7", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_nodes_to_surface.py index 283b55868..cdd6177d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "erosop", int, 10, 10, - kwargs.get("erosop", 0) + kwargs.get("erosop", 0 if use_lspp_defaults() else None) ), Field( "iadj", int, 20, 10, - kwargs.get("iadj", 0) + kwargs.get("iadj", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_single_surface.py index 080b0bbf4..d6ec3bc24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "erosop", int, 10, 10, - kwargs.get("erosop", 0) + kwargs.get("erosop", 0 if use_lspp_defaults() else None) ), Field( "iadj", int, 20, 10, - kwargs.get("iadj", 0) + kwargs.get("iadj", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_surface_to_surface.py index efe1e61a5..06afa1b61 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_eroding_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,21 +227,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "erosop", int, 10, 10, - kwargs.get("erosop", 0) + kwargs.get("erosop", 0 if use_lspp_defaults() else None) ), Field( "iadj", int, 20, 10, - kwargs.get("iadj", 0) + kwargs.get("iadj", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_exclude_interaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_exclude_interaction.py index 1f54c5bb7..675e73c0d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_exclude_interaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_exclude_interaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,14 +79,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("type2", 0) + kwargs.get("type2", 0 if use_lspp_defaults() else None) ), Field( "type1", int, 30, 10, - kwargs.get("type1", 0) + kwargs.get("type1", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer.py index 16b282442..e77f844d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_constraint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_constraint.py index 8bf859332..758def683 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_constraint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_constraint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_penalty.py index 1a3a5ef1b..15beb2100 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_force_transducer_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface.py index 20829a5ba..57d71b89a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface_smooth.py index 0ffb9b8ed..949b98a8c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_nodes_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface.py index 09a63eb05..93e9d2067 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_ortho_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_ortho_friction.py index 99ad7bf93..514e57231 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_ortho_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_ortho_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,28 +227,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sa", 0.0) + kwargs.get("fs1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sa", float, 10, 10, - kwargs.get("fd1_sa", 0.0) + kwargs.get("fd1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sa", float, 20, 10, - kwargs.get("dc1_sa", 0.0) + kwargs.get("dc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sa", float, 30, 10, - kwargs.get("vc1_sa", 0.0) + kwargs.get("vc1_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sa", @@ -286,28 +287,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sa", 0.0) + kwargs.get("fs2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sa", float, 10, 10, - kwargs.get("fd2_sa", 0.0) + kwargs.get("fd2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sa", float, 20, 10, - kwargs.get("dc2_sa", 0.0) + kwargs.get("dc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sa", float, 30, 10, - kwargs.get("vc2_sa", 0.0) + kwargs.get("vc2_sa", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sa", @@ -325,28 +326,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs1_sb", 0.0) + kwargs.get("fs1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd1_sb", float, 10, 10, - kwargs.get("fd1_sb", 0.0) + kwargs.get("fd1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc1_sb", float, 20, 10, - kwargs.get("dc1_sb", 0.0) + kwargs.get("dc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc1_sb", float, 30, 10, - kwargs.get("vc1_sb", 0.0) + kwargs.get("vc1_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc1_sb", @@ -385,28 +386,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs2_sb", 0.0) + kwargs.get("fs2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "fd2_sb", float, 10, 10, - kwargs.get("fd2_sb", 0.0) + kwargs.get("fd2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "dc2_sb", float, 20, 10, - kwargs.get("dc2_sb", 0.0) + kwargs.get("dc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "vc2_sb", float, 30, 10, - kwargs.get("vc2_sb", 0.0) + kwargs.get("vc2_sb", 0.0 if use_lspp_defaults() else None) ), Field( "lc2_sb", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_smooth.py index b7eb1743e..e664c99cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_one_way_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface.py index cd792e7e0..b85662609 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_mortar.py index 496fd00ce..bb4190c34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_smooth.py index ade9636c3..ad2dbf222 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_forming_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_head.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_head.py index ba94dd480..42e61e2d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_head.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_head.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_foot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_foot.py index b358fcca9..bb155fe55 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_foot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_foot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_hand.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_hand.py index 928703670..69149a462 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_hand.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_hand.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_arm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_arm.py index 3dd7f53b6..63bec57cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_arm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_arm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_leg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_leg.py index 1f2e2b16d..ca63fb89f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_leg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_lower_leg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_shoulder.py index 1ec2e51f9..b53e63ead 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_arm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_arm.py index b13457a93..970803e40 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_arm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_arm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_leg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_leg.py index 2592a3eba..d5877a392 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_leg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_left_upper_leg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_lower_torso.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_lower_torso.py index 79da133f7..d1d51bbd1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_lower_torso.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_lower_torso.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_middle_torso.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_middle_torso.py index 350bd92f5..998fe876c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_middle_torso.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_middle_torso.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_neck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_neck.py index cb1e8c195..388273193 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_neck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_neck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_foot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_foot.py index 85a2ca0da..6cf64d0f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_foot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_foot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_hand.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_hand.py index d1c85acda..31711f71d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_hand.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_hand.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_arm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_arm.py index fcc6aea64..a36197c53 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_arm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_arm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_leg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_leg.py index beb157451..6385cfc21 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_leg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_lower_leg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_shoulder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_shoulder.py index a38065b27..f79bd385f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_shoulder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_shoulder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_arm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_arm.py index 6ccc1da82..261566a0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_arm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_arm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_leg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_leg.py index 4cf6098d7..f7ff3163e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_leg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_right_upper_leg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_upper_torso.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_upper_torso.py index 654977958..daac16889 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_upper_torso.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_gebod_upper_torso.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,35 +61,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "df", float, 40, 10, - kwargs.get("df", 20.0) + kwargs.get("df", 20.0 if use_lspp_defaults() else None) ), Field( "cf", float, 50, 10, - kwargs.get("cf", 0.5) + kwargs.get("cf", 0.5 if use_lspp_defaults() else None) ), Field( "intord", int, 60, 10, - kwargs.get("intord", 0) + kwargs.get("intord", 0 if use_lspp_defaults() else None) ), ], ), @@ -99,21 +100,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "so", int, 20, 10, - kwargs.get("so", 0) + kwargs.get("so", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable.py index 730b1dcd7..f52507768 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,14 +79,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssfac", float, 30, 10, - kwargs.get("ssfac", 1.0) + kwargs.get("ssfac", 1.0 if use_lspp_defaults() else None) ), Field( "fric", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable_set.py index dfe2188c4..d32831c1f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_guided_cable_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,14 +79,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssfac", float, 30, 10, - kwargs.get("ssfac", 1.0) + kwargs.get("ssfac", 1.0 if use_lspp_defaults() else None) ), Field( "fric", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_interior.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_interior.py index e1b3e9a3c..1816c255b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_interior.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_interior.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface.py index 261c598ed..3034a3eb2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_interference.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_interference.py index 6f1cdad8b..33e7eea66 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_interference.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_interference.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,14 +227,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid1", 0) + kwargs.get("lcid1", 0 if use_lspp_defaults() else None) ), Field( "lcid2", int, 10, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_smooth.py index daff5f29f..b91b9e10b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nodes_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_edge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_edge.py index 4602e5697..79a1f2a7f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_edge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_edge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,21 +79,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "cform", int, 40, 10, - kwargs.get("cform", 0) + kwargs.get("cform", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_surface.py index e50b5108e..db04106e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_edge_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,21 +79,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "cform", int, 40, 10, - kwargs.get("cform", 0) + kwargs.get("cform", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_nodes_to_surface.py index b8673c833..0036ef984 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_nurbs_tied_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -78,21 +79,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "cform", int, 40, 10, - kwargs.get("cform", 0) + kwargs.get("cform", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface.py index 9fb74f301..f76c057f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_interference.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_interference.py index c12655f9b..73aa4db54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_interference.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_interference.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,14 +227,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid1", 0) + kwargs.get("lcid1", 0 if use_lspp_defaults() else None) ), Field( "lcid2", int, 10, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_smooth.py index 0726daac6..3b6c490b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_one_way_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_one_way_to_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_one_way_to_rigid_body.py index 0b52fb7db..9df7af7b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_one_way_to_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_one_way_to_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fcm", 1) + kwargs.get("fcm", 1 if use_lspp_defaults() else None) ), Field( "us", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_two_way_to_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_two_way_to_rigid_body.py index b476c6ed7..4ef7bd126 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_two_way_to_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_body_two_way_to_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fcm", 1) + kwargs.get("fcm", 1 if use_lspp_defaults() else None) ), Field( "us", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_nodes_to_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_nodes_to_rigid_body.py index 219485f9e..ad3fac6b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_nodes_to_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_nodes_to_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fcm", 1) + kwargs.get("fcm", 1 if use_lspp_defaults() else None) ), Field( "us", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_surface.py index 6246df8a1..b80f58822 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_rigid_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,7 +61,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "segid", @@ -74,28 +75,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 70, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidx", 0) + kwargs.get("lcidx", 0 if use_lspp_defaults() else None) ), Field( "lcidy", int, 10, 10, - kwargs.get("lcidy", 0) + kwargs.get("lcidy", 0 if use_lspp_defaults() else None) ), Field( "lcidz", int, 20, 10, - kwargs.get("lcidz", 0) + kwargs.get("lcidz", 0 if use_lspp_defaults() else None) ), Field( "fslcid", int, 30, 10, - kwargs.get("fslcid", 0) + kwargs.get("fslcid", 0 if use_lspp_defaults() else None) ), Field( "fdlcid", int, 40, 10, - kwargs.get("fdlcid", 0) + kwargs.get("fdlcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -145,42 +146,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), Field( "stthk", float, 10, 10, - kwargs.get("stthk", 0.0) + kwargs.get("stthk", 0.0 if use_lspp_defaults() else None) ), Field( "sfthk", float, 20, 10, - kwargs.get("sfthk", 1.0) + kwargs.get("sfthk", 1.0 if use_lspp_defaults() else None) ), Field( "xpene", float, 30, 10, - kwargs.get("xpene", 4.0) + kwargs.get("xpene", 4.0 if use_lspp_defaults() else None) ), Field( "bsort", float, 40, 10, - kwargs.get("bsort", 10.0) + kwargs.get("bsort", 10.0 if use_lspp_defaults() else None) ), Field( "ctype", int, 50, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_edge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_edge.py index 23a081324..a5a26e4ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_edge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_edge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_surface.py index 2f27b9507..430a99183 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only.py index 21ca8e7b0..4b1eeb900 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only_penalty.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only_penalty.py index bc76ca5cd..a6d3a861a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only_penalty.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_sliding_only_penalty.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spg.py index bdb6ed206..245601fe1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld.py index f7e75000e..b8bb308db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_beam_offset.py index 3b5dd583e..a754baea6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_with_torsion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_with_torsion.py index 04414ff6e..0ab3f9130 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_with_torsion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_spotweld_with_torsion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface.py index ce6d74dfb..294cad0d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_contraction_joint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_contraction_joint.py index 133ad3472..1c92918e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_contraction_joint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_contraction_joint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,42 +227,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mtcj", 0) + kwargs.get("mtcj", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 10, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "tsvx", float, 30, 10, - kwargs.get("tsvx", 0.0) + kwargs.get("tsvx", 0.0 if use_lspp_defaults() else None) ), Field( "tsvy", float, 40, 10, - kwargs.get("tsvy", 0) + kwargs.get("tsvy", 0 if use_lspp_defaults() else None) ), Field( "tsvz", float, 50, 10, - kwargs.get("tsvz", 0) + kwargs.get("tsvz", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_interference.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_interference.py index 5dd6d6dfb..3a73b39db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_interference.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_interference.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -226,14 +227,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid1", 0) + kwargs.get("lcid1", 0 if use_lspp_defaults() else None) ), Field( "lcid2", int, 10, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_smooth.py index cd2df22e0..f208fd003 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_thermal_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_thermal_friction.py index 3838b04aa..2aaa05718 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_thermal_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_surface_to_surface_thermal_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -261,7 +262,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ftosa", 0.5) + kwargs.get("ftosa", 0.5 if use_lspp_defaults() else None) ), Field( "bc_flg", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_only.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_only.py index 55c3231f3..a6f1a3003 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_only.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_only.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_to_surface.py index 63d9d54b1..89b588098 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface.py index 8be9d2d7e..07983b899 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -240,14 +241,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("tblcid", 0) + kwargs.get("tblcid", 0 if use_lspp_defaults() else None) ), Field( "thkoff", int, 30, 10, - kwargs.get("thkoff", 0) + kwargs.get("thkoff", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface_only.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface_only.py index 7f073b9cb..23264098b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface_only.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tiebreak_surface_to_surface_only.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -240,14 +241,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("tblcid", 0) + kwargs.get("tblcid", 0 if use_lspp_defaults() else None) ), Field( "thkoff", int, 30, 10, - kwargs.get("thkoff", 0) + kwargs.get("thkoff", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface.py index 160651768..d5b3104c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_constrained_offset.py index 518db5add..099a0b425 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_offset.py index 3fa2095aa..61a873956 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_nodes_to_surface_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to.py index c0d34db49..61ec0be72 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid.py index a555d2490..ea2d186e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_beam_offset.py index a895f45b5..2e4714daa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_constrained_offset.py index c2c3aa91e..1dd9c7209 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_offset.py index dd001f1b2..62e10ddfd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_solid_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface.py index 230332156..7c27b7943 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_beam_offset.py index 93a7fe5eb..b550c93da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,14 +68,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -95,14 +96,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -113,35 +114,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -155,14 +156,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -173,14 +174,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -201,28 +202,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_constrained_offset.py index c9758ede7..b747826c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_offset.py index dfbf5ec35..c24fedb95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_shell_edge_to_surface_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface.py index 6e351bf26..70b1a703e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_constrained_offset.py index d4c8232ba..f6b2b4024 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_failure.py index 360b9a190..2d3d3a7e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_offset.py index 7e2115d0e..0e3743793 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/contact_tied_surface_to_surface_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -60,14 +61,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("surfatyp", 0) + kwargs.get("surfatyp", 0 if use_lspp_defaults() else None) ), Field( "surfbtyp", int, 30, 10, - kwargs.get("surfbtyp", 0) + kwargs.get("surfbtyp", 0 if use_lspp_defaults() else None) ), Field( "saboxid", @@ -88,14 +89,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("sapr", 0) + kwargs.get("sapr", 0 if use_lspp_defaults() else None) ), Field( "sbpr", int, 70, 10, - kwargs.get("sbpr", 0) + kwargs.get("sbpr", 0 if use_lspp_defaults() else None) ), ], ), @@ -106,35 +107,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 10, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 20, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), Field( "vc", float, 30, 10, - kwargs.get("vc", 0.0) + kwargs.get("vc", 0.0 if use_lspp_defaults() else None) ), Field( "vdc", float, 40, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "penchk", @@ -148,14 +149,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -166,14 +167,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfsa", 1.0) + kwargs.get("sfsa", 1.0 if use_lspp_defaults() else None) ), Field( "sfsb", float, 10, 10, - kwargs.get("sfsb", 1.0) + kwargs.get("sfsb", 1.0 if use_lspp_defaults() else None) ), Field( "sast", @@ -194,28 +195,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfsat", 1.0) + kwargs.get("sfsat", 1.0 if use_lspp_defaults() else None) ), Field( "sfsbt", float, 50, 10, - kwargs.get("sfsbt", 1.0) + kwargs.get("sfsbt", 1.0 if use_lspp_defaults() else None) ), Field( "fsf", float, 60, 10, - kwargs.get("fsf", 1.0) + kwargs.get("fsf", 1.0 if use_lspp_defaults() else None) ), Field( "vsf", float, 70, 10, - kwargs.get("vsf", 1.0) + kwargs.get("vsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_2d_remeshing_region.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_2d_remeshing_region.py index 9515d2115..1995e84e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_2d_remeshing_region.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_2d_remeshing_region.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Control2DRemeshingRegion(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("par1", 0.0) + kwargs.get("par1", 0.0 if use_lspp_defaults() else None) ), Field( "par2", float, 20, 10, - kwargs.get("par2", 0.0) + kwargs.get("par2", 0.0 if use_lspp_defaults() else None) ), Field( "par3", float, 30, 10, - kwargs.get("par3", 0.0) + kwargs.get("par3", 0.0 if use_lspp_defaults() else None) ), Field( "par4", float, 40, 10, - kwargs.get("par4", 0.0) + kwargs.get("par4", 0.0 if use_lspp_defaults() else None) ), Field( "par5", float, 50, 10, - kwargs.get("par5", 0.0) + kwargs.get("par5", 0.0 if use_lspp_defaults() else None) ), Field( "par6", float, 60, 10, - kwargs.get("par6", 0.0) + kwargs.get("par6", 0.0 if use_lspp_defaults() else None) ), Field( "par7", float, 70, 10, - kwargs.get("par7", 0.0) + kwargs.get("par7", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_accuracy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_accuracy.py index 8b95ab17f..5d0162c9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_accuracy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_accuracy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAccuracy(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("osu", 0) + kwargs.get("osu", 0 if use_lspp_defaults() else None) ), Field( "inn", int, 10, 10, - kwargs.get("inn", 1) + kwargs.get("inn", 1 if use_lspp_defaults() else None) ), Field( "pidosu", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic.py index b1e045a6d..8f289e1bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAcoustic(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("macdvp", 0) + kwargs.get("macdvp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_coupling.py index 1d27330fb..8f5bbb4b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAcousticCoupling(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maccpl", 3) + kwargs.get("maccpl", 3 if use_lspp_defaults() else None) ), Field( "acecf1", float, 10, 10, - kwargs.get("acecf1", 1.5) + kwargs.get("acecf1", 1.5 if use_lspp_defaults() else None) ), Field( "acecf2", float, 20, 10, - kwargs.get("acecf2", 0.79) + kwargs.get("acecf2", 0.79 if use_lspp_defaults() else None) ), Field( "acecf3", float, 30, 10, - kwargs.get("acecf3", 0.5) + kwargs.get("acecf3", 0.5 if use_lspp_defaults() else None) ), Field( "acecf4", float, 40, 10, - kwargs.get("acecf4", 0.95) + kwargs.get("acecf4", 0.95 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_spectral.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_spectral.py index 4ece21ec5..e55d53e10 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_spectral.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_acoustic_spectral.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAcousticSpectral(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("masehrf", 0) + kwargs.get("masehrf", 0 if use_lspp_defaults() else None) ), Field( "masekfl", int, 20, 10, - kwargs.get("masekfl", 0) + kwargs.get("masekfl", 0 if use_lspp_defaults() else None) ), Field( "maseigx", int, 30, 10, - kwargs.get("maseigx", 1) + kwargs.get("maseigx", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapstep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapstep.py index b224a266c..58bf5b1e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapstep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapstep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAdapstep(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("factin", 1.0) + kwargs.get("factin", 1.0 if use_lspp_defaults() else None) ), Field( "dfactr", float, 10, 10, - kwargs.get("dfactr", 0.01) + kwargs.get("dfactr", 0.01 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapt.py index d358d4896..c493b4e18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adapt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAdapt(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("adptol", 1.0E+20) + kwargs.get("adptol", 1.0E+20 if use_lspp_defaults() else None) ), Field( "adptyp", int, 20, 10, - kwargs.get("adptyp", 1) + kwargs.get("adptyp", 1 if use_lspp_defaults() else None) ), Field( "maxlvl", int, 30, 10, - kwargs.get("maxlvl", 3) + kwargs.get("maxlvl", 3 if use_lspp_defaults() else None) ), Field( "tbirth", float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "lcadp", int, 60, 10, - kwargs.get("lcadp", 0) + kwargs.get("lcadp", 0 if use_lspp_defaults() else None) ), Field( "ioflag", int, 70, 10, - kwargs.get("ioflag", 0) + kwargs.get("ioflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("adpsize", 0.0) + kwargs.get("adpsize", 0.0 if use_lspp_defaults() else None) ), Field( "adpass", int, 10, 10, - kwargs.get("adpass", 0) + kwargs.get("adpass", 0 if use_lspp_defaults() else None) ), Field( "ireflg", int, 20, 10, - kwargs.get("ireflg", 0) + kwargs.get("ireflg", 0 if use_lspp_defaults() else None) ), Field( "adpene", float, 30, 10, - kwargs.get("adpene", 0.0) + kwargs.get("adpene", 0.0 if use_lspp_defaults() else None) ), Field( "adpth", float, 40, 10, - kwargs.get("adpth", 0.0) + kwargs.get("adpth", 0.0 if use_lspp_defaults() else None) ), Field( "memory", int, 50, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "orient", int, 60, 10, - kwargs.get("orient", 0) + kwargs.get("orient", 0 if use_lspp_defaults() else None) ), Field( "maxel", int, 70, 10, - kwargs.get("maxel", 0) + kwargs.get("maxel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive.py index 9223094d9..5a54f2b8f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAdaptive(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("adptol", 1.0E+20) + kwargs.get("adptol", 1.0E+20 if use_lspp_defaults() else None) ), Field( "adptyp", int, 20, 10, - kwargs.get("adptyp", 1) + kwargs.get("adptyp", 1 if use_lspp_defaults() else None) ), Field( "maxlvl", int, 30, 10, - kwargs.get("maxlvl", 3) + kwargs.get("maxlvl", 3 if use_lspp_defaults() else None) ), Field( "tbirth", float, 40, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 50, 10, - kwargs.get("tdeath", 1.0E+20) + kwargs.get("tdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "lcadp", int, 60, 10, - kwargs.get("lcadp", 0) + kwargs.get("lcadp", 0 if use_lspp_defaults() else None) ), Field( "ioflag", int, 70, 10, - kwargs.get("ioflag", 0) + kwargs.get("ioflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("adpsize", 0.0) + kwargs.get("adpsize", 0.0 if use_lspp_defaults() else None) ), Field( "adpass", int, 10, 10, - kwargs.get("adpass", 0) + kwargs.get("adpass", 0 if use_lspp_defaults() else None) ), Field( "ireflg", int, 20, 10, - kwargs.get("ireflg", 0) + kwargs.get("ireflg", 0 if use_lspp_defaults() else None) ), Field( "adpene", float, 30, 10, - kwargs.get("adpene", 0.0) + kwargs.get("adpene", 0.0 if use_lspp_defaults() else None) ), Field( "adpth", float, 40, 10, - kwargs.get("adpth", 0.0) + kwargs.get("adpth", 0.0 if use_lspp_defaults() else None) ), Field( "memory", int, 50, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "orient", int, 60, 10, - kwargs.get("orient", 0) + kwargs.get("orient", 0 if use_lspp_defaults() else None) ), Field( "maxel", int, 70, 10, - kwargs.get("maxel", 0) + kwargs.get("maxel", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ladpn90", 0) + kwargs.get("ladpn90", 0 if use_lspp_defaults() else None) ), Field( "ladpgh", int, 10, 10, - kwargs.get("ladpgh", 0) + kwargs.get("ladpgh", 0 if use_lspp_defaults() else None) ), Field( "ncfred", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ladpcl", 1) + kwargs.get("ladpcl", 1 if use_lspp_defaults() else None) ), Field( "adpctl", @@ -195,14 +196,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("cbirth", 0.0) + kwargs.get("cbirth", 0.0 if use_lspp_defaults() else None) ), Field( "cdeath", float, 60, 10, - kwargs.get("cdeath", 1.0E+20) + kwargs.get("cdeath", 1.0E+20 if use_lspp_defaults() else None) ), Field( "lclvl", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cnla", 110.0) + kwargs.get("cnla", 110.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -241,35 +242,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("mmm2d", 0) + kwargs.get("mmm2d", 0 if use_lspp_defaults() else None) ), Field( "adperr", str, 40, 10, - kwargs.get("adperr", "0") + kwargs.get("adperr", "0" if use_lspp_defaults() else None) ), Field( "d3trace", int, 50, 10, - kwargs.get("d3trace", 0) + kwargs.get("d3trace", 0 if use_lspp_defaults() else None) ), Field( "iadpcf", int, 60, 10, - kwargs.get("iadpcf", 0) + kwargs.get("iadpcf", 0 if use_lspp_defaults() else None) ), Field( "ifsand", int, 70, 10, - kwargs.get("ifsand", 0) + kwargs.get("ifsand", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive_curve.py index 45e41889a..024c99a64 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_adaptive_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAdaptiveCurve(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), Field( "n", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("itriop", 0) + kwargs.get("itriop", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_airbag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_airbag.py index 3d50a173a..71951d014 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_airbag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_airbag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAirbag(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ckerr", 0) + kwargs.get("ckerr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_ale.py index 98cb1cf44..0b042d456 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlAle(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dct", 1) + kwargs.get("dct", 1 if use_lspp_defaults() else None) ), Field( "nadv", int, 10, 10, - kwargs.get("nadv", 1) + kwargs.get("nadv", 1 if use_lspp_defaults() else None) ), Field( "meth", int, 20, 10, - kwargs.get("meth", 2) + kwargs.get("meth", 2 if use_lspp_defaults() else None) ), Field( "afac", float, 30, 10, - kwargs.get("afac", 0.0) + kwargs.get("afac", 0.0 if use_lspp_defaults() else None) ), Field( "bfac", float, 40, 10, - kwargs.get("bfac", 0.0) + kwargs.get("bfac", 0.0 if use_lspp_defaults() else None) ), Field( "cfac", float, 50, 10, - kwargs.get("cfac", 0.0) + kwargs.get("cfac", 0.0 if use_lspp_defaults() else None) ), Field( "dfac", float, 60, 10, - kwargs.get("dfac", 0.0) + kwargs.get("dfac", 0.0 if use_lspp_defaults() else None) ), Field( "efac", float, 70, 10, - kwargs.get("efac", 0.0) + kwargs.get("efac", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 10, 10, - kwargs.get("end", 1.0E+20) + kwargs.get("end", 1.0E+20 if use_lspp_defaults() else None) ), Field( "aafac", float, 20, 10, - kwargs.get("aafac", 1.0) + kwargs.get("aafac", 1.0 if use_lspp_defaults() else None) ), Field( "vfact", float, 30, 10, - kwargs.get("vfact", 1.0E-06) + kwargs.get("vfact", 1.0E-06 if use_lspp_defaults() else None) ), Field( "prit", int, 40, 10, - kwargs.get("prit", 0) + kwargs.get("prit", 0 if use_lspp_defaults() else None) ), Field( "ebc", int, 50, 10, - kwargs.get("ebc", 0) + kwargs.get("ebc", 0 if use_lspp_defaults() else None) ), Field( "pref", float, 60, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), Field( "nsidebc", @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ncpl", 1) + kwargs.get("ncpl", 1 if use_lspp_defaults() else None) ), Field( "nbkt", int, 10, 10, - kwargs.get("nbkt", 50) + kwargs.get("nbkt", 50 if use_lspp_defaults() else None) ), Field( "imascl", int, 20, 10, - kwargs.get("imascl", 0) + kwargs.get("imascl", 0 if use_lspp_defaults() else None) ), Field( "checkr", float, 30, 10, - kwargs.get("checkr", 0.0) + kwargs.get("checkr", 0.0 if use_lspp_defaults() else None) ), Field( "beamin", float, 40, 10, - kwargs.get("beamin", 0.0) + kwargs.get("beamin", 0.0 if use_lspp_defaults() else None) ), Field( "mmgpref", int, 50, 10, - kwargs.get("mmgpref", 0) + kwargs.get("mmgpref", 0 if use_lspp_defaults() else None) ), Field( "pdifmx", float, 60, 10, - kwargs.get("pdifmx", 0.0) + kwargs.get("pdifmx", 0.0 if use_lspp_defaults() else None) ), Field( "dtmufac", float, 70, 10, - kwargs.get("dtmufac", 0.0) + kwargs.get("dtmufac", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -220,28 +221,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("optimpp", 0) + kwargs.get("optimpp", 0 if use_lspp_defaults() else None) ), Field( "ialedr", int, 10, 10, - kwargs.get("ialedr", 0) + kwargs.get("ialedr", 0 if use_lspp_defaults() else None) ), Field( "bndflx", int, 20, 10, - kwargs.get("bndflx", 0) + kwargs.get("bndflx", 0 if use_lspp_defaults() else None) ), Field( "minmas", float, 30, 10, - kwargs.get("minmas", 1.0E-5) + kwargs.get("minmas", 1.0E-5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_bulk_viscosity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_bulk_viscosity.py index dc456b04a..698e9308e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_bulk_viscosity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_bulk_viscosity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlBulkViscosity(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("q1", 1.5) + kwargs.get("q1", 1.5 if use_lspp_defaults() else None) ), Field( "q2", float, 10, 10, - kwargs.get("q2", 0.06) + kwargs.get("q2", 0.06 if use_lspp_defaults() else None) ), Field( "type", int, 20, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "btype", int, 30, 10, - kwargs.get("btype", 0) + kwargs.get("btype", 0 if use_lspp_defaults() else None) ), Field( "tstype", int, 40, 10, - kwargs.get("tstype", 0) + kwargs.get("tstype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check.py index 394579e20..f3021aa23 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCheck(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "ifauto", int, 10, 10, - kwargs.get("ifauto", 0) + kwargs.get("ifauto", 0 if use_lspp_defaults() else None) ), Field( "convex", int, 20, 10, - kwargs.get("convex", 1) + kwargs.get("convex", 1 if use_lspp_defaults() else None) ), Field( "adpt", int, 30, 10, - kwargs.get("adpt", 1) + kwargs.get("adpt", 1 if use_lspp_defaults() else None) ), Field( "aratio", float, 40, 10, - kwargs.get("aratio", 0.25) + kwargs.get("aratio", 0.25 if use_lspp_defaults() else None) ), Field( "angke", float, 50, 10, - kwargs.get("angke", 150.0) + kwargs.get("angke", 150.0 if use_lspp_defaults() else None) ), Field( "smin", float, 60, 10, - kwargs.get("smin", 0.0) + kwargs.get("smin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check_shell.py index deac7608b..747429cd2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_check_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCheckShell(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "ifauto", int, 10, 10, - kwargs.get("ifauto", 0) + kwargs.get("ifauto", 0 if use_lspp_defaults() else None) ), Field( "convex", int, 20, 10, - kwargs.get("convex", 1) + kwargs.get("convex", 1 if use_lspp_defaults() else None) ), Field( "adpt", int, 30, 10, - kwargs.get("adpt", 1) + kwargs.get("adpt", 1 if use_lspp_defaults() else None) ), Field( "aratio", float, 40, 10, - kwargs.get("aratio", 0.25) + kwargs.get("aratio", 0.25 if use_lspp_defaults() else None) ), Field( "angke", float, 50, 10, - kwargs.get("angke", 150.0) + kwargs.get("angke", 150.0 if use_lspp_defaults() else None) ), Field( "smin", float, 60, 10, - kwargs.get("smin", 0.0) + kwargs.get("smin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coarsen.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coarsen.py index 3338afa2f..4bd46e6af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coarsen.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coarsen.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCoarsen(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icoarse", 0) + kwargs.get("icoarse", 0 if use_lspp_defaults() else None) ), Field( "angle", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nseed", 0) + kwargs.get("nseed", 0 if use_lspp_defaults() else None) ), Field( "psid", @@ -79,56 +80,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 10, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 20, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 30, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), Field( "n5", int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "n7", int, 60, 10, - kwargs.get("n7", 0) + kwargs.get("n7", 0 if use_lspp_defaults() else None) ), Field( "n8", int, 70, 10, - kwargs.get("n8", 0) + kwargs.get("n8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_constranined.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_constranined.py index 922273760..ff09ad96a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_constranined.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_constranined.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlConstranined(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sprchk", 0) + kwargs.get("sprchk", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_contact.py index 52821c91d..b7c946ccc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlContact(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("slsfac", 0.1) + kwargs.get("slsfac", 0.1 if use_lspp_defaults() else None) ), Field( "rwpnal", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("islchk", 1) + kwargs.get("islchk", 1 if use_lspp_defaults() else None) ), Field( "shlthk", int, 30, 10, - kwargs.get("shlthk", 0) + kwargs.get("shlthk", 0 if use_lspp_defaults() else None) ), Field( "penopt", int, 40, 10, - kwargs.get("penopt", 1) + kwargs.get("penopt", 1 if use_lspp_defaults() else None) ), Field( "thkchg", int, 50, 10, - kwargs.get("thkchg", 0) + kwargs.get("thkchg", 0 if use_lspp_defaults() else None) ), Field( "orien", int, 60, 10, - kwargs.get("orien", 1) + kwargs.get("orien", 1 if use_lspp_defaults() else None) ), Field( "enmass", int, 70, 10, - kwargs.get("enmass", 0) + kwargs.get("enmass", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usrstr", 0) + kwargs.get("usrstr", 0 if use_lspp_defaults() else None) ), Field( "usrfrc", int, 10, 10, - kwargs.get("usrfrc", 0) + kwargs.get("usrfrc", 0 if use_lspp_defaults() else None) ), Field( "nsbcs", int, 20, 10, - kwargs.get("nsbcs", 0) + kwargs.get("nsbcs", 0 if use_lspp_defaults() else None) ), Field( "interm", int, 30, 10, - kwargs.get("interm", 0) + kwargs.get("interm", 0 if use_lspp_defaults() else None) ), Field( "xpene", float, 40, 10, - kwargs.get("xpene", 4.0) + kwargs.get("xpene", 4.0 if use_lspp_defaults() else None) ), Field( "ssthk", int, 50, 10, - kwargs.get("ssthk", 0) + kwargs.get("ssthk", 0 if use_lspp_defaults() else None) ), Field( "ecdt", int, 60, 10, - kwargs.get("ecdt", 0) + kwargs.get("ecdt", 0 if use_lspp_defaults() else None) ), Field( "tiedprj", int, 70, 10, - kwargs.get("tiedprj", 0) + kwargs.get("tiedprj", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,49 +161,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfric", 0.0) + kwargs.get("sfric", 0.0 if use_lspp_defaults() else None) ), Field( "dfric", float, 10, 10, - kwargs.get("dfric", 0.0) + kwargs.get("dfric", 0.0 if use_lspp_defaults() else None) ), Field( "edc", float, 20, 10, - kwargs.get("edc", 0.0) + kwargs.get("edc", 0.0 if use_lspp_defaults() else None) ), Field( "vfc", float, 30, 10, - kwargs.get("vfc", 0.0) + kwargs.get("vfc", 0.0 if use_lspp_defaults() else None) ), Field( "th", float, 40, 10, - kwargs.get("th", 0.0) + kwargs.get("th", 0.0 if use_lspp_defaults() else None) ), Field( "th_sf", float, 50, 10, - kwargs.get("th_sf", 0.0) + kwargs.get("th_sf", 0.0 if use_lspp_defaults() else None) ), Field( "pen_sf", float, 60, 10, - kwargs.get("pen_sf", 0.0) + kwargs.get("pen_sf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -213,42 +214,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ignore", 0) + kwargs.get("ignore", 0 if use_lspp_defaults() else None) ), Field( "frceng", int, 10, 10, - kwargs.get("frceng", 0) + kwargs.get("frceng", 0 if use_lspp_defaults() else None) ), Field( "skiprwg", int, 20, 10, - kwargs.get("skiprwg", 0) + kwargs.get("skiprwg", 0 if use_lspp_defaults() else None) ), Field( "outseg", int, 30, 10, - kwargs.get("outseg", 0) + kwargs.get("outseg", 0 if use_lspp_defaults() else None) ), Field( "spotstp", int, 40, 10, - kwargs.get("spotstp", 0) + kwargs.get("spotstp", 0 if use_lspp_defaults() else None) ), Field( "spotdel", int, 50, 10, - kwargs.get("spotdel", 0) + kwargs.get("spotdel", 0 if use_lspp_defaults() else None) ), Field( "spothin", @@ -266,56 +267,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "nserod", int, 10, 10, - kwargs.get("nserod", 0) + kwargs.get("nserod", 0 if use_lspp_defaults() else None) ), Field( "rwgaps", int, 20, 10, - kwargs.get("rwgaps", 1) + kwargs.get("rwgaps", 1 if use_lspp_defaults() else None) ), Field( "rwgdth", float, 30, 10, - kwargs.get("rwgdth", 0.0) + kwargs.get("rwgdth", 0.0 if use_lspp_defaults() else None) ), Field( "rwksf", float, 40, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), Field( "icov", int, 50, 10, - kwargs.get("icov", 0) + kwargs.get("icov", 0 if use_lspp_defaults() else None) ), Field( "swradf", float, 60, 10, - kwargs.get("swradf", 0.0) + kwargs.get("swradf", 0.0 if use_lspp_defaults() else None) ), Field( "ithoff", int, 70, 10, - kwargs.get("ithoff", 0) + kwargs.get("ithoff", 0 if use_lspp_defaults() else None) ), ], ), @@ -326,35 +327,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("shledg", 0) + kwargs.get("shledg", 0 if use_lspp_defaults() else None) ), Field( "pstiff", int, 10, 10, - kwargs.get("pstiff", 0) + kwargs.get("pstiff", 0 if use_lspp_defaults() else None) ), Field( "ithcnt", int, 20, 10, - kwargs.get("ithcnt", 0) + kwargs.get("ithcnt", 0 if use_lspp_defaults() else None) ), Field( "tdcnof", int, 30, 10, - kwargs.get("tdcnof", 0) + kwargs.get("tdcnof", 0 if use_lspp_defaults() else None) ), Field( "ftall", int, 40, 10, - kwargs.get("ftall", 0) + kwargs.get("ftall", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -368,14 +369,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("shltrw", 0.0) + kwargs.get("shltrw", 0.0 if use_lspp_defaults() else None) ), Field( "igactc", int, 70, 10, - kwargs.get("igactc", 0) + kwargs.get("igactc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coupling.py index fce9009a7..2a25820cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCoupling(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unleng", 1.0) + kwargs.get("unleng", 1.0 if use_lspp_defaults() else None) ), Field( "untime", float, 10, 10, - kwargs.get("untime", 1.0) + kwargs.get("untime", 1.0 if use_lspp_defaults() else None) ), Field( "unforc", float, 20, 10, - kwargs.get("unforc", 1.0) + kwargs.get("unforc", 1.0 if use_lspp_defaults() else None) ), Field( "timidl", float, 30, 10, - kwargs.get("timidl", 0.0) + kwargs.get("timidl", 0.0 if use_lspp_defaults() else None) ), Field( "flipx", int, 40, 10, - kwargs.get("flipx", 0) + kwargs.get("flipx", 0 if use_lspp_defaults() else None) ), Field( "flipy", int, 50, 10, - kwargs.get("flipy", 0) + kwargs.get("flipy", 0 if use_lspp_defaults() else None) ), Field( "flipz", int, 60, 10, - kwargs.get("flipz", 0) + kwargs.get("flipz", 0 if use_lspp_defaults() else None) ), Field( "subcyl", int, 70, 10, - kwargs.get("subcyl", 1) + kwargs.get("subcyl", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpm.py index 25bcc7d8b..d8c3106f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCpm(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cpmout", 11) + kwargs.get("cpmout", 11 if use_lspp_defaults() else None) ), Field( "np2p", int, 10, 10, - kwargs.get("np2p", 5) + kwargs.get("np2p", 5 if use_lspp_defaults() else None) ), Field( "ncpmts", int, 20, 10, - kwargs.get("ncpmts", 0) + kwargs.get("ncpmts", 0 if use_lspp_defaults() else None) ), Field( "cpmerr", int, 30, 10, - kwargs.get("cpmerr", 0) + kwargs.get("cpmerr", 0 if use_lspp_defaults() else None) ), Field( "sffdc", float, 40, 10, - kwargs.get("sffdc", 1.0) + kwargs.get("sffdc", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("cpmmf", 0) + kwargs.get("cpmmf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpu.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpu.py index b7f748a4c..e4d3ae90d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpu.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cpu.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCpu(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cputim", 0.0) + kwargs.get("cputim", 0.0 if use_lspp_defaults() else None) ), Field( "iglst", int, 0, 10, - kwargs.get("iglst", 0) + kwargs.get("iglst", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_deformed_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_deformed_geometry.py index 961099a97..0e7260444 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_deformed_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_deformed_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCrMppDecompositionDeformedGeometry(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_flag_stress_strain_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_flag_stress_strain_curve.py index a64b79e74..37bfb8ee7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_flag_stress_strain_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_decomposition_flag_stress_strain_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCrMppDecompositionFlagStressStrainCurve(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_material_model_driver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_material_model_driver.py index 1968ac578..c2cd6b931 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_material_model_driver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_cr_mpp_material_model_driver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlCrMppMaterialModelDriver(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_damping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_damping.py index 77a118343..c312b2af8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_damping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_damping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlDamping(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nrcyck", 250) + kwargs.get("nrcyck", 250 if use_lspp_defaults() else None) ), Field( "drtol", float, 10, 10, - kwargs.get("drtol", 1.0E-03) + kwargs.get("drtol", 1.0E-03 if use_lspp_defaults() else None) ), Field( "drfctr", float, 20, 10, - kwargs.get("drfctr", 9.95E-01) + kwargs.get("drfctr", 9.95E-01 if use_lspp_defaults() else None) ), Field( "drterm", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tssfdr", 0.0) + kwargs.get("tssfdr", 0.0 if use_lspp_defaults() else None) ), Field( "irelal", int, 50, 10, - kwargs.get("irelal", 0) + kwargs.get("irelal", 0 if use_lspp_defaults() else None) ), Field( "edttl", float, 60, 10, - kwargs.get("edttl", 4.0E-02) + kwargs.get("edttl", 4.0E-02 if use_lspp_defaults() else None) ), Field( "idrflg", int, 70, 10, - kwargs.get("idrflg", 0) + kwargs.get("idrflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("drpset", 0) + kwargs.get("drpset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_debug.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_debug.py index 402294f64..4c95b1b37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_debug.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_debug.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlDebug(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_discrete_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_discrete_element.py index 514559053..9c7bce47a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_discrete_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_discrete_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlDiscreteElement(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ndamp", 0.0) + kwargs.get("ndamp", 0.0 if use_lspp_defaults() else None) ), Field( "tdamp", float, 10, 10, - kwargs.get("tdamp", 0.0) + kwargs.get("tdamp", 0.0 if use_lspp_defaults() else None) ), Field( "frics", float, 20, 10, - kwargs.get("frics", 0.0) + kwargs.get("frics", 0.0 if use_lspp_defaults() else None) ), Field( "fricr", float, 30, 10, - kwargs.get("fricr", 0.0) + kwargs.get("fricr", 0.0 if use_lspp_defaults() else None) ), Field( "normk", float, 40, 10, - kwargs.get("normk", 0.01) + kwargs.get("normk", 0.01 if use_lspp_defaults() else None) ), Field( "sheark", float, 50, 10, - kwargs.get("sheark", 0.0) + kwargs.get("sheark", 0.0 if use_lspp_defaults() else None) ), Field( "cap", int, 60, 10, - kwargs.get("cap", 0) + kwargs.get("cap", 0 if use_lspp_defaults() else None) ), Field( "vtk", int, 70, 10, - kwargs.get("vtk", 0) + kwargs.get("vtk", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,28 +101,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gamma", 0.0) + kwargs.get("gamma", 0.0 if use_lspp_defaults() else None) ), Field( "vol", float, 10, 10, - kwargs.get("vol", 0.0) + kwargs.get("vol", 0.0 if use_lspp_defaults() else None) ), Field( "ang", float, 20, 10, - kwargs.get("ang", 0.0) + kwargs.get("ang", 0.0 if use_lspp_defaults() else None) ), Field( "gap", float, 30, 10, - kwargs.get("gap", 0.0) + kwargs.get("gap", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ignore", 0) + kwargs.get("ignore", 0 if use_lspp_defaults() else None) ), Field( "nbuf", int, 60, 10, - kwargs.get("nbuf", 6) + kwargs.get("nbuf", 6 if use_lspp_defaults() else None) ), Field( "parallel", int, 70, 10, - kwargs.get("parallel", 0) + kwargs.get("parallel", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lnorm", 0) + kwargs.get("lnorm", 0 if use_lspp_defaults() else None) ), Field( "lshear", int, 10, 10, - kwargs.get("lshear", 0) + kwargs.get("lshear", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -181,35 +182,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fricd", 0) + kwargs.get("fricd", 0 if use_lspp_defaults() else None) ), Field( "dc", float, 40, 10, - kwargs.get("dc", 0) + kwargs.get("dc", 0 if use_lspp_defaults() else None) ), Field( "ncrb", int, 50, 10, - kwargs.get("ncrb", 0) + kwargs.get("ncrb", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 60, 10, - kwargs.get("bt", 0) + kwargs.get("bt", 0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.0E+20) + kwargs.get("dt", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -220,21 +221,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp", 0.0) + kwargs.get("cp", 0.0 if use_lspp_defaults() else None) ), Field( "tc", float, 10, 10, - kwargs.get("tc", 0.0) + kwargs.get("tc", 0.0 if use_lspp_defaults() else None) ), Field( "tfac", float, 20, 10, - kwargs.get("tfac", 0.0) + kwargs.get("tfac", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -245,14 +246,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idesoft", 0) + kwargs.get("idesoft", 0 if use_lspp_defaults() else None) ), Field( "sofscl", float, 10, 10, - kwargs.get("sofscl", 0.1) + kwargs.get("sofscl", 0.1 if use_lspp_defaults() else None) ), Field( "unused", @@ -266,14 +267,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("iskip", 0) + kwargs.get("iskip", 0 if use_lspp_defaults() else None) ), Field( "maxnei", int, 40, 10, - kwargs.get("maxnei", 20) + kwargs.get("maxnei", 20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_dynamic_relaxation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_dynamic_relaxation.py index 8e4e248b0..2d694c69b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_dynamic_relaxation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_dynamic_relaxation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlDynamicRelaxation(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nrcyck", 250) + kwargs.get("nrcyck", 250 if use_lspp_defaults() else None) ), Field( "drtol", float, 10, 10, - kwargs.get("drtol", 1.0E-03) + kwargs.get("drtol", 1.0E-03 if use_lspp_defaults() else None) ), Field( "drfctr", float, 20, 10, - kwargs.get("drfctr", 9.95E-01) + kwargs.get("drfctr", 9.95E-01 if use_lspp_defaults() else None) ), Field( "drterm", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tssfdr", 0.0) + kwargs.get("tssfdr", 0.0 if use_lspp_defaults() else None) ), Field( "irelal", int, 50, 10, - kwargs.get("irelal", 0) + kwargs.get("irelal", 0 if use_lspp_defaults() else None) ), Field( "edttl", float, 60, 10, - kwargs.get("edttl", 4.0E-02) + kwargs.get("edttl", 4.0E-02 if use_lspp_defaults() else None) ), Field( "idrflg", int, 70, 10, - kwargs.get("idrflg", 0) + kwargs.get("idrflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("drpset", 0) + kwargs.get("drpset", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,14 +112,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nc", 100) + kwargs.get("nc", 100 if use_lspp_defaults() else None) ), Field( "np", int, 10, 10, - kwargs.get("np", 0) + kwargs.get("np", 0 if use_lspp_defaults() else None) ), ], ), @@ -129,14 +130,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "vecid", int, 10, 10, - kwargs.get("vecid", 0) + kwargs.get("vecid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_efg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_efg.py index ada146cdc..b84c61100 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_efg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_efg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlEfg(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isplane", 0) + kwargs.get("isplane", 0 if use_lspp_defaults() else None) ), Field( "idila", int, 10, 10, - kwargs.get("idila", 0) + kwargs.get("idila", 0 if use_lspp_defaults() else None) ), Field( "inint", int, 20, 10, - kwargs.get("inint", 12) + kwargs.get("inint", 12 if use_lspp_defaults() else None) ), ], ), @@ -65,14 +66,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imlm", 0) + kwargs.get("imlm", 0 if use_lspp_defaults() else None) ), Field( "etol", float, 10, 10, - kwargs.get("etol", 1.e-4) + kwargs.get("etol", 1.e-4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_energy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_energy.py index 89a5708a4..239bf5f9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_energy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_energy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlEnergy(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("hgen", 1) + kwargs.get("hgen", 1 if use_lspp_defaults() else None) ), Field( "rwen", int, 10, 10, - kwargs.get("rwen", 2) + kwargs.get("rwen", 2 if use_lspp_defaults() else None) ), Field( "slnten", int, 20, 10, - kwargs.get("slnten", 1) + kwargs.get("slnten", 1 if use_lspp_defaults() else None) ), Field( "rylen", int, 30, 10, - kwargs.get("rylen", 1) + kwargs.get("rylen", 1 if use_lspp_defaults() else None) ), Field( "irgen", int, 40, 10, - kwargs.get("irgen", 2) + kwargs.get("irgen", 2 if use_lspp_defaults() else None) ), Field( "maten", int, 50, 10, - kwargs.get("maten", 1) + kwargs.get("maten", 1 if use_lspp_defaults() else None) ), Field( "drlen", int, 60, 10, - kwargs.get("drlen", 1) + kwargs.get("drlen", 1 if use_lspp_defaults() else None) ), Field( "disen", int, 70, 10, - kwargs.get("disen", 1) + kwargs.get("disen", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_eos_user_library.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_eos_user_library.py index 914bc54d8..94a614e48 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_eos_user_library.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_eos_user_library.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlEosUserLibrary(KeywordBase): @@ -51,28 +52,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("conm", 1.0) + kwargs.get("conm", 1.0 if use_lspp_defaults() else None) ), Field( "conl", float, 10, 10, - kwargs.get("conl", 1.0) + kwargs.get("conl", 1.0 if use_lspp_defaults() else None) ), Field( "cont", float, 20, 10, - kwargs.get("cont", 1.0) + kwargs.get("cont", 1.0 if use_lspp_defaults() else None) ), Field( "conp", float, 20, 10, - kwargs.get("conp", 100) + kwargs.get("conp", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_ale_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_ale_coupling.py index a06d24ab3..4bb16d251 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_ale_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_ale_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalAleCoupling(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_boundary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_boundary.py index 23dda614f..2805610f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_boundary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_boundary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalBoundary(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_contact.py index a854fabbb..174a0fa44 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalContact(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_initial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_initial.py index 1d42f3f58..ffc7014f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_initial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_initial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalInitial(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idtyp", 1) + kwargs.get("idtyp", 1 if use_lspp_defaults() else None) ), Field( "tempini", float, 20, 10, - kwargs.get("tempini", 0.0) + kwargs.get("tempini", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_output.py index 57cec70b6..33d7c4d96 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalOutput(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dtoutyp", 0) + kwargs.get("dtoutyp", 0 if use_lspp_defaults() else None) ), Field( "setid", int, 20, 10, - kwargs.get("setid", 0) + kwargs.get("setid", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 30, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_properties.py index c9ac1c09f..79ca79bb1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalProperties(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cptyp", 0) + kwargs.get("cptyp", 0 if use_lspp_defaults() else None) ), Field( "vecid1", int, 30, 10, - kwargs.get("vecid1", 0) + kwargs.get("vecid1", 0 if use_lspp_defaults() else None) ), Field( "vecid2", int, 40, 10, - kwargs.get("vecid2", 0) + kwargs.get("vecid2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 50, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,42 +87,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kxx", 0.0) + kwargs.get("kxx", 0.0 if use_lspp_defaults() else None) ), Field( "kxy", float, 10, 10, - kwargs.get("kxy", 0.0) + kwargs.get("kxy", 0.0 if use_lspp_defaults() else None) ), Field( "kxz", float, 20, 10, - kwargs.get("kxz", 0.0) + kwargs.get("kxz", 0.0 if use_lspp_defaults() else None) ), Field( "kxxtyp", int, 30, 10, - kwargs.get("kxxtyp", 0) + kwargs.get("kxxtyp", 0 if use_lspp_defaults() else None) ), Field( "kxytyp", int, 40, 10, - kwargs.get("kxytyp", 0) + kwargs.get("kxytyp", 0 if use_lspp_defaults() else None) ), Field( "kxztyp", int, 50, 10, - kwargs.get("kxztyp", 0) + kwargs.get("kxztyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,42 +133,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kyx", 0.0) + kwargs.get("kyx", 0.0 if use_lspp_defaults() else None) ), Field( "kyy", float, 10, 10, - kwargs.get("kyy", 0.0) + kwargs.get("kyy", 0.0 if use_lspp_defaults() else None) ), Field( "kyz", float, 20, 10, - kwargs.get("kyz", 0.0) + kwargs.get("kyz", 0.0 if use_lspp_defaults() else None) ), Field( "kyxtyp", int, 30, 10, - kwargs.get("kyxtyp", 0) + kwargs.get("kyxtyp", 0 if use_lspp_defaults() else None) ), Field( "kyytyp", int, 40, 10, - kwargs.get("kyytyp", 0) + kwargs.get("kyytyp", 0 if use_lspp_defaults() else None) ), Field( "kyztyp", int, 50, 10, - kwargs.get("kyztyp", 0) + kwargs.get("kyztyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -178,42 +179,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kzx", 0.0) + kwargs.get("kzx", 0.0 if use_lspp_defaults() else None) ), Field( "kzy", float, 10, 10, - kwargs.get("kzy", 0.0) + kwargs.get("kzy", 0.0 if use_lspp_defaults() else None) ), Field( "kzz", float, 20, 10, - kwargs.get("kzz", 0.0) + kwargs.get("kzz", 0.0 if use_lspp_defaults() else None) ), Field( "kzxtyp", int, 30, 10, - kwargs.get("kzxtyp", 0) + kwargs.get("kzxtyp", 0 if use_lspp_defaults() else None) ), Field( "kzytyp", int, 40, 10, - kwargs.get("kzytyp", 0) + kwargs.get("kzytyp", 0 if use_lspp_defaults() else None) ), Field( "kzztyp", int, 50, 10, - kwargs.get("kzztyp", 0) + kwargs.get("kzztyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_solver.py index 5f8ed9066..9a9d67ac8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explicit_thermal_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplicitThermalSolver(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("dtfac", 0) + kwargs.get("dtfac", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explosive_shadow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explosive_shadow.py index 7a76289dd..dbf5fd069 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explosive_shadow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_explosive_shadow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlExplosiveShadow(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_auto_net.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_auto_net.py index e464db66e..bbf859869 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_auto_net.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_auto_net.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutoNet(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idv", 0) + kwargs.get("idv", 0 if use_lspp_defaults() else None) ), Field( "idp", int, 30, 10, - kwargs.get("idp", 0) + kwargs.get("idp", 0 if use_lspp_defaults() else None) ), Field( "x", float, 40, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 50, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 60, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,21 +94,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sx", 0.0) + kwargs.get("sx", 0.0 if use_lspp_defaults() else None) ), Field( "sy", float, 10, 10, - kwargs.get("sy", 0.0) + kwargs.get("sy", 0.0 if use_lspp_defaults() else None) ), Field( "offset", float, 20, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autocheck.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autocheck.py index ad51d3ab4..6cd44cc47 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autocheck.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autocheck.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutocheck(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icheck", 0) + kwargs.get("icheck", 0 if use_lspp_defaults() else None) ), Field( "igd", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ioffset", 0) + kwargs.get("ioffset", 0 if use_lspp_defaults() else None) ), Field( "ioutputp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter.py index c8aef563e..c2eec5e6f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutopositionParameter(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "mpid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("position", 1) + kwargs.get("position", 1 if use_lspp_defaults() else None) ), Field( "premove", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_positive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_positive.py index e81b62bed..e113d6da2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_positive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_positive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutopositionParameterPositive(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "mpid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("position", 1) + kwargs.get("position", 1 if use_lspp_defaults() else None) ), Field( "premove", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set.py index 8da74f9fd..db2213601 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutopositionParameterSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "mpsid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("position", 1) + kwargs.get("position", 1 if use_lspp_defaults() else None) ), Field( "premove", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set_positive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set_positive.py index a9b9c8366..66507f8ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set_positive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_autoposition_parameter_set_positive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingAutopositionParameterSetPositive(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "mpsid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("position", 1) + kwargs.get("position", 1 if use_lspp_defaults() else None) ), Field( "premove", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit.py index adf7e4a78..d8430e36f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingBestfit(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ifit", 0) + kwargs.get("ifit", 0 if use_lspp_defaults() else None) ), Field( "nskip", int, 10, 10, - kwargs.get("nskip", -3) + kwargs.get("nskip", -3 if use_lspp_defaults() else None) ), Field( "gaponly", int, 20, 10, - kwargs.get("gaponly", 0) + kwargs.get("gaponly", 0 if use_lspp_defaults() else None) ), Field( "ifast", int, 30, 10, - kwargs.get("ifast", 1) + kwargs.get("ifast", 1 if use_lspp_defaults() else None) ), Field( "ifset", int, 40, 10, - kwargs.get("ifset", 0) + kwargs.get("ifset", 0 if use_lspp_defaults() else None) ), Field( "nsets", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit_vector.py index bf87293e1..1ba964494 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_bestfit_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingBestfitVector(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ifit", 0) + kwargs.get("ifit", 0 if use_lspp_defaults() else None) ), Field( "nskip", int, 10, 10, - kwargs.get("nskip", -3) + kwargs.get("nskip", -3 if use_lspp_defaults() else None) ), Field( "gaponly", int, 20, 10, - kwargs.get("gaponly", 0) + kwargs.get("gaponly", 0 if use_lspp_defaults() else None) ), Field( "ifast", int, 30, 10, - kwargs.get("ifast", 1) + kwargs.get("ifast", 1 if use_lspp_defaults() else None) ), Field( "ifset", int, 40, 10, - kwargs.get("ifset", 0) + kwargs.get("ifset", 0 if use_lspp_defaults() else None) ), Field( "nsets", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_blankmesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_blankmesh.py index 30f823a33..8834676ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_blankmesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_blankmesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingBlankmesh(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("eleng", 0.0) + kwargs.get("eleng", 0.0 if use_lspp_defaults() else None) ), Field( "xleng", float, 20, 10, - kwargs.get("xleng", 0.0) + kwargs.get("xleng", 0.0 if use_lspp_defaults() else None) ), Field( "yleng", float, 30, 10, - kwargs.get("yleng", 0.0) + kwargs.get("yleng", 0.0 if use_lspp_defaults() else None) ), Field( "angelx", float, 40, 10, - kwargs.get("angelx", 0.0) + kwargs.get("angelx", 0.0 if use_lspp_defaults() else None) ), Field( "nplane", int, 50, 10, - kwargs.get("nplane", 1) + kwargs.get("nplane", 1 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("xcent", 0.0) + kwargs.get("xcent", 0.0 if use_lspp_defaults() else None) ), Field( "ycent", float, 40, 10, - kwargs.get("ycent", 0.0) + kwargs.get("ycent", 0.0 if use_lspp_defaults() else None) ), Field( "zcent", float, 50, 10, - kwargs.get("zcent", 0.0) + kwargs.get("zcent", 0.0 if use_lspp_defaults() else None) ), Field( "xshift", float, 60, 10, - kwargs.get("xshift", 0.0) + kwargs.get("xshift", 0.0 if use_lspp_defaults() else None) ), Field( "yshift", float, 70, 10, - kwargs.get("yshift", 0.0) + kwargs.get("yshift", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_generate_blankmesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_generate_blankmesh.py index 5388e81e8..53daa69e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_generate_blankmesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_generate_blankmesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingGenerateBlankmesh(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("center", 0) + kwargs.get("center", 0 if use_lspp_defaults() else None) ), Field( "xleng", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("plane", 1) + kwargs.get("plane", 1 if use_lspp_defaults() else None) ), Field( "cid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_home_gap.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_home_gap.py index b3925ba4f..43568564a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_home_gap.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_home_gap.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingHomeGap(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("istop", 0) + kwargs.get("istop", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_initial_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_initial_thickness.py index 91168e4d5..63da2f8ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_initial_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_initial_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingInitialThickness(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_maxid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_maxid.py index 46f3bc56c..a46b92b24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_maxid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_maxid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingMaxid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep.py index 53c0385a9..fda9e35c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestep(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 6) + kwargs.get("option", 6 if use_lspp_defaults() else None) ), Field( "tsclmax", float, 10, 10, - kwargs.get("tsclmax", 1.0) + kwargs.get("tsclmax", 1.0 if use_lspp_defaults() else None) ), Field( "autobd", float, 20, 10, - kwargs.get("autobd", 0.3) + kwargs.get("autobd", 0.3 if use_lspp_defaults() else None) ), Field( "tsclmin", float, 30, 10, - kwargs.get("tsclmin", 1.0) + kwargs.get("tsclmin", 1.0 if use_lspp_defaults() else None) ), Field( "epsmax", float, 40, 10, - kwargs.get("epsmax", 1.0) + kwargs.get("epsmax", 1.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_auto_constraint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_auto_constraint.py index 0e023af9e..5ca7a3af5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_auto_constraint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_auto_constraint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepAutoConstraint(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_drawbead.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_drawbead.py index 1fe217ad6..78c2f7f84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_drawbead.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_drawbead.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepDrawbead(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("th", 0.0) + kwargs.get("th", 0.0 if use_lspp_defaults() else None) ), Field( "percnt", float, 30, 10, - kwargs.get("percnt", 0.0) + kwargs.get("percnt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_friction.py index c2ed1e18f..b550931ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepFriction(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("bdton", 0.0) + kwargs.get("bdton", 0.0 if use_lspp_defaults() else None) ), Field( "frict", float, 20, 10, - kwargs.get("frict", 0.12) + kwargs.get("frict", 0.12 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_ortho.py index dd35731d5..67daa0c98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepOrtho(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad.py index c3b2ea420..2e27ac777 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepQuad(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 6) + kwargs.get("option", 6 if use_lspp_defaults() else None) ), Field( "tsclmax", float, 10, 10, - kwargs.get("tsclmax", 1.0) + kwargs.get("tsclmax", 1.0 if use_lspp_defaults() else None) ), Field( "autobd", float, 20, 10, - kwargs.get("autobd", 0.3) + kwargs.get("autobd", 0.3 if use_lspp_defaults() else None) ), Field( "tsclmin", float, 30, 10, - kwargs.get("tsclmin", 1.0) + kwargs.get("tsclmin", 1.0 if use_lspp_defaults() else None) ), Field( "epsmax", float, 40, 10, - kwargs.get("epsmax", 1.0) + kwargs.get("epsmax", 1.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad2.py index f83ed7b69..6062e8b14 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_quad2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepQuad2(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 6) + kwargs.get("option", 6 if use_lspp_defaults() else None) ), Field( "tsclmax", float, 10, 10, - kwargs.get("tsclmax", 1.0) + kwargs.get("tsclmax", 1.0 if use_lspp_defaults() else None) ), Field( "autobd", float, 20, 10, - kwargs.get("autobd", 0.3) + kwargs.get("autobd", 0.3 if use_lspp_defaults() else None) ), Field( "tsclmin", float, 30, 10, - kwargs.get("tsclmin", 1.0) + kwargs.get("tsclmin", 1.0 if use_lspp_defaults() else None) ), Field( "epsmax", float, 40, 10, - kwargs.get("epsmax", 1.0) + kwargs.get("epsmax", 1.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_tria.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_tria.py index 1ada63517..11fee154c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_tria.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_onestep_tria.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOnestepTria(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("option", 6) + kwargs.get("option", 6 if use_lspp_defaults() else None) ), Field( "tsclmax", float, 10, 10, - kwargs.get("tsclmax", 1.0) + kwargs.get("tsclmax", 1.0 if use_lspp_defaults() else None) ), Field( "autobd", float, 20, 10, - kwargs.get("autobd", 0.3) + kwargs.get("autobd", 0.3 if use_lspp_defaults() else None) ), Field( "tsclmin", float, 30, 10, - kwargs.get("tsclmin", 1.0) + kwargs.get("tsclmin", 1.0 if use_lspp_defaults() else None) ), Field( "epsmax", float, 40, 10, - kwargs.get("epsmax", 1.0) + kwargs.get("epsmax", 1.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output.py index c02cc086a..4eaa113b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOutput(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output_intfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output_intfor.py index 1384db340..f3d212843 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output_intfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_output_intfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingOutputIntfor(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_parameter_read.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_parameter_read.py index 91c09b123..50850e6a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_parameter_read.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_parameter_read.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingParameterRead(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_position.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_position.py index 1b54de357..34a24b473 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_position.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_position.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingPosition(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending.py index 86a95d988..0ea7525d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingPreBending(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending_local.py index c58eb8ae8..24f36da39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_pre_bending_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingPreBendingLocal(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_projection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_projection.py index 660e7a70a..b904ea576 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_projection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_projection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingProjection(KeywordBase): @@ -61,14 +62,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nrbst", 0) + kwargs.get("nrbst", 0 if use_lspp_defaults() else None) ), Field( "nrtst", int, 40, 10, - kwargs.get("nrtst", 0) + kwargs.get("nrtst", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_remove_adaptive_constraints.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_remove_adaptive_constraints.py index cb6cf6e55..1a3c04453 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_remove_adaptive_constraints.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_remove_adaptive_constraints.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingRemoveAdaptiveConstraints(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_scrap_fall.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_scrap_fall.py index fecd6c9e7..4a84c00c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_scrap_fall.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_scrap_fall.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingScrapFall(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_shell_to_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_shell_to_tshell.py index 00e73ad96..f8a2c530b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_shell_to_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_shell_to_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingShellToTshell(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("midsf", 0) + kwargs.get("midsf", 0 if use_lspp_defaults() else None) ), Field( "idsegb", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_stoning.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_stoning.py index 47b3142c8..dfed05737 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_stoning.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_stoning.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingStoning(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("step", 0.5) + kwargs.get("step", 0.5 if use_lspp_defaults() else None) ), Field( "direction", @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("reverse", 0) + kwargs.get("reverse", 0 if use_lspp_defaults() else None) ), Field( "method", int, 60, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_strain_ratio_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_strain_ratio_smooth.py index f07f95208..cc0788a55 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_strain_ratio_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_strain_ratio_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingStrainRatioSmooth(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_template.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_template.py index 10ab2ce8b..295e2f8a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_template.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_template.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTemplate(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idtemp", 0) + kwargs.get("idtemp", 0 if use_lspp_defaults() else None) ), Field( "blkid", int, 10, 10, - kwargs.get("blkid", 0) + kwargs.get("blkid", 0 if use_lspp_defaults() else None) ), Field( "dieid", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "prebd", @@ -107,28 +108,28 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("al/fe", "F") + kwargs.get("al/fe", "F" if use_lspp_defaults() else None) ), Field( "r00", float, 20, 10, - kwargs.get("r00", 1.0) + kwargs.get("r00", 1.0 if use_lspp_defaults() else None) ), Field( "r45", float, 30, 10, - kwargs.get("r45", 1.0) + kwargs.get("r45", 1.0 if use_lspp_defaults() else None) ), Field( "r90", float, 40, 10, - kwargs.get("r90", 1.0) + kwargs.get("r90", 1.0 if use_lspp_defaults() else None) ), Field( "e", @@ -167,14 +168,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("mtype", 37) + kwargs.get("mtype", 37 if use_lspp_defaults() else None) ), Field( "unit", int, 30, 10, - kwargs.get("unit", 1) + kwargs.get("unit", 1 if use_lspp_defaults() else None) ), Field( "thick", @@ -188,14 +189,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("gap", 1.1) + kwargs.get("gap", 1.1 if use_lspp_defaults() else None) ), Field( "fs", float, 60, 10, - kwargs.get("fs", 0.1) + kwargs.get("fs", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -206,35 +207,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("patern", 1) + kwargs.get("patern", 1 if use_lspp_defaults() else None) ), Field( "vmax", float, 10, 10, - kwargs.get("vmax", 1000) + kwargs.get("vmax", 1000 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0) + kwargs.get("vx", 0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0) + kwargs.get("vy", 0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", -1) + kwargs.get("vz", -1 if use_lspp_defaults() else None) ), Field( "vid", @@ -248,7 +249,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("amax", 1.0E6) + kwargs.get("amax", 1.0E6 if use_lspp_defaults() else None) ), ], ), @@ -273,14 +274,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("timsada", 20) + kwargs.get("timsada", 20 if use_lspp_defaults() else None) ), Field( "d3plt", int, 30, 10, - kwargs.get("d3plt", 10) + kwargs.get("d3plt", 10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_tipping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_tipping.py index 07ad0f47a..0c2a81664 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_tipping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_tipping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTipping(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), Field( "ifstrn", @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rot/tran", 1) + kwargs.get("rot/tran", 1 if use_lspp_defaults() else None) ), Field( "v11", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rot/tran", 1) + kwargs.get("rot/tran", 1 if use_lspp_defaults() else None) ), Field( "dx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_toleranc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_toleranc.py index 19e3775e1..7c215e86e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_toleranc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_toleranc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingToleranc(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_travel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_travel.py index ec6430d86..8d8f9fa90 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_travel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_travel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTravel(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_merge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_merge.py index d32fb0953..11592c17c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_merge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_merge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTrimMerge(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imerge", 1) + kwargs.get("imerge", 1 if use_lspp_defaults() else None) ), Field( "gapm", float, 10, 10, - kwargs.get("gapm", 0.0) + kwargs.get("gapm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_solid_refinement.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_solid_refinement.py index 68ca60cd8..9e1989a7f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_solid_refinement.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trim_solid_refinement.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTrimSolidRefinement(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("irefine", 1) + kwargs.get("irefine", 1 if use_lspp_defaults() else None) ), Field( "ilevel", int, 10, 10, - kwargs.get("ilevel", 0) + kwargs.get("ilevel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trimming.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trimming.py index d50365d8a..0d7a4ee31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trimming.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_trimming.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingTrimming(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging.py index 45049d308..92eaf4080 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingUnflanging(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ilinear", 2) + kwargs.get("ilinear", 2 if use_lspp_defaults() else None) ), ], ), @@ -121,7 +122,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("charlen", 150.0) + kwargs.get("charlen", 150.0 if use_lspp_defaults() else None) ), Field( "ndouter", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging_output.py index ff1c9faed..c90a13cf3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_unflanging_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingUnflangingOutput(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("thmx", 1.0E+20) + kwargs.get("thmx", 1.0E+20 if use_lspp_defaults() else None) ), Field( "thmn", float, 10, 10, - kwargs.get("thmn", 0.0) + kwargs.get("thmn", 0.0 if use_lspp_defaults() else None) ), Field( "epsmx", float, 20, 10, - kwargs.get("epsmx", 1.0E+20) + kwargs.get("epsmx", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_user.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_user.py index 8ef5ac44d..d2d9a5837 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_user.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_forming_user.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFormingUser(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "thick", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("r00", 1.0) + kwargs.get("r00", 1.0 if use_lspp_defaults() else None) ), Field( "r45", float, 40, 10, - kwargs.get("r45", 1.0) + kwargs.get("r45", 1.0 if use_lspp_defaults() else None) ), Field( "r90", float, 50, 10, - kwargs.get("r90", 1.0) + kwargs.get("r90", 1.0 if use_lspp_defaults() else None) ), Field( "al/fe", str, 60, 10, - kwargs.get("al/fe", "F") + kwargs.get("al/fe", "F" if use_lspp_defaults() else None) ), Field( "unit", int, 70, 10, - kwargs.get("unit", 1) + kwargs.get("unit", 1 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("k", 2) + kwargs.get("k", 2 if use_lspp_defaults() else None) ), Field( "n", @@ -142,14 +143,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fs", 0.1) + kwargs.get("fs", 0.1 if use_lspp_defaults() else None) ), Field( "mtype", int, 70, 10, - kwargs.get("mtype", 37) + kwargs.get("mtype", 37 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("patern", 1) + kwargs.get("patern", 1 if use_lspp_defaults() else None) ), Field( "vmax", float, 10, 10, - kwargs.get("vmax", 1000.0) + kwargs.get("vmax", 1000.0 if use_lspp_defaults() else None) ), Field( "amax", float, 20, 10, - kwargs.get("amax", 500000) + kwargs.get("amax", 500000 if use_lspp_defaults() else None) ), Field( "lvlada", int, 30, 10, - kwargs.get("lvlada", 0) + kwargs.get("lvlada", 0 if use_lspp_defaults() else None) ), Field( "sizeada", float, 40, 10, - kwargs.get("sizeada", 0) + kwargs.get("sizeada", 0 if use_lspp_defaults() else None) ), Field( "adatims", int, 50, 10, - kwargs.get("adatims", 0) + kwargs.get("adatims", 0 if use_lspp_defaults() else None) ), Field( "d3plot", int, 60, 10, - kwargs.get("d3plot", 10) + kwargs.get("d3plot", 10 if use_lspp_defaults() else None) ), Field( "gap", float, 70, 10, - kwargs.get("gap", 1.1) + kwargs.get("gap", 1.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_domain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_domain.py index 9f4642fcb..a6c700b9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_domain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_domain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFrequencyDomain(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("refgeo", 0) + kwargs.get("refgeo", 0 if use_lspp_defaults() else None) ), Field( "mpn", float, 10, 10, - kwargs.get("mpn", 0.0) + kwargs.get("mpn", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_response_function.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_response_function.py index 20943f7cd..ab85845f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_response_function.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_frequency_response_function.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlFrequencyResponseFunction(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("n1typ", 0) + kwargs.get("n1typ", 0 if use_lspp_defaults() else None) ), Field( "dof1", int, 20, 10, - kwargs.get("dof1", -4) + kwargs.get("dof1", -4 if use_lspp_defaults() else None) ), Field( "vad1", int, 30, 10, - kwargs.get("vad1", 3) + kwargs.get("vad1", 3 if use_lspp_defaults() else None) ), Field( "vid", int, 40, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "fnmax", float, 50, 10, - kwargs.get("fnmax", 0.0) + kwargs.get("fnmax", 0.0 if use_lspp_defaults() else None) ), Field( "mdmin", int, 60, 10, - kwargs.get("mdmin", 0) + kwargs.get("mdmin", 0 if use_lspp_defaults() else None) ), Field( "mdmax", int, 70, 10, - kwargs.get("mdmax", 0) + kwargs.get("mdmax", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,21 +147,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("n2typ", 0) + kwargs.get("n2typ", 0 if use_lspp_defaults() else None) ), Field( "dof2", int, 20, 10, - kwargs.get("dof2", 1) + kwargs.get("dof2", 1 if use_lspp_defaults() else None) ), Field( "vad2", int, 30, 10, - kwargs.get("vad2", 2) + kwargs.get("vad2", 2 if use_lspp_defaults() else None) ), ], ), @@ -185,14 +186,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nfreq", 2) + kwargs.get("nfreq", 2 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass.py index 1bd1df6c2..6aa060833 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlHourglass(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("qh", 0.1) + kwargs.get("qh", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass_936.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass_936.py index 8de53bca2..4f11abf24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass_936.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_hourglass_936.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlHourglass936(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("qh", 0.3) + kwargs.get("qh", 0.3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto.py index 64744c555..796f2ebc8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitAuto(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iauto", 0) + kwargs.get("iauto", 0 if use_lspp_defaults() else None) ), Field( "iteopt", int, 10, 10, - kwargs.get("iteopt", 11) + kwargs.get("iteopt", 11 if use_lspp_defaults() else None) ), Field( "itewin", int, 20, 10, - kwargs.get("itewin", 5) + kwargs.get("itewin", 5 if use_lspp_defaults() else None) ), Field( "dtmin", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_dyn.py index 66fb6bfa9..a1d061b3e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitAutoDyn(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iauto", 0) + kwargs.get("iauto", 0 if use_lspp_defaults() else None) ), Field( "iteopt", int, 10, 10, - kwargs.get("iteopt", 11) + kwargs.get("iteopt", 11 if use_lspp_defaults() else None) ), Field( "itewin", int, 20, 10, - kwargs.get("itewin", 5) + kwargs.get("itewin", 5 if use_lspp_defaults() else None) ), Field( "dtmin", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_spr.py index 5936f0b14..1ad67507f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_auto_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitAutoSpr(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iauto", 0) + kwargs.get("iauto", 0 if use_lspp_defaults() else None) ), Field( "iteopt", int, 10, 10, - kwargs.get("iteopt", 11) + kwargs.get("iteopt", 11 if use_lspp_defaults() else None) ), Field( "itewin", int, 20, 10, - kwargs.get("itewin", 5) + kwargs.get("itewin", 5 if use_lspp_defaults() else None) ), Field( "dtmin", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_buckle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_buckle.py index b6a14856d..7415108cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_buckle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_buckle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitBuckle(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nmode", 0) + kwargs.get("nmode", 0 if use_lspp_defaults() else None) ), Field( "bckmth", int, 10, 10, - kwargs.get("bckmth", 1) + kwargs.get("bckmth", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_consistent_mass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_consistent_mass.py index 329db8d1e..0dd42e4bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_consistent_mass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_consistent_mass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitConsistentMass(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamic.py index 67e1d38c5..1c27cf0e1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitDynamic(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "gamma", float, 10, 10, - kwargs.get("gamma", 0.50) + kwargs.get("gamma", 0.50 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.25) + kwargs.get("beta", 0.25 if use_lspp_defaults() else None) ), Field( "tdybir", float, 30, 10, - kwargs.get("tdybir", 0.0) + kwargs.get("tdybir", 0.0 if use_lspp_defaults() else None) ), Field( "tdydth", float, 40, 10, - kwargs.get("tdydth", 1.0E+28) + kwargs.get("tdydth", 1.0E+28 if use_lspp_defaults() else None) ), Field( "tdybur", float, 50, 10, - kwargs.get("tdybur", 1.0E+28) + kwargs.get("tdybur", 1.0E+28 if use_lspp_defaults() else None) ), Field( "irate", int, 60, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 70, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics.py index 44c9527bc..85a1d15eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitDynamics(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "gamma", float, 10, 10, - kwargs.get("gamma", 0.50) + kwargs.get("gamma", 0.50 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.25) + kwargs.get("beta", 0.25 if use_lspp_defaults() else None) ), Field( "tdybir", float, 30, 10, - kwargs.get("tdybir", 0.0) + kwargs.get("tdybir", 0.0 if use_lspp_defaults() else None) ), Field( "tdydth", float, 40, 10, - kwargs.get("tdydth", 1.0E+28) + kwargs.get("tdydth", 1.0E+28 if use_lspp_defaults() else None) ), Field( "tdybur", float, 50, 10, - kwargs.get("tdybur", 1.0E+28) + kwargs.get("tdybur", 1.0E+28 if use_lspp_defaults() else None) ), Field( "irate", int, 60, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 70, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("angle", 90) + kwargs.get("angle", 90 if use_lspp_defaults() else None) ), ], lambda: self.alpha <= -1, diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_dyn.py index 6f183c694..bd77f31f3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitDynamicsDyn(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "gamma", float, 10, 10, - kwargs.get("gamma", 0.50) + kwargs.get("gamma", 0.50 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.25) + kwargs.get("beta", 0.25 if use_lspp_defaults() else None) ), Field( "tdybir", float, 30, 10, - kwargs.get("tdybir", 0.0) + kwargs.get("tdybir", 0.0 if use_lspp_defaults() else None) ), Field( "tdydth", float, 40, 10, - kwargs.get("tdydth", 1.0E+28) + kwargs.get("tdydth", 1.0E+28 if use_lspp_defaults() else None) ), Field( "tdybur", float, 50, 10, - kwargs.get("tdybur", 1.0E+28) + kwargs.get("tdybur", 1.0E+28 if use_lspp_defaults() else None) ), Field( "irate", int, 60, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 70, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("angle", 90) + kwargs.get("angle", 90 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_spr.py index 08556f970..b8e733c07 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_dynamics_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitDynamicsSpr(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "gamma", float, 10, 10, - kwargs.get("gamma", 0.50) + kwargs.get("gamma", 0.50 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.25) + kwargs.get("beta", 0.25 if use_lspp_defaults() else None) ), Field( "tdybir", float, 30, 10, - kwargs.get("tdybir", 0.0) + kwargs.get("tdybir", 0.0 if use_lspp_defaults() else None) ), Field( "tdydth", float, 40, 10, - kwargs.get("tdydth", 1.0E+28) + kwargs.get("tdydth", 1.0E+28 if use_lspp_defaults() else None) ), Field( "tdybur", float, 50, 10, - kwargs.get("tdybur", 1.0E+28) + kwargs.get("tdybur", 1.0E+28 if use_lspp_defaults() else None) ), Field( "irate", int, 60, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 70, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("angle", 90) + kwargs.get("angle", 90 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalue.py index bc8bd9475..7a497a5a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitEigenvalue(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("neig", 0) + kwargs.get("neig", 0 if use_lspp_defaults() else None) ), Field( "center", float, 10, 10, - kwargs.get("center", 0.0) + kwargs.get("center", 0.0 if use_lspp_defaults() else None) ), Field( "lflag", int, 20, 10, - kwargs.get("lflag", 0) + kwargs.get("lflag", 0 if use_lspp_defaults() else None) ), Field( "lftend", float, 30, 10, - kwargs.get("lftend", -1E29) + kwargs.get("lftend", -1E29 if use_lspp_defaults() else None) ), Field( "rflag", int, 40, 10, - kwargs.get("rflag", 0) + kwargs.get("rflag", 0 if use_lspp_defaults() else None) ), Field( "rhtend", float, 50, 10, - kwargs.get("rhtend", +1E29) + kwargs.get("rhtend", +1E29 if use_lspp_defaults() else None) ), Field( "eigmth", int, 60, 10, - kwargs.get("eigmth", 2) + kwargs.get("eigmth", 2 if use_lspp_defaults() else None) ), Field( "shfscl", float, 70, 10, - kwargs.get("shfscl", 0.0) + kwargs.get("shfscl", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isolid", 0) + kwargs.get("isolid", 0 if use_lspp_defaults() else None) ), Field( "ibeam", int, 10, 10, - kwargs.get("ibeam", 0) + kwargs.get("ibeam", 0 if use_lspp_defaults() else None) ), Field( "ishell", int, 20, 10, - kwargs.get("ishell", 0) + kwargs.get("ishell", 0 if use_lspp_defaults() else None) ), Field( "itshell", int, 30, 10, - kwargs.get("itshell", 0) + kwargs.get("itshell", 0 if use_lspp_defaults() else None) ), Field( "mstres", int, 40, 10, - kwargs.get("mstres", 0) + kwargs.get("mstres", 0 if use_lspp_defaults() else None) ), Field( "evdump", @@ -142,7 +143,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mstrscl", 0.001) + kwargs.get("mstrscl", 0.001 if use_lspp_defaults() else None) ), ], ), @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iparm1", 100) + kwargs.get("iparm1", 100 if use_lspp_defaults() else None) ), Field( "iparm2", @@ -174,14 +175,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("iparm4", 1500) + kwargs.get("iparm4", 1500 if use_lspp_defaults() else None) ), Field( "rparm1", float, 40, 10, - kwargs.get("rparm1", 4.0) + kwargs.get("rparm1", 4.0 if use_lspp_defaults() else None) ), ], ), @@ -192,14 +193,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iparm1", 100) + kwargs.get("iparm1", 100 if use_lspp_defaults() else None) ), Field( "iparm2", int, 10, 10, - kwargs.get("iparm2", 100) + kwargs.get("iparm2", 100 if use_lspp_defaults() else None) ), Field( "unused", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("rparm1", 0) + kwargs.get("rparm1", 0 if use_lspp_defaults() else None) ), Field( "rparm2", int, 50, 10, - kwargs.get("rparm2", 0) + kwargs.get("rparm2", 0 if use_lspp_defaults() else None) ), ], ), @@ -245,7 +246,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iparm2", 0) + kwargs.get("iparm2", 0 if use_lspp_defaults() else None) ), Field( "iparm3", @@ -273,7 +274,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("rparm6", 0) + kwargs.get("rparm6", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalues.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalues.py index eb930f991..b90bfc83d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalues.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_eigenvalues.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitEigenvalues(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("neig", 0) + kwargs.get("neig", 0 if use_lspp_defaults() else None) ), Field( "center", float, 10, 10, - kwargs.get("center", 0.0) + kwargs.get("center", 0.0 if use_lspp_defaults() else None) ), Field( "lflag", int, 20, 10, - kwargs.get("lflag", 0) + kwargs.get("lflag", 0 if use_lspp_defaults() else None) ), Field( "lftend", float, 30, 10, - kwargs.get("lftend", -1E29) + kwargs.get("lftend", -1E29 if use_lspp_defaults() else None) ), Field( "rflag", int, 40, 10, - kwargs.get("rflag", 0) + kwargs.get("rflag", 0 if use_lspp_defaults() else None) ), Field( "rhtend", float, 50, 10, - kwargs.get("rhtend", +1E29) + kwargs.get("rhtend", +1E29 if use_lspp_defaults() else None) ), Field( "eigmth", int, 60, 10, - kwargs.get("eigmth", 2) + kwargs.get("eigmth", 2 if use_lspp_defaults() else None) ), Field( "shfscl", float, 70, 10, - kwargs.get("shfscl", 0.0) + kwargs.get("shfscl", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isolid", 0) + kwargs.get("isolid", 0 if use_lspp_defaults() else None) ), Field( "ibeam", int, 10, 10, - kwargs.get("ibeam", 0) + kwargs.get("ibeam", 0 if use_lspp_defaults() else None) ), Field( "ishell", int, 20, 10, - kwargs.get("ishell", 0) + kwargs.get("ishell", 0 if use_lspp_defaults() else None) ), Field( "itshell", int, 30, 10, - kwargs.get("itshell", 0) + kwargs.get("itshell", 0 if use_lspp_defaults() else None) ), Field( "mstres", int, 40, 10, - kwargs.get("mstres", 0) + kwargs.get("mstres", 0 if use_lspp_defaults() else None) ), Field( "evdump", @@ -142,7 +143,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mstrscl", 0.001) + kwargs.get("mstrscl", 0.001 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming.py index b5abafe4a..c0bdce514 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitForming(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioption", 1) + kwargs.get("ioption", 1 if use_lspp_defaults() else None) ), Field( "nsmin", @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nsmax", 2) + kwargs.get("nsmax", 2 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e+20) + kwargs.get("death", 1.e+20 if use_lspp_defaults() else None) ), Field( "penchk", float, 50, 10, - kwargs.get("penchk", 0.0) + kwargs.get("penchk", 0.0 if use_lspp_defaults() else None) ), Field( "dt0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_dyn.py index 65c6f7ff3..a02af45f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitFormingDyn(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioption", 1) + kwargs.get("ioption", 1 if use_lspp_defaults() else None) ), Field( "nsmin", @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nsmax", 2) + kwargs.get("nsmax", 2 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e+20) + kwargs.get("death", 1.e+20 if use_lspp_defaults() else None) ), Field( "penchk", float, 50, 10, - kwargs.get("penchk", 0.0) + kwargs.get("penchk", 0.0 if use_lspp_defaults() else None) ), Field( "dt0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_spr.py index 336e0f5a0..ab9528d4b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_forming_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitFormingSpr(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioption", 1) + kwargs.get("ioption", 1 if use_lspp_defaults() else None) ), Field( "nsmin", @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nsmax", 2) + kwargs.get("nsmax", 2 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.e+20) + kwargs.get("death", 1.e+20 if use_lspp_defaults() else None) ), Field( "penchk", float, 50, 10, - kwargs.get("penchk", 0.0) + kwargs.get("penchk", 0.0 if use_lspp_defaults() else None) ), Field( "dt0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general.py index 057059ee5..1317c4a54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitGeneral(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imflag", 0) + kwargs.get("imflag", 0 if use_lspp_defaults() else None) ), Field( "dt0", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("imform", 2) + kwargs.get("imform", 2 if use_lspp_defaults() else None) ), Field( "nsbs", int, 30, 10, - kwargs.get("nsbs", 1) + kwargs.get("nsbs", 1 if use_lspp_defaults() else None) ), Field( "igs", int, 40, 10, - kwargs.get("igs", 2) + kwargs.get("igs", 2 if use_lspp_defaults() else None) ), Field( "cnstn", int, 50, 10, - kwargs.get("cnstn", 0) + kwargs.get("cnstn", 0 if use_lspp_defaults() else None) ), Field( "form", int, 60, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "zero_v", int, 70, 10, - kwargs.get("zero_v", 0) + kwargs.get("zero_v", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_dyn.py index 28e4c19a6..a9a22145c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitGeneralDyn(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imflag", 0) + kwargs.get("imflag", 0 if use_lspp_defaults() else None) ), Field( "dt0", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("imform", 2) + kwargs.get("imform", 2 if use_lspp_defaults() else None) ), Field( "nsbs", int, 30, 10, - kwargs.get("nsbs", 1) + kwargs.get("nsbs", 1 if use_lspp_defaults() else None) ), Field( "igs", int, 40, 10, - kwargs.get("igs", 2) + kwargs.get("igs", 2 if use_lspp_defaults() else None) ), Field( "cnstn", int, 50, 10, - kwargs.get("cnstn", 0) + kwargs.get("cnstn", 0 if use_lspp_defaults() else None) ), Field( "form", int, 60, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "zero_v", int, 70, 10, - kwargs.get("zero_v", 0) + kwargs.get("zero_v", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_spr.py index 1d78801ad..60e20ae52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_general_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitGeneralSpr(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imflag", 0) + kwargs.get("imflag", 0 if use_lspp_defaults() else None) ), Field( "dt0", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("imform", 2) + kwargs.get("imform", 2 if use_lspp_defaults() else None) ), Field( "nsbs", int, 30, 10, - kwargs.get("nsbs", 1) + kwargs.get("nsbs", 1 if use_lspp_defaults() else None) ), Field( "igs", int, 40, 10, - kwargs.get("igs", 2) + kwargs.get("igs", 2 if use_lspp_defaults() else None) ), Field( "cnstn", int, 50, 10, - kwargs.get("cnstn", 0) + kwargs.get("cnstn", 0 if use_lspp_defaults() else None) ), Field( "form", int, 60, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "zero_v", int, 70, 10, - kwargs.get("zero_v", 0) + kwargs.get("zero_v", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_inertia_relief.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_inertia_relief.py index 718131475..91cea60c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_inertia_relief.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_inertia_relief.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitInertiaRelief(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("irflag", 0) + kwargs.get("irflag", 0 if use_lspp_defaults() else None) ), Field( "thresh", float, 10, 10, - kwargs.get("thresh", 0.001) + kwargs.get("thresh", 0.001 if use_lspp_defaults() else None) ), Field( "ircnt", int, 20, 10, - kwargs.get("ircnt", 0) + kwargs.get("ircnt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_joints.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_joints.py index c5ea137a4..f37c86cf9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_joints.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_joints.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitJoints(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ispher", 1) + kwargs.get("ispher", 1 if use_lspp_defaults() else None) ), Field( "irevol", int, 10, 10, - kwargs.get("irevol", 1) + kwargs.get("irevol", 1 if use_lspp_defaults() else None) ), Field( "icylin", int, 20, 10, - kwargs.get("icylin", 1) + kwargs.get("icylin", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_linear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_linear.py index ee3cab557..40177ec8a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_linear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_linear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitLinear(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsolvr", 2) + kwargs.get("lsolvr", 2 if use_lspp_defaults() else None) ), Field( "lprint", int, 10, 10, - kwargs.get("lprint", 0) + kwargs.get("lprint", 0 if use_lspp_defaults() else None) ), Field( "negev", int, 20, 10, - kwargs.get("negev", 2) + kwargs.get("negev", 2 if use_lspp_defaults() else None) ), Field( "order", int, 30, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), Field( "drcm", int, 40, 10, - kwargs.get("drcm", 4) + kwargs.get("drcm", 4 if use_lspp_defaults() else None) ), Field( "drcprm", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("autospc", 1) + kwargs.get("autospc", 1 if use_lspp_defaults() else None) ), Field( "autotol", @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpack", 2) + kwargs.get("lcpack", 2 if use_lspp_defaults() else None) ), Field( "mtxdmp", int, 10, 10, - kwargs.get("mtxdmp", 0) + kwargs.get("mtxdmp", 0 if use_lspp_defaults() else None) ), Field( "iparm1", int, 20, 10, - kwargs.get("iparm1", 500) + kwargs.get("iparm1", 500 if use_lspp_defaults() else None) ), Field( "rparm1", float, 30, 10, - kwargs.get("rparm1", 10.0e-10) + kwargs.get("rparm1", 10.0e-10 if use_lspp_defaults() else None) ), Field( "rparm2", float, 40, 10, - kwargs.get("rparm2", 10.0e-4) + kwargs.get("rparm2", 10.0e-4 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rparm5", 0.0) + kwargs.get("rparm5", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic.py index efceb35c8..81a70a2ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamic(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdflag", 0) + kwargs.get("mdflag", 0 if use_lspp_defaults() else None) ), Field( "zeta", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("integ", 0) + kwargs.get("integ", 0 if use_lspp_defaults() else None) ), Field( "nsid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping.py index 8092edfd3..0f8508421 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamicDamping(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_frequency_range.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_frequency_range.py index 44cc26d44..51ce11f88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_frequency_range.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_frequency_range.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamicDampingFrequencyRange(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_specific.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_specific.py index 29ac73f32..3e22ee56f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_specific.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_damping_specific.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamicDampingSpecific(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_generate.py index 2538ec8b6..9ee5916c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamicModeGenerate(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_list.py index a451670e3..64df1c6a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modal_dynamic_mode_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModalDynamicModeList(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes.py index 75c85cee8..1f583acb2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModes(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidc", 0) + kwargs.get("nsidc", 0 if use_lspp_defaults() else None) ), Field( "nsida", int, 10, 10, - kwargs.get("nsida", 0) + kwargs.get("nsida", 0 if use_lspp_defaults() else None) ), Field( "neig", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes_binary.py index 5d9ae5ba3..eb198b920 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_modes_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitModesBinary(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidc", 0) + kwargs.get("nsidc", 0 if use_lspp_defaults() else None) ), Field( "nsida", int, 10, 10, - kwargs.get("nsida", 0) + kwargs.get("nsida", 0 if use_lspp_defaults() else None) ), Field( "neig", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_nonlinear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_nonlinear.py index 5dec3c567..0403cd3ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_nonlinear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_nonlinear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitNonlinear(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsolvr", 12) + kwargs.get("nsolvr", 12 if use_lspp_defaults() else None) ), Field( "ilimit", int, 10, 10, - kwargs.get("ilimit", 11) + kwargs.get("ilimit", 11 if use_lspp_defaults() else None) ), Field( "maxref", int, 20, 10, - kwargs.get("maxref", 15) + kwargs.get("maxref", 15 if use_lspp_defaults() else None) ), Field( "dctol", float, 30, 10, - kwargs.get("dctol", 0.001) + kwargs.get("dctol", 0.001 if use_lspp_defaults() else None) ), Field( "ectol", float, 40, 10, - kwargs.get("ectol", 0.01) + kwargs.get("ectol", 0.01 if use_lspp_defaults() else None) ), Field( "rctol", float, 50, 10, - kwargs.get("rctol", 1.0E+10) + kwargs.get("rctol", 1.0E+10 if use_lspp_defaults() else None) ), Field( "lstol", float, 60, 10, - kwargs.get("lstol", 0.9) + kwargs.get("lstol", 0.9 if use_lspp_defaults() else None) ), Field( "abstol", float, 70, 10, - kwargs.get("abstol", 1.0E-10) + kwargs.get("abstol", 1.0E-10 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dnorm", 2) + kwargs.get("dnorm", 2 if use_lspp_defaults() else None) ), Field( "diverg", int, 10, 10, - kwargs.get("diverg", 1) + kwargs.get("diverg", 1 if use_lspp_defaults() else None) ), Field( "istif", int, 20, 10, - kwargs.get("istif", 1) + kwargs.get("istif", 1 if use_lspp_defaults() else None) ), Field( "nlprint", int, 30, 10, - kwargs.get("nlprint", 0) + kwargs.get("nlprint", 0 if use_lspp_defaults() else None) ), Field( "nlnorm", float, 40, 10, - kwargs.get("nlnorm", 2) + kwargs.get("nlnorm", 2 if use_lspp_defaults() else None) ), Field( "d3itctl", int, 50, 10, - kwargs.get("d3itctl", 0) + kwargs.get("d3itctl", 0 if use_lspp_defaults() else None) ), Field( "cpchk", int, 60, 10, - kwargs.get("cpchk", 0) + kwargs.get("cpchk", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmtol", 0.0) + kwargs.get("dmtol", 0.0 if use_lspp_defaults() else None) ), Field( "emtol", float, 10, 10, - kwargs.get("emtol", 0.0) + kwargs.get("emtol", 0.0 if use_lspp_defaults() else None) ), Field( "rmtol", float, 20, 10, - kwargs.get("rmtol", 0.0) + kwargs.get("rmtol", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -181,28 +182,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nttol", 0.0) + kwargs.get("nttol", 0.0 if use_lspp_defaults() else None) ), Field( "nrtol", float, 50, 10, - kwargs.get("nrtol", 0.0) + kwargs.get("nrtol", 0.0 if use_lspp_defaults() else None) ), Field( "rttol", float, 60, 10, - kwargs.get("rttol", 0.0) + kwargs.get("rttol", 0.0 if use_lspp_defaults() else None) ), Field( "rrtol", float, 70, 10, - kwargs.get("rrtol", 0.0) + kwargs.get("rrtol", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -213,56 +214,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("arcctl", 0) + kwargs.get("arcctl", 0 if use_lspp_defaults() else None) ), Field( "arcdir", int, 10, 10, - kwargs.get("arcdir", 0) + kwargs.get("arcdir", 0 if use_lspp_defaults() else None) ), Field( "arclen", float, 20, 10, - kwargs.get("arclen", 0.0) + kwargs.get("arclen", 0.0 if use_lspp_defaults() else None) ), Field( "arcmth", int, 30, 10, - kwargs.get("arcmth", 1) + kwargs.get("arcmth", 1 if use_lspp_defaults() else None) ), Field( "arcdmp", int, 40, 10, - kwargs.get("arcdmp", 2) + kwargs.get("arcdmp", 2 if use_lspp_defaults() else None) ), Field( "arcpsi", float, 50, 10, - kwargs.get("arcpsi", 0.0) + kwargs.get("arcpsi", 0.0 if use_lspp_defaults() else None) ), Field( "arcalf", float, 60, 10, - kwargs.get("arcalf", 0.0) + kwargs.get("arcalf", 0.0 if use_lspp_defaults() else None) ), Field( "arctim", float, 70, 10, - kwargs.get("arctim", 0.0) + kwargs.get("arctim", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -273,42 +274,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsmtd", 4) + kwargs.get("lsmtd", 4 if use_lspp_defaults() else None) ), Field( "lsdir", int, 10, 10, - kwargs.get("lsdir", 2) + kwargs.get("lsdir", 2 if use_lspp_defaults() else None) ), Field( "irad", float, 20, 10, - kwargs.get("irad", 0.0) + kwargs.get("irad", 0.0 if use_lspp_defaults() else None) ), Field( "srad", float, 30, 10, - kwargs.get("srad", 0.0) + kwargs.get("srad", 0.0 if use_lspp_defaults() else None) ), Field( "awgt", float, 40, 10, - kwargs.get("awgt", 0.0) + kwargs.get("awgt", 0.0 if use_lspp_defaults() else None) ), Field( "sred", float, 50, 10, - kwargs.get("sred", 0.0) + kwargs.get("sred", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ordering.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ordering.py index e759a07ab..950ef5906 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ordering.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ordering.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitOrdering(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), Field( "nmetis", int, 10, 10, - kwargs.get("nmetis", 0) + kwargs.get("nmetis", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_residual_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_residual_vector.py index f11116b05..15d7b8866 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_residual_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_residual_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitResidualVector(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iresvec", 0) + kwargs.get("iresvec", 0 if use_lspp_defaults() else None) ), Field( "neig", int, 10, 10, - kwargs.get("neig", 0) + kwargs.get("neig", 0 if use_lspp_defaults() else None) ), Field( "iformat", int, 20, 10, - kwargs.get("iformat", 0) + kwargs.get("iformat", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_rotational_dynamics.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_rotational_dynamics.py index ca15d02af..a05f20fcf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_rotational_dynamics.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_rotational_dynamics.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitRotationalDynamics(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "omega", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nomeg", 0) + kwargs.get("nomeg", 0 if use_lspp_defaults() else None) ), Field( "iref", int, 50, 10, - kwargs.get("iref", 0) + kwargs.get("iref", 0 if use_lspp_defaults() else None) ), Field( "omegadr", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution.py index e29895ebc..fe53048cb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolution(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsolvr", 12) + kwargs.get("nsolvr", 12 if use_lspp_defaults() else None) ), Field( "ilimit", int, 10, 10, - kwargs.get("ilimit", 11) + kwargs.get("ilimit", 11 if use_lspp_defaults() else None) ), Field( "maxref", int, 20, 10, - kwargs.get("maxref", 15) + kwargs.get("maxref", 15 if use_lspp_defaults() else None) ), Field( "dctol", float, 30, 10, - kwargs.get("dctol", 0.001) + kwargs.get("dctol", 0.001 if use_lspp_defaults() else None) ), Field( "ectol", float, 40, 10, - kwargs.get("ectol", 0.01) + kwargs.get("ectol", 0.01 if use_lspp_defaults() else None) ), Field( "rctol", float, 50, 10, - kwargs.get("rctol", 1.0E+10) + kwargs.get("rctol", 1.0E+10 if use_lspp_defaults() else None) ), Field( "lstol", float, 60, 10, - kwargs.get("lstol", 0.9) + kwargs.get("lstol", 0.9 if use_lspp_defaults() else None) ), Field( "abstol", float, 70, 10, - kwargs.get("abstol", 1.0E-10) + kwargs.get("abstol", 1.0E-10 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dnorm", 2) + kwargs.get("dnorm", 2 if use_lspp_defaults() else None) ), Field( "diverg", int, 10, 10, - kwargs.get("diverg", 1) + kwargs.get("diverg", 1 if use_lspp_defaults() else None) ), Field( "istif", int, 20, 10, - kwargs.get("istif", 1) + kwargs.get("istif", 1 if use_lspp_defaults() else None) ), Field( "nlprint", int, 30, 10, - kwargs.get("nlprint", 0) + kwargs.get("nlprint", 0 if use_lspp_defaults() else None) ), Field( "nlnorm", float, 40, 10, - kwargs.get("nlnorm", 2) + kwargs.get("nlnorm", 2 if use_lspp_defaults() else None) ), Field( "d3itctl", int, 50, 10, - kwargs.get("d3itctl", 0) + kwargs.get("d3itctl", 0 if use_lspp_defaults() else None) ), Field( "cpchk", int, 60, 10, - kwargs.get("cpchk", 0) + kwargs.get("cpchk", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmtol", 0.0) + kwargs.get("dmtol", 0.0 if use_lspp_defaults() else None) ), Field( "emtol", float, 10, 10, - kwargs.get("emtol", 0.0) + kwargs.get("emtol", 0.0 if use_lspp_defaults() else None) ), Field( "rmtol", float, 20, 10, - kwargs.get("rmtol", 0.0) + kwargs.get("rmtol", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -181,28 +182,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nttol", 0.0) + kwargs.get("nttol", 0.0 if use_lspp_defaults() else None) ), Field( "nrtol", float, 50, 10, - kwargs.get("nrtol", 0.0) + kwargs.get("nrtol", 0.0 if use_lspp_defaults() else None) ), Field( "rttol", float, 60, 10, - kwargs.get("rttol", 0.0) + kwargs.get("rttol", 0.0 if use_lspp_defaults() else None) ), Field( "rrtol", float, 70, 10, - kwargs.get("rrtol", 0.0) + kwargs.get("rrtol", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.dnorm < 0, @@ -214,56 +215,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("arcctl", 0) + kwargs.get("arcctl", 0 if use_lspp_defaults() else None) ), Field( "arcdir", int, 10, 10, - kwargs.get("arcdir", 0) + kwargs.get("arcdir", 0 if use_lspp_defaults() else None) ), Field( "arclen", float, 20, 10, - kwargs.get("arclen", 0.0) + kwargs.get("arclen", 0.0 if use_lspp_defaults() else None) ), Field( "arcmth", int, 30, 10, - kwargs.get("arcmth", 1) + kwargs.get("arcmth", 1 if use_lspp_defaults() else None) ), Field( "arcdmp", int, 40, 10, - kwargs.get("arcdmp", 2) + kwargs.get("arcdmp", 2 if use_lspp_defaults() else None) ), Field( "arcpsi", float, 50, 10, - kwargs.get("arcpsi", 0.0) + kwargs.get("arcpsi", 0.0 if use_lspp_defaults() else None) ), Field( "arcalf", float, 60, 10, - kwargs.get("arcalf", 0.0) + kwargs.get("arcalf", 0.0 if use_lspp_defaults() else None) ), Field( "arctim", float, 70, 10, - kwargs.get("arctim", 0.0) + kwargs.get("arctim", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -274,42 +275,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsmtd", 4) + kwargs.get("lsmtd", 4 if use_lspp_defaults() else None) ), Field( "lsdir", int, 10, 10, - kwargs.get("lsdir", 2) + kwargs.get("lsdir", 2 if use_lspp_defaults() else None) ), Field( "irad", float, 20, 10, - kwargs.get("irad", 0.0) + kwargs.get("irad", 0.0 if use_lspp_defaults() else None) ), Field( "srad", float, 30, 10, - kwargs.get("srad", 0.0) + kwargs.get("srad", 0.0 if use_lspp_defaults() else None) ), Field( "awgt", float, 40, 10, - kwargs.get("awgt", 0.0) + kwargs.get("awgt", 0.0 if use_lspp_defaults() else None) ), Field( "sred", float, 50, 10, - kwargs.get("sred", 0.0) + kwargs.get("sred", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_dyn.py index 6a6d87acf..ea810f283 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolutionDyn(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsolvr", 12) + kwargs.get("nsolvr", 12 if use_lspp_defaults() else None) ), Field( "ilimit", int, 10, 10, - kwargs.get("ilimit", 11) + kwargs.get("ilimit", 11 if use_lspp_defaults() else None) ), Field( "maxref", int, 20, 10, - kwargs.get("maxref", 15) + kwargs.get("maxref", 15 if use_lspp_defaults() else None) ), Field( "dctol", float, 30, 10, - kwargs.get("dctol", 0.001) + kwargs.get("dctol", 0.001 if use_lspp_defaults() else None) ), Field( "ectol", float, 40, 10, - kwargs.get("ectol", 0.01) + kwargs.get("ectol", 0.01 if use_lspp_defaults() else None) ), Field( "rctol", float, 50, 10, - kwargs.get("rctol", 1.0E+10) + kwargs.get("rctol", 1.0E+10 if use_lspp_defaults() else None) ), Field( "lstol", float, 60, 10, - kwargs.get("lstol", 0.9) + kwargs.get("lstol", 0.9 if use_lspp_defaults() else None) ), Field( "abstol", float, 70, 10, - kwargs.get("abstol", 1.0E-10) + kwargs.get("abstol", 1.0E-10 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dnorm", 2) + kwargs.get("dnorm", 2 if use_lspp_defaults() else None) ), Field( "diverg", int, 10, 10, - kwargs.get("diverg", 1) + kwargs.get("diverg", 1 if use_lspp_defaults() else None) ), Field( "istif", int, 20, 10, - kwargs.get("istif", 1) + kwargs.get("istif", 1 if use_lspp_defaults() else None) ), Field( "nlprint", int, 30, 10, - kwargs.get("nlprint", 0) + kwargs.get("nlprint", 0 if use_lspp_defaults() else None) ), Field( "nlnorm", float, 40, 10, - kwargs.get("nlnorm", 2) + kwargs.get("nlnorm", 2 if use_lspp_defaults() else None) ), Field( "d3itctl", int, 50, 10, - kwargs.get("d3itctl", 0) + kwargs.get("d3itctl", 0 if use_lspp_defaults() else None) ), Field( "cpchk", int, 60, 10, - kwargs.get("cpchk", 0) + kwargs.get("cpchk", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmtol", 0.0) + kwargs.get("dmtol", 0.0 if use_lspp_defaults() else None) ), Field( "emtol", float, 10, 10, - kwargs.get("emtol", 0.0) + kwargs.get("emtol", 0.0 if use_lspp_defaults() else None) ), Field( "rmtol", float, 20, 10, - kwargs.get("rmtol", 0.0) + kwargs.get("rmtol", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -181,28 +182,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nttol", 0.0) + kwargs.get("nttol", 0.0 if use_lspp_defaults() else None) ), Field( "nrtol", float, 50, 10, - kwargs.get("nrtol", 0.0) + kwargs.get("nrtol", 0.0 if use_lspp_defaults() else None) ), Field( "rttol", float, 60, 10, - kwargs.get("rttol", 0.0) + kwargs.get("rttol", 0.0 if use_lspp_defaults() else None) ), Field( "rrtol", float, 70, 10, - kwargs.get("rrtol", 0.0) + kwargs.get("rrtol", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -213,56 +214,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("arcctl", 0) + kwargs.get("arcctl", 0 if use_lspp_defaults() else None) ), Field( "arcdir", int, 10, 10, - kwargs.get("arcdir", 0) + kwargs.get("arcdir", 0 if use_lspp_defaults() else None) ), Field( "arclen", float, 20, 10, - kwargs.get("arclen", 0.0) + kwargs.get("arclen", 0.0 if use_lspp_defaults() else None) ), Field( "arcmth", int, 30, 10, - kwargs.get("arcmth", 1) + kwargs.get("arcmth", 1 if use_lspp_defaults() else None) ), Field( "arcdmp", int, 40, 10, - kwargs.get("arcdmp", 2) + kwargs.get("arcdmp", 2 if use_lspp_defaults() else None) ), Field( "arcpsi", float, 50, 10, - kwargs.get("arcpsi", 0.0) + kwargs.get("arcpsi", 0.0 if use_lspp_defaults() else None) ), Field( "arcalf", float, 60, 10, - kwargs.get("arcalf", 0.0) + kwargs.get("arcalf", 0.0 if use_lspp_defaults() else None) ), Field( "arctim", float, 70, 10, - kwargs.get("arctim", 0.0) + kwargs.get("arctim", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -273,42 +274,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsmtd", 4) + kwargs.get("lsmtd", 4 if use_lspp_defaults() else None) ), Field( "lsdir", int, 10, 10, - kwargs.get("lsdir", 2) + kwargs.get("lsdir", 2 if use_lspp_defaults() else None) ), Field( "irad", float, 20, 10, - kwargs.get("irad", 0.0) + kwargs.get("irad", 0.0 if use_lspp_defaults() else None) ), Field( "srad", float, 30, 10, - kwargs.get("srad", 0.0) + kwargs.get("srad", 0.0 if use_lspp_defaults() else None) ), Field( "awgt", float, 40, 10, - kwargs.get("awgt", 0.0) + kwargs.get("awgt", 0.0 if use_lspp_defaults() else None) ), Field( "sred", float, 50, 10, - kwargs.get("sred", 0.0) + kwargs.get("sred", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_spr.py index 19a4b3346..98a04b32b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solution_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolutionSpr(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsolvr", 12) + kwargs.get("nsolvr", 12 if use_lspp_defaults() else None) ), Field( "ilimit", int, 10, 10, - kwargs.get("ilimit", 11) + kwargs.get("ilimit", 11 if use_lspp_defaults() else None) ), Field( "maxref", int, 20, 10, - kwargs.get("maxref", 15) + kwargs.get("maxref", 15 if use_lspp_defaults() else None) ), Field( "dctol", float, 30, 10, - kwargs.get("dctol", 0.001) + kwargs.get("dctol", 0.001 if use_lspp_defaults() else None) ), Field( "ectol", float, 40, 10, - kwargs.get("ectol", 0.01) + kwargs.get("ectol", 0.01 if use_lspp_defaults() else None) ), Field( "rctol", float, 50, 10, - kwargs.get("rctol", 1.0E+10) + kwargs.get("rctol", 1.0E+10 if use_lspp_defaults() else None) ), Field( "lstol", float, 60, 10, - kwargs.get("lstol", 0.9) + kwargs.get("lstol", 0.9 if use_lspp_defaults() else None) ), Field( "abstol", float, 70, 10, - kwargs.get("abstol", 1.0E-10) + kwargs.get("abstol", 1.0E-10 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dnorm", 2) + kwargs.get("dnorm", 2 if use_lspp_defaults() else None) ), Field( "diverg", int, 10, 10, - kwargs.get("diverg", 1) + kwargs.get("diverg", 1 if use_lspp_defaults() else None) ), Field( "istif", int, 20, 10, - kwargs.get("istif", 1) + kwargs.get("istif", 1 if use_lspp_defaults() else None) ), Field( "nlprint", int, 30, 10, - kwargs.get("nlprint", 0) + kwargs.get("nlprint", 0 if use_lspp_defaults() else None) ), Field( "nlnorm", float, 40, 10, - kwargs.get("nlnorm", 2) + kwargs.get("nlnorm", 2 if use_lspp_defaults() else None) ), Field( "d3itctl", int, 50, 10, - kwargs.get("d3itctl", 0) + kwargs.get("d3itctl", 0 if use_lspp_defaults() else None) ), Field( "cpchk", int, 60, 10, - kwargs.get("cpchk", 0) + kwargs.get("cpchk", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmtol", 0.0) + kwargs.get("dmtol", 0.0 if use_lspp_defaults() else None) ), Field( "emtol", float, 10, 10, - kwargs.get("emtol", 0.0) + kwargs.get("emtol", 0.0 if use_lspp_defaults() else None) ), Field( "rmtol", float, 20, 10, - kwargs.get("rmtol", 0.0) + kwargs.get("rmtol", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -181,28 +182,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nttol", 0.0) + kwargs.get("nttol", 0.0 if use_lspp_defaults() else None) ), Field( "nrtol", float, 50, 10, - kwargs.get("nrtol", 0.0) + kwargs.get("nrtol", 0.0 if use_lspp_defaults() else None) ), Field( "rttol", float, 60, 10, - kwargs.get("rttol", 0.0) + kwargs.get("rttol", 0.0 if use_lspp_defaults() else None) ), Field( "rrtol", float, 70, 10, - kwargs.get("rrtol", 0.0) + kwargs.get("rrtol", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -213,56 +214,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("arcctl", 0) + kwargs.get("arcctl", 0 if use_lspp_defaults() else None) ), Field( "arcdir", int, 10, 10, - kwargs.get("arcdir", 0) + kwargs.get("arcdir", 0 if use_lspp_defaults() else None) ), Field( "arclen", float, 20, 10, - kwargs.get("arclen", 0.0) + kwargs.get("arclen", 0.0 if use_lspp_defaults() else None) ), Field( "arcmth", int, 30, 10, - kwargs.get("arcmth", 1) + kwargs.get("arcmth", 1 if use_lspp_defaults() else None) ), Field( "arcdmp", int, 40, 10, - kwargs.get("arcdmp", 2) + kwargs.get("arcdmp", 2 if use_lspp_defaults() else None) ), Field( "arcpsi", float, 50, 10, - kwargs.get("arcpsi", 0.0) + kwargs.get("arcpsi", 0.0 if use_lspp_defaults() else None) ), Field( "arcalf", float, 60, 10, - kwargs.get("arcalf", 0.0) + kwargs.get("arcalf", 0.0 if use_lspp_defaults() else None) ), Field( "arctim", float, 70, 10, - kwargs.get("arctim", 0.0) + kwargs.get("arctim", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -273,42 +274,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsmtd", 4) + kwargs.get("lsmtd", 4 if use_lspp_defaults() else None) ), Field( "lsdir", int, 10, 10, - kwargs.get("lsdir", 2) + kwargs.get("lsdir", 2 if use_lspp_defaults() else None) ), Field( "irad", float, 20, 10, - kwargs.get("irad", 0.0) + kwargs.get("irad", 0.0 if use_lspp_defaults() else None) ), Field( "srad", float, 30, 10, - kwargs.get("srad", 0.0) + kwargs.get("srad", 0.0 if use_lspp_defaults() else None) ), Field( "awgt", float, 40, 10, - kwargs.get("awgt", 0.0) + kwargs.get("awgt", 0.0 if use_lspp_defaults() else None) ), Field( "sred", float, 50, 10, - kwargs.get("sred", 0.0) + kwargs.get("sred", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver.py index 7d8abf653..fc6bbfae1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolver(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsolvr", 2) + kwargs.get("lsolvr", 2 if use_lspp_defaults() else None) ), Field( "lprint", int, 10, 10, - kwargs.get("lprint", 0) + kwargs.get("lprint", 0 if use_lspp_defaults() else None) ), Field( "negev", int, 20, 10, - kwargs.get("negev", 2) + kwargs.get("negev", 2 if use_lspp_defaults() else None) ), Field( "order", int, 30, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), Field( "drcm", int, 40, 10, - kwargs.get("drcm", 4) + kwargs.get("drcm", 4 if use_lspp_defaults() else None) ), Field( "drcprm", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("autospc", 1) + kwargs.get("autospc", 1 if use_lspp_defaults() else None) ), Field( "autotol", @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpack", 2) + kwargs.get("lcpack", 2 if use_lspp_defaults() else None) ), Field( "mtxdmp", int, 10, 10, - kwargs.get("mtxdmp", 0) + kwargs.get("mtxdmp", 0 if use_lspp_defaults() else None) ), Field( "iparm1", int, 20, 10, - kwargs.get("iparm1", 500) + kwargs.get("iparm1", 500 if use_lspp_defaults() else None) ), Field( "rparm1", float, 30, 10, - kwargs.get("rparm1", 10.0e-10) + kwargs.get("rparm1", 10.0e-10 if use_lspp_defaults() else None) ), Field( "rparm2", float, 40, 10, - kwargs.get("rparm2", 10.0e-4) + kwargs.get("rparm2", 10.0e-4 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rparm5", 0.0) + kwargs.get("rparm5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("emxdmp", 0) + kwargs.get("emxdmp", 0 if use_lspp_defaults() else None) ), Field( "rdcmem", float, 10, 10, - kwargs.get("rdcmem", 0.85) + kwargs.get("rdcmem", 0.85 if use_lspp_defaults() else None) ), Field( "absmem", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_dyn.py index c70caa50f..41448a366 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolverDyn(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsolvr", 2) + kwargs.get("lsolvr", 2 if use_lspp_defaults() else None) ), Field( "lprint", int, 10, 10, - kwargs.get("lprint", 0) + kwargs.get("lprint", 0 if use_lspp_defaults() else None) ), Field( "negev", int, 20, 10, - kwargs.get("negev", 2) + kwargs.get("negev", 2 if use_lspp_defaults() else None) ), Field( "order", int, 30, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), Field( "drcm", int, 40, 10, - kwargs.get("drcm", 4) + kwargs.get("drcm", 4 if use_lspp_defaults() else None) ), Field( "drcprm", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("autospc", 1) + kwargs.get("autospc", 1 if use_lspp_defaults() else None) ), Field( "autotol", @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpack", 2) + kwargs.get("lcpack", 2 if use_lspp_defaults() else None) ), Field( "mtxdmp", int, 10, 10, - kwargs.get("mtxdmp", 0) + kwargs.get("mtxdmp", 0 if use_lspp_defaults() else None) ), Field( "iparm1", int, 20, 10, - kwargs.get("iparm1", 500) + kwargs.get("iparm1", 500 if use_lspp_defaults() else None) ), Field( "rparm1", float, 30, 10, - kwargs.get("rparm1", 10.0e-10) + kwargs.get("rparm1", 10.0e-10 if use_lspp_defaults() else None) ), Field( "rparm2", float, 40, 10, - kwargs.get("rparm2", 10.0e-4) + kwargs.get("rparm2", 10.0e-4 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rparm5", 0.0) + kwargs.get("rparm5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("emxdmp", 0) + kwargs.get("emxdmp", 0 if use_lspp_defaults() else None) ), Field( "rdcmem", float, 10, 10, - kwargs.get("rdcmem", 0.85) + kwargs.get("rdcmem", 0.85 if use_lspp_defaults() else None) ), Field( "absmem", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_spr.py index 7c192d5e9..5cb6f1a40 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_solver_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSolverSpr(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lsolvr", 2) + kwargs.get("lsolvr", 2 if use_lspp_defaults() else None) ), Field( "lprint", int, 10, 10, - kwargs.get("lprint", 0) + kwargs.get("lprint", 0 if use_lspp_defaults() else None) ), Field( "negev", int, 20, 10, - kwargs.get("negev", 2) + kwargs.get("negev", 2 if use_lspp_defaults() else None) ), Field( "order", int, 30, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), Field( "drcm", int, 40, 10, - kwargs.get("drcm", 4) + kwargs.get("drcm", 4 if use_lspp_defaults() else None) ), Field( "drcprm", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("autospc", 1) + kwargs.get("autospc", 1 if use_lspp_defaults() else None) ), Field( "autotol", @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpack", 2) + kwargs.get("lcpack", 2 if use_lspp_defaults() else None) ), Field( "mtxdmp", int, 10, 10, - kwargs.get("mtxdmp", 0) + kwargs.get("mtxdmp", 0 if use_lspp_defaults() else None) ), Field( "iparm1", int, 20, 10, - kwargs.get("iparm1", 500) + kwargs.get("iparm1", 500 if use_lspp_defaults() else None) ), Field( "rparm1", float, 30, 10, - kwargs.get("rparm1", 10.0e-10) + kwargs.get("rparm1", 10.0e-10 if use_lspp_defaults() else None) ), Field( "rparm2", float, 40, 10, - kwargs.get("rparm2", 10.0e-4) + kwargs.get("rparm2", 10.0e-4 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rparm5", 0.0) + kwargs.get("rparm5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("emxdmp", 0) + kwargs.get("emxdmp", 0 if use_lspp_defaults() else None) ), Field( "rdcmem", float, 10, 10, - kwargs.get("rdcmem", 0.85) + kwargs.get("rdcmem", 0.85 if use_lspp_defaults() else None) ), Field( "absmem", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ssd_direct.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ssd_direct.py index 603ad5ccc..e4dd4a401 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ssd_direct.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_ssd_direct.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitSsdDirect(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("issflg", 0) + kwargs.get("issflg", 0 if use_lspp_defaults() else None) ), Field( "fmin", @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nfreq", 1) + kwargs.get("nfreq", 1 if use_lspp_defaults() else None) ), Field( "loss", float, 40, 10, - kwargs.get("loss", 0.0) + kwargs.get("loss", 0.0 if use_lspp_defaults() else None) ), Field( "fspace", float, 50, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "fractn", int, 60, 10, - kwargs.get("fractn", 1) + kwargs.get("fractn", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilisation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilisation.py index 02566497e..170aab619 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilisation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilisation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStabilisation(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ias", 2) + kwargs.get("ias", 2 if use_lspp_defaults() else None) ), Field( "scale", float, 10, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 20, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 30, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization.py index d9d1d671c..ecfd2b6fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStabilization(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ias", 2) + kwargs.get("ias", 2 if use_lspp_defaults() else None) ), Field( "scale", float, 10, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 20, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 30, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_dyn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_dyn.py index f9e4dc404..5d4899af3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_dyn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_dyn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStabilizationDyn(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ias", 2) + kwargs.get("ias", 2 if use_lspp_defaults() else None) ), Field( "scale", float, 10, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 20, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 30, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_spr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_spr.py index a338e0d91..eeb16fbce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_spr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_stabilization_spr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStabilizationSpr(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ias", 2) + kwargs.get("ias", 2 if use_lspp_defaults() else None) ), Field( "scale", float, 10, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 20, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 30, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation.py index 04a4456d4..74097b791 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStaticCondensation(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sc_flag", 0) + kwargs.get("sc_flag", 0 if use_lspp_defaults() else None) ), Field( "sc_nsid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation_binary.py index d31f4ae09..16d1446a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_static_condensation_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitStaticCondensationBinary(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sc_flag", 0) + kwargs.get("sc_flag", 0 if use_lspp_defaults() else None) ), Field( "sc_nsid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_termination.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_termination.py index 9f6431da8..a6286f86f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_termination.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_implicit_termination.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlImplicitTermination(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("deltau", 0.0) + kwargs.get("deltau", 0.0 if use_lspp_defaults() else None) ), Field( "delta1", float, 10, 10, - kwargs.get("delta1", 0.0) + kwargs.get("delta1", 0.0 if use_lspp_defaults() else None) ), Field( "ketol", float, 20, 10, - kwargs.get("ketol", 0.0) + kwargs.get("ketol", 0.0 if use_lspp_defaults() else None) ), Field( "ietol", float, 30, 10, - kwargs.get("ietol", 0.0) + kwargs.get("ietol", 0.0 if use_lspp_defaults() else None) ), Field( "tetol", float, 40, 10, - kwargs.get("tetol", 0.0) + kwargs.get("tetol", 0.0 if use_lspp_defaults() else None) ), Field( "nstep", int, 50, 10, - kwargs.get("nstep", 3) + kwargs.get("nstep", 3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_lsda.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_lsda.py index 20a40f4ed..3454b86e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_lsda.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_lsda.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlLsda(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mat.py index f445d5bc6..f9b728eea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMat(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maef", 0) + kwargs.get("maef", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("umchk", 0) + kwargs.get("umchk", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_contact_groupable.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_contact_groupable.py index 2cf414cef..c4d108c72 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_contact_groupable.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_contact_groupable.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppContactGroupable(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("grp", 1) + kwargs.get("grp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_adaptive.py index 8cc8c2f73..07ab00453 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionAdaptive(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("defgeo", 1) + kwargs.get("defgeo", 1 if use_lspp_defaults() else None) ), Field( "cweight", float, 20, 10, - kwargs.get("cweight", 1.0) + kwargs.get("cweight", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_arrange_parts.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_arrange_parts.py index c06e0e59b..6efbf5f7d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_arrange_parts.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_arrange_parts.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionArrangeParts(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nproc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_automatic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_automatic.py index fdbc24c35..d39a75289 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_automatic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_automatic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionAutomatic(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_bagref.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_bagref.py index 073094606..61596492d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_bagref.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_bagref.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionBagref(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_check_speed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_check_speed.py index 54ca14728..f971bd93f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_check_speed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_check_speed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionCheckSpeed(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_distribute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_distribute.py index e0db16c00..4cc05b9b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_distribute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_distribute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionContactDistribute(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_isolate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_isolate.py index 7d168f9b3..06987eed9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_isolate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_contact_isolate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionContactIsolate(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_disable_unref_curves.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_disable_unref_curves.py index c646e6be2..276b2751c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_disable_unref_curves.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_disable_unref_curves.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionDisableUnrefCurves(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_element.py index 471a1c139..045eea600 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionDistributeAleElement(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_elements.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_elements.py index 45a79e9f2..2939a158a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_elements.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_ale_elements.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionDistributeAleElements(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_element.py index 2948d5de6..b5df1a752 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionDistributeSphElement(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_elements.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_elements.py index 192b91402..ec26ae3cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_elements.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_distribute_sph_elements.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionDistributeSphElements(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_elcost.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_elcost.py index 808c864e9..04c60e521 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_elcost.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_elcost.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionElcost(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file.py index a1fb43cfc..e0c688c60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionFile(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_read.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_read.py index 4ec5b533e..f5f7b8ed4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_read.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_read.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionFileRead(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_write.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_write.py index fdaa14b9b..73e982262 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_write.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_file_write.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionFileWrite(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_method.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_method.py index 1b1edf952..83e4eda73 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_method.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_method.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionMethod(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_nodistribute_des_elements.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_nodistribute_des_elements.py index 62d649e74..e3e9bf0c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_nodistribute_des_elements.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_nodistribute_des_elements.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionNodistributeDesElements(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_numproc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_numproc.py index 605fcae21..61375224e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_numproc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_numproc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionNumproc(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_outdecomp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_outdecomp.py index c979463f8..1ee141fba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_outdecomp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_outdecomp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionOutdecomp(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_parts_distribute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_parts_distribute.py index 541ad030d..d6c9d69ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_parts_distribute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_parts_distribute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionPartsDistribute(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_partset_distribute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_partset_distribute.py index f0e314851..0f1035710 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_partset_distribute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_partset_distribute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionPartsetDistribute(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_rcblog.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_rcblog.py index e5d04896c..0fef37c04 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_rcblog.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_rcblog.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionRcblog(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition.py index 61b38e791..ec4fcda46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionRedecomposition(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("defgeo", 1) + kwargs.get("defgeo", 1 if use_lspp_defaults() else None) ), Field( "weight", float, 20, 10, - kwargs.get("weight", 1.0) + kwargs.get("weight", 1.0 if use_lspp_defaults() else None) ), Field( "remsph", int, 30, 10, - kwargs.get("remsph", 0) + kwargs.get("remsph", 0 if use_lspp_defaults() else None) ), Field( "stime", float, 40, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), Field( "sampt ", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition_once.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition_once.py index f9c4032c9..ad48d7700 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition_once.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_redecomposition_once.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionRedecompositionOnce(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("defgeo", 1) + kwargs.get("defgeo", 1 if use_lspp_defaults() else None) ), Field( "weight", float, 20, 10, - kwargs.get("weight", 1.0) + kwargs.get("weight", 1.0 if use_lspp_defaults() else None) ), Field( "remsph", int, 30, 10, - kwargs.get("remsph", 0) + kwargs.get("remsph", 0 if use_lspp_defaults() else None) ), Field( "stime", float, 40, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), Field( "sampt ", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_contact_cost.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_contact_cost.py index 484626261..93536357e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_contact_cost.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_contact_cost.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionScaleContactCost(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_factor_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_factor_sph.py index e718d096b..539066428 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_factor_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_scale_factor_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionScaleFactorSph(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_show.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_show.py index 1da77b500..0ca68da5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_show.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_show.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionShow(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_transformation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_transformation.py index d6cde60dc..4256bbff7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_transformation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_decomposition_transformation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppDecompositionTransformation(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("type", "RX") + kwargs.get("type", "RX" if use_lspp_defaults() else None) ), Field( "v1", float, 10, 10, - kwargs.get("v1", 0.0) + kwargs.get("v1", 0.0 if use_lspp_defaults() else None) ), Field( "v2", float, 20, 10, - kwargs.get("v2", 0.0) + kwargs.get("v2", 0.0 if use_lspp_defaults() else None) ), Field( "v3", float, 30, 10, - kwargs.get("v3", 0.0) + kwargs.get("v3", 0.0 if use_lspp_defaults() else None) ), Field( "v4", float, 40, 10, - kwargs.get("v4", 0.0) + kwargs.get("v4", 0.0 if use_lspp_defaults() else None) ), Field( "v5", float, 50, 10, - kwargs.get("v5", 0.0) + kwargs.get("v5", 0.0 if use_lspp_defaults() else None) ), Field( "v6", float, 60, 10, - kwargs.get("v6", 0.0) + kwargs.get("v6", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,21 +94,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("v7", 0.0) + kwargs.get("v7", 0.0 if use_lspp_defaults() else None) ), Field( "v8", float, 10, 10, - kwargs.get("v8", 0.0) + kwargs.get("v8", 0.0 if use_lspp_defaults() else None) ), Field( "v9", float, 20, 10, - kwargs.get("v9", 0.0) + kwargs.get("v9", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_binoutonly.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_binoutonly.py index 4977b8f24..6089df2bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_binoutonly.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_binoutonly.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoBinoutonly(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_lstc_reduce.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_lstc_reduce.py index 2ef9ae691..598148257 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_lstc_reduce.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_lstc_reduce.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoLstcReduce(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nobeamout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nobeamout.py index a190a2e3a..7b6cd80cb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nobeamout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nobeamout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoNobeamout(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nod3dump.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nod3dump.py index e19479b51..02578587a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nod3dump.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nod3dump.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoNod3Dump(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nodump.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nodump.py index 22d0ebb35..d79102f08 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nodump.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nodump.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoNodump(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nofull.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nofull.py index fc51376c6..69b1a5e7f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nofull.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_nofull.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoNofull(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_swapbytes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_swapbytes.py index 842ce1728..e9d1c1cc6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_swapbytes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_io_swapbytes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppIoSwapbytes(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_pfile.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_pfile.py index 7ae5ae810..318624187 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_pfile.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_pfile.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppPfile(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_rebalance.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_rebalance.py index 78ed3c8ef..b7bfaff6b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_rebalance.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_mpp_rebalance.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlMppRebalance(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("icoor", 0) + kwargs.get("icoor", 0 if use_lspp_defaults() else None) ), Field( "icost", int, 20, 10, - kwargs.get("icost", 0) + kwargs.get("icost", 0 if use_lspp_defaults() else None) ), Field( "thres", float, 30, 10, - kwargs.get("thres", 1.0) + kwargs.get("thres", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_nonlocal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_nonlocal.py index 9d5a6fcbb..277991154 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_nonlocal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_nonlocal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlNonlocal(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_output.py index 84a276462..406d34f6c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlOutput(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("npopt", 0) + kwargs.get("npopt", 0 if use_lspp_defaults() else None) ), Field( "neecho", int, 10, 10, - kwargs.get("neecho", 0) + kwargs.get("neecho", 0 if use_lspp_defaults() else None) ), Field( "nrefup", int, 20, 10, - kwargs.get("nrefup", 0) + kwargs.get("nrefup", 0 if use_lspp_defaults() else None) ), Field( "iaccop", int, 30, 10, - kwargs.get("iaccop", 0) + kwargs.get("iaccop", 0 if use_lspp_defaults() else None) ), Field( "opifs", float, 40, 10, - kwargs.get("opifs", 0.0) + kwargs.get("opifs", 0.0 if use_lspp_defaults() else None) ), Field( "ipnint", int, 50, 10, - kwargs.get("ipnint", 0) + kwargs.get("ipnint", 0 if use_lspp_defaults() else None) ), Field( "ikedit", int, 60, 10, - kwargs.get("ikedit", 100) + kwargs.get("ikedit", 100 if use_lspp_defaults() else None) ), Field( "iflush", int, 70, 10, - kwargs.get("iflush", 5000) + kwargs.get("iflush", 5000 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iprtf", 0) + kwargs.get("iprtf", 0 if use_lspp_defaults() else None) ), Field( "ierode", int, 10, 10, - kwargs.get("ierode", 0) + kwargs.get("ierode", 0 if use_lspp_defaults() else None) ), Field( "tet10s8", int, 20, 10, - kwargs.get("tet10s8", 2) + kwargs.get("tet10s8", 2 if use_lspp_defaults() else None) ), Field( "msgmax", int, 30, 10, - kwargs.get("msgmax", 50) + kwargs.get("msgmax", 50 if use_lspp_defaults() else None) ), Field( "ipcurv", int, 40, 10, - kwargs.get("ipcurv", 0) + kwargs.get("ipcurv", 0 if use_lspp_defaults() else None) ), Field( "gmdt", float, 50, 10, - kwargs.get("gmdt", 0.0) + kwargs.get("gmdt", 0.0 if use_lspp_defaults() else None) ), Field( "ip1dblt", int, 60, 10, - kwargs.get("ip1dblt", 0) + kwargs.get("ip1dblt", 0 if use_lspp_defaults() else None) ), Field( "eocs", int, 70, 10, - kwargs.get("eocs", 0) + kwargs.get("eocs", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,49 +161,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tolev", 2) + kwargs.get("tolev", 2 if use_lspp_defaults() else None) ), Field( "newleg", int, 10, 10, - kwargs.get("newleg", 0) + kwargs.get("newleg", 0 if use_lspp_defaults() else None) ), Field( "frfreq", int, 20, 10, - kwargs.get("frfreq", 1) + kwargs.get("frfreq", 1 if use_lspp_defaults() else None) ), Field( "minfo", int, 30, 10, - kwargs.get("minfo", 0) + kwargs.get("minfo", 0 if use_lspp_defaults() else None) ), Field( "solsig", int, 40, 10, - kwargs.get("solsig", 0) + kwargs.get("solsig", 0 if use_lspp_defaults() else None) ), Field( "msgflg", int, 50, 10, - kwargs.get("msgflg", 0) + kwargs.get("msgflg", 0 if use_lspp_defaults() else None) ), Field( "cdetol", float, 60, 10, - kwargs.get("cdetol", 10.0) + kwargs.get("cdetol", 10.0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("phschng", 0) + kwargs.get("phschng", 0 if use_lspp_defaults() else None) ), Field( "demden", int, 10, 10, - kwargs.get("demden", 0) + kwargs.get("demden", 0 if use_lspp_defaults() else None) ), Field( "icrfile", int, 20, 10, - kwargs.get("icrfile", 0) + kwargs.get("icrfile", 0 if use_lspp_defaults() else None) ), Field( "spc2bnd", @@ -241,28 +242,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("penout", 0) + kwargs.get("penout", 0 if use_lspp_defaults() else None) ), Field( "shlsig", int, 50, 10, - kwargs.get("shlsig", 0) + kwargs.get("shlsig", 0 if use_lspp_defaults() else None) ), Field( "hisnout", int, 60, 10, - kwargs.get("hisnout", 0) + kwargs.get("hisnout", 0 if use_lspp_defaults() else None) ), Field( "engout", int, 70, 10, - kwargs.get("engout", 0) + kwargs.get("engout", 0 if use_lspp_defaults() else None) ), ], ), @@ -273,35 +274,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("insf", 0) + kwargs.get("insf", 0 if use_lspp_defaults() else None) ), Field( "isolsf", int, 10, 10, - kwargs.get("isolsf", 0) + kwargs.get("isolsf", 0 if use_lspp_defaults() else None) ), Field( "ibsf", int, 20, 10, - kwargs.get("ibsf", 0) + kwargs.get("ibsf", 0 if use_lspp_defaults() else None) ), Field( "issf", int, 30, 10, - kwargs.get("issf", 0) + kwargs.get("issf", 0 if use_lspp_defaults() else None) ), Field( "mlkbag", int, 40, 10, - kwargs.get("mlkbag", 0) + kwargs.get("mlkbag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_parallel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_parallel.py index e07928dac..c12fb6ea1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_parallel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_parallel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlParallel(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ncpu", 1) + kwargs.get("ncpu", 1 if use_lspp_defaults() else None) ), Field( "numrhs", int, 10, 10, - kwargs.get("numrhs", 0) + kwargs.get("numrhs", 0 if use_lspp_defaults() else None) ), Field( "const", int, 20, 10, - kwargs.get("const", 2) + kwargs.get("const", 2 if use_lspp_defaults() else None) ), Field( "para", int, 30, 10, - kwargs.get("para", 0) + kwargs.get("para", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_air.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_air.py index 8de630a9c..1192d7503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_air.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_air.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlPoreAir(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("anamsg", 0) + kwargs.get("anamsg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_fluid.py index 1686e3c92..473bb600c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pore_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlPoreFluid(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("atype", 0) + kwargs.get("atype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("wtable", 0.0) + kwargs.get("wtable", 0.0 if use_lspp_defaults() else None) ), Field( "pf_rho", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), Field( "tmf", float, 70, 10, - kwargs.get("tmf", 1.0) + kwargs.get("tmf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("targ", 0.0) + kwargs.get("targ", 0.0 if use_lspp_defaults() else None) ), Field( "fmin", float, 10, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 20, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "ftied ", float, 30, 10, - kwargs.get("ftied ", 0.0) + kwargs.get("ftied ", 0.0 if use_lspp_defaults() else None) ), Field( "conv", float, 40, 10, - kwargs.get("conv", 1.0E-4) + kwargs.get("conv", 1.0E-4 if use_lspp_defaults() else None) ), Field( "conmax", float, 50, 10, - kwargs.get("conmax", 1.0E20) + kwargs.get("conmax", 1.0E20 if use_lspp_defaults() else None) ), Field( "eterm", float, 60, 10, - kwargs.get("eterm", 0.0) + kwargs.get("eterm", 0.0 if use_lspp_defaults() else None) ), Field( "therm", float, 70, 10, - kwargs.get("therm", 0.0) + kwargs.get("therm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,7 +161,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("etfag", 0) + kwargs.get("etfag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pzelectric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pzelectric.py index 7936ba223..b4ff732c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pzelectric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_pzelectric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlPzelectric(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("solver", 11) + kwargs.get("solver", 11 if use_lspp_defaults() else None) ), Field( "msgitr", int, 10, 10, - kwargs.get("msgitr", 0) + kwargs.get("msgitr", 0 if use_lspp_defaults() else None) ), Field( "maxitr", int, 20, 10, - kwargs.get("maxitr", 500) + kwargs.get("maxitr", 500 if use_lspp_defaults() else None) ), Field( "abstol", float, 30, 10, - kwargs.get("abstol", 1.0E-20) + kwargs.get("abstol", 1.0E-20 if use_lspp_defaults() else None) ), Field( "reltol", int, 40, 10, - kwargs.get("reltol", 0) + kwargs.get("reltol", 0 if use_lspp_defaults() else None) ), Field( "ndtrfk", int, 50, 10, - kwargs.get("ndtrfk", 1) + kwargs.get("ndtrfk", 1 if use_lspp_defaults() else None) ), Field( "epzmsg", int, 60, 10, - kwargs.get("epzmsg", 0) + kwargs.get("epzmsg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuraion_iter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuraion_iter.py index 5f1314a70..1f1797a16 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuraion_iter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuraion_iter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlReferenceConfiguraionIter(KeywordBase): @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("step", 1.0) + kwargs.get("step", 1.0 if use_lspp_defaults() else None) ), Field( "tol", float, 20, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuration.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuration.py index 0282eb6a5..d29562a1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuration.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_configuration.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlReferenceConfiguration(KeywordBase): @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("step", 1.0) + kwargs.get("step", 1.0 if use_lspp_defaults() else None) ), Field( "tol", float, 20, 10, - kwargs.get("tol", 0.0) + kwargs.get("tol", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_control_volume_coordinates.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_control_volume_coordinates.py index 71b92d70c..4c52b2cca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_control_volume_coordinates.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_reference_control_volume_coordinates.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlReferenceControlVolumeCoordinates(KeywordBase): @@ -51,7 +52,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "psid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale.py index 8085630a3..f2f553241 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRefineAle(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nlvl", int, 20, 10, - kwargs.get("nlvl", 1) + kwargs.get("nlvl", 1 if use_lspp_defaults() else None) ), Field( "mmsid", int, 30, 10, - kwargs.get("mmsid", 0) + kwargs.get("mmsid", 0 if use_lspp_defaults() else None) ), Field( "ibox", int, 40, 10, - kwargs.get("ibox", 0) + kwargs.get("ibox", 0 if use_lspp_defaults() else None) ), Field( "ielout", int, 50, 10, - kwargs.get("ielout", 0) + kwargs.get("ielout", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,56 +87,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntotrf", 0) + kwargs.get("ntotrf", 0 if use_lspp_defaults() else None) ), Field( "ncycrf", float, 10, 10, - kwargs.get("ncycrf", 0.0) + kwargs.get("ncycrf", 0.0 if use_lspp_defaults() else None) ), Field( "critrf", int, 20, 10, - kwargs.get("critrf", 0) + kwargs.get("critrf", 0 if use_lspp_defaults() else None) ), Field( "valrf", float, 30, 10, - kwargs.get("valrf", 0.0) + kwargs.get("valrf", 0.0 if use_lspp_defaults() else None) ), Field( "begrf", float, 40, 10, - kwargs.get("begrf", 0.0) + kwargs.get("begrf", 0.0 if use_lspp_defaults() else None) ), Field( "endrf", float, 50, 10, - kwargs.get("endrf", 0.0) + kwargs.get("endrf", 0.0 if use_lspp_defaults() else None) ), Field( "layrf", int, 60, 10, - kwargs.get("layrf", 0) + kwargs.get("layrf", 0 if use_lspp_defaults() else None) ), Field( "delayrf", float, 70, 10, - kwargs.get("delayrf", 0.0) + kwargs.get("delayrf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,56 +147,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxrm", 0) + kwargs.get("maxrm", 0 if use_lspp_defaults() else None) ), Field( "ncycrm", float, 10, 10, - kwargs.get("ncycrm", 0.0) + kwargs.get("ncycrm", 0.0 if use_lspp_defaults() else None) ), Field( "critrm", int, 20, 10, - kwargs.get("critrm", 0) + kwargs.get("critrm", 0 if use_lspp_defaults() else None) ), Field( "valrm", float, 30, 10, - kwargs.get("valrm", 0.0) + kwargs.get("valrm", 0.0 if use_lspp_defaults() else None) ), Field( "begrm", float, 40, 10, - kwargs.get("begrm", 0.0) + kwargs.get("begrm", 0.0 if use_lspp_defaults() else None) ), Field( "endrm", float, 50, 10, - kwargs.get("endrm", 0.0) + kwargs.get("endrm", 0.0 if use_lspp_defaults() else None) ), Field( "mmsrm", int, 60, 10, - kwargs.get("mmsrm", 0) + kwargs.get("mmsrm", 0 if use_lspp_defaults() else None) ), Field( "delayrm", float, 70, 10, - kwargs.get("delayrm", 0.0) + kwargs.get("delayrm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale2d.py index fad1c4f3e..5a200b4c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_ale2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRefineAle2D(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nlvl", int, 20, 10, - kwargs.get("nlvl", 1) + kwargs.get("nlvl", 1 if use_lspp_defaults() else None) ), Field( "mmsid", int, 30, 10, - kwargs.get("mmsid", 0) + kwargs.get("mmsid", 0 if use_lspp_defaults() else None) ), Field( "ibox", int, 40, 10, - kwargs.get("ibox", 0) + kwargs.get("ibox", 0 if use_lspp_defaults() else None) ), Field( "ielout", int, 50, 10, - kwargs.get("ielout", 0) + kwargs.get("ielout", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntotrf", 0) + kwargs.get("ntotrf", 0 if use_lspp_defaults() else None) ), Field( "ncycrf", float, 10, 10, - kwargs.get("ncycrf", 0.0) + kwargs.get("ncycrf", 0.0 if use_lspp_defaults() else None) ), Field( "critrf", int, 20, 10, - kwargs.get("critrf", 0) + kwargs.get("critrf", 0 if use_lspp_defaults() else None) ), Field( "valrf", float, 30, 10, - kwargs.get("valrf", 0.0) + kwargs.get("valrf", 0.0 if use_lspp_defaults() else None) ), Field( "begrf", float, 40, 10, - kwargs.get("begrf", 0.0) + kwargs.get("begrf", 0.0 if use_lspp_defaults() else None) ), Field( "endrf", float, 50, 10, - kwargs.get("endrf", 0.0) + kwargs.get("endrf", 0.0 if use_lspp_defaults() else None) ), Field( "layrf", int, 60, 10, - kwargs.get("layrf", 0) + kwargs.get("layrf", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,49 +140,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxrm", 0) + kwargs.get("maxrm", 0 if use_lspp_defaults() else None) ), Field( "ncycrm", float, 10, 10, - kwargs.get("ncycrm", 0.0) + kwargs.get("ncycrm", 0.0 if use_lspp_defaults() else None) ), Field( "critrm", int, 20, 10, - kwargs.get("critrm", 0) + kwargs.get("critrm", 0 if use_lspp_defaults() else None) ), Field( "valrm", float, 30, 10, - kwargs.get("valrm", 0.0) + kwargs.get("valrm", 0.0 if use_lspp_defaults() else None) ), Field( "begrm", float, 40, 10, - kwargs.get("begrm", 0.0) + kwargs.get("begrm", 0.0 if use_lspp_defaults() else None) ), Field( "endrm", float, 50, 10, - kwargs.get("endrm", 0.0) + kwargs.get("endrm", 0.0 if use_lspp_defaults() else None) ), Field( "mmsrm", int, 60, 10, - kwargs.get("mmsrm", 0) + kwargs.get("mmsrm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_mpp_distribution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_mpp_distribution.py index ea29d0bea..c773ae573 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_mpp_distribution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_mpp_distribution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRefineMppDistribution(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "dx", float, 10, 10, - kwargs.get("dx", 0.0) + kwargs.get("dx", 0.0 if use_lspp_defaults() else None) ), Field( "dy", float, 20, 10, - kwargs.get("dy", 0.0) + kwargs.get("dy", 0.0 if use_lspp_defaults() else None) ), Field( "dz", float, 30, 10, - kwargs.get("dz", 0.0) + kwargs.get("dz", 0.0 if use_lspp_defaults() else None) ), Field( "ex", float, 40, 10, - kwargs.get("ex", 1.0) + kwargs.get("ex", 1.0 if use_lspp_defaults() else None) ), Field( "ey", float, 50, 10, - kwargs.get("ey", 1.0) + kwargs.get("ey", 1.0 if use_lspp_defaults() else None) ), Field( "ez", float, 60, 10, - kwargs.get("ez", 1.0) + kwargs.get("ez", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_shell.py index 3283743e6..461af87a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRefineShell(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nlvl", int, 20, 10, - kwargs.get("nlvl", 1) + kwargs.get("nlvl", 1 if use_lspp_defaults() else None) ), Field( "ibox", int, 30, 10, - kwargs.get("ibox", 0) + kwargs.get("ibox", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,49 +73,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntotrf", 0) + kwargs.get("ntotrf", 0 if use_lspp_defaults() else None) ), Field( "ncycrf", float, 10, 10, - kwargs.get("ncycrf", 0.0) + kwargs.get("ncycrf", 0.0 if use_lspp_defaults() else None) ), Field( "critrf", int, 20, 10, - kwargs.get("critrf", 0) + kwargs.get("critrf", 0 if use_lspp_defaults() else None) ), Field( "valrf", float, 30, 10, - kwargs.get("valrf", 0.0) + kwargs.get("valrf", 0.0 if use_lspp_defaults() else None) ), Field( "begrf", float, 40, 10, - kwargs.get("begrf", 0.0) + kwargs.get("begrf", 0.0 if use_lspp_defaults() else None) ), Field( "endrf", float, 50, 10, - kwargs.get("endrf", 0.0) + kwargs.get("endrf", 0.0 if use_lspp_defaults() else None) ), Field( "layrf", int, 60, 10, - kwargs.get("layrf", 0) + kwargs.get("layrf", 0 if use_lspp_defaults() else None) ), ], ), @@ -125,42 +126,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxrm", 0) + kwargs.get("maxrm", 0 if use_lspp_defaults() else None) ), Field( "ncycrm", float, 10, 10, - kwargs.get("ncycrm", 0.0) + kwargs.get("ncycrm", 0.0 if use_lspp_defaults() else None) ), Field( "critrm", int, 20, 10, - kwargs.get("critrm", 0) + kwargs.get("critrm", 0 if use_lspp_defaults() else None) ), Field( "valrm", float, 30, 10, - kwargs.get("valrm", 0.0) + kwargs.get("valrm", 0.0 if use_lspp_defaults() else None) ), Field( "begrm", float, 40, 10, - kwargs.get("begrm", 0.0) + kwargs.get("begrm", 0.0 if use_lspp_defaults() else None) ), Field( "endrm", float, 50, 10, - kwargs.get("endrm", 0.0) + kwargs.get("endrm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_solid.py index aa16d84d7..2b0f5fd5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_refine_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRefineSolid(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nlvl", int, 20, 10, - kwargs.get("nlvl", 1) + kwargs.get("nlvl", 1 if use_lspp_defaults() else None) ), Field( "ibox", int, 30, 10, - kwargs.get("ibox", 0) + kwargs.get("ibox", 0 if use_lspp_defaults() else None) ), Field( "ielout", int, 40, 10, - kwargs.get("ielout", 0) + kwargs.get("ielout", 0 if use_lspp_defaults() else None) ), ], ), @@ -79,49 +80,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ntotrf", 0) + kwargs.get("ntotrf", 0 if use_lspp_defaults() else None) ), Field( "ncycrf", float, 10, 10, - kwargs.get("ncycrf", 0.0) + kwargs.get("ncycrf", 0.0 if use_lspp_defaults() else None) ), Field( "critrf", int, 20, 10, - kwargs.get("critrf", 0) + kwargs.get("critrf", 0 if use_lspp_defaults() else None) ), Field( "valrf", float, 30, 10, - kwargs.get("valrf", 0.0) + kwargs.get("valrf", 0.0 if use_lspp_defaults() else None) ), Field( "begrf", float, 40, 10, - kwargs.get("begrf", 0.0) + kwargs.get("begrf", 0.0 if use_lspp_defaults() else None) ), Field( "endrf", float, 50, 10, - kwargs.get("endrf", 0.0) + kwargs.get("endrf", 0.0 if use_lspp_defaults() else None) ), Field( "layrf", int, 60, 10, - kwargs.get("layrf", 0) + kwargs.get("layrf", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,42 +133,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxrm", 0) + kwargs.get("maxrm", 0 if use_lspp_defaults() else None) ), Field( "ncycrm", float, 10, 10, - kwargs.get("ncycrm", 0.0) + kwargs.get("ncycrm", 0.0 if use_lspp_defaults() else None) ), Field( "critrm", int, 20, 10, - kwargs.get("critrm", 0) + kwargs.get("critrm", 0 if use_lspp_defaults() else None) ), Field( "valrm", float, 30, 10, - kwargs.get("valrm", 0.0) + kwargs.get("valrm", 0.0 if use_lspp_defaults() else None) ), Field( "begrm", float, 40, 10, - kwargs.get("begrm", 0.0) + kwargs.get("begrm", 0.0 if use_lspp_defaults() else None) ), Field( "endrm", float, 50, 10, - kwargs.get("endrm", 0.0) + kwargs.get("endrm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing.py index e3f2d9073..a4f4c134d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRemeshing(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("vf_loss", 1.0) + kwargs.get("vf_loss", 1.0 if use_lspp_defaults() else None) ), Field( "mfrac", float, 30, 10, - kwargs.get("mfrac", 0.0) + kwargs.get("mfrac", 0.0 if use_lspp_defaults() else None) ), Field( "dt_min", float, 40, 10, - kwargs.get("dt_min", 0.0) + kwargs.get("dt_min", 0.0 if use_lspp_defaults() else None) ), Field( "icurv", int, 50, 10, - kwargs.get("icurv", 4) + kwargs.get("icurv", 4 if use_lspp_defaults() else None) ), Field( "iadp10", int, 60, 10, - kwargs.get("iadp10", 0) + kwargs.get("iadp10", 0 if use_lspp_defaults() else None) ), Field( "sefang", float, 70, 10, - kwargs.get("sefang", 0.0) + kwargs.get("sefang", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing_efg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing_efg.py index 1a0979f97..1492d0bc7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing_efg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_remeshing_efg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRemeshingEfg(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("vf_loss", 1.0) + kwargs.get("vf_loss", 1.0 if use_lspp_defaults() else None) ), Field( "mfrac", float, 30, 10, - kwargs.get("mfrac", 0.0) + kwargs.get("mfrac", 0.0 if use_lspp_defaults() else None) ), Field( "dt_min", float, 40, 10, - kwargs.get("dt_min", 0.0) + kwargs.get("dt_min", 0.0 if use_lspp_defaults() else None) ), Field( "icurv", int, 50, 10, - kwargs.get("icurv", 4) + kwargs.get("icurv", 4 if use_lspp_defaults() else None) ), Field( "iadp10", int, 60, 10, - kwargs.get("iadp10", 0) + kwargs.get("iadp10", 0 if use_lspp_defaults() else None) ), Field( "sefang", float, 70, 10, - kwargs.get("sefang", 0.0) + kwargs.get("sefang", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,21 +101,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivt", 1) + kwargs.get("ivt", 1 if use_lspp_defaults() else None) ), Field( "iat", int, 10, 10, - kwargs.get("iat", 0) + kwargs.get("iat", 0 if use_lspp_defaults() else None) ), Field( "iaat", int, 20, 10, - kwargs.get("iaat", 0) + kwargs.get("iaat", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -128,7 +129,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("mm", 0) + kwargs.get("mm", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("iat1", 1.0E+20) + kwargs.get("iat1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "iat2", float, 10, 10, - kwargs.get("iat2", 1.0E+20) + kwargs.get("iat2", 1.0E+20 if use_lspp_defaults() else None) ), Field( "iat3", float, 20, 10, - kwargs.get("iat3", 1.0E+20) + kwargs.get("iat3", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_require_revision.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_require_revision.py index b5554f956..02506acc1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_require_revision.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_require_revision.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRequireRevision(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_rigid.py index c58877933..5dcd1595e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlRigid(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lmf", 0) + kwargs.get("lmf", 0 if use_lspp_defaults() else None) ), Field( "jntf", int, 10, 10, - kwargs.get("jntf", 0) + kwargs.get("jntf", 0 if use_lspp_defaults() else None) ), Field( "orthmd", int, 20, 10, - kwargs.get("orthmd", 0) + kwargs.get("orthmd", 0 if use_lspp_defaults() else None) ), Field( "partm", int, 30, 10, - kwargs.get("partm", 0) + kwargs.get("partm", 0 if use_lspp_defaults() else None) ), Field( "sparse", int, 40, 10, - kwargs.get("sparse", 0) + kwargs.get("sparse", 0 if use_lspp_defaults() else None) ), Field( "metalf", int, 50, 10, - kwargs.get("metalf", 0) + kwargs.get("metalf", 0 if use_lspp_defaults() else None) ), Field( "plotel", int, 60, 10, - kwargs.get("plotel", 0) + kwargs.get("plotel", 0 if use_lspp_defaults() else None) ), Field( "rbsms", int, 70, 10, - kwargs.get("rbsms", 0) + kwargs.get("rbsms", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("norbic", 0) + kwargs.get("norbic", 0 if use_lspp_defaults() else None) ), Field( "gjadstf", float, 10, 10, - kwargs.get("gjadstf", 0.0) + kwargs.get("gjadstf", 0.0 if use_lspp_defaults() else None) ), Field( "gjadvsc", float, 20, 10, - kwargs.get("gjadvsc", 0.0) + kwargs.get("gjadvsc", 0.0 if use_lspp_defaults() else None) ), Field( "tjastf", float, 30, 10, - kwargs.get("tjastf", 0.0) + kwargs.get("tjastf", 0.0 if use_lspp_defaults() else None) ), Field( "tjadvsc", float, 40, 10, - kwargs.get("tjadvsc", 0.0) + kwargs.get("tjadvsc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_segments_in_ale_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_segments_in_ale_coupling.py index 2187cbd97..69863cc4e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_segments_in_ale_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_segments_in_ale_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSegmentsInAleCoupling(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rankey", 0) + kwargs.get("rankey", 0 if use_lspp_defaults() else None) ), Field( "segset", int, 10, 10, - kwargs.get("segset", 0) + kwargs.get("segset", 0 if use_lspp_defaults() else None) ), Field( "ncychk", int, 20, 10, - kwargs.get("ncychk", 10) + kwargs.get("ncychk", 10 if use_lspp_defaults() else None) ), Field( "sym", int, 30, 10, - kwargs.get("sym", 0) + kwargs.get("sym", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ninthk", 0) + kwargs.get("ninthk", 0 if use_lspp_defaults() else None) ), Field( "conthk", float, 10, 10, - kwargs.get("conthk", 0.0) + kwargs.get("conthk", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_shell.py index ac047f45b..da734fe9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlShell(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wrpang", 20.0) + kwargs.get("wrpang", 20.0 if use_lspp_defaults() else None) ), Field( "esort", int, 10, 10, - kwargs.get("esort", 0) + kwargs.get("esort", 0 if use_lspp_defaults() else None) ), Field( "irnxx", int, 20, 10, - kwargs.get("irnxx", -1) + kwargs.get("irnxx", -1 if use_lspp_defaults() else None) ), Field( "istupd", int, 30, 10, - kwargs.get("istupd", 0) + kwargs.get("istupd", 0 if use_lspp_defaults() else None) ), Field( "theory", int, 40, 10, - kwargs.get("theory", 2) + kwargs.get("theory", 2 if use_lspp_defaults() else None) ), Field( "bwc", int, 50, 10, - kwargs.get("bwc", 2) + kwargs.get("bwc", 2 if use_lspp_defaults() else None) ), Field( "miter", int, 60, 10, - kwargs.get("miter", 1) + kwargs.get("miter", 1 if use_lspp_defaults() else None) ), Field( "proj", int, 70, 10, - kwargs.get("proj", 0) + kwargs.get("proj", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rotascl", 1.0) + kwargs.get("rotascl", 1.0 if use_lspp_defaults() else None) ), Field( "intgrd", int, 10, 10, - kwargs.get("intgrd", 0) + kwargs.get("intgrd", 0 if use_lspp_defaults() else None) ), Field( "lamsht", int, 20, 10, - kwargs.get("lamsht", 0) + kwargs.get("lamsht", 0 if use_lspp_defaults() else None) ), Field( "cstyp6", int, 30, 10, - kwargs.get("cstyp6", 1) + kwargs.get("cstyp6", 1 if use_lspp_defaults() else None) ), Field( "thshel", int, 40, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,35 +140,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psstupd", 0) + kwargs.get("psstupd", 0 if use_lspp_defaults() else None) ), Field( "sidt4tu", int, 10, 10, - kwargs.get("sidt4tu", 0) + kwargs.get("sidt4tu", 0 if use_lspp_defaults() else None) ), Field( "cntco", int, 20, 10, - kwargs.get("cntco", 0) + kwargs.get("cntco", 0 if use_lspp_defaults() else None) ), Field( "itsflg", int, 30, 10, - kwargs.get("itsflg", 0) + kwargs.get("itsflg", 0 if use_lspp_defaults() else None) ), Field( "irquad", int, 40, 10, - kwargs.get("irquad", 3) + kwargs.get("irquad", 3 if use_lspp_defaults() else None) ), Field( "w-mode", @@ -188,7 +189,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("icrq", 0) + kwargs.get("icrq", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,42 +214,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("psnfail", 0) + kwargs.get("psnfail", 0 if use_lspp_defaults() else None) ), Field( "keepcs", int, 30, 10, - kwargs.get("keepcs", 0) + kwargs.get("keepcs", 0 if use_lspp_defaults() else None) ), Field( "delfr", int, 40, 10, - kwargs.get("delfr", 0) + kwargs.get("delfr", 0 if use_lspp_defaults() else None) ), Field( "drcpsid", int, 50, 10, - kwargs.get("drcpsid", 0) + kwargs.get("drcpsid", 0 if use_lspp_defaults() else None) ), Field( "drcprm", float, 60, 10, - kwargs.get("drcprm", 1.0) + kwargs.get("drcprm", 1.0 if use_lspp_defaults() else None) ), Field( "intperr", int, 70, 10, - kwargs.get("intperr", 0) + kwargs.get("intperr", 0 if use_lspp_defaults() else None) ), ], ), @@ -259,21 +260,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("drcmth", 0) + kwargs.get("drcmth", 0 if use_lspp_defaults() else None) ), Field( "lispsid", int, 10, 10, - kwargs.get("lispsid", 0) + kwargs.get("lispsid", 0 if use_lspp_defaults() else None) ), Field( "nlocdt", int, 20, 10, - kwargs.get("nlocdt", 0) + kwargs.get("nlocdt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solid.py index a668d8e68..1a3064175 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSolid(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("esort", 0) + kwargs.get("esort", 0 if use_lspp_defaults() else None) ), Field( "fmatrix", int, 10, 10, - kwargs.get("fmatrix", 0) + kwargs.get("fmatrix", 0 if use_lspp_defaults() else None) ), Field( "niptets", int, 20, 10, - kwargs.get("niptets", 4) + kwargs.get("niptets", 4 if use_lspp_defaults() else None) ), Field( "swlocl", int, 30, 10, - kwargs.get("swlocl", 1) + kwargs.get("swlocl", 1 if use_lspp_defaults() else None) ), Field( "psfail", int, 40, 10, - kwargs.get("psfail", 0) + kwargs.get("psfail", 0 if use_lspp_defaults() else None) ), Field( "t10jtol", float, 50, 10, - kwargs.get("t10jtol", 0.0) + kwargs.get("t10jtol", 0.0 if use_lspp_defaults() else None) ), Field( "icoh", int, 60, 10, - kwargs.get("icoh", 0) + kwargs.get("icoh", 0 if use_lspp_defaults() else None) ), Field( "tet13k", int, 70, 10, - kwargs.get("tet13k", 0) + kwargs.get("tet13k", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solution.py index f379beba6..f6f355f8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_solution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSolution(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soln", 0) + kwargs.get("soln", 0 if use_lspp_defaults() else None) ), Field( "nlq", @@ -54,35 +55,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("isnan", 0) + kwargs.get("isnan", 0 if use_lspp_defaults() else None) ), Field( "lcint", int, 30, 10, - kwargs.get("lcint", 100) + kwargs.get("lcint", 100 if use_lspp_defaults() else None) ), Field( "lcacc", int, 40, 10, - kwargs.get("lcacc", 0) + kwargs.get("lcacc", 0 if use_lspp_defaults() else None) ), Field( "ncdcf", int, 50, 10, - kwargs.get("ncdcf", 1) + kwargs.get("ncdcf", 1 if use_lspp_defaults() else None) ), Field( "nocop", int, 60, 10, - kwargs.get("nocop", 0) + kwargs.get("nocop", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph.py index 417d3272a..8159b31f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSph(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ncbs", 1) + kwargs.get("ncbs", 1 if use_lspp_defaults() else None) ), Field( "boxid", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dt", 1.E+20) + kwargs.get("dt", 1.E+20 if use_lspp_defaults() else None) ), Field( "idim", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nmneigh", 150) + kwargs.get("nmneigh", 150 if use_lspp_defaults() else None) ), Field( "form", int, 50, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "start", float, 60, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "maxv", float, 70, 10, - kwargs.get("maxv", 1.0E+15) + kwargs.get("maxv", 1.0E+15 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cont", 0) + kwargs.get("cont", 0 if use_lspp_defaults() else None) ), Field( "deriv", int, 10, 10, - kwargs.get("deriv", 0) + kwargs.get("deriv", 0 if use_lspp_defaults() else None) ), Field( "ini", int, 20, 10, - kwargs.get("ini", 0) + kwargs.get("ini", 0 if use_lspp_defaults() else None) ), Field( "ishow", int, 30, 10, - kwargs.get("ishow", 0) + kwargs.get("ishow", 0 if use_lspp_defaults() else None) ), Field( "ierod", int, 40, 10, - kwargs.get("ierod", 0) + kwargs.get("ierod", 0 if use_lspp_defaults() else None) ), Field( "icont", int, 50, 10, - kwargs.get("icont", 0) + kwargs.get("icont", 0 if use_lspp_defaults() else None) ), Field( "iavis", int, 60, 10, - kwargs.get("iavis", 0) + kwargs.get("iavis", 0 if use_lspp_defaults() else None) ), Field( "isymp", int, 70, 10, - kwargs.get("isymp", 100) + kwargs.get("isymp", 100 if use_lspp_defaults() else None) ), ], ), @@ -160,21 +161,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ithk", 0) + kwargs.get("ithk", 0 if use_lspp_defaults() else None) ), Field( "istab", int, 10, 10, - kwargs.get("istab", 0) + kwargs.get("istab", 0 if use_lspp_defaults() else None) ), Field( "ql", float, 20, 10, - kwargs.get("ql", 0.01) + kwargs.get("ql", 0.01 if use_lspp_defaults() else None) ), Field( "unused", @@ -188,14 +189,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("sphsort", 0) + kwargs.get("sphsort", 0 if use_lspp_defaults() else None) ), Field( "ishift", int, 50, 10, - kwargs.get("ishift", 0) + kwargs.get("ishift", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph_incompressible.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph_incompressible.py index a7d84c216..6be981d52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph_incompressible.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_sph_incompressible.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSphIncompressible(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ibndp", 0) + kwargs.get("ibndp", 0 if use_lspp_defaults() else None) ), Field( "tavg", float, 10, 10, - kwargs.get("tavg", 1.0E-2) + kwargs.get("tavg", 1.0E-2 if use_lspp_defaults() else None) ), Field( "tmax", float, 20, 10, - kwargs.get("tmax", 1.0E+20) + kwargs.get("tmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rol", float, 30, 10, - kwargs.get("rol", 1.0E+20) + kwargs.get("rol", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ihtc", int, 40, 10, - kwargs.get("ihtc", 0) + kwargs.get("ihtc", 0 if use_lspp_defaults() else None) ), Field( "imat", int, 50, 10, - kwargs.get("imat", 0) + kwargs.get("imat", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_spotweld_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_spotweld_beam.py index cec02e284..3225c75ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_spotweld_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_spotweld_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSpotweldBeam(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct", 0) + kwargs.get("lct", 0 if use_lspp_defaults() else None) ), Field( "lcs", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("t_ort", 0) + kwargs.get("t_ort", 0 if use_lspp_defaults() else None) ), Field( "prtflg", int, 30, 10, - kwargs.get("prtflg", 0) + kwargs.get("prtflg", 0 if use_lspp_defaults() else None) ), Field( "t_ors", int, 40, 10, - kwargs.get("t_ors", 0) + kwargs.get("t_ors", 0 if use_lspp_defaults() else None) ), Field( "rpbhx", int, 50, 10, - kwargs.get("rpbhx", 0) + kwargs.get("rpbhx", 0 if use_lspp_defaults() else None) ), Field( "bmsid", int, 60, 10, - kwargs.get("bmsid", 0) + kwargs.get("bmsid", 0 if use_lspp_defaults() else None) ), Field( "id_off", int, 70, 10, - kwargs.get("id_off", 0) + kwargs.get("id_off", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_staged_construction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_staged_construction.py index 8b300515a..d788c01f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_staged_construction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_staged_construction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlStagedConstruction(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "stgs", int, 10, 10, - kwargs.get("stgs", 0) + kwargs.get("stgs", 0 if use_lspp_defaults() else None) ), Field( "stge", int, 20, 10, - kwargs.get("stge", 0) + kwargs.get("stge", 0 if use_lspp_defaults() else None) ), Field( "accel", float, 30, 10, - kwargs.get("accel", 0.0) + kwargs.get("accel", 0.0 if use_lspp_defaults() else None) ), Field( "fact", float, 40, 10, - kwargs.get("fact", 1e-6) + kwargs.get("fact", 1e-6 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("dordel", 0) + kwargs.get("dordel", 0 if use_lspp_defaults() else None) ), Field( "nopdel", int, 70, 10, - kwargs.get("nopdel", 0) + kwargs.get("nopdel", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("itime", 0) + kwargs.get("itime", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -114,7 +115,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idynain", 0) + kwargs.get("idynain", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_start.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_start.py index 27389c545..8f8f1c9b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_start.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_start.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlStart(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("begtim", 0.0) + kwargs.get("begtim", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_steady_state_rolling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_steady_state_rolling.py index e5209f12a..bb55c984e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_steady_state_rolling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_steady_state_rolling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSteadyStateRolling(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "lcdmu", int, 10, 10, - kwargs.get("lcdmu", 0) + kwargs.get("lcdmu", 0 if use_lspp_defaults() else None) ), Field( "lcdmur", int, 20, 10, - kwargs.get("lcdmur", 0) + kwargs.get("lcdmur", 0 if use_lspp_defaults() else None) ), Field( "ivel", int, 30, 10, - kwargs.get("ivel", 0) + kwargs.get("ivel", 0 if use_lspp_defaults() else None) ), Field( "scl_k", int, 40, 10, - kwargs.get("scl_k", 0) + kwargs.get("scl_k", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured.py index 2bf103573..7dc4acae5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlStructured(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured_term.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured_term.py index d72662f47..e727423c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured_term.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_structured_term.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlStructuredTerm(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle.py index 588fe70de..ff3a493a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSubcycle(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("k", 16) + kwargs.get("k", 16 if use_lspp_defaults() else None) ), Field( "l", int, 10, 10, - kwargs.get("l", 1) + kwargs.get("l", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part.py index 82cba92b8..4a54eca78 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSubcycleMassScaledPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part_set.py index 16d3b5273..c453c904c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_subcycle_mass_scaled_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlSubcycleMassScaledPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_termination.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_termination.py index 88d93636f..93956da14 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_termination.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_termination.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlTermination(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("endtim", 0.0) + kwargs.get("endtim", 0.0 if use_lspp_defaults() else None) ), Field( "endcyc", int, 10, 10, - kwargs.get("endcyc", 0) + kwargs.get("endcyc", 0 if use_lspp_defaults() else None) ), Field( "dtmin", float, 20, 10, - kwargs.get("dtmin", 0.0) + kwargs.get("dtmin", 0.0 if use_lspp_defaults() else None) ), Field( "endeng", float, 30, 10, - kwargs.get("endeng", 0.0) + kwargs.get("endeng", 0.0 if use_lspp_defaults() else None) ), Field( "endmas", float, 40, 10, - kwargs.get("endmas", 100000000.0) + kwargs.get("endmas", 100000000.0 if use_lspp_defaults() else None) ), Field( "nosol", int, 50, 10, - kwargs.get("nosol", 0) + kwargs.get("nosol", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_eigenvalue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_eigenvalue.py index be1500865..b9075e545 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_eigenvalue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_eigenvalue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlThermalEigenvalue(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("neig", 0) + kwargs.get("neig", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_forming.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_forming.py index e5dd00320..60ca1cc45 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_forming.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_forming.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlThermalForming(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "tsf", float, 20, 10, - kwargs.get("tsf", 1.0) + kwargs.get("tsf", 1.0 if use_lspp_defaults() else None) ), Field( "thshel", int, 30, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), Field( "ithoff", int, 40, 10, - kwargs.get("ithoff", 0) + kwargs.get("ithoff", 0 if use_lspp_defaults() else None) ), Field( "solver", int, 50, 10, - kwargs.get("solver", 3) + kwargs.get("solver", 3 if use_lspp_defaults() else None) ), Field( "fwork", float, 60, 10, - kwargs.get("fwork", 1.0) + kwargs.get("fwork", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -128,21 +129,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ftoslv", 0.5) + kwargs.get("ftoslv", 0.5 if use_lspp_defaults() else None) ), Field( "bc_flg", int, 60, 10, - kwargs.get("bc_flg", 0) + kwargs.get("bc_flg", 0 if use_lspp_defaults() else None) ), Field( "algo", int, 70, 10, - kwargs.get("algo", 0) + kwargs.get("algo", 0 if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("formula", 1) + kwargs.get("formula", 1 if use_lspp_defaults() else None) ), Field( "a", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_nonlinear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_nonlinear.py index 5f3c87611..481db9aa9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_nonlinear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_nonlinear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlThermalNonlinear(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("refmax", 10) + kwargs.get("refmax", 10 if use_lspp_defaults() else None) ), Field( "tol", float, 10, 10, - kwargs.get("tol", 1.0E-4) + kwargs.get("tol", 1.0E-4 if use_lspp_defaults() else None) ), Field( "dcp", float, 20, 10, - kwargs.get("dcp", 1.0) + kwargs.get("dcp", 1.0 if use_lspp_defaults() else None) ), Field( "lumpbc", int, 30, 10, - kwargs.get("lumpbc", 0) + kwargs.get("lumpbc", 0 if use_lspp_defaults() else None) ), Field( "thlstl", float, 40, 10, - kwargs.get("thlstl", 0.0) + kwargs.get("thlstl", 0.0 if use_lspp_defaults() else None) ), Field( "nlthpr", int, 50, 10, - kwargs.get("nlthpr", 0) + kwargs.get("nlthpr", 0 if use_lspp_defaults() else None) ), Field( "phchpn", float, 60, 10, - kwargs.get("phchpn", 100.0) + kwargs.get("phchpn", 100.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_solver.py index 5574b37e1..bb0858017 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlThermalSolver(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("atype", 0) + kwargs.get("atype", 0 if use_lspp_defaults() else None) ), Field( "ptype", int, 10, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "solver", int, 20, 10, - kwargs.get("solver", 11) + kwargs.get("solver", 11 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("gpt", 8) + kwargs.get("gpt", 8 if use_lspp_defaults() else None) ), Field( "eqheat", float, 50, 10, - kwargs.get("eqheat", 1.0) + kwargs.get("eqheat", 1.0 if use_lspp_defaults() else None) ), Field( "fwork", float, 60, 10, - kwargs.get("fwork", 1.0) + kwargs.get("fwork", 1.0 if use_lspp_defaults() else None) ), Field( "sbc", float, 70, 10, - kwargs.get("sbc", 0.0) + kwargs.get("sbc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("msglvl", 0) + kwargs.get("msglvl", 0 if use_lspp_defaults() else None) ), Field( "maxitr", int, 10, 10, - kwargs.get("maxitr", 500) + kwargs.get("maxitr", 500 if use_lspp_defaults() else None) ), Field( "abstol", float, 20, 10, - kwargs.get("abstol", 1.0e-10) + kwargs.get("abstol", 1.0e-10 if use_lspp_defaults() else None) ), Field( "reltol", float, 30, 10, - kwargs.get("reltol", 1.0E-06) + kwargs.get("reltol", 1.0E-06 if use_lspp_defaults() else None) ), Field( "omega", float, 40, 10, - kwargs.get("omega", 0.0) + kwargs.get("omega", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tsf", 1.0) + kwargs.get("tsf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -160,21 +161,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mxdmp", 0) + kwargs.get("mxdmp", 0 if use_lspp_defaults() else None) ), Field( "dtvf", float, 10, 10, - kwargs.get("dtvf", 0) + kwargs.get("dtvf", 0 if use_lspp_defaults() else None) ), Field( "varden", int, 20, 10, - kwargs.get("varden", 0) + kwargs.get("varden", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -188,7 +189,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ncycl", 1) + kwargs.get("ncycl", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_timestep.py index a0d19ed60..2d81748ae 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_thermal_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlThermalTimestep(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ts", 0) + kwargs.get("ts", 0 if use_lspp_defaults() else None) ), Field( "tip", float, 10, 10, - kwargs.get("tip", 0.5) + kwargs.get("tip", 0.5 if use_lspp_defaults() else None) ), Field( "its", @@ -75,14 +76,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("dtemp", 1.0) + kwargs.get("dtemp", 1.0 if use_lspp_defaults() else None) ), Field( "tscp", float, 60, 10, - kwargs.get("tscp", 0.5) + kwargs.get("tscp", 0.5 if use_lspp_defaults() else None) ), Field( "lcts", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_time_step.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_time_step.py index 04045f18d..b24eae010 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_time_step.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_time_step.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlTimeStep(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dtinit", 0) + kwargs.get("dtinit", 0 if use_lspp_defaults() else None) ), Field( "tssfac", float, 10, 10, - kwargs.get("tssfac", 0.0) + kwargs.get("tssfac", 0.0 if use_lspp_defaults() else None) ), Field( "isdo", int, 20, 10, - kwargs.get("isdo", 0) + kwargs.get("isdo", 0 if use_lspp_defaults() else None) ), Field( "tslimt", float, 30, 10, - kwargs.get("tslimt", 0.0) + kwargs.get("tslimt", 0.0 if use_lspp_defaults() else None) ), Field( "dt2ms", float, 40, 10, - kwargs.get("dt2ms", 0.0) + kwargs.get("dt2ms", 0.0 if use_lspp_defaults() else None) ), Field( "lctm", int, 50, 10, - kwargs.get("lctm", 0) + kwargs.get("lctm", 0 if use_lspp_defaults() else None) ), Field( "erode", int, 60, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "ms1st", int, 70, 10, - kwargs.get("ms1st", 0) + kwargs.get("ms1st", 0 if use_lspp_defaults() else None) ), ], ), @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("rmscl", 0.0) + kwargs.get("rmscl", 0.0 if use_lspp_defaults() else None) ), Field( "emscl", float, 60, 10, - kwargs.get("emscl", 0.0) + kwargs.get("emscl", 0.0 if use_lspp_defaults() else None) ), Field( "ihdo", int, 70, 10, - kwargs.get("ihdo", 0) + kwargs.get("ihdo", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_timestep.py index 586414eed..4e97eb756 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlTimestep(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dtinit", 0) + kwargs.get("dtinit", 0 if use_lspp_defaults() else None) ), Field( "tssfac", float, 10, 10, - kwargs.get("tssfac", 0.0) + kwargs.get("tssfac", 0.0 if use_lspp_defaults() else None) ), Field( "isdo", int, 20, 10, - kwargs.get("isdo", 0) + kwargs.get("isdo", 0 if use_lspp_defaults() else None) ), Field( "tslimt", float, 30, 10, - kwargs.get("tslimt", 0.0) + kwargs.get("tslimt", 0.0 if use_lspp_defaults() else None) ), Field( "dt2ms", float, 40, 10, - kwargs.get("dt2ms", 0.0) + kwargs.get("dt2ms", 0.0 if use_lspp_defaults() else None) ), Field( "lctm", int, 50, 10, - kwargs.get("lctm", 0) + kwargs.get("lctm", 0 if use_lspp_defaults() else None) ), Field( "erode", int, 60, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "ms1st", int, 70, 10, - kwargs.get("ms1st", 0) + kwargs.get("ms1st", 0 if use_lspp_defaults() else None) ), ], ), @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("rmscl", 0.0) + kwargs.get("rmscl", 0.0 if use_lspp_defaults() else None) ), Field( "emscl", float, 60, 10, - kwargs.get("emscl", 0.0) + kwargs.get("emscl", 0.0 if use_lspp_defaults() else None) ), Field( "ihdo", int, 70, 10, - kwargs.get("ihdo", 0) + kwargs.get("ihdo", 0 if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("igado", 0) + kwargs.get("igado", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_units.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_units.py index a5de5807e..bfa3bf0ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_units.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_units.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlUnits(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("length", "m") + kwargs.get("length", "m" if use_lspp_defaults() else None) ), Field( "time", str, 10, 10, - kwargs.get("time", "sec") + kwargs.get("time", "sec" if use_lspp_defaults() else None) ), Field( "mass", str, 20, 10, - kwargs.get("mass", "kg") + kwargs.get("mass", "kg" if use_lspp_defaults() else None) ), Field( "temp", str, 30, 10, - kwargs.get("temp", "k") + kwargs.get("temp", "k" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_vibro_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_vibro_acoustic.py index 21aee4f11..18c6462fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/control_vibro_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/control_vibro_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControlVibroAcoustic(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vaflag", 0) + kwargs.get("vaflag", 0 if use_lspp_defaults() else None) ), Field( "vaprld", int, 10, 10, - kwargs.get("vaprld", 0) + kwargs.get("vaprld", 0 if use_lspp_defaults() else None) ), Field( "vastrs", int, 20, 10, - kwargs.get("vastrs", 0) + kwargs.get("vastrs", 0 if use_lspp_defaults() else None) ), Field( "vapsd", int, 30, 10, - kwargs.get("vapsd", 0) + kwargs.get("vapsd", 0 if use_lspp_defaults() else None) ), Field( "varms", int, 40, 10, - kwargs.get("varms", 0) + kwargs.get("varms", 0 if use_lspp_defaults() else None) ), Field( "vaplot", int, 50, 10, - kwargs.get("vaplot", 0) + kwargs.get("vaplot", 0 if use_lspp_defaults() else None) ), Field( "ipanelu", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("restart", 0) + kwargs.get("restart", 0 if use_lspp_defaults() else None) ), Field( "nmodstr", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/controller_plant.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/controller_plant.py index 65fd3958f..df72047e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/controller_plant.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/controller_plant.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ControllerPlant(KeywordBase): @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dofi1", 1) + kwargs.get("dofi1", 1 if use_lspp_defaults() else None) ), Field( "nodi2", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("dofi2", 1) + kwargs.get("dofi2", 1 if use_lspp_defaults() else None) ), Field( "nodi3", @@ -167,7 +168,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("dofi3", 1) + kwargs.get("dofi3", 1 if use_lspp_defaults() else None) ), Field( "nodi4", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("dofi4", 1) + kwargs.get("dofi4", 1 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dofo1", 1) + kwargs.get("dofo1", 1 if use_lspp_defaults() else None) ), Field( "nodo2", @@ -213,7 +214,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("dofo2", 1) + kwargs.get("dofo2", 1 if use_lspp_defaults() else None) ), Field( "nodo3", @@ -227,7 +228,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("dofo3", 1) + kwargs.get("dofo3", 1 if use_lspp_defaults() else None) ), Field( "nodo4", @@ -241,7 +242,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("dofo4", 1) + kwargs.get("dofo4", 1 if use_lspp_defaults() else None) ), ], ), @@ -252,14 +253,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nfeq", 1) + kwargs.get("nfeq", 1 if use_lspp_defaults() else None) ), Field( "deftol", float, 10, 10, - kwargs.get("deftol", 1.0e-9) + kwargs.get("deftol", 1.0e-9 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_control.py index 01e9b84ae..62297bae8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CosimFmiControl(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("opt", "G") + kwargs.get("opt", "G" if use_lspp_defaults() else None) ), Field( "mode", str, 30, 10, - kwargs.get("mode", "P") + kwargs.get("mode", "P" if use_lspp_defaults() else None) ), Field( "fmi", int, 40, 10, - kwargs.get("fmi", 0) + kwargs.get("fmi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_interface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_interface.py index eca6d516f..d9423de34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_interface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/cosim_fmi_interface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class CosimFmiInterface(KeywordBase): @@ -51,14 +52,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("impexp", "IMP") + kwargs.get("impexp", "IMP" if use_lspp_defaults() else None) ), Field( "regtyp", str, 10, 10, - kwargs.get("regtyp", "NODE") + kwargs.get("regtyp", "NODE" if use_lspp_defaults() else None) ), Field( "regid", @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "ref", int, 70, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range.py index 5f065f612..e4e95b840 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingFrequencyRange(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cdamp", 0.0) + kwargs.get("cdamp", 0.0 if use_lspp_defaults() else None) ), Field( "flow", float, 10, 10, - kwargs.get("flow", 0.0) + kwargs.get("flow", 0.0 if use_lspp_defaults() else None) ), Field( "fhigh", float, 20, 10, - kwargs.get("fhigh", 0.0) + kwargs.get("fhigh", 0.0 if use_lspp_defaults() else None) ), Field( "psid", int, 30, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "blank", int, 40, 10, - kwargs.get("blank", 0) + kwargs.get("blank", 0 if use_lspp_defaults() else None) ), Field( "pidrel", int, 50, 10, - kwargs.get("pidrel", 0) + kwargs.get("pidrel", 0 if use_lspp_defaults() else None) ), Field( "iflg", int, 60, 10, - kwargs.get("iflg", 0) + kwargs.get("iflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range_deform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range_deform.py index b6560d8be..8cbdad0f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range_deform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_frequency_range_deform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingFrequencyRangeDeform(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cdamp", 0.0) + kwargs.get("cdamp", 0.0 if use_lspp_defaults() else None) ), Field( "flow", float, 10, 10, - kwargs.get("flow", 0.0) + kwargs.get("flow", 0.0 if use_lspp_defaults() else None) ), Field( "fhigh", float, 20, 10, - kwargs.get("fhigh", 0.0) + kwargs.get("fhigh", 0.0 if use_lspp_defaults() else None) ), Field( "psid", int, 30, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "blank", int, 40, 10, - kwargs.get("blank", 0) + kwargs.get("blank", 0 if use_lspp_defaults() else None) ), Field( "pidrel", int, 50, 10, - kwargs.get("pidrel", 0) + kwargs.get("pidrel", 0 if use_lspp_defaults() else None) ), Field( "iflg", int, 60, 10, - kwargs.get("iflg", 0) + kwargs.get("iflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_global.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_global.py index aee2afc17..ee703aa60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_global.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_global.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingGlobal(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "valdmp", float, 10, 10, - kwargs.get("valdmp", 0.0) + kwargs.get("valdmp", 0.0 if use_lspp_defaults() else None) ), Field( "stx", float, 20, 10, - kwargs.get("stx", 0.0) + kwargs.get("stx", 0.0 if use_lspp_defaults() else None) ), Field( "sty", float, 30, 10, - kwargs.get("sty", 0.0) + kwargs.get("sty", 0.0 if use_lspp_defaults() else None) ), Field( "stz", float, 40, 10, - kwargs.get("stz", 0.0) + kwargs.get("stz", 0.0 if use_lspp_defaults() else None) ), Field( "srx", float, 50, 10, - kwargs.get("srx", 0.0) + kwargs.get("srx", 0.0 if use_lspp_defaults() else None) ), Field( "sry", float, 60, 10, - kwargs.get("sry", 0.0) + kwargs.get("sry", 0.0 if use_lspp_defaults() else None) ), Field( "srz", float, 70, 10, - kwargs.get("srz", 0.0) + kwargs.get("srz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass.py index 84e8776f7..9240ce0d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingPartMass(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "flag", int, 30, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,42 +73,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stx", 0.0) + kwargs.get("stx", 0.0 if use_lspp_defaults() else None) ), Field( "sty", float, 10, 10, - kwargs.get("sty", 0.0) + kwargs.get("sty", 0.0 if use_lspp_defaults() else None) ), Field( "stz", float, 20, 10, - kwargs.get("stz", 0.0) + kwargs.get("stz", 0.0 if use_lspp_defaults() else None) ), Field( "srx", float, 30, 10, - kwargs.get("srx", 0.0) + kwargs.get("srx", 0.0 if use_lspp_defaults() else None) ), Field( "sry", float, 40, 10, - kwargs.get("sry", 0.0) + kwargs.get("sry", 0.0 if use_lspp_defaults() else None) ), Field( "srz", float, 50, 10, - kwargs.get("srz", 0.0) + kwargs.get("srz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass_set.py index 39314128d..3239ba7eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_mass_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingPartMassSet(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "flag", int, 30, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,42 +73,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stx", 0.0) + kwargs.get("stx", 0.0 if use_lspp_defaults() else None) ), Field( "sty", float, 10, 10, - kwargs.get("sty", 0.0) + kwargs.get("sty", 0.0 if use_lspp_defaults() else None) ), Field( "stz", float, 20, 10, - kwargs.get("stz", 0.0) + kwargs.get("stz", 0.0 if use_lspp_defaults() else None) ), Field( "srx", float, 30, 10, - kwargs.get("srx", 0.0) + kwargs.get("srx", 0.0 if use_lspp_defaults() else None) ), Field( "sry", float, 40, 10, - kwargs.get("sry", 0.0) + kwargs.get("sry", 0.0 if use_lspp_defaults() else None) ), Field( "srz", float, 50, 10, - kwargs.get("srz", 0.0) + kwargs.get("srz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness.py index e00918aa0..c8b92ff50 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingPartStiffness(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness_set.py index 18e75c27b..d4440ca1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_part_stiffness_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingPartStiffnessSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_porosity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_porosity.py index 146b3a520..4c13e4a1f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_porosity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_porosity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingPorosity(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "flag", int, 30, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -72,42 +73,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stx", 0.0) + kwargs.get("stx", 0.0 if use_lspp_defaults() else None) ), Field( "sty", float, 10, 10, - kwargs.get("sty", 0.0) + kwargs.get("sty", 0.0 if use_lspp_defaults() else None) ), Field( "stz", float, 20, 10, - kwargs.get("stz", 0.0) + kwargs.get("stz", 0.0 if use_lspp_defaults() else None) ), Field( "srx", float, 30, 10, - kwargs.get("srx", 0.0) + kwargs.get("srx", 0.0 if use_lspp_defaults() else None) ), Field( "sry", float, 40, 10, - kwargs.get("sry", 0.0) + kwargs.get("sry", 0.0 if use_lspp_defaults() else None) ), Field( "srz", float, 50, 10, - kwargs.get("srz", 0.0) + kwargs.get("srz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_relative.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_relative.py index a58990ded..8194cebf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_relative.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/damping_relative.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DampingRelative(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cdamp", 0.0) + kwargs.get("cdamp", 0.0 if use_lspp_defaults() else None) ), Field( "freq", float, 10, 10, - kwargs.get("freq", 0.0) + kwargs.get("freq", 0.0 if use_lspp_defaults() else None) ), Field( "pidrb", int, 20, 10, - kwargs.get("pidrb", 0) + kwargs.get("pidrb", 0 if use_lspp_defaults() else None) ), Field( "psid", int, 30, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "dv2", float, 40, 10, - kwargs.get("dv2", 0.0) + kwargs.get("dv2", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat.py index 429e5c3e0..38aea67b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAbstat(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat_cpm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat_cpm.py index 145655542..f04e936e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat_cpm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_abstat_cpm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAbstatCpm(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_aceout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_aceout.py index aaf2cb878..a1e9554be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_aceout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_aceout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAceout(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale.py index 25b2ce8ec..0acc0d253 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAle(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_mat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_mat.py index 2b6a66c50..2818116ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_mat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_mat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAleMat(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_operation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_operation.py index 49468ee3c..4083fc7f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_operation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ale_operation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAleOperation(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("wrt", 1) + kwargs.get("wrt", 1 if use_lspp_defaults() else None) ), ], ), @@ -83,56 +84,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 10, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 20, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 30, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 40, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 50, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 60, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "var", int, 70, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_atdout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_atdout.py index bf88f2dcf..d53c4e823 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_atdout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_atdout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAtdout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_avsflt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_avsflt.py index a40b7ef46..eb84aee9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_avsflt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_avsflt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseAvsflt(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bearing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bearing.py index fae8252ec..f4ae2139e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bearing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bearing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBearing(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_blstfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_blstfor.py index 302b4ea9b..27c7405cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_blstfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_blstfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryBlstfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_cpmfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_cpmfor.py index ab7f39f04..1b0e6dc07 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_cpmfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_cpmfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryCpmfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3crack.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3crack.py index ef5848cee..513a2587c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3crack.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3crack.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Crack(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3drlf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3drlf.py index 1584980aa..844375b86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3drlf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3drlf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Drlf(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3dump.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3dump.py index f5e3c6a5f..275c6323e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3dump.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3dump.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Dump(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioopt", 0) + kwargs.get("ioopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3part.py index 11d872757..7473506a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Part(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", @@ -79,28 +80,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("hsetid", 0) + kwargs.get("hsetid", 0 if use_lspp_defaults() else None) ), Field( "bsetid", int, 10, 10, - kwargs.get("bsetid", 0) + kwargs.get("bsetid", 0 if use_lspp_defaults() else None) ), Field( "ssetid", int, 20, 10, - kwargs.get("ssetid", 0) + kwargs.get("ssetid", 0 if use_lspp_defaults() else None) ), Field( "tsetid", int, 30, 10, - kwargs.get("tsetid", 0) + kwargs.get("tsetid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3plot.py index 33595c8d6..7ed13bd5f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Plot(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioopt", 0) + kwargs.get("ioopt", 0 if use_lspp_defaults() else None) ), Field( "rate", @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "pset", int, 50, 10, - kwargs.get("pset", 0) + kwargs.get("pset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3prop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3prop.py index f974f5cc1..f53ad5033 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3prop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3prop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Prop(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ifile", 1) + kwargs.get("ifile", 1 if use_lspp_defaults() else None) ), Field( "imatl", int, 10, 10, - kwargs.get("imatl", 0) + kwargs.get("imatl", 0 if use_lspp_defaults() else None) ), Field( "iwall", int, 20, 10, - kwargs.get("iwall", 0) + kwargs.get("iwall", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3thdt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3thdt.py index 5430ec7a4..a20a4ca2c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3thdt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_d3thdt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryD3Thdt(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_demfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_demfor.py index 836af0ee7..67dc676e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_demfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_demfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryDemfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsifor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsifor.py index aa45224af..db9b88884 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsifor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsifor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryFsifor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsilnk.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsilnk.py index bcec1a3a1..55867a16c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsilnk.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_fsilnk.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryFsilnk(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor.py index 53555afb0..b7a3a0fda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryIntfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioopt", 0) + kwargs.get("ioopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor_file.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor_file.py index c4f7a223e..39b43fa42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor_file.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_intfor_file.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryIntforFile(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", @@ -90,7 +91,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioopt", 0) + kwargs.get("ioopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_isphfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_isphfor.py index 310a77f68..784bf32eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_isphfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_isphfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryIsphfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_pbmfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_pbmfor.py index d6f0d01b7..d3d11a97f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_pbmfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_pbmfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryPbmfor(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_runrsf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_runrsf.py index 4dd363072..2d9b21930 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_runrsf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_runrsf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryRunrsf(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_xtfile.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_xtfile.py index 665e348fb..9bb526b0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_xtfile.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_binary_xtfile.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBinaryXtfile(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("beam", 0) + kwargs.get("beam", 0 if use_lspp_defaults() else None) ), Field( "npltc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bndout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bndout.py index 4fbd8a87a..6cbd36b04 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bndout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_bndout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseBndout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cpm_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cpm_sensor.py index 8ff2877ad..4961c91db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cpm_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cpm_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseCpmSensor(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("binary", 1) + kwargs.get("binary", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_plane.py index a5421de37..d98f5f7e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseCrossSectionPlane(KeywordBase): @@ -58,56 +59,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "xct", float, 10, 10, - kwargs.get("xct", 0.0) + kwargs.get("xct", 0.0 if use_lspp_defaults() else None) ), Field( "yct", float, 20, 10, - kwargs.get("yct", 0.0) + kwargs.get("yct", 0.0 if use_lspp_defaults() else None) ), Field( "zct", float, 30, 10, - kwargs.get("zct", 0.0) + kwargs.get("zct", 0.0 if use_lspp_defaults() else None) ), Field( "xch", float, 40, 10, - kwargs.get("xch", 0.0) + kwargs.get("xch", 0.0 if use_lspp_defaults() else None) ), Field( "ych", float, 50, 10, - kwargs.get("ych", 0.0) + kwargs.get("ych", 0.0 if use_lspp_defaults() else None) ), Field( "zch", float, 60, 10, - kwargs.get("zch", 0.0) + kwargs.get("zch", 0.0 if use_lspp_defaults() else None) ), Field( "radius", float, 70, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,21 +119,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", @@ -160,7 +161,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_set.py index 921cabee2..64f02be31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_cross_section_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseCrossSectionSet(KeywordBase): @@ -58,42 +59,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsid", 0) + kwargs.get("nsid", 0 if use_lspp_defaults() else None) ), Field( "hsid", int, 10, 10, - kwargs.get("hsid", 0) + kwargs.get("hsid", 0 if use_lspp_defaults() else None) ), Field( "bsid", int, 20, 10, - kwargs.get("bsid", 0) + kwargs.get("bsid", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 30, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "tsid", int, 40, 10, - kwargs.get("tsid", 0) + kwargs.get("tsid", 0 if use_lspp_defaults() else None) ), Field( "dsid", int, 50, 10, - kwargs.get("dsid", 0) + kwargs.get("dsid", 0 if use_lspp_defaults() else None) ), Field( "id", @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_curvout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_curvout.py index c00a9c9f1..4a284594d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_curvout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_curvout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseCurvout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3ftg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3ftg.py index 06258aa0e..127bfd4b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3ftg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3ftg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseD3Ftg(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3max.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3max.py index 9191bd71a..856280292 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3max.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_d3max.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseD3Max(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("me", 1) + kwargs.get("me", 1 if use_lspp_defaults() else None) ), Field( "pstrs", int, 20, 10, - kwargs.get("pstrs", 0) + kwargs.get("pstrs", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 30, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "ifilt", int, 40, 10, - kwargs.get("ifilt", 0) + kwargs.get("ifilt", 0 if use_lspp_defaults() else None) ), Field( "output", int, 50, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), Field( "fcutout", float, 60, 10, - kwargs.get("fcutout", 0.0) + kwargs.get("fcutout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_dcfail.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_dcfail.py index dae7e1979..8e85e3e4a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_dcfail.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_dcfail.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseDcfail(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_defgeo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_defgeo.py index 22fc0b21d..9988efe11 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_defgeo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_defgeo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseDefgeo(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_deforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_deforc.py index f2fca3475..36ce14c1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_deforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_deforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseDeforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_demassflow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_demassflow.py index 572077508..5bc9f6ec6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_demassflow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_demassflow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseDemassflow(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_disbout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_disbout.py index 6203fd8ba..1b8aefc6f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_disbout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_disbout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseDisbout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_elout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_elout.py index f721491a1..5c9fae457 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_elout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_elout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseElout(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), Field( "option1", int, 40, 10, - kwargs.get("option1", 0) + kwargs.get("option1", 0 if use_lspp_defaults() else None) ), Field( "option2", int, 50, 10, - kwargs.get("option2", 0) + kwargs.get("option2", 0 if use_lspp_defaults() else None) ), Field( "option3", int, 60, 10, - kwargs.get("option3", 0) + kwargs.get("option3", 0 if use_lspp_defaults() else None) ), Field( "option4", int, 70, 10, - kwargs.get("option4", 0) + kwargs.get("option4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_avs.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_avs.py index 6fe92d245..670ca88ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_avs.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_avs.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentAvs(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vtype", 0) + kwargs.get("vtype", 0 if use_lspp_defaults() else None) ), Field( "comp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary.py index 3fd203c2f..64694790e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentBinary(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("neiph", 0) + kwargs.get("neiph", 0 if use_lspp_defaults() else None) ), Field( "neips", int, 10, 10, - kwargs.get("neips", 0) + kwargs.get("neips", 0 if use_lspp_defaults() else None) ), Field( "maxint", int, 20, 10, - kwargs.get("maxint", 3) + kwargs.get("maxint", 3 if use_lspp_defaults() else None) ), Field( "strflg", int, 30, 10, - kwargs.get("strflg", 0) + kwargs.get("strflg", 0 if use_lspp_defaults() else None) ), Field( "sigflg", int, 40, 10, - kwargs.get("sigflg", 1) + kwargs.get("sigflg", 1 if use_lspp_defaults() else None) ), Field( "epsflg", int, 50, 10, - kwargs.get("epsflg", 1) + kwargs.get("epsflg", 1 if use_lspp_defaults() else None) ), Field( "rltflg", int, 60, 10, - kwargs.get("rltflg", 1) + kwargs.get("rltflg", 1 if use_lspp_defaults() else None) ), Field( "engflg", int, 70, 10, - kwargs.get("engflg", 1) + kwargs.get("engflg", 1 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cmpflg", 0) + kwargs.get("cmpflg", 0 if use_lspp_defaults() else None) ), Field( "ieverp", int, 10, 10, - kwargs.get("ieverp", 0) + kwargs.get("ieverp", 0 if use_lspp_defaults() else None) ), Field( "beamip", int, 20, 10, - kwargs.get("beamip", 0) + kwargs.get("beamip", 0 if use_lspp_defaults() else None) ), Field( "dcomp", int, 30, 10, - kwargs.get("dcomp", 1) + kwargs.get("dcomp", 1 if use_lspp_defaults() else None) ), Field( "shge", int, 40, 10, - kwargs.get("shge", 1) + kwargs.get("shge", 1 if use_lspp_defaults() else None) ), Field( "stssz", int, 50, 10, - kwargs.get("stssz", 1) + kwargs.get("stssz", 1 if use_lspp_defaults() else None) ), Field( "n3thdt", int, 60, 10, - kwargs.get("n3thdt", 2) + kwargs.get("n3thdt", 2 if use_lspp_defaults() else None) ), Field( "ialemat", int, 70, 10, - kwargs.get("ialemat", 1) + kwargs.get("ialemat", 1 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nintsld", 0) + kwargs.get("nintsld", 0 if use_lspp_defaults() else None) ), Field( "pkp_sen", int, 10, 10, - kwargs.get("pkp_sen", 0) + kwargs.get("pkp_sen", 0 if use_lspp_defaults() else None) ), Field( "sclp", float, 20, 10, - kwargs.get("sclp", 1.0) + kwargs.get("sclp", 1.0 if use_lspp_defaults() else None) ), Field( "hydro", int, 30, 10, - kwargs.get("hydro", 0) + kwargs.get("hydro", 0 if use_lspp_defaults() else None) ), Field( "msscl", int, 40, 10, - kwargs.get("msscl", 0) + kwargs.get("msscl", 0 if use_lspp_defaults() else None) ), Field( "therm", int, 50, 10, - kwargs.get("therm", 0) + kwargs.get("therm", 0 if use_lspp_defaults() else None) ), Field( "intout", str, 60, 10, - kwargs.get("intout", " ") + kwargs.get("intout", " " if use_lspp_defaults() else None) ), Field( "nodout", str, 70, 10, - kwargs.get("nodout", " ") + kwargs.get("nodout", " " if use_lspp_defaults() else None) ), ], ), @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dtdt", 0) + kwargs.get("dtdt", 0 if use_lspp_defaults() else None) ), Field( "resplt", int, 10, 10, - kwargs.get("resplt", 0) + kwargs.get("resplt", 0 if use_lspp_defaults() else None) ), Field( "neipb", @@ -241,21 +242,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("quadsld", 0) + kwargs.get("quadsld", 0 if use_lspp_defaults() else None) ), Field( "cubsld", int, 40, 10, - kwargs.get("cubsld", 0) + kwargs.get("cubsld", 0 if use_lspp_defaults() else None) ), Field( "deleres", int, 50, 10, - kwargs.get("deleres", 0) + kwargs.get("deleres", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary_comp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary_comp.py index d131d267e..600534903 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary_comp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_binary_comp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentBinaryComp(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iglb", 0) + kwargs.get("iglb", 0 if use_lspp_defaults() else None) ), Field( "ixyz", int, 10, 10, - kwargs.get("ixyz", 0) + kwargs.get("ixyz", 0 if use_lspp_defaults() else None) ), Field( "ivel", int, 20, 10, - kwargs.get("ivel", 0) + kwargs.get("ivel", 0 if use_lspp_defaults() else None) ), Field( "iacc", int, 30, 10, - kwargs.get("iacc", 0) + kwargs.get("iacc", 0 if use_lspp_defaults() else None) ), Field( "istrs", int, 40, 10, - kwargs.get("istrs", 0) + kwargs.get("istrs", 0 if use_lspp_defaults() else None) ), Field( "istra", int, 50, 10, - kwargs.get("istra", 0) + kwargs.get("istra", 0 if use_lspp_defaults() else None) ), Field( "ised", int, 60, 10, - kwargs.get("ised", 0) + kwargs.get("ised", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_d3part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_d3part.py index d9d8211b4..1d22c7dea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_d3part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_d3part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentD3Part(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("neiph", 0) + kwargs.get("neiph", 0 if use_lspp_defaults() else None) ), Field( "neips", int, 10, 10, - kwargs.get("neips", 0) + kwargs.get("neips", 0 if use_lspp_defaults() else None) ), Field( "maxint", int, 20, 10, - kwargs.get("maxint", 3) + kwargs.get("maxint", 3 if use_lspp_defaults() else None) ), Field( "strflg", int, 30, 10, - kwargs.get("strflg", 0) + kwargs.get("strflg", 0 if use_lspp_defaults() else None) ), Field( "sigflg", int, 40, 10, - kwargs.get("sigflg", 1) + kwargs.get("sigflg", 1 if use_lspp_defaults() else None) ), Field( "epsflg", int, 50, 10, - kwargs.get("epsflg", 1) + kwargs.get("epsflg", 1 if use_lspp_defaults() else None) ), Field( "rltflg", int, 60, 10, - kwargs.get("rltflg", 1) + kwargs.get("rltflg", 1 if use_lspp_defaults() else None) ), Field( "engflg", int, 70, 10, - kwargs.get("engflg", 1) + kwargs.get("engflg", 1 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ieverp", 0) + kwargs.get("ieverp", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -128,14 +129,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("shge", 1) + kwargs.get("shge", 1 if use_lspp_defaults() else None) ), Field( "stssz", int, 50, 10, - kwargs.get("stssz", 1) + kwargs.get("stssz", 1 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nintsld", 1) + kwargs.get("nintsld", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_intfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_intfor.py index b8476c5dc..081b95925 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_intfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_intfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentIntfor(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nglbv", 1) + kwargs.get("nglbv", 1 if use_lspp_defaults() else None) ), Field( "nvelo", int, 10, 10, - kwargs.get("nvelo", 1) + kwargs.get("nvelo", 1 if use_lspp_defaults() else None) ), Field( "npresu", int, 20, 10, - kwargs.get("npresu", 1) + kwargs.get("npresu", 1 if use_lspp_defaults() else None) ), Field( "nshear", int, 30, 10, - kwargs.get("nshear", 1) + kwargs.get("nshear", 1 if use_lspp_defaults() else None) ), Field( "nforce", int, 40, 10, - kwargs.get("nforce", 1) + kwargs.get("nforce", 1 if use_lspp_defaults() else None) ), Field( "ngapc", int, 50, 10, - kwargs.get("ngapc", 1) + kwargs.get("ngapc", 1 if use_lspp_defaults() else None) ), Field( "nfail", int, 60, 10, - kwargs.get("nfail", 0) + kwargs.get("nfail", 0 if use_lspp_defaults() else None) ), Field( "ieverf", int, 70, 10, - kwargs.get("ieverf", 0) + kwargs.get("ieverf", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nwear", 0) + kwargs.get("nwear", 0 if use_lspp_defaults() else None) ), Field( "nwusr", int, 10, 10, - kwargs.get("nwusr", 0) + kwargs.get("nwusr", 0 if use_lspp_defaults() else None) ), Field( "nhuf", int, 20, 10, - kwargs.get("nhuf", 0) + kwargs.get("nhuf", 0 if use_lspp_defaults() else None) ), Field( "ntied", int, 30, 10, - kwargs.get("ntied", 0) + kwargs.get("ntied", 0 if use_lspp_defaults() else None) ), Field( "neng", int, 40, 10, - kwargs.get("neng", 0) + kwargs.get("neng", 0 if use_lspp_defaults() else None) ), Field( "npen", int, 50, 10, - kwargs.get("npen", 0) + kwargs.get("npen", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_movie.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_movie.py index 33d777630..b310b23fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_movie.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_movie.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentMovie(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vtype", 0) + kwargs.get("vtype", 0 if use_lspp_defaults() else None) ), Field( "comp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_mpgs.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_mpgs.py index 9407f1aae..6af5c4904 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_mpgs.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_mpgs.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentMpgs(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vtype", 0) + kwargs.get("vtype", 0 if use_lspp_defaults() else None) ), Field( "comp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat.py index d115e3ae5..ac02d3752 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentSsstat(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat_id.py index 97c8b5b54..70d71e565 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_extent_ssstat_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseExtentSsstatId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fatxml.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fatxml.py index 2eba0e87c..7ba9e7d86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fatxml.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fatxml.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFatxml(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_format.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_format.py index 5b4273d74..1f794add8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_format.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_format.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFormat(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iform", 0) + kwargs.get("iform", 0 if use_lspp_defaults() else None) ), Field( "ibinary", int, 10, 10, - kwargs.get("ibinary", 0) + kwargs.get("ibinary", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_psd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_psd.py index 3cc1862e9..8813346e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_psd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_psd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiEloutPsd(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd.py index 9ef729b6a..f82e79e79 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiEloutSsd(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_modal_contribution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_modal_contribution.py index 1ea2d58e0..cae9bd0be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_modal_contribution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_modal_contribution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiEloutSsdModalContribution(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_subcase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_subcase.py index b28b155fe..7baab91f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_subcase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_elout_ssd_subcase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiEloutSsdSubcase(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd.py index a351508c6..51612aa68 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodforSsd(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd_subcase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd_subcase.py index 5ad2c2d65..0ea7d0210 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd_subcase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodfor_ssd_subcase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodforSsdSubcase(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_psd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_psd.py index 9b553868f..352e58089 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_psd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_psd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodoutPsd(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd.py index b6188866d..4e6cae7fa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodoutSsd(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_modal_contribution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_modal_contribution.py index 1a1452216..17f067fc5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_modal_contribution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_modal_contribution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodoutSsdModalContribution(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_subcase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_subcase.py index 3ca479e28..8637ff505 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_subcase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_ascii_nodout_ssd_subcase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyAsciiNodoutSsdSubcase(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acc.py index 35ce2880e..6843c6417 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Acc(KeywordBase): @@ -51,56 +52,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 10, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 20, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "nid4", int, 30, 10, - kwargs.get("nid4", 0) + kwargs.get("nid4", 0 if use_lspp_defaults() else None) ), Field( "nid5", int, 40, 10, - kwargs.get("nid5", 0) + kwargs.get("nid5", 0 if use_lspp_defaults() else None) ), Field( "nid6", int, 50, 10, - kwargs.get("nid6", 0) + kwargs.get("nid6", 0 if use_lspp_defaults() else None) ), Field( "nid7", int, 60, 10, - kwargs.get("nid7", 0) + kwargs.get("nid7", 0 if use_lspp_defaults() else None) ), Field( "nid8", int, 70, 10, - kwargs.get("nid8", 0) + kwargs.get("nid8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acs.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acs.py index 66aca1904..2e8afac20 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acs.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3acs.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Acs(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3atv.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3atv.py index b3bc99ae2..a7a072fcc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3atv.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3atv.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Atv(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3erp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3erp.py index 2440d8920..ff814ff96 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3erp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3erp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Erp(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ftg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ftg.py index 71c199efb..0e6cf4f31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ftg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ftg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Ftg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd.py index e8a249f2e..66c3ce935 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Psd(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd_summation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd_summation.py index 38d080860..7b2ba7090 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd_summation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3psd_summation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3PsdSummation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms.py index 3458c82b0..9d4f248f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Rms(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms_summation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms_summation.py index e52c8c8bf..c2d3c285a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms_summation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3rms_summation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3RmsSummation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3spcm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3spcm.py index bf818dbe3..00f04db16 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3spcm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3spcm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Spcm(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd.py index 621702907..08a32b69d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Ssd(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), ], ), @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd_subcase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd_subcase.py index fd9b33f0d..1b58e8a81 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd_subcase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3ssd_subcase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3SsdSubcase(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmin", 0.0) + kwargs.get("fmin", 0.0 if use_lspp_defaults() else None) ), Field( "fmax", float, 10, 10, - kwargs.get("fmax", 0.0) + kwargs.get("fmax", 0.0 if use_lspp_defaults() else None) ), Field( "nfreq", int, 20, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", int, 40, 10, - kwargs.get("lcfreq", 0) + kwargs.get("lcfreq", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3zcf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3zcf.py index 3cd31c170..72cf7016d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3zcf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_frequency_binary_d3zcf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFrequencyBinaryD3Zcf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi.py index ffa503117..b22d4d5f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFsi(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("binary", 1) + kwargs.get("binary", 1 if use_lspp_defaults() else None) ), ], ), @@ -72,7 +73,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stdype", 0) + kwargs.get("stdype", 0 if use_lspp_defaults() else None) ), Field( "swid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi_sensor.py index 11edb4fc9..7810a2e74 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_fsi_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseFsiSensor(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("binary", 1) + kwargs.get("binary", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_gceout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_gceout.py index ba8677a9b..ee6b5a601 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_gceout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_gceout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseGceout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat.py index 3468d2386..c3f2a479a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseGlstat(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat_mass_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat_mass_properties.py index 75a7d0d1d..94acbf2d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat_mass_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_glstat_mass_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseGlstatMassProperties(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_acoustic.py index 247dc56a8..ecf70de9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryAcoustic(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam.py index f27435039..7859f1aa8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryBeam(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_id.py index 2dc294688..f05976b6d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryBeamId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_set.py index 79b5afd07..e1bb7d6ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_beam_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryBeamSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete.py index eb925aea6..85bcfa56a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryDiscrete(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_id.py index 96fa9d104..627aa708d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryDiscreteId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_set.py index 9fd4b0265..a2cc6d046 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_discrete_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryDiscreteSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node.py index e8fa34779..264c1c117 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_id.py index aeeab5bd9..fc2eb504a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNodeId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local.py index 6ef6da7eb..22304bb69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNodeLocal(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), Field( "hfo", int, 30, 10, - kwargs.get("hfo", 0) + kwargs.get("hfo", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local_id.py index 9c3fc8ffa..6b7755374 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_local_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNodeLocalId(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set.py index b4d4be3d3..7b8767b73 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNodeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set_local.py index 59f01047f..566c7c8b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_node_set_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryNodeSetLocal(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), Field( "hfo", int, 30, 10, - kwargs.get("hfo", 0) + kwargs.get("hfo", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt.py index f9c01518b..0d1b0984b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbelt(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_id.py index 39926d7a6..beb325c86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbeltId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor.py index 88723721c..cfd0570a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbeltRetractor(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor_id.py index f8f848dd0..ac337767a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_retractor_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbeltRetractorId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring.py index cad847137..2e538b5da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbeltSlipring(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring_id.py index 8e039a734..1afbe1b03 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_seatbelt_slipring_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySeatbeltSlipringId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell.py index 27104abf4..e172f6d74 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_id.py index 1aaeea1ff..3db4538a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryShellId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_set.py index 32ebcaa93..fa95b5154 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryShellSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid.py index ea1ed895d..aee6bb8dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_id.py index e0dd7cfce..01c579b91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySolidId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_set.py index 79420d577..4e32ff065 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_solid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySolidSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph.py index 7730ed5a9..ab3212428 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySph(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph_set.py index 5a7d1def8..54f752a4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_sph_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistorySphSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell.py index 2a68ebb98..89c6ff5ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryTshell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_id.py index 7c68c8728..d4ec920f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryTshellId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_set.py index d13330618..e9245f385 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_history_tshell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseHistoryTshellSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_icvout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_icvout.py index 8e21b477b..257269644 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_icvout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_icvout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseIcvout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_jntforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_jntforc.py index f2c6d8793..c763011b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_jntforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_jntforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseJntforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_massout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_massout.py index c3caf7f76..50d43e4db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_massout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_massout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMassout(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ndflg", 1) + kwargs.get("ndflg", 1 if use_lspp_defaults() else None) ), Field( "rbflg", int, 20, 10, - kwargs.get("rbflg", 0) + kwargs.get("rbflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_matsum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_matsum.py index fd315556f..266f55c7b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_matsum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_matsum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMatsum(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam.py index dc224bb56..23220e2c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxBeam(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_id.py index 3ba1a3d94..c6558fa5b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxBeamId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_set.py index eaafbef29..4ee181556 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_beam_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxBeamSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell.py index 7546125df..9b31cb966 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_id.py index f457ecbac..92768e478 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxShellId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_set.py index b27186c4e..02ca384b0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxShellSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid.py index 751bc84a8..02084a4f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_id.py index d1c63de38..4080c9358 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxSolidId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_set.py index 1ee232fdd..f33157972 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_solid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxSolidSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell.py index 3061631da..12ed93825 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxTshell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_id.py index 47011ec72..9b514ec52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxTshellId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_set.py index 2e5441af2..e7928996d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_max_tshell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMaxTshellSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_movie.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_movie.py index c425f4594..f654bb588 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_movie.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_movie.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMovie(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_mpgs.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_mpgs.py index c26af8e4e..459678ccd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_mpgs.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_mpgs.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseMpgs(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc.py index f699ecee4..5c3b01658 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseNcforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc_filter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc_filter.py index 2b38fd88f..d99d10754 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc_filter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ncforc_filter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseNcforcFilter(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rate", 0) + kwargs.get("rate", 0 if use_lspp_defaults() else None) ), Field( "cutoff", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodal_force_group.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodal_force_group.py index ca84fb56e..aaf6af2f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodal_force_group.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodal_force_group.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseNodalForceGroup(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodfor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodfor.py index b2053a81f..16a5cc063 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodfor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodfor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseNodfor(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodout.py index 19d5fab0d..7ec4826f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_nodout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseNodout(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), Field( "option1", float, 40, 10, - kwargs.get("option1", 0) + kwargs.get("option1", 0 if use_lspp_defaults() else None) ), Field( "option2", int, 50, 10, - kwargs.get("option2", 0) + kwargs.get("option2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pap_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pap_output.py index c991ff194..51a95522e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pap_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pap_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePapOutput(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivel", 0) + kwargs.get("ivel", 0 if use_lspp_defaults() else None) ), Field( "iaccx", int, 10, 10, - kwargs.get("iaccx", 0) + kwargs.get("iaccx", 0 if use_lspp_defaults() else None) ), Field( "iaccy", int, 20, 10, - kwargs.get("iaccy", 0) + kwargs.get("iaccy", 0 if use_lspp_defaults() else None) ), Field( "iaccz", int, 30, 10, - kwargs.get("iaccz", 0) + kwargs.get("iaccz", 0 if use_lspp_defaults() else None) ), Field( "ncyout", int, 40, 10, - kwargs.get("ncyout", 100) + kwargs.get("ncyout", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pblast_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pblast_sensor.py index baaf9a97c..b202df5c6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pblast_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pblast_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePblastSensor(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0) + kwargs.get("dt", 0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 3) + kwargs.get("binary", 3 if use_lspp_defaults() else None) ), ], ), @@ -58,28 +59,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "itype", int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 20, 10, - kwargs.get("offset", 0) + kwargs.get("offset", 0 if use_lspp_defaults() else None) ), Field( "radius", float, 30, 10, - kwargs.get("radius", 0) + kwargs.get("radius", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pbstat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pbstat.py index 1b782ff4b..d7a7462f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pbstat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pbstat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePbstat(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pllyout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pllyout.py index 9642d8ff8..f930db528 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pllyout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pllyout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePllyout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density.py index d64b9b351..9440b55eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePowerSpectralDensity(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fbeg", 0.0) + kwargs.get("fbeg", 0.0 if use_lspp_defaults() else None) ), Field( "fend", float, 10, 10, - kwargs.get("fend", 0.0) + kwargs.get("fend", 0.0 if use_lspp_defaults() else None) ), Field( "fintval", float, 20, 10, - kwargs.get("fintval", 1.0) + kwargs.get("fintval", 1.0 if use_lspp_defaults() else None) ), Field( "ftrunk", float, 30, 10, - kwargs.get("ftrunk", 1.1) + kwargs.get("ftrunk", 1.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density_frequency.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density_frequency.py index 720743bee..936060145 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density_frequency.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_power_spectral_density_frequency.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePowerSpectralDensityFrequency(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fbeg", 0.0) + kwargs.get("fbeg", 0.0 if use_lspp_defaults() else None) ), Field( "fend", float, 10, 10, - kwargs.get("fend", 0.0) + kwargs.get("fend", 0.0 if use_lspp_defaults() else None) ), Field( "fintval", float, 20, 10, - kwargs.get("fintval", 1.0) + kwargs.get("fintval", 1.0 if use_lspp_defaults() else None) ), Field( "ftrunk", float, 30, 10, - kwargs.get("ftrunk", 1.1) + kwargs.get("ftrunk", 1.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_profile.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_profile.py index 257dea2a8..47618acbf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_profile.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_profile.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseProfile(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stype", 1) + kwargs.get("stype", 1 if use_lspp_defaults() else None) ), Field( "data", int, 30, 10, - kwargs.get("data", 1) + kwargs.get("data", 1 if use_lspp_defaults() else None) ), Field( "dir", int, 40, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "updloc", int, 50, 10, - kwargs.get("updloc", 0) + kwargs.get("updloc", 0 if use_lspp_defaults() else None) ), Field( "mmg", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_prtube.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_prtube.py index 999cb0fa4..30a27fde4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_prtube.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_prtube.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePrtube(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_flow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_flow.py index 1f626e225..40fe4ec8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_flow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_flow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePwpFlow(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_output.py index 3c8714d34..879e15535 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pwp_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePwpOutput(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivel", 0) + kwargs.get("ivel", 0 if use_lspp_defaults() else None) ), Field( "iaccx", int, 10, 10, - kwargs.get("iaccx", 0) + kwargs.get("iaccx", 0 if use_lspp_defaults() else None) ), Field( "iaccy", int, 20, 10, - kwargs.get("iaccy", 0) + kwargs.get("iaccy", 0 if use_lspp_defaults() else None) ), Field( "iaccz", int, 30, 10, - kwargs.get("iaccz", 0) + kwargs.get("iaccz", 0 if use_lspp_defaults() else None) ), Field( "ncyout", int, 40, 10, - kwargs.get("ncyout", 100) + kwargs.get("ncyout", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pyro.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pyro.py index b0b67906c..6e2deb2e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pyro.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_pyro.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabasePyro(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rbdout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rbdout.py index c3dbeac2b..478fab838 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rbdout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rbdout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRbdout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc.py index 2dc3be6a0..11b66c3a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRcforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc_moment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc_moment.py index 4bb754015..effa409d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc_moment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rcforc_moment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRcforcMoment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_recover_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_recover_node.py index f46c6648e..1a24e4f1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_recover_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_recover_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRecoverNode(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("iax", "SMNPD") + kwargs.get("iax", "SMNPD" if use_lspp_defaults() else None) ), Field( "iay", str, 20, 10, - kwargs.get("iay", "SMNPD") + kwargs.get("iay", "SMNPD" if use_lspp_defaults() else None) ), Field( "iaz", str, 30, 10, - kwargs.get("iaz", "SMNPD") + kwargs.get("iaz", "SMNPD" if use_lspp_defaults() else None) ), Field( "method", int, 40, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "ivx", str, 50, 10, - kwargs.get("ivx", "SMNPD") + kwargs.get("ivx", "SMNPD" if use_lspp_defaults() else None) ), Field( "ivy", str, 60, 10, - kwargs.get("ivy", "SMNPD") + kwargs.get("ivy", "SMNPD" if use_lspp_defaults() else None) ), Field( "ivz", str, 70, 10, - kwargs.get("ivz", "SMNPD") + kwargs.get("ivz", "SMNPD" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rve.py index a9c2ba3e4..359ff45aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRve(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "bina", int, 10, 10, - kwargs.get("bina", 0) + kwargs.get("bina", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rwforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rwforc.py index 7fe7ffb83..ec8ea9c83 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rwforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_rwforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseRwforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sale.py index a2d6a726c..89bed49db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSale(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("on/off", 1) + kwargs.get("on/off", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sbtout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sbtout.py index d3e64eed9..49d201f12 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sbtout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sbtout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSbtout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc.py index fa484461d..b88a5e1d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSecforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc_filter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc_filter.py index e19ac98c6..f4037d9d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc_filter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_secforc_filter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSecforcFilter(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rate", 0) + kwargs.get("rate", 0 if use_lspp_defaults() else None) ), Field( "cutoff", @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sleout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sleout.py index 81f189aa6..3a31e7537 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sleout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sleout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSleout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spcforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spcforc.py index 646374b6c..1b4bbf930 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spcforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spcforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSpcforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphmassflow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphmassflow.py index f55865b21..c00cc7073 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphmassflow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphmassflow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSphmassflow(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphout.py index ecd8c16cd..e9fc0aa19 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_sphout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSphout(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spring_forward.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spring_forward.py index 496e4521a..8fde1150a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spring_forward.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_spring_forward.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSpringForward(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat.py index 73c3b1a72..21fc29b64 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSsstat(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat_mass_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat_mass_properties.py index 8b999f29a..442ef53e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat_mass_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_ssstat_mass_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSsstatMassProperties(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_superplastic_forming.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_superplastic_forming.py index 8ceac4c0f..2100ae3f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_superplastic_forming.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_superplastic_forming.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSuperplasticForming(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_swforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_swforc.py index aedfab2ad..8c2a41485 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_swforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_swforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseSwforc(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tprint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tprint.py index 724e1e090..fe82610a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tprint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tprint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTprint(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer.py index 8edfe9189..daabfef11 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTracer(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "track", int, 10, 10, - kwargs.get("track", 0) + kwargs.get("track", 0 if use_lspp_defaults() else None) ), Field( "x", float, 20, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 30, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "ammgid", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_ale.py index b4be851dd..000220897 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTracerAle(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), Field( "track", int, 10, 10, - kwargs.get("track", 0) + kwargs.get("track", 0 if use_lspp_defaults() else None) ), Field( "ammgid", int, 20, 10, - kwargs.get("ammgid", 0) + kwargs.get("ammgid", 0 if use_lspp_defaults() else None) ), Field( "hvbeg", int, 30, 10, - kwargs.get("hvbeg", 0) + kwargs.get("hvbeg", 0 if use_lspp_defaults() else None) ), Field( "hvend", int, 40, 10, - kwargs.get("hvend", 0) + kwargs.get("hvend", 0 if use_lspp_defaults() else None) ), Field( "time", float, 50, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_de.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_de.py index fbf687230..e0035307c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_de.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_de.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTracerDe(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "track", int, 10, 10, - kwargs.get("track", 0) + kwargs.get("track", 0 if use_lspp_defaults() else None) ), Field( "x", float, 20, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 30, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "ammgid", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_general.py index 1b8ed54ef..ff3f352cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTracerGeneral(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node", 0) + kwargs.get("node", 0 if use_lspp_defaults() else None) ), Field( "elem", int, 10, 10, - kwargs.get("elem", 0) + kwargs.get("elem", 0 if use_lspp_defaults() else None) ), Field( "typm", int, 20, 10, - kwargs.get("typm", 1) + kwargs.get("typm", 1 if use_lspp_defaults() else None) ), Field( "move", int, 30, 10, - kwargs.get("move", 0) + kwargs.get("move", 0 if use_lspp_defaults() else None) ), Field( "set", int, 40, 10, - kwargs.get("set", 0) + kwargs.get("set", 0 if use_lspp_defaults() else None) ), Field( "typs", int, 50, 10, - kwargs.get("typs", 0) + kwargs.get("typs", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,28 +87,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 10, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 20, 10, - kwargs.get("tend", 1e20) + kwargs.get("tend", 1e20 if use_lspp_defaults() else None) ), Field( "fid", int, 30, 10, - kwargs.get("fid", 0) + kwargs.get("fid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("varloc", 0) + kwargs.get("varloc", 0 if use_lspp_defaults() else None) ), Field( "varepl", int, 10, 10, - kwargs.get("varepl", 0) + kwargs.get("varepl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_generate.py index 9cf7f2f9f..4b1d4cf83 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_tracer_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTracerGenerate(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("valow", 0.0) + kwargs.get("valow", 0.0 if use_lspp_defaults() else None) ), Field( "valup", float, 20, 10, - kwargs.get("valup", 0.0) + kwargs.get("valup", 0.0 if use_lspp_defaults() else None) ), Field( "valtype1", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("setype", 0) + kwargs.get("setype", 0 if use_lspp_defaults() else None) ), Field( "mmgset", @@ -100,21 +101,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("varloc", 0) + kwargs.get("varloc", 0 if use_lspp_defaults() else None) ), Field( "valtype2", int, 10, 10, - kwargs.get("valtype2", 0) + kwargs.get("valtype2", 0 if use_lspp_defaults() else None) ), Field( "mmgset", int, 20, 10, - kwargs.get("mmgset", 0) + kwargs.get("mmgset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_trhist.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_trhist.py index 96cf5b48e..8a524ed73 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/database_trhist.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/database_trhist.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DatabaseTrhist(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "binary", int, 10, 10, - kwargs.get("binary", 0) + kwargs.get("binary", 0 if use_lspp_defaults() else None) ), Field( "lcur", int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "ioopt", int, 30, 10, - kwargs.get("ioopt", 1) + kwargs.get("ioopt", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des.py index c21d5df88..e278f32bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -70,14 +71,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "nq", int, 20, 10, - kwargs.get("nq", 1) + kwargs.get("nq", 1 if use_lspp_defaults() else None) ), Field( "ipdes", @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("rsf", 1.0) + kwargs.get("rsf", 1.0 if use_lspp_defaults() else None) ), Field( "outdes", int, 60, 10, - kwargs.get("outdes", 0) + kwargs.get("outdes", 0 if use_lspp_defaults() else None) ), Field( "ibond", int, 70, 10, - kwargs.get("ibond", 0) + kwargs.get("ibond", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des_id.py index 7b06fc392..69e4670a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_des_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -70,14 +71,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "nq", int, 20, 10, - kwargs.get("nq", 1) + kwargs.get("nq", 1 if use_lspp_defaults() else None) ), Field( "ipdes", @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("rsf", 1.0) + kwargs.get("rsf", 1.0 if use_lspp_defaults() else None) ), Field( "outdes", int, 60, 10, - kwargs.get("outdes", 0) + kwargs.get("outdes", 0 if use_lspp_defaults() else None) ), Field( "ibond", int, 70, 10, - kwargs.get("ibond", 0) + kwargs.get("ibond", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph.py index 2c08355f6..03cf53257 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -70,14 +71,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "nq", int, 20, 10, - kwargs.get("nq", 1) + kwargs.get("nq", 1 if use_lspp_defaults() else None) ), Field( "ipsph", @@ -98,14 +99,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("icpl", 0) + kwargs.get("icpl", 0 if use_lspp_defaults() else None) ), Field( "iopt", int, 60, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "cpcd", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph_id.py index ecf32a564..869119e58 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_adaptive_solid_to_sph_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -70,14 +71,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "nq", int, 20, 10, - kwargs.get("nq", 1) + kwargs.get("nq", 1 if use_lspp_defaults() else None) ), Field( "ipsph", @@ -98,14 +99,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("icpl", 0) + kwargs.get("icpl", 0 if use_lspp_defaults() else None) ), Field( "iopt", int, 60, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "cpcd", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_bag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_bag.py index 95f90d5d4..bbadd4494 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_bag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_bag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,21 +60,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sidtype", 0) + kwargs.get("sidtype", 0 if use_lspp_defaults() else None) ), Field( "cvbag", int, 30, 10, - kwargs.get("cvbag", 1) + kwargs.get("cvbag", 1 if use_lspp_defaults() else None) ), Field( "iblock", int, 40, 10, - kwargs.get("iblock", 0) + kwargs.get("iblock", 0 if use_lspp_defaults() else None) ), Field( "vcof", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("vtype", 0) + kwargs.get("vtype", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,56 +106,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nquad", 0) + kwargs.get("nquad", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 10, 10, - kwargs.get("ctype", 2) + kwargs.get("ctype", 2 if use_lspp_defaults() else None) ), Field( "pfac", float, 20, 10, - kwargs.get("pfac", 0.1) + kwargs.get("pfac", 0.1 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "frcmin", float, 40, 10, - kwargs.get("frcmin", 0.5) + kwargs.get("frcmin", 0.5 if use_lspp_defaults() else None) ), Field( "normtyp", int, 50, 10, - kwargs.get("normtyp", 0) + kwargs.get("normtyp", 0 if use_lspp_defaults() else None) ), Field( "ileak", int, 60, 10, - kwargs.get("ileak", 0) + kwargs.get("ileak", 0 if use_lspp_defaults() else None) ), Field( "pleak", float, 70, 10, - kwargs.get("pleak", 0.01) + kwargs.get("pleak", 0.01 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "start", float, 10, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "end", float, 20, 10, - kwargs.get("end", 1.0E+10) + kwargs.get("end", 1.0E+10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_hole.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_hole.py index a624dda9f..5afe80219 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_hole.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_hole.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sidtype", 0) + kwargs.get("sidtype", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 30, 10, - kwargs.get("nquad", 1) + kwargs.get("nquad", 1 if use_lspp_defaults() else None) ), Field( "xoff", float, 40, 10, - kwargs.get("xoff", 0.0) + kwargs.get("xoff", 0.0 if use_lspp_defaults() else None) ), Field( "nfold", int, 50, 10, - kwargs.get("nfold", 0) + kwargs.get("nfold", 0 if use_lspp_defaults() else None) ), Field( "xclen", float, 60, 10, - kwargs.get("xclen", 0.0) + kwargs.get("xclen", 0.0 if use_lspp_defaults() else None) ), Field( "int/ext", int, 70, 10, - kwargs.get("int/ext", 0) + kwargs.get("int/ext", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_inflator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_inflator.py index f82a78bab..41034fce0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_inflator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_alebag_inflator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ngas", 0) + kwargs.get("ngas", 0 if use_lspp_defaults() else None) ), Field( "norif", int, 50, 10, - kwargs.get("norif", 0) + kwargs.get("norif", 0 if use_lspp_defaults() else None) ), Field( "lcvel", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mwgas", 0) + kwargs.get("mwgas", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -140,21 +141,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("gasa", 0) + kwargs.get("gasa", 0 if use_lspp_defaults() else None) ), Field( "gasb", float, 60, 10, - kwargs.get("gasb", 0) + kwargs.get("gasb", 0 if use_lspp_defaults() else None) ), Field( "gasc", float, 70, 10, - kwargs.get("gasc", 0) + kwargs.get("gasc", 0 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), Field( "vecid", int, 10, 10, - kwargs.get("vecid", 0) + kwargs.get("vecid", 0 if use_lspp_defaults() else None) ), Field( "orifare", float, 20, 10, - kwargs.get("orifare", 0) + kwargs.get("orifare", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_beam_solid_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_beam_solid_coupling.py index 69d9d2171..ca8e76c5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_beam_solid_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_beam_solid_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,28 +60,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lstrtype", 0) + kwargs.get("lstrtype", 0 if use_lspp_defaults() else None) ), Field( "soltype", int, 30, 10, - kwargs.get("soltype", 0) + kwargs.get("soltype", 0 if use_lspp_defaults() else None) ), Field( "form", int, 40, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "psf", float, 50, 10, - kwargs.get("psf", 1.0) + kwargs.get("psf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box.py index 31bc5e172..d51774f30 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "xmn", float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive.py index d6f5b6721..ddcc6d93c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -98,49 +99,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "level", int, 10, 10, - kwargs.get("level", 1) + kwargs.get("level", 1 if use_lspp_defaults() else None) ), Field( "lidx/ndid", int, 20, 10, - kwargs.get("lidx/ndid", 0) + kwargs.get("lidx/ndid", 0 if use_lspp_defaults() else None) ), Field( "lidy", int, 30, 10, - kwargs.get("lidy", 0) + kwargs.get("lidy", 0 if use_lspp_defaults() else None) ), Field( "lidz", int, 40, 10, - kwargs.get("lidz", 0) + kwargs.get("lidz", 0 if use_lspp_defaults() else None) ), Field( "brmin", float, 50, 10, - kwargs.get("brmin", 0.0) + kwargs.get("brmin", 0.0 if use_lspp_defaults() else None) ), Field( "brmax", float, 60, 10, - kwargs.get("brmax", 0.0) + kwargs.get("brmax", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive_local.py index 8205bc648..a118df8a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_adaptive_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -98,49 +99,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "level", int, 10, 10, - kwargs.get("level", 1) + kwargs.get("level", 1 if use_lspp_defaults() else None) ), Field( "lidx/ndid", int, 20, 10, - kwargs.get("lidx/ndid", 0) + kwargs.get("lidx/ndid", 0 if use_lspp_defaults() else None) ), Field( "lidy", int, 30, 10, - kwargs.get("lidy", 0) + kwargs.get("lidy", 0 if use_lspp_defaults() else None) ), Field( "lidz", int, 40, 10, - kwargs.get("lidz", 0) + kwargs.get("lidz", 0 if use_lspp_defaults() else None) ), Field( "brmin", float, 50, 10, - kwargs.get("brmin", 0.0) + kwargs.get("brmin", 0.0 if use_lspp_defaults() else None) ), Field( "brmax", float, 60, 10, - kwargs.get("brmax", 0.0) + kwargs.get("brmax", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -151,42 +152,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xx", 0) + kwargs.get("xx", 0 if use_lspp_defaults() else None) ), Field( "yx", float, 10, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 20, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 30, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 40, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 50, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -197,21 +198,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 10, 10, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 20, 10, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen.py index 047823424..b281c07dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), Field( "iflag", int, 70, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen_local.py index e634f33ba..ab93eb784 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_coarsen_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), Field( "iflag", int, 70, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xx", 0) + kwargs.get("xx", 0 if use_lspp_defaults() else None) ), Field( "yx", float, 10, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 20, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 30, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 40, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 50, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -151,21 +152,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 10, 10, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 20, 10, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead.py index 77987961f..b0e2da3df 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 10, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "sid", int, 20, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "idir", int, 30, 10, - kwargs.get("idir", 1) + kwargs.get("idir", 1 if use_lspp_defaults() else None) ), Field( "stype", int, 40, 10, - kwargs.get("stype", 4) + kwargs.get("stype", 4 if use_lspp_defaults() else None) ), Field( "radius", float, 50, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead_local.py index 92f105928..33140a519 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_drawbead_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 10, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "sid", int, 20, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "idir", int, 30, 10, - kwargs.get("idir", 1) + kwargs.get("idir", 1 if use_lspp_defaults() else None) ), Field( "stype", int, 40, 10, - kwargs.get("stype", 4) + kwargs.get("stype", 4 if use_lspp_defaults() else None) ), Field( "radius", float, 50, 10, - kwargs.get("radius", 0.0) + kwargs.get("radius", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,42 +99,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xx", 0) + kwargs.get("xx", 0 if use_lspp_defaults() else None) ), Field( "yx", float, 10, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 20, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 30, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 40, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 50, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -144,21 +145,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 10, 10, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 20, 10, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_local.py index 120ffd0f8..b2bdb8b61 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "xmn", float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -98,42 +99,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xx", 0) + kwargs.get("xx", 0 if use_lspp_defaults() else None) ), Field( "yx", float, 10, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 20, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 30, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 40, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 50, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -144,21 +145,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 10, 10, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 20, 10, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_nodes_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_nodes_adaptive.py index 2f2193944..9a19517d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_nodes_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_nodes_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,14 +46,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "node", int, 10, 10, - kwargs.get("node", 0) + kwargs.get("node", 0 if use_lspp_defaults() else None) ), Field( "lcx", @@ -80,21 +81,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "radius", float, 60, 10, - kwargs.get("radius", 0) + kwargs.get("radius", 0 if use_lspp_defaults() else None) ), Field( "npiece", int, 70, 10, - kwargs.get("npiece", 0) + kwargs.get("npiece", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph.py index 59ddbacc2..44fa22e92 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,49 +106,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vd", int, 10, 10, - kwargs.get("vd", 0) + kwargs.get("vd", 0 if use_lspp_defaults() else None) ), Field( "nid", int, 20, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), Field( "ireact", int, 30, 10, - kwargs.get("ireact", 0) + kwargs.get("ireact", 0 if use_lspp_defaults() else None) ), Field( "ibuff", int, 40, 10, - kwargs.get("ibuff", 0) + kwargs.get("ibuff", 0 if use_lspp_defaults() else None) ), Field( "ishow", int, 50, 10, - kwargs.get("ishow", 0) + kwargs.get("ishow", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 60, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph_local.py index 104adefa2..11a3dd963 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_box_sph_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 20, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 30, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 40, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 50, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 60, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,49 +106,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "vd", int, 10, 10, - kwargs.get("vd", 0) + kwargs.get("vd", 0 if use_lspp_defaults() else None) ), Field( "nid", int, 20, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), Field( "ireact", int, 30, 10, - kwargs.get("ireact", 0) + kwargs.get("ireact", 0 if use_lspp_defaults() else None) ), Field( "ibuff", int, 40, 10, - kwargs.get("ibuff", 0) + kwargs.get("ibuff", 0 if use_lspp_defaults() else None) ), Field( "ishow", int, 50, 10, - kwargs.get("ishow", 0) + kwargs.get("ishow", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 60, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), ], ), @@ -158,42 +159,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xx", 0) + kwargs.get("xx", 0 if use_lspp_defaults() else None) ), Field( "yx", float, 10, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 20, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 30, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 40, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 50, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -204,21 +205,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 10, 10, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 20, 10, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties.py index b72cc5c18..e7cc6b907 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,21 +46,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("con_id", 0) + kwargs.get("con_id", 0 if use_lspp_defaults() else None) ), Field( "proprul", int, 10, 10, - kwargs.get("proprul", 0) + kwargs.get("proprul", 0 if use_lspp_defaults() else None) ), Field( "areaeq", int, 20, 10, - kwargs.get("areaeq", 0) + kwargs.get("areaeq", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("dgtyp", 0) + kwargs.get("dgtyp", 0 if use_lspp_defaults() else None) ), Field( "moarfl", int, 50, 10, - kwargs.get("moarfl", 0) + kwargs.get("moarfl", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ddg_pr", 1.0E+10) + kwargs.get("ddg_pr", 1.0E+10 if use_lspp_defaults() else None) ), Field( "drank", @@ -151,21 +152,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dexsn", 1.0) + kwargs.get("dexsn", 1.0 if use_lspp_defaults() else None) ), Field( "dexsb", float, 10, 10, - kwargs.get("dexsb", 1.0) + kwargs.get("dexsb", 1.0 if use_lspp_defaults() else None) ), Field( "dexss", float, 20, 10, - kwargs.get("dexss", 1.0) + kwargs.get("dexss", 1.0 if use_lspp_defaults() else None) ), Field( "dcsn", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("dsclmrr", 1.0) + kwargs.get("dsclmrr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties_add.py index 4ed523e5f..2b99f1304 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_connection_properties_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("proprul", 0) + kwargs.get("proprul", 0 if use_lspp_defaults() else None) ), Field( "areaeq", int, 20, 10, - kwargs.get("areaeq", 0) + kwargs.get("areaeq", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("dg_typ", 0) + kwargs.get("dg_typ", 0 if use_lspp_defaults() else None) ), Field( "moarfl", int, 50, 10, - kwargs.get("moarfl", 0) + kwargs.get("moarfl", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dgpr", 1.0E+10) + kwargs.get("dgpr", 1.0E+10 if use_lspp_defaults() else None) ), Field( "rank", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sclmrr", 1.0) + kwargs.get("sclmrr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_construction_stages.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_construction_stages.py index 193092110..7043cd4d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_construction_stages.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_construction_stages.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ats", 0.0) + kwargs.get("ats", 0.0 if use_lspp_defaults() else None) ), Field( "ate", float, 20, 10, - kwargs.get("ate", 0.0) + kwargs.get("ate", 0.0 if use_lspp_defaults() else None) ), Field( "atr", @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rts", 0.0) + kwargs.get("rts", 0.0 if use_lspp_defaults() else None) ), Field( "rte", float, 50, 10, - kwargs.get("rte", 0.0) + kwargs.get("rte", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("idynain", 0) + kwargs.get("idynain", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_exclusion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_exclusion.py index c256ca397..f200ece38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_exclusion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_exclusion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_volume.py index ae0819915..05c62ad9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_contact_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "xc", @@ -91,42 +92,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 10, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 20, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 30, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 40, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 50, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.type==0, @@ -138,28 +139,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("length", 0.0) + kwargs.get("length", 0.0 if use_lspp_defaults() else None) ), Field( "rinner", float, 10, 10, - kwargs.get("rinner", 0.0) + kwargs.get("rinner", 0.0 if use_lspp_defaults() else None) ), Field( "router", float, 20, 10, - kwargs.get("router", 0.0) + kwargs.get("router", 0.0 if use_lspp_defaults() else None) ), Field( "d_angc", float, 30, 10, - kwargs.get("d_angc", 0.0) + kwargs.get("d_angc", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.type==1, @@ -171,21 +172,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rinner", 0.0) + kwargs.get("rinner", 0.0 if use_lspp_defaults() else None) ), Field( "router", float, 10, 10, - kwargs.get("router", 0.0) + kwargs.get("router", 0.0 if use_lspp_defaults() else None) ), Field( "d_angs", float, 20, 10, - kwargs.get("d_angs", 0.0) + kwargs.get("d_angs", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.type==2, diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume.py index 127599776..4aa759fbc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_flow_area.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_flow_area.py index 88aa8c2d5..e1f8dcacf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_flow_area.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_flow_area.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stype", 1) + kwargs.get("stype", 1 if use_lspp_defaults() else None) ), Field( "pid ", int, 30, 10, - kwargs.get("pid ", 0) + kwargs.get("pid ", 0 if use_lspp_defaults() else None) ), Field( "area ", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_interaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_interaction.py index 7c8bb6c70..9e45a370b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_interaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_control_volume_interaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_node.py index 71d81828f..ae38a8bec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("dir", "X") + kwargs.get("dir", "X" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_nodes.py index 614c86750..e18a71d2b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("dir", "X") + kwargs.get("dir", "X" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_system.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_system.py index e049e9d0d..228b2478c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_system.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_system.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "xo", float, 10, 10, - kwargs.get("xo", 0.0) + kwargs.get("xo", 0.0 if use_lspp_defaults() else None) ), Field( "yo", float, 20, 10, - kwargs.get("yo", 0.0) + kwargs.get("yo", 0.0 if use_lspp_defaults() else None) ), Field( "zo", float, 30, 10, - kwargs.get("zo", 0.0) + kwargs.get("zo", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 40, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 50, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "zl", float, 60, 10, - kwargs.get("zl", 0.0) + kwargs.get("zl", 0.0 if use_lspp_defaults() else None) ), Field( "cidl", int, 70, 10, - kwargs.get("cidl", 0) + kwargs.get("cidl", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 10, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 20, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_vector.py index b7df5ee84..586c9906d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_coordinate_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "xx", float, 10, 10, - kwargs.get("xx", 0.0) + kwargs.get("xx", 0.0 if use_lspp_defaults() else None) ), Field( "yx", float, 20, 10, - kwargs.get("yx", 0.0) + kwargs.get("yx", 0.0 if use_lspp_defaults() else None) ), Field( "zx", float, 30, 10, - kwargs.get("zx", 0.0) + kwargs.get("zx", 0.0 if use_lspp_defaults() else None) ), Field( "xv", float, 40, 10, - kwargs.get("xv", 0.0) + kwargs.get("xv", 0.0 if use_lspp_defaults() else None) ), Field( "yv", float, 50, 10, - kwargs.get("yv", 0.0) + kwargs.get("yv", 0.0 if use_lspp_defaults() else None) ), Field( "zv", float, 60, 10, - kwargs.get("zv", 0.0) + kwargs.get("zv", 0.0 if use_lspp_defaults() else None) ), Field( "nid", int, 70, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_bag_interaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_bag_interaction.py index 256124478..1278bd3c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_bag_interaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_bag_interaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chamber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chamber.py index 52ef19d82..e4dbd06db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chamber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chamber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nchm", 0) + kwargs.get("nchm", 0 if use_lspp_defaults() else None) ), ], ), @@ -70,21 +71,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "ninter", int, 20, 10, - kwargs.get("ninter", 0) + kwargs.get("ninter", 0 if use_lspp_defaults() else None) ), Field( "chm_id", int, 30, 10, - kwargs.get("chm_id", 0) + kwargs.get("chm_id", 0 if use_lspp_defaults() else None) ), ], ), @@ -102,7 +103,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype3", 0) + kwargs.get("itype3", 0 if use_lspp_defaults() else None) ), Field( "tochm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chambers.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chambers.py index 7454bf09b..5c7272108 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chambers.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_chambers.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nchm", 0) + kwargs.get("nchm", 0 if use_lspp_defaults() else None) ), ], ), @@ -70,21 +71,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "ninter", int, 20, 10, - kwargs.get("ninter", 0) + kwargs.get("ninter", 0 if use_lspp_defaults() else None) ), Field( "chm_id", int, 30, 10, - kwargs.get("chm_id", 0) + kwargs.get("chm_id", 0 if use_lspp_defaults() else None) ), ], ), @@ -102,7 +103,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype3", 0) + kwargs.get("itype3", 0 if use_lspp_defaults() else None) ), Field( "tochm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_gas_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_gas_properties.py index 4239b65f8..9e60a90c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_gas_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_gas_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vini", 0.0) + kwargs.get("vini", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_npdata.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_npdata.py index 46777a66e..fe8ff2e13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_npdata.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_npdata.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_vent.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_vent.py index 90ed0771e..a3b6bcffc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_vent.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_cpm_vent.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c23", 1.0) + kwargs.get("c23", 1.0 if use_lspp_defaults() else None) ), Field( "lctc23", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("enh_v", 0) + kwargs.get("enh_v", 0 if use_lspp_defaults() else None) ), Field( "ppop", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("jt", 0) + kwargs.get("jt", 0 if use_lspp_defaults() else None) ), Field( "ids1", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vang", 0.0) + kwargs.get("vang", 0.0 if use_lspp_defaults() else None) ), Field( "lcred", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_crashfront.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_crashfront.py index 5adbeeadb..40b394d44 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_crashfront.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_crashfront.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve.py index 4235517ab..0ec142958 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,49 +54,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), Field( "sfa", float, 20, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "dattyp", int, 60, 10, - kwargs.get("dattyp", 0) + kwargs.get("dattyp", 0 if use_lspp_defaults() else None) ), Field( "lcint", int, 70, 10, - kwargs.get("lcint", 0) + kwargs.get("lcint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_3858.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_3858.py index 92b41c530..3532ecbb9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_3858.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_3858.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), Field( "sfa", float, 20, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "dattyp", int, 60, 10, - kwargs.get("dattyp", 0) + kwargs.get("dattyp", 0 if use_lspp_defaults() else None) ), Field( "lcint", int, 70, 10, - kwargs.get("lcint", 0) + kwargs.get("lcint", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "o1", float, 20, 20, - kwargs.get("o1", 0.0) + kwargs.get("o1", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_5434a.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_5434a.py index aa4318168..1221ebcb9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_5434a.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_5434a.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), Field( "sfa", float, 20, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "dattyp", int, 60, 10, - kwargs.get("dattyp", 0) + kwargs.get("dattyp", 0 if use_lspp_defaults() else None) ), Field( "lcint", int, 70, 10, - kwargs.get("lcint", 0) + kwargs.get("lcint", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "o1", float, 20, 20, - kwargs.get("o1", 0.0) + kwargs.get("o1", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_box_adaptivity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_box_adaptivity.py index d15ae084f..8ec4a85e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_box_adaptivity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_box_adaptivity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_begin.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_begin.py index 7b906643c..a3271d42a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_begin.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_begin.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -63,21 +64,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 16, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 32, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_end.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_end.py index 6f898fbd1..4c977ffe0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_end.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_compensation_constraint_end.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -63,21 +64,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 16, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 32, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_drawbead.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_drawbead.py index 730f1a6a4..1a0bd4d44 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_drawbead.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_drawbead.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tcype", 1) + kwargs.get("tcype", 1 if use_lspp_defaults() else None) ), Field( "vid", @@ -91,14 +92,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 20, 20, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_duplicate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_duplicate.py index a3759c5a3..e3d711549 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_duplicate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_duplicate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,35 +60,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "dattyp", int, 60, 10, - kwargs.get("dattyp", 0) + kwargs.get("dattyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_entity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_entity.py index 092de99b8..ad190628d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_entity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_entity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 20, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 30, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "offr", float, 60, 10, - kwargs.get("offr", 0.0) + kwargs.get("offr", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -98,28 +99,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("ai", 0.0) + kwargs.get("ai", 0.0 if use_lspp_defaults() else None) ), Field( "oi", float, 20, 20, - kwargs.get("oi", 0.0) + kwargs.get("oi", 0.0 if use_lspp_defaults() else None) ), Field( "ri", float, 40, 20, - kwargs.get("ri", 0.0) + kwargs.get("ri", 0.0 if use_lspp_defaults() else None) ), Field( "iflag", int, 60, 20, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_feedback.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_feedback.py index 64ff47af7..3be6868cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_feedback.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_feedback.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "fldid", @@ -91,21 +92,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sff", 1.0) + kwargs.get("sff", 1.0 if use_lspp_defaults() else None) ), Field( "sft", float, 30, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "bias", float, 40, 10, - kwargs.get("bias", 0.0) + kwargs.get("bias", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_flc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_flc.py index 4ed05d862..dcaf7861d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_flc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_flc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("th", 0.0) + kwargs.get("th", 0.0 if use_lspp_defaults() else None) ), Field( "n", float, 20, 10, - kwargs.get("n", 0.0) + kwargs.get("n", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_fld_from_triaxial_limit.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_fld_from_triaxial_limit.py index dc329ddd4..9a27156b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_fld_from_triaxial_limit.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_fld_from_triaxial_limit.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,14 +57,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "o1", float, 20, 20, - kwargs.get("o1", 0.0) + kwargs.get("o1", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_function.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_function.py index c4e01cfa1..5855f3b08 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_function.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_function.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "sidr", int, 10, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), Field( "sfa", float, 20, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "sfo", float, 30, 10, - kwargs.get("sfo", 1.0) + kwargs.get("sfo", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 40, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), Field( "offo", float, 50, 10, - kwargs.get("offo", 0.0) + kwargs.get("offo", 0.0 if use_lspp_defaults() else None) ), Field( "dattyp", int, 60, 10, - kwargs.get("dattyp", 0) + kwargs.get("dattyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_smooth.py index 8fc8e2dcd..8a78631b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidr", 0) + kwargs.get("sidr", 0 if use_lspp_defaults() else None) ), Field( "dist", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_stress.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_stress.py index dce805383..b86f85f8d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_stress.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_stress.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "itype", int, 10, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), Field( "p1", float, 20, 10, - kwargs.get("p1", 0.0) + kwargs.get("p1", 0.0 if use_lspp_defaults() else None) ), Field( "p2", float, 30, 10, - kwargs.get("p2", 0.0) + kwargs.get("p2", 0.0 if use_lspp_defaults() else None) ), Field( "p3", float, 40, 10, - kwargs.get("p3", 0.0) + kwargs.get("p3", 0.0 if use_lspp_defaults() else None) ), Field( "p4", float, 50, 10, - kwargs.get("p4", 0.0) + kwargs.get("p4", 0.0 if use_lspp_defaults() else None) ), Field( "p5", float, 60, 10, - kwargs.get("p5", 0.0) + kwargs.get("p5", 0.0 if use_lspp_defaults() else None) ), Field( "p6", float, 70, 10, - kwargs.get("p6", 0.0) + kwargs.get("p6", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -105,56 +106,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "itype", int, 10, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), Field( "p1", float, 20, 10, - kwargs.get("p1", 0.0) + kwargs.get("p1", 0.0 if use_lspp_defaults() else None) ), Field( "p2", float, 30, 10, - kwargs.get("p2", 0.0) + kwargs.get("p2", 0.0 if use_lspp_defaults() else None) ), Field( "p3", float, 40, 10, - kwargs.get("p3", 0.0) + kwargs.get("p3", 0.0 if use_lspp_defaults() else None) ), Field( "p4", float, 50, 10, - kwargs.get("p4", 0.0) + kwargs.get("p4", 0.0 if use_lspp_defaults() else None) ), Field( "p5", float, 60, 10, - kwargs.get("p5", 0.0) + kwargs.get("p5", 0.0 if use_lspp_defaults() else None) ), Field( "p6", float, 70, 10, - kwargs.get("p6", 0.0) + kwargs.get("p6", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_triaxial_limit_from_fld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_triaxial_limit_from_fld.py index e21bb6839..f32e72ba7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_triaxial_limit_from_fld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_triaxial_limit_from_fld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,14 +57,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "o1", float, 20, 20, - kwargs.get("o1", 0.0) + kwargs.get("o1", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim.py index aabaef202..e6cbdeb3e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tctype", 1) + kwargs.get("tctype", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tctol", 0.25) + kwargs.get("tctol", 0.25 if use_lspp_defaults() else None) ), ], ), @@ -84,14 +85,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 20, 20, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_2d.py index 9aa22516c..ef0949f93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tctype", 1) + kwargs.get("tctype", 1 if use_lspp_defaults() else None) ), Field( "tflg", int, 20, 10, - kwargs.get("tflg", -1) + kwargs.get("tflg", -1 if use_lspp_defaults() else None) ), Field( "tdir", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tctol", 0.25) + kwargs.get("tctol", 0.25 if use_lspp_defaults() else None) ), Field( "depth", @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 20, 20, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_3d.py index 63dd34918..1de9fca62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tctype", 1) + kwargs.get("tctype", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tctol", 0.25) + kwargs.get("tctol", 0.25 if use_lspp_defaults() else None) ), Field( "toln", @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 20, 20, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), Field( "cz", float, 40, 20, - kwargs.get("cz", 0.0) + kwargs.get("cz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_new.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_new.py index 7ca8508c8..a5d5b033e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_new.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_curve_trim_new.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tctype", 1) + kwargs.get("tctype", 1 if use_lspp_defaults() else None) ), Field( "tflg", int, 20, 10, - kwargs.get("tflg", -1) + kwargs.get("tflg", -1 if use_lspp_defaults() else None) ), Field( "tdir", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tctol", 0.25) + kwargs.get("tctol", 0.25 if use_lspp_defaults() else None) ), Field( "depth", @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("cx", 0.0) + kwargs.get("cx", 0.0 if use_lspp_defaults() else None) ), Field( "cy", float, 20, 20, - kwargs.get("cy", 0.0) + kwargs.get("cy", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_active_region.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_active_region.py index f55494ad8..ed1dbf82b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_active_region.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_active_region.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "xm/r", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("tdeath", 1.E+20) + kwargs.get("tdeath", 1.E+20 if use_lspp_defaults() else None) ), Field( "nfreq", int, 70, 10, - kwargs.get("nfreq", 1) + kwargs.get("nfreq", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond.py index 4cf491220..81af0c921 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "bdform", int, 20, 10, - kwargs.get("bdform", 1) + kwargs.get("bdform", 1 if use_lspp_defaults() else None) ), ], ), @@ -98,14 +99,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("maxgap", 1.E-4) + kwargs.get("maxgap", 1.E-4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_by_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_by_part.py index 7fb1b899a..4e5a1258e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_by_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_by_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,14 +92,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_override.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_override.py index c9efb30d8..5927fd893 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_override.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_bond_override.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,14 +92,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_by_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_by_part.py index 4b756fcb4..12eaaead7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_by_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_by_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ndamp", 0) + kwargs.get("ndamp", 0 if use_lspp_defaults() else None) ), Field( "tdamp", float, 20, 10, - kwargs.get("tdamp", 0) + kwargs.get("tdamp", 0 if use_lspp_defaults() else None) ), Field( "fric", float, 30, 10, - kwargs.get("fric", 0) + kwargs.get("fric", 0 if use_lspp_defaults() else None) ), Field( "fricr", float, 40, 10, - kwargs.get("fricr", 0) + kwargs.get("fricr", 0 if use_lspp_defaults() else None) ), Field( "normk", float, 50, 10, - kwargs.get("normk", 0.01) + kwargs.get("normk", 0.01 if use_lspp_defaults() else None) ), Field( "sheark", float, 60, 10, - kwargs.get("sheark", 0.2857) + kwargs.get("sheark", 0.2857 if use_lspp_defaults() else None) ), ], ), @@ -98,21 +99,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gamma", 0) + kwargs.get("gamma", 0 if use_lspp_defaults() else None) ), Field( "vol", float, 10, 10, - kwargs.get("vol", 0) + kwargs.get("vol", 0 if use_lspp_defaults() else None) ), Field( "ang", float, 20, 10, - kwargs.get("ang", 0) + kwargs.get("ang", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,14 +124,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lnorm", 0) + kwargs.get("lnorm", 0 if use_lspp_defaults() else None) ), Field( "lshear", int, 10, 10, - kwargs.get("lshear", 0) + kwargs.get("lshear", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -144,14 +145,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fricd", 0) + kwargs.get("fricd", 0 if use_lspp_defaults() else None) ), Field( "dc", float, 40, 10, - kwargs.get("dc", 0) + kwargs.get("dc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_cohesive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_cohesive.py index 4ed168496..42e5db0e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_cohesive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_cohesive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,14 +46,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "styp", int, 10, 10, - kwargs.get("styp", 0) + kwargs.get("styp", 0 if use_lspp_defaults() else None) ), ], ), @@ -63,28 +64,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gamma", 0.0) + kwargs.get("gamma", 0.0 if use_lspp_defaults() else None) ), Field( "vol", float, 10, 10, - kwargs.get("vol", 0.0) + kwargs.get("vol", 0.0 if use_lspp_defaults() else None) ), Field( "ang", float, 20, 10, - kwargs.get("ang", 0.0) + kwargs.get("ang", 0.0 if use_lspp_defaults() else None) ), Field( "gap", float, 30, 10, - kwargs.get("gap", 0.0) + kwargs.get("gap", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_flow_drag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_flow_drag.py index 25a9d57c4..b7b07ac85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_flow_drag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_flow_drag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cd", 0.0) + kwargs.get("cd", 0.0 if use_lspp_defaults() else None) ), Field( "rho", float, 10, 10, - kwargs.get("rho", 0.0) + kwargs.get("rho", 0.0 if use_lspp_defaults() else None) ), Field( "mu", float, 20, 10, - kwargs.get("mu", 0.0) + kwargs.get("mu", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "tbirth", float, 60, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "tdeath", float, 70, 10, - kwargs.get("tdeath", 1E+20) + kwargs.get("tdeath", 1E+20 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vs", 0.0) + kwargs.get("vs", 0.0 if use_lspp_defaults() else None) ), Field( "dflag", int, 10, 10, - kwargs.get("dflag", 1) + kwargs.get("dflag", 1 if use_lspp_defaults() else None) ), Field( "sfn", float, 20, 10, - kwargs.get("sfn", 1.0) + kwargs.get("sfn", 1.0 if use_lspp_defaults() else None) ), Field( "sfs", float, 30, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_hbond.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_hbond.py index e40547d73..c6fbc01cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_hbond.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_hbond.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "hbdfm", int, 20, 10, - kwargs.get("hbdfm", 1) + kwargs.get("hbdfm", 1 if use_lspp_defaults() else None) ), Field( "idim", int, 30, 10, - kwargs.get("idim", 3) + kwargs.get("idim", 3 if use_lspp_defaults() else None) ), ], ), @@ -77,14 +78,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pbk_sf", 1.0) + kwargs.get("pbk_sf", 1.0 if use_lspp_defaults() else None) ), Field( "pbs_sf", float, 10, 10, - kwargs.get("pbs_sf", 1.0) + kwargs.get("pbs_sf", 1.0 if use_lspp_defaults() else None) ), Field( "frgk", @@ -112,21 +113,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), Field( "dmg", float, 60, 10, - kwargs.get("dmg", 1.0) + kwargs.get("dmg", 1.0 if use_lspp_defaults() else None) ), Field( "frmdl", int, 70, 10, - kwargs.get("frmdl", 1) + kwargs.get("frmdl", 1 if use_lspp_defaults() else None) ), ], ), @@ -144,7 +145,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cktype", 0) + kwargs.get("cktype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -158,7 +159,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("itfid", 0) + kwargs.get("itfid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded.py index 3c4afc2ac..28fc85f46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,35 +60,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 30, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 40, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 50, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 60, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "cid", @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rmass", 0.0) + kwargs.get("rmass", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "xy", float, 20, 10, - kwargs.get("xy", 0.0) + kwargs.get("xy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 40, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 50, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -165,35 +166,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("pbn_s", 0.0) + kwargs.get("pbn_s", 0.0 if use_lspp_defaults() else None) ), Field( "pbs_s", float, 30, 10, - kwargs.get("pbs_s", 0.0) + kwargs.get("pbs_s", 0.0 if use_lspp_defaults() else None) ), Field( "sfa", float, 40, 10, - kwargs.get("sfa", 0.0) + kwargs.get("sfa", 0.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), Field( "maxgap", float, 60, 10, - kwargs.get("maxgap", 1.0E-4) + kwargs.get("maxgap", 1.0E-4 if use_lspp_defaults() else None) ), ], ), @@ -204,7 +205,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nshape", 0) + kwargs.get("nshape", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded_ellipse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded_ellipse.py index d0f7d52c0..823f73922 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded_ellipse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_bonded_ellipse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,35 +60,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 30, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 40, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 50, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 60, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "cid", @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rmass", 0.0) + kwargs.get("rmass", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "xy", float, 20, 10, - kwargs.get("xy", 0.0) + kwargs.get("xy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 40, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 50, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -165,35 +166,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("pbn_s", 0.0) + kwargs.get("pbn_s", 0.0 if use_lspp_defaults() else None) ), Field( "pbs_s", float, 30, 10, - kwargs.get("pbs_s", 0.0) + kwargs.get("pbs_s", 0.0 if use_lspp_defaults() else None) ), Field( "sfa", float, 40, 10, - kwargs.get("sfa", 0.0) + kwargs.get("sfa", 0.0 if use_lspp_defaults() else None) ), Field( "alpha", float, 50, 10, - kwargs.get("alpha", 0.0) + kwargs.get("alpha", 0.0 if use_lspp_defaults() else None) ), Field( "maxgap", float, 60, 10, - kwargs.get("maxgap", 1.0E-4) + kwargs.get("maxgap", 1.0E-4 if use_lspp_defaults() else None) ), ], ), @@ -204,7 +205,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nshape", 0) + kwargs.get("nshape", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_shape.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_shape.py index 676bfecda..831de149d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_shape.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_inject_shape.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iauto", 0) + kwargs.get("iauto", 0 if use_lspp_defaults() else None) ), Field( "itype", int, 30, 10, - kwargs.get("itype", 1) + kwargs.get("itype", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection.py index 85136d719..f58b8524f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 30, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 40, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 50, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 60, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 70, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -126,35 +127,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 60, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 70, 10, - kwargs.get("tend", 1.0E20) + kwargs.get("tend", 1.0E20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection_ellipse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection_ellipse.py index 67c4702a4..0c3b552c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection_ellipse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_injection_ellipse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 30, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 40, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "xl", float, 50, 10, - kwargs.get("xl", 0.0) + kwargs.get("xl", 0.0 if use_lspp_defaults() else None) ), Field( "yl", float, 60, 10, - kwargs.get("yl", 0.0) + kwargs.get("yl", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 70, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -126,35 +127,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 60, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 70, 10, - kwargs.get("tend", 1.0E20) + kwargs.get("tend", 1.0E20 if use_lspp_defaults() else None) ), ], ), @@ -165,7 +166,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ifunc", 0) + kwargs.get("ifunc", 0 if use_lspp_defaults() else None) ), Field( "nid", @@ -211,56 +212,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "p1", float, 10, 10, - kwargs.get("p1", 0.0) + kwargs.get("p1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 20, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "p2", float, 30, 10, - kwargs.get("p2", 0.0) + kwargs.get("p2", 0.0 if use_lspp_defaults() else None) ), Field( "r3", float, 40, 10, - kwargs.get("r3", 0.0) + kwargs.get("r3", 0.0 if use_lspp_defaults() else None) ), Field( "p3", float, 50, 10, - kwargs.get("p3", 0.0) + kwargs.get("p3", 0.0 if use_lspp_defaults() else None) ), Field( "r4", float, 60, 10, - kwargs.get("r4", 0.0) + kwargs.get("r4", 0.0 if use_lspp_defaults() else None) ), Field( "p4", float, 70, 10, - kwargs.get("p4", 0.0) + kwargs.get("p4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_internal_skip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_internal_skip.py index d4ab6aa7c..55e2ddad3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_internal_skip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_internal_skip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_massflow_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_massflow_plane.py index 9dc5af66c..0cc47cac2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_massflow_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_massflow_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prtclsid", 0) + kwargs.get("prtclsid", 0 if use_lspp_defaults() else None) ), Field( "surfsid", int, 10, 10, - kwargs.get("surfsid", 0) + kwargs.get("surfsid", 0 if use_lspp_defaults() else None) ), Field( "ptype", int, 20, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 30, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_beam.py index 883812b9b..2fff5a4f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 20, 10, - kwargs.get("nquad", 1) + kwargs.get("nquad", 1 if use_lspp_defaults() else None) ), Field( "despid", int, 30, 10, - kwargs.get("despid", 0) + kwargs.get("despid", 0 if use_lspp_defaults() else None) ), Field( "desxid", int, 40, 10, - kwargs.get("desxid", 0) + kwargs.get("desxid", 0 if use_lspp_defaults() else None) ), Field( "nsid", int, 50, 10, - kwargs.get("nsid", 0) + kwargs.get("nsid", 0 if use_lspp_defaults() else None) ), Field( "rsf", float, 60, 10, - kwargs.get("rsf", 1.0) + kwargs.get("rsf", 1.0 if use_lspp_defaults() else None) ), Field( "iactive", int, 70, 10, - kwargs.get("iactive", 0) + kwargs.get("iactive", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_surface.py index 43bf7b0a9..152a58867 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_mesh_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), Field( "type", int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "nquad", int, 20, 10, - kwargs.get("nquad", 1) + kwargs.get("nquad", 1 if use_lspp_defaults() else None) ), Field( "despid", int, 30, 10, - kwargs.get("despid", 0) + kwargs.get("despid", 0 if use_lspp_defaults() else None) ), Field( "descid", int, 40, 10, - kwargs.get("descid", 0) + kwargs.get("descid", 0 if use_lspp_defaults() else None) ), Field( "nsid", int, 50, 10, - kwargs.get("nsid", 0) + kwargs.get("nsid", 0 if use_lspp_defaults() else None) ), Field( "rsf", float, 60, 10, - kwargs.get("rsf", 1.0) + kwargs.get("rsf", 1.0 if use_lspp_defaults() else None) ), Field( "iactive", int, 70, 10, - kwargs.get("iactive", 0) + kwargs.get("iactive", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_pattern_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_pattern_output.py index 46abbfa7b..c229fc666 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_pattern_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_pattern_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "ptype", int, 10, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "xo", float, 20, 10, - kwargs.get("xo", 0.0) + kwargs.get("xo", 0.0 if use_lspp_defaults() else None) ), Field( "yo", float, 30, 10, - kwargs.get("yo", 0.0) + kwargs.get("yo", 0.0 if use_lspp_defaults() else None) ), Field( "zo", float, 40, 10, - kwargs.get("zo", 0.0) + kwargs.get("zo", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 50, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 60, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 70, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nset", 0) + kwargs.get("nset", 0 if use_lspp_defaults() else None) ), ], ), @@ -116,56 +117,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dist1", 0.0) + kwargs.get("dist1", 0.0 if use_lspp_defaults() else None) ), Field( "dist2", float, 10, 10, - kwargs.get("dist2", 0.0) + kwargs.get("dist2", 0.0 if use_lspp_defaults() else None) ), Field( "dist3", float, 20, 10, - kwargs.get("dist3", 0.0) + kwargs.get("dist3", 0.0 if use_lspp_defaults() else None) ), Field( "dist4", float, 30, 10, - kwargs.get("dist4", 0.0) + kwargs.get("dist4", 0.0 if use_lspp_defaults() else None) ), Field( "dist5", float, 40, 10, - kwargs.get("dist5", 0.0) + kwargs.get("dist5", 0.0 if use_lspp_defaults() else None) ), Field( "dist6", float, 50, 10, - kwargs.get("dist6", 0.0) + kwargs.get("dist6", 0.0 if use_lspp_defaults() else None) ), Field( "dist7", float, 60, 10, - kwargs.get("dist7", 0.0) + kwargs.get("dist7", 0.0 if use_lspp_defaults() else None) ), Field( "dist8", float, 70, 10, - kwargs.get("dist8", 0.0) + kwargs.get("dist8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_beam_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_beam_coupling.py index 1c03323be..2194f4b7d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_beam_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_beam_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("slave", 0) + kwargs.get("slave", 0 if use_lspp_defaults() else None) ), Field( "master", int, 10, 10, - kwargs.get("master", 0) + kwargs.get("master", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 20, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "mtype", int, 30, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), ], ), @@ -84,21 +85,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fricd", 0) + kwargs.get("fricd", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 20, 10, - kwargs.get("damp", 0) + kwargs.get("damp", 0 if use_lspp_defaults() else None) ), Field( "bsort", int, 30, 10, - kwargs.get("bsort", 100) + kwargs.get("bsort", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling.py index e925302a8..839a5b14b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "mtype", int, 30, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,35 +99,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("bsort", 100) + kwargs.get("bsort", 100 if use_lspp_defaults() else None) ), Field( "lcvx", int, 40, 10, - kwargs.get("lcvx", 0) + kwargs.get("lcvx", 0 if use_lspp_defaults() else None) ), Field( "lcvy", int, 50, 10, - kwargs.get("lcvy", 0) + kwargs.get("lcvy", 0 if use_lspp_defaults() else None) ), Field( "lcvz", int, 60, 10, - kwargs.get("lcvz", 0) + kwargs.get("lcvz", 0 if use_lspp_defaults() else None) ), Field( "wearc", float, 70, 10, - kwargs.get("wearc", 0) + kwargs.get("wearc", 0 if use_lspp_defaults() else None) ), ], ), @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfp", 1.0) + kwargs.get("sfp", 1.0 if use_lspp_defaults() else None) ), Field( "sft", float, 10, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -232,21 +233,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("cid_rcf", 0) + kwargs.get("cid_rcf", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.E20) + kwargs.get("dt", 1.E20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling_transducer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling_transducer.py index c3e497301..c5812b19e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling_transducer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_coupling_transducer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "mtype", int, 30, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,35 +99,35 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("bsort", 100) + kwargs.get("bsort", 100 if use_lspp_defaults() else None) ), Field( "lcvx", int, 40, 10, - kwargs.get("lcvx", 0) + kwargs.get("lcvx", 0 if use_lspp_defaults() else None) ), Field( "lcvy", int, 50, 10, - kwargs.get("lcvy", 0) + kwargs.get("lcvy", 0 if use_lspp_defaults() else None) ), Field( "lcvz", int, 60, 10, - kwargs.get("lcvz", 0) + kwargs.get("lcvz", 0 if use_lspp_defaults() else None) ), Field( "wearc", float, 70, 10, - kwargs.get("wearc", 0) + kwargs.get("wearc", 0 if use_lspp_defaults() else None) ), ], ), @@ -197,14 +198,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfp", 1.0) + kwargs.get("sfp", 1.0 if use_lspp_defaults() else None) ), Field( "sft", float, 10, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -232,21 +233,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("cid_rcf", 0) + kwargs.get("cid_rcf", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 60, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 70, 10, - kwargs.get("dt", 1.E20) + kwargs.get("dt", 1.E20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_tied.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_tied.py index b1f1b0a1f..e03788e4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_tied.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_de_to_surface_tied.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("slave", 0) + kwargs.get("slave", 0 if use_lspp_defaults() else None) ), Field( "master", int, 10, 10, - kwargs.get("master", 0) + kwargs.get("master", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 20, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "mtype", int, 30, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,14 +92,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("nen", 2.) + kwargs.get("nen", 2. if use_lspp_defaults() else None) ), Field( "mes", float, 30, 10, - kwargs.get("mes", 2.) + kwargs.get("mes", 2. if use_lspp_defaults() else None) ), Field( "lcid", @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("nsort", 100) + kwargs.get("nsort", 100 if use_lspp_defaults() else None) ), Field( "maxgap", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_nodes.py index c1c4e8c03..1a0d8598e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_rigid.py index 06fe39804..b676ce894 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_set.py index 83e46f6e2..aa3c78c29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_death_times_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam.py index 1c5e54868..ad04f3c3c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam_set.py index cb5dee509..b581051d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_beam_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell.py index 3e9141375..4d4564f1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell_set.py index 179fc1f04..a3e28aabf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid.py index be157dbfc..502c78574 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid_set.py index e237a9e7d..e495496f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_solid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell.py index e26583c9f..6295e8433 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell_set.py index 7cf7a346c..ea58df1fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_death_thick_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "boxid", @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), Field( "idgrp", int, 40, 10, - kwargs.get("idgrp", 0) + kwargs.get("idgrp", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "percent", float, 60, 10, - kwargs.get("percent", 0.0) + kwargs.get("percent", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_iga.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_iga.py index 73bbc72db..d7de17044 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_iga.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_iga.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 3) + kwargs.get("styp", 3 if use_lspp_defaults() else None) ), Field( "numfip", float, 20, 10, - kwargs.get("numfip", -100.) + kwargs.get("numfip", -100. if use_lspp_defaults() else None) ), Field( "nifp", int, 30, 10, - kwargs.get("nifp", 1) + kwargs.get("nifp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_shell.py index 8087a81fe..a3b16767d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 1) + kwargs.get("styp", 1 if use_lspp_defaults() else None) ), Field( "numfip", float, 20, 10, - kwargs.get("numfip", -100.) + kwargs.get("numfip", -100. if use_lspp_defaults() else None) ), Field( "nifp", int, 30, 10, - kwargs.get("nifp", 1) + kwargs.get("nifp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_tshell.py index e876effbc..42ecc18af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_erosion_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 1) + kwargs.get("styp", 1 if use_lspp_defaults() else None) ), Field( "numfip", float, 20, 10, - kwargs.get("numfip", -100.) + kwargs.get("numfip", -100. if use_lspp_defaults() else None) ), Field( "nifp", int, 30, 10, - kwargs.get("nifp", 1) + kwargs.get("nifp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_shell.py index 087163033..1514f1006 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "form", int, 40, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_solid.py index 6f7e598b4..07fd5e0a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_element_generalized_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fabric_assemblies.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fabric_assemblies.py index 1057933ee..436f46bd8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fabric_assemblies.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fabric_assemblies.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fibers.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fibers.py index 05ed80394..5be5eee24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fibers.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fibers.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hrgls", 1.0) + kwargs.get("hrgls", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_filter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_filter.py index 34abc62e0..d70ba902d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_filter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_filter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "title", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_blankmesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_blankmesh.py index c4d501727..2faf5f6f5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_blankmesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_blankmesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("eleng", 0.0) + kwargs.get("eleng", 0.0 if use_lspp_defaults() else None) ), Field( "xleng", float, 20, 10, - kwargs.get("xleng", 0.0) + kwargs.get("xleng", 0.0 if use_lspp_defaults() else None) ), Field( "yleng", float, 30, 10, - kwargs.get("yleng", 0.0) + kwargs.get("yleng", 0.0 if use_lspp_defaults() else None) ), Field( "anglex", float, 40, 10, - kwargs.get("anglex", 0.0) + kwargs.get("anglex", 0.0 if use_lspp_defaults() else None) ), Field( "nplane", int, 50, 10, - kwargs.get("nplane", 1) + kwargs.get("nplane", 1 if use_lspp_defaults() else None) ), Field( "cid", @@ -119,35 +120,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("xcent", 0.0) + kwargs.get("xcent", 0.0 if use_lspp_defaults() else None) ), Field( "ycent", float, 40, 10, - kwargs.get("ycent", 0.0) + kwargs.get("ycent", 0.0 if use_lspp_defaults() else None) ), Field( "zcent", float, 50, 10, - kwargs.get("zcent", 0.0) + kwargs.get("zcent", 0.0 if use_lspp_defaults() else None) ), Field( "xshift", float, 60, 10, - kwargs.get("xshift", 0.0) + kwargs.get("xshift", 0.0 if use_lspp_defaults() else None) ), Field( "yshift", float, 70, 10, - kwargs.get("yshift", 0.0) + kwargs.get("yshift", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_clamp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_clamp.py index ceb2b7f3e..4c9f3123e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_clamp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_clamp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,21 +67,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("gap", 0.0) + kwargs.get("gap", 0.0 if use_lspp_defaults() else None) ), Field( "at", float, 40, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 50, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_contact.py index 4243021c7..174407a9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("oneway", 0) + kwargs.get("oneway", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_master.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_master.py index ff3ae71f1..9599e60a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_master.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_master.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_primary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_primary.py index ed7dbaa77..e3d3081d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_primary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_onestep_primary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_solid_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_solid_surface.py index 1fedfd153..5fa794039 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_solid_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_forming_solid_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fp_to_surface_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fp_to_surface_coupling.py index 5b2e4289c..5378be163 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fp_to_surface_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_fp_to_surface_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("fptype", 0) + kwargs.get("fptype", 0 if use_lspp_defaults() else None) ), Field( "surftype", int, 30, 10, - kwargs.get("surftype", 0) + kwargs.get("surftype", 0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sca", 0) + kwargs.get("sca", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("sfp", 0) + kwargs.get("sfp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction.py index 54c5d2511..c1eae5bd0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_airbag_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_airbag_single_surface.py index 2b7ab1929..89a1ae087 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_airbag_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_airbag_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_general.py index 710e34642..537176d4f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_nodes_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_nodes_to_surface.py index e4e9af460..d1e4d4329 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_nodes_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_nodes_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_one_way_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_one_way_surface_to_surface.py index 2138ed9b7..fccb710b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_one_way_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_one_way_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface.py index 668dcb712..6423bf9f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface_mortar.py index 9360401db..1c5580a22 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_single_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface.py index 9cc6356a6..4c30773c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface_mortar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface_mortar.py index b42e2705a..77d20c24c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface_mortar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_automatic_surface_to_surface_mortar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_eroding_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_eroding_single_surface.py index 4a1809f17..445afbbe4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_eroding_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_eroding_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_orientation.py index 855e212d8..44c6394fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "lcidp", int, 20, 10, - kwargs.get("lcidp", 0) + kwargs.get("lcidp", 0 if use_lspp_defaults() else None) ), Field( "v1", float, 30, 10, - kwargs.get("v1", 0.0) + kwargs.get("v1", 0.0 if use_lspp_defaults() else None) ), Field( "v2", float, 40, 10, - kwargs.get("v2", 0.0) + kwargs.get("v2", 0.0 if use_lspp_defaults() else None) ), Field( "v3", float, 50, 10, - kwargs.get("v3", 0.0) + kwargs.get("v3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_scaling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_scaling.py index 3bddcd3ca..0e1bdfac3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_scaling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_scaling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "psid", int, 20, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "scale1", float, 30, 10, - kwargs.get("scale1", 1.0) + kwargs.get("scale1", 1.0 if use_lspp_defaults() else None) ), Field( "scaleo", float, 40, 10, - kwargs.get("scaleo", 1.0) + kwargs.get("scaleo", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_single_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_single_surface.py index 8d44d835a..36f9f81c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_single_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_friction_single_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,42 +46,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "fs_d", float, 10, 10, - kwargs.get("fs_d", 0.0) + kwargs.get("fs_d", 0.0 if use_lspp_defaults() else None) ), Field( "fd_d", float, 20, 10, - kwargs.get("fd_d", 0.0) + kwargs.get("fd_d", 0.0 if use_lspp_defaults() else None) ), Field( "dc_d", float, 30, 10, - kwargs.get("dc_d", 0.0) + kwargs.get("dc_d", 0.0 if use_lspp_defaults() else None) ), Field( "vc_d", float, 40, 10, - kwargs.get("vc_d", 0.0) + kwargs.get("vc_d", 0.0 if use_lspp_defaults() else None) ), Field( "icnep", int, 50, 10, - kwargs.get("icnep", 0) + kwargs.get("icnep", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fs_ij", 0.0) + kwargs.get("fs_ij", 0.0 if use_lspp_defaults() else None) ), Field( "fd_ij", float, 30, 10, - kwargs.get("fd_ij", 0.0) + kwargs.get("fd_ij", 0.0 if use_lspp_defaults() else None) ), Field( "dc_ij", float, 40, 10, - kwargs.get("dc_ij", 0.0) + kwargs.get("dc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "vc_ij", float, 50, 10, - kwargs.get("vc_ij", 0.0) + kwargs.get("vc_ij", 0.0 if use_lspp_defaults() else None) ), Field( "ptypei", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_function_tabulated.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_function_tabulated.py index ade9b6328..bb858c6c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_function_tabulated.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_function_tabulated.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_ground_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_ground_motion.py index 8085b0680..1ccdcbb5d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_ground_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_ground_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_properties.py index 8d6c7ed3d..3187daf20 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id_haz", 0) + kwargs.get("id_haz", 0 if use_lspp_defaults() else None) ), Field( "iop", int, 10, 10, - kwargs.get("iop", 0) + kwargs.get("iop", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 20, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "pid_typ", int, 30, 10, - kwargs.get("pid_typ", 0) + kwargs.get("pid_typ", 0 if use_lspp_defaults() else None) ), ], ), @@ -77,56 +78,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iss", 0) + kwargs.get("iss", 0 if use_lspp_defaults() else None) ), Field( "ifs", int, 10, 10, - kwargs.get("ifs", 0) + kwargs.get("ifs", 0 if use_lspp_defaults() else None) ), Field( "isb", int, 20, 10, - kwargs.get("isb", 0) + kwargs.get("isb", 0 if use_lspp_defaults() else None) ), Field( "ifb", int, 30, 10, - kwargs.get("ifb", 0) + kwargs.get("ifb", 0 if use_lspp_defaults() else None) ), Field( "isc", int, 40, 10, - kwargs.get("isc", 0) + kwargs.get("isc", 0 if use_lspp_defaults() else None) ), Field( "ifc", int, 50, 10, - kwargs.get("ifc", 0) + kwargs.get("ifc", 0 if use_lspp_defaults() else None) ), Field( "isw", int, 60, 10, - kwargs.get("isw", 0) + kwargs.get("isw", 0 if use_lspp_defaults() else None) ), Field( "ifw", int, 70, 10, - kwargs.get("ifw", 0) + kwargs.get("ifw", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_tailor_welded_blank.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_tailor_welded_blank.py index 12e67b469..8c7d1e88d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_tailor_welded_blank.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_haz_tailor_welded_blank.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,35 +46,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idtwb", 0) + kwargs.get("idtwb", 0 if use_lspp_defaults() else None) ), Field( "idns", int, 10, 10, - kwargs.get("idns", 0) + kwargs.get("idns", 0 if use_lspp_defaults() else None) ), Field( "idp", int, 20, 10, - kwargs.get("idp", 0) + kwargs.get("idp", 0 if use_lspp_defaults() else None) ), Field( "ipflag", int, 30, 10, - kwargs.get("ipflag", 0) + kwargs.get("ipflag", 0 if use_lspp_defaults() else None) ), Field( "imonflag", int, 40, 10, - kwargs.get("imonflag", 0) + kwargs.get("imonflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly.py index a50d932ee..8bb8e09f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_16.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_16.py index 11e048943..e41d57393 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_16.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_16.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_4.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_4.py index 8df174ed1..1785448a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_4.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_4.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_8.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_8.py index 831c6908c..da8aa2067 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_8.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_hex_spotweld_assembly_8.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_lance_seed_point_coordinates.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_lance_seed_point_coordinates.py index 5d635fc9d..aafd14159 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_lance_seed_point_coordinates.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_lance_seed_point_coordinates.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "y1", float, 20, 10, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 30, 10, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 40, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 50, 10, - kwargs.get("y2", 0.0) + kwargs.get("y2", 0.0 if use_lspp_defaults() else None) ), Field( "z2", float, 60, 10, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories.py index 3019d690e..4a7d445f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 50, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 60, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 70, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories_names.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories_names.py index e0711ab34..d22838649 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories_names.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_material_histories_names.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 50, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 60, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 70, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multi_drawbeads_iges.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multi_drawbeads_iges.py index a5359ad69..7049e5a75 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multi_drawbeads_iges.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multi_drawbeads_iges.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -102,7 +103,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("bforce", 0.0) + kwargs.get("bforce", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multiscale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multiscale.py index b62d4a236..faad656f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multiscale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_multiscale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_nurbs_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_nurbs_curve.py index f6f2b7517..4b3deaa97 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_nurbs_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_nurbs_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "wfl", int, 50, 10, - kwargs.get("wfl", 0) + kwargs.get("wfl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_part_from_layer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_part_from_layer.py index 0a448ac06..4b4a8cd43 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_part_from_layer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_part_from_layer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_particle_blast.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_particle_blast.py index f441560c5..5dbf0306e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_particle_blast.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_particle_blast.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lagstype", 0) + kwargs.get("lagstype", 0 if use_lspp_defaults() else None) ), Field( "nodid", @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nodtype", 0) + kwargs.get("nodtype", 0 if use_lspp_defaults() else None) ), Field( "hecid", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("hectype", 0) + kwargs.get("hectype", 0 if use_lspp_defaults() else None) ), Field( "aircid", @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iunit", 0) + kwargs.get("iunit", 0 if use_lspp_defaults() else None) ), ], ), @@ -123,7 +124,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ihetype", 0) + kwargs.get("ihetype", 0 if use_lspp_defaults() else None) ), Field( "density", @@ -303,7 +304,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("bc_p", 0) + kwargs.get("bc_p", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_airgeo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_airgeo.py index cd4f4e34e..39bd0ec2c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_airgeo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_airgeo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,21 +46,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("gid", 0) + kwargs.get("gid", 0 if use_lspp_defaults() else None) ), Field( "gtype1", int, 10, 10, - kwargs.get("gtype1", 1) + kwargs.get("gtype1", 1 if use_lspp_defaults() else None) ), Field( "gtype2", int, 20, 10, - kwargs.get("gtype2", 1) + kwargs.get("gtype2", 1 if use_lspp_defaults() else None) ), ], ), @@ -70,42 +71,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xa", 0.0) + kwargs.get("xa", 0.0 if use_lspp_defaults() else None) ), Field( "ya", float, 10, 10, - kwargs.get("ya", 0.0) + kwargs.get("ya", 0.0 if use_lspp_defaults() else None) ), Field( "za", float, 20, 10, - kwargs.get("za", 0.0) + kwargs.get("za", 0.0 if use_lspp_defaults() else None) ), Field( "xb", float, 30, 10, - kwargs.get("xb", 0.0) + kwargs.get("xb", 0.0 if use_lspp_defaults() else None) ), Field( "yb", float, 40, 10, - kwargs.get("yb", 0.0) + kwargs.get("yb", 0.0 if use_lspp_defaults() else None) ), Field( "zb", float, 50, 10, - kwargs.get("zb", 0.0) + kwargs.get("zb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -116,42 +117,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x0", 0.0) + kwargs.get("x0", 0.0 if use_lspp_defaults() else None) ), Field( "y0", float, 10, 10, - kwargs.get("y0", 0.0) + kwargs.get("y0", 0.0 if use_lspp_defaults() else None) ), Field( "z0", float, 20, 10, - kwargs.get("z0", 0.0) + kwargs.get("z0", 0.0 if use_lspp_defaults() else None) ), Field( "g1", float, 30, 10, - kwargs.get("g1", 0.0) + kwargs.get("g1", 0.0 if use_lspp_defaults() else None) ), Field( "g2", float, 40, 10, - kwargs.get("g2", 0.0) + kwargs.get("g2", 0.0 if use_lspp_defaults() else None) ), Field( "g3", float, 50, 10, - kwargs.get("g3", 0.0) + kwargs.get("g3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -162,42 +163,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "g4", float, 30, 10, - kwargs.get("g4", 0.0) + kwargs.get("g4", 0.0 if use_lspp_defaults() else None) ), Field( "g5", float, 40, 10, - kwargs.get("g5", 0.0) + kwargs.get("g5", 0.0 if use_lspp_defaults() else None) ), Field( "g6", float, 50, 10, - kwargs.get("g6", 0.0) + kwargs.get("g6", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_geometry.py index cf8c478c2..45036ed62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pblast_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,14 +46,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("gid", 0) + kwargs.get("gid", 0 if use_lspp_defaults() else None) ), Field( "gtype1", int, 10, 10, - kwargs.get("gtype1", 1) + kwargs.get("gtype1", 1 if use_lspp_defaults() else None) ), ], ), @@ -63,42 +64,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xa", 0.0) + kwargs.get("xa", 0.0 if use_lspp_defaults() else None) ), Field( "ya", float, 10, 10, - kwargs.get("ya", 0.0) + kwargs.get("ya", 0.0 if use_lspp_defaults() else None) ), Field( "za", float, 20, 10, - kwargs.get("za", 0.0) + kwargs.get("za", 0.0 if use_lspp_defaults() else None) ), Field( "xb", float, 30, 10, - kwargs.get("xb", 0.0) + kwargs.get("xb", 0.0 if use_lspp_defaults() else None) ), Field( "yb", float, 40, 10, - kwargs.get("yb", 0.0) + kwargs.get("yb", 0.0 if use_lspp_defaults() else None) ), Field( "zb", float, 50, 10, - kwargs.get("zb", 0.0) + kwargs.get("zb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -109,21 +110,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -134,21 +135,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g1", 0.0) + kwargs.get("g1", 0.0 if use_lspp_defaults() else None) ), Field( "g2", float, 10, 10, - kwargs.get("g2", 0.0) + kwargs.get("g2", 0.0 if use_lspp_defaults() else None) ), Field( "g3", float, 20, 10, - kwargs.get("g3", 0.0) + kwargs.get("g3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_plane.py index 5c204ef21..133a152ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "x1", float, 10, 10, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "y1", float, 20, 10, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 30, 10, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 40, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 50, 10, - kwargs.get("y2", 0.0) + kwargs.get("y2", 0.0 if use_lspp_defaults() else None) ), Field( "z2", float, 60, 10, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 70, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x3", 0.0) + kwargs.get("x3", 0.0 if use_lspp_defaults() else None) ), Field( "y3", float, 10, 10, - kwargs.get("y3", 0.0) + kwargs.get("y3", 0.0 if use_lspp_defaults() else None) ), Field( "z3", float, 20, 10, - kwargs.get("z3", 0.0) + kwargs.get("z3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_ale.py index b3abd5d96..95b795e4e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("eidend", 0) + kwargs.get("eidend", 0 if use_lspp_defaults() else None) ), Field( "local", int, 20, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), Field( "vecid1", int, 30, 10, - kwargs.get("vecid1", 0) + kwargs.get("vecid1", 0 if use_lspp_defaults() else None) ), Field( "vecid2", int, 40, 10, - kwargs.get("vecid2", 0) + kwargs.get("vecid2", 0 if use_lspp_defaults() else None) ), Field( "userdef", int, 50, 10, - kwargs.get("userdef", 0) + kwargs.get("userdef", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,42 +92,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axx", 0.0) + kwargs.get("axx", 0.0 if use_lspp_defaults() else None) ), Field( "axy", float, 10, 10, - kwargs.get("axy", 0.0) + kwargs.get("axy", 0.0 if use_lspp_defaults() else None) ), Field( "axz", float, 20, 10, - kwargs.get("axz", 0.0) + kwargs.get("axz", 0.0 if use_lspp_defaults() else None) ), Field( "bxx", float, 30, 10, - kwargs.get("bxx", 0.0) + kwargs.get("bxx", 0.0 if use_lspp_defaults() else None) ), Field( "bxy", float, 40, 10, - kwargs.get("bxy", 0.0) + kwargs.get("bxy", 0.0 if use_lspp_defaults() else None) ), Field( "bxz", float, 50, 10, - kwargs.get("bxz", 0.0) + kwargs.get("bxz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -137,42 +138,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ayx", 0.0) + kwargs.get("ayx", 0.0 if use_lspp_defaults() else None) ), Field( "ayy", float, 10, 10, - kwargs.get("ayy", 0.0) + kwargs.get("ayy", 0.0 if use_lspp_defaults() else None) ), Field( "ayz", float, 20, 10, - kwargs.get("ayz", 0.0) + kwargs.get("ayz", 0.0 if use_lspp_defaults() else None) ), Field( "byx", float, 30, 10, - kwargs.get("byx", 0.0) + kwargs.get("byx", 0.0 if use_lspp_defaults() else None) ), Field( "byy", float, 40, 10, - kwargs.get("byy", 0.0) + kwargs.get("byy", 0.0 if use_lspp_defaults() else None) ), Field( "byz", float, 50, 10, - kwargs.get("byz", 0.0) + kwargs.get("byz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -183,42 +184,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("azx", 0.0) + kwargs.get("azx", 0.0 if use_lspp_defaults() else None) ), Field( "azy", float, 10, 10, - kwargs.get("azy", 0.0) + kwargs.get("azy", 0.0 if use_lspp_defaults() else None) ), Field( "azz", float, 20, 10, - kwargs.get("azz", 0.0) + kwargs.get("azz", 0.0 if use_lspp_defaults() else None) ), Field( "bzx", float, 30, 10, - kwargs.get("bzx", 0.0) + kwargs.get("bzx", 0.0 if use_lspp_defaults() else None) ), Field( "bzy", float, 40, 10, - kwargs.get("bzy", 0.0) + kwargs.get("bzy", 0.0 if use_lspp_defaults() else None) ), Field( "bzz", float, 50, 10, - kwargs.get("bzz", 0.0) + kwargs.get("bzz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_lagrangian.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_lagrangian.py index 9a3b3f47f..16aafeb39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_lagrangian.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_porous_lagrangian.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("eidend", 0) + kwargs.get("eidend", 0 if use_lspp_defaults() else None) ), Field( "local", int, 20, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), Field( "vecid1", int, 30, 10, - kwargs.get("vecid1", 0) + kwargs.get("vecid1", 0 if use_lspp_defaults() else None) ), Field( "vecid2", int, 40, 10, - kwargs.get("vecid2", 0) + kwargs.get("vecid2", 0 if use_lspp_defaults() else None) ), Field( "userdef", int, 50, 10, - kwargs.get("userdef", 0) + kwargs.get("userdef", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,42 +92,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axx", 0.0) + kwargs.get("axx", 0.0 if use_lspp_defaults() else None) ), Field( "axy", float, 10, 10, - kwargs.get("axy", 0.0) + kwargs.get("axy", 0.0 if use_lspp_defaults() else None) ), Field( "axz", float, 20, 10, - kwargs.get("axz", 0.0) + kwargs.get("axz", 0.0 if use_lspp_defaults() else None) ), Field( "bxx", float, 30, 10, - kwargs.get("bxx", 0.0) + kwargs.get("bxx", 0.0 if use_lspp_defaults() else None) ), Field( "bxy", float, 40, 10, - kwargs.get("bxy", 0.0) + kwargs.get("bxy", 0.0 if use_lspp_defaults() else None) ), Field( "bxz", float, 50, 10, - kwargs.get("bxz", 0.0) + kwargs.get("bxz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -137,42 +138,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ayx", 0.0) + kwargs.get("ayx", 0.0 if use_lspp_defaults() else None) ), Field( "ayy", float, 10, 10, - kwargs.get("ayy", 0.0) + kwargs.get("ayy", 0.0 if use_lspp_defaults() else None) ), Field( "ayz", float, 20, 10, - kwargs.get("ayz", 0.0) + kwargs.get("ayz", 0.0 if use_lspp_defaults() else None) ), Field( "byx", float, 30, 10, - kwargs.get("byx", 0.0) + kwargs.get("byx", 0.0 if use_lspp_defaults() else None) ), Field( "byy", float, 40, 10, - kwargs.get("byy", 0.0) + kwargs.get("byy", 0.0 if use_lspp_defaults() else None) ), Field( "byz", float, 50, 10, - kwargs.get("byz", 0.0) + kwargs.get("byz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -183,42 +184,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("azx", 0.0) + kwargs.get("azx", 0.0 if use_lspp_defaults() else None) ), Field( "azy", float, 10, 10, - kwargs.get("azy", 0.0) + kwargs.get("azy", 0.0 if use_lspp_defaults() else None) ), Field( "azz", float, 20, 10, - kwargs.get("azz", 0.0) + kwargs.get("azz", 0.0 if use_lspp_defaults() else None) ), Field( "bzx", float, 30, 10, - kwargs.get("bzx", 0.0) + kwargs.get("bzx", 0.0 if use_lspp_defaults() else None) ), Field( "bzy", float, 40, 10, - kwargs.get("bzy", 0.0) + kwargs.get("bzy", 0.0 if use_lspp_defaults() else None) ), Field( "bzz", float, 50, 10, - kwargs.get("bzz", 0.0) + kwargs.get("bzz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pressure_tube.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pressure_tube.py index 3999c4810..675667420 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pressure_tube.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_pressure_tube.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,35 +46,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "ws", float, 10, 10, - kwargs.get("ws", 0.0) + kwargs.get("ws", 0.0 if use_lspp_defaults() else None) ), Field( "pr", float, 20, 10, - kwargs.get("pr", 0.0) + kwargs.get("pr", 0.0 if use_lspp_defaults() else None) ), Field( "mtd", int, 30, 10, - kwargs.get("mtd", 0) + kwargs.get("mtd", 0 if use_lspp_defaults() else None) ), Field( "type", int, 40, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), ], ), @@ -84,56 +85,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("visc", 1.0) + kwargs.get("visc", 1.0 if use_lspp_defaults() else None) ), Field( "cfl", float, 10, 10, - kwargs.get("cfl", 0.9) + kwargs.get("cfl", 0.9 if use_lspp_defaults() else None) ), Field( "damp", float, 20, 10, - kwargs.get("damp", 0.0) + kwargs.get("damp", 0.0 if use_lspp_defaults() else None) ), Field( "bndl", float, 30, 10, - kwargs.get("bndl", 0.0) + kwargs.get("bndl", 0.0 if use_lspp_defaults() else None) ), Field( "bndr", float, 40, 10, - kwargs.get("bndr", 0.0) + kwargs.get("bndr", 0.0 if use_lspp_defaults() else None) ), Field( "cavl", float, 50, 10, - kwargs.get("cavl", 0.0) + kwargs.get("cavl", 0.0 if use_lspp_defaults() else None) ), Field( "cavr", float, 60, 10, - kwargs.get("cavr", 0.0) + kwargs.get("cavr", 0.0 if use_lspp_defaults() else None) ), Field( "snode", int, 70, 10, - kwargs.get("snode", 0) + kwargs.get("snode", 0 if use_lspp_defaults() else None) ), ], ), @@ -144,28 +145,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nshl", 12) + kwargs.get("nshl", 12 if use_lspp_defaults() else None) ), Field( "elform", int, 10, 10, - kwargs.get("elform", 16) + kwargs.get("elform", 16 if use_lspp_defaults() else None) ), Field( "nip", int, 20, 10, - kwargs.get("nip", 3) + kwargs.get("nip", 3 if use_lspp_defaults() else None) ), Field( "shrf", float, 30, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "bpid", @@ -183,21 +184,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsld", 12) + kwargs.get("nsld", 12 if use_lspp_defaults() else None) ), Field( "elform", int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "nthk", int, 20, 10, - kwargs.get("nthk", 3) + kwargs.get("nthk", 3 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_quasar_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_quasar_coupling.py index e6f5319d5..280e1e5ae 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_quasar_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_quasar_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "romid", @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "iopt", int, 50, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "cid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_region.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_region.py index 749cddcb8..2b64292d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_region.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_region.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -63,7 +64,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "cid", @@ -77,7 +78,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("move", 0) + kwargs.get("move", 0 if use_lspp_defaults() else None) ), ], ), @@ -88,42 +89,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xmn", 0.0) + kwargs.get("xmn", 0.0 if use_lspp_defaults() else None) ), Field( "xmx", float, 10, 10, - kwargs.get("xmx", 0.0) + kwargs.get("xmx", 0.0 if use_lspp_defaults() else None) ), Field( "ymn", float, 20, 10, - kwargs.get("ymn", 0.0) + kwargs.get("ymn", 0.0 if use_lspp_defaults() else None) ), Field( "ymx", float, 30, 10, - kwargs.get("ymx", 0.0) + kwargs.get("ymx", 0.0 if use_lspp_defaults() else None) ), Field( "zmn", float, 40, 10, - kwargs.get("zmn", 0.0) + kwargs.get("zmn", 0.0 if use_lspp_defaults() else None) ), Field( "zmx", float, 50, 10, - kwargs.get("zmx", 0.0) + kwargs.get("zmx", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sd_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sd_orientation.py index e303b6d2c..b82aaa2b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sd_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sd_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_set_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_set_adaptive.py index 537a7453e..1d61d87cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_set_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_set_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 1) + kwargs.get("stype", 1 if use_lspp_defaults() else None) ), Field( "adplvl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_active_region.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_active_region.py index ad58c4cc4..03c95204a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_active_region.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_active_region.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "type", int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 20, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "cycle", int, 30, 10, - kwargs.get("cycle", 1) + kwargs.get("cycle", 1 if use_lspp_defaults() else None) ), Field( "nid", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("ibuff", 0) + kwargs.get("ibuff", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,42 +99,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ximin", 0.0) + kwargs.get("ximin", 0.0 if use_lspp_defaults() else None) ), Field( "yimin", float, 10, 10, - kwargs.get("yimin", 0.0) + kwargs.get("yimin", 0.0 if use_lspp_defaults() else None) ), Field( "zimin", float, 20, 10, - kwargs.get("zimin", 0.0) + kwargs.get("zimin", 0.0 if use_lspp_defaults() else None) ), Field( "ximax", float, 30, 10, - kwargs.get("ximax", 0.0) + kwargs.get("ximax", 0.0 if use_lspp_defaults() else None) ), Field( "yimax", float, 40, 10, - kwargs.get("yimax", 0.0) + kwargs.get("yimax", 0.0 if use_lspp_defaults() else None) ), Field( "zimax", float, 50, 10, - kwargs.get("zimax", 0.0) + kwargs.get("zimax", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -144,42 +145,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xomin", 0.0) + kwargs.get("xomin", 0.0 if use_lspp_defaults() else None) ), Field( "yomin", float, 10, 10, - kwargs.get("yomin", 0.0) + kwargs.get("yomin", 0.0 if use_lspp_defaults() else None) ), Field( "zomin", float, 20, 10, - kwargs.get("zomin", 0.0) + kwargs.get("zomin", 0.0 if use_lspp_defaults() else None) ), Field( "xomax", float, 30, 10, - kwargs.get("xomax", 0.0) + kwargs.get("xomax", 0.0 if use_lspp_defaults() else None) ), Field( "yomax", float, 40, 10, - kwargs.get("yomax", 0.0) + kwargs.get("yomax", 0.0 if use_lspp_defaults() else None) ), Field( "zomax", float, 50, 10, - kwargs.get("zomax", 0.0) + kwargs.get("zomax", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -190,42 +191,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x0", 0.0) + kwargs.get("x0", 0.0 if use_lspp_defaults() else None) ), Field( "y0", float, 10, 10, - kwargs.get("y0", 0.0) + kwargs.get("y0", 0.0 if use_lspp_defaults() else None) ), Field( "z0", float, 20, 10, - kwargs.get("z0", 0.0) + kwargs.get("z0", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -236,28 +237,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rmin", 0.0) + kwargs.get("rmin", 0.0 if use_lspp_defaults() else None) ), Field( "zmin", float, 10, 10, - kwargs.get("zmin", 0.0) + kwargs.get("zmin", 0.0 if use_lspp_defaults() else None) ), Field( "rmax", float, 20, 10, - kwargs.get("rmax", 0.0) + kwargs.get("rmax", 0.0 if use_lspp_defaults() else None) ), Field( "zmax", float, 30, 10, - kwargs.get("zmax", 0.0) + kwargs.get("zmax", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -268,21 +269,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x0", 0.0) + kwargs.get("x0", 0.0 if use_lspp_defaults() else None) ), Field( "y0", float, 10, 10, - kwargs.get("y0", 0.0) + kwargs.get("y0", 0.0 if use_lspp_defaults() else None) ), Field( "z0", float, 20, 10, - kwargs.get("z0", 0.0) + kwargs.get("z0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -293,14 +294,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rmin", 0.0) + kwargs.get("rmin", 0.0 if use_lspp_defaults() else None) ), Field( "rmax", float, 10, 10, - kwargs.get("rmax", 0.0) + kwargs.get("rmax", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_ambient_drag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_ambient_drag.py index 6b7820b3d..d1f0d63eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_ambient_drag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_ambient_drag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icid", 0) + kwargs.get("icid", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "rhoa", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling.py index 292ed6d83..b93b46e47 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -77,28 +78,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sphtyp", 0) + kwargs.get("sphtyp", 0 if use_lspp_defaults() else None) ), Field( "destyp", int, 30, 10, - kwargs.get("destyp", 0) + kwargs.get("destyp", 0 if use_lspp_defaults() else None) ), Field( "pfact", float, 40, 10, - kwargs.get("pfact", 1.0) + kwargs.get("pfact", 1.0 if use_lspp_defaults() else None) ), Field( "dfact", float, 50, 10, - kwargs.get("dfact", 0.0) + kwargs.get("dfact", 0.0 if use_lspp_defaults() else None) ), Field( "sphbox", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling_id.py index 6b0c8fb9c..3a4e56610 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_de_coupling_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -77,28 +78,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sphtyp", 0) + kwargs.get("sphtyp", 0 if use_lspp_defaults() else None) ), Field( "destyp", int, 30, 10, - kwargs.get("destyp", 0) + kwargs.get("destyp", 0 if use_lspp_defaults() else None) ), Field( "pfact", float, 40, 10, - kwargs.get("pfact", 1.0) + kwargs.get("pfact", 1.0 if use_lspp_defaults() else None) ), Field( "dfact", float, 50, 10, - kwargs.get("dfact", 0.0) + kwargs.get("dfact", 0.0 if use_lspp_defaults() else None) ), Field( "sphbox", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_injection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_injection.py index 1966506d2..fc8f41f6d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_injection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_injection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,35 +67,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "area", float, 60, 10, - kwargs.get("area", 0.0) + kwargs.get("area", 0.0 if use_lspp_defaults() else None) ), Field( "vmag", int, 70, 10, - kwargs.get("vmag", 0) + kwargs.get("vmag", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 10, 10, - kwargs.get("tend", 1.e+20) + kwargs.get("tend", 1.e+20 if use_lspp_defaults() else None) ), Field( "nid", int, 20, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_massflow_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_massflow_plane.py index f8fa5591f..cdfbb9ada 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_massflow_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_massflow_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,28 +46,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prtclsid", 0) + kwargs.get("prtclsid", 0 if use_lspp_defaults() else None) ), Field( "surfsid", int, 10, 10, - kwargs.get("surfsid", 0) + kwargs.get("surfsid", 0 if use_lspp_defaults() else None) ), Field( "ptype", int, 20, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 30, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_box.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_box.py index b6c5b03e3..f22d3143c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_box.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_box.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("idseg", 0) + kwargs.get("idseg", 0 if use_lspp_defaults() else None) ), Field( "sfsp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_surface.py index ad3aa7458..612d0bd61 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_mesh_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "sphpid", @@ -80,14 +81,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("space", 0.0) + kwargs.get("space", 0.0 if use_lspp_defaults() else None) ), Field( "iout", int, 60, 10, - kwargs.get("iout", 0) + kwargs.get("iout", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling.py index fb2fd0d45..57ca17d2e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "ibox1", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("pfact", 1.0) + kwargs.get("pfact", 1.0 if use_lspp_defaults() else None) ), Field( "srad", float, 70, 10, - kwargs.get("srad", 1.0) + kwargs.get("srad", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dfact", 0.0) + kwargs.get("dfact", 0.0 if use_lspp_defaults() else None) ), Field( "isoft", int, 10, 10, - kwargs.get("isoft", 0) + kwargs.get("isoft", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling_id.py index bf565e740..28f484949 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_to_sph_coupling_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("sstyp", 0) + kwargs.get("sstyp", 0 if use_lspp_defaults() else None) ), Field( "mstyp", int, 30, 10, - kwargs.get("mstyp", 0) + kwargs.get("mstyp", 0 if use_lspp_defaults() else None) ), Field( "ibox1", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("pfact", 1.0) + kwargs.get("pfact", 1.0 if use_lspp_defaults() else None) ), Field( "srad", float, 70, 10, - kwargs.get("srad", 1.0) + kwargs.get("srad", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dfact", 0.0) + kwargs.get("dfact", 0.0 if use_lspp_defaults() else None) ), Field( "isoft", int, 10, 10, - kwargs.get("isoft", 0) + kwargs.get("isoft", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_vicinity_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_vicinity_sensor.py index ea1a83d29..de6fee336 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_vicinity_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_sph_vicinity_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,21 +60,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 30, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "dist", int, 40, 10, - kwargs.get("dist", 0) + kwargs.get("dist", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure.py index b581b8365..53ab730ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tflag", 0) + kwargs.get("tflag", 0 if use_lspp_defaults() else None) ), Field( "dc1", float, 20, 10, - kwargs.get("dc1", 1.183) + kwargs.get("dc1", 1.183 if use_lspp_defaults() else None) ), Field( "dc2", float, 30, 10, - kwargs.get("dc2", 0.002963) + kwargs.get("dc2", 0.002963 if use_lspp_defaults() else None) ), Field( "dc3", float, 40, 10, - kwargs.get("dc3", 0.0458) + kwargs.get("dc3", 0.0458 if use_lspp_defaults() else None) ), Field( "dc4", float, 50, 10, - kwargs.get("dc4", 0.1) + kwargs.get("dc4", 0.1 if use_lspp_defaults() else None) ), Field( "exn", float, 60, 10, - kwargs.get("exn", 2.0) + kwargs.get("exn", 2.0 if use_lspp_defaults() else None) ), Field( "exs", float, 70, 10, - kwargs.get("exs", 2.0) + kwargs.get("exs", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -105,35 +106,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("navg", 0) + kwargs.get("navg", 0 if use_lspp_defaults() else None) ), Field( "d_sn", float, 10, 10, - kwargs.get("d_sn", 0.0) + kwargs.get("d_sn", 0.0 if use_lspp_defaults() else None) ), Field( "d_ss", float, 20, 10, - kwargs.get("d_ss", 0.0) + kwargs.get("d_ss", 0.0 if use_lspp_defaults() else None) ), Field( "r_sult", float, 30, 10, - kwargs.get("r_sult", 0.0) + kwargs.get("r_sult", 0.0 if use_lspp_defaults() else None) ), Field( "tscale", float, 40, 10, - kwargs.get("tscale", 1.0) + kwargs.get("tscale", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_add.py index a9fbbaef0..0ccdd01bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tflag", 0) + kwargs.get("tflag", 0 if use_lspp_defaults() else None) ), Field( "dc1", float, 20, 10, - kwargs.get("dc1", 1.183) + kwargs.get("dc1", 1.183 if use_lspp_defaults() else None) ), Field( "dc2", float, 30, 10, - kwargs.get("dc2", 0.002963) + kwargs.get("dc2", 0.002963 if use_lspp_defaults() else None) ), Field( "dc3", float, 40, 10, - kwargs.get("dc3", 0.0458) + kwargs.get("dc3", 0.0458 if use_lspp_defaults() else None) ), Field( "dc4", float, 50, 10, - kwargs.get("dc4", 0.1) + kwargs.get("dc4", 0.1 if use_lspp_defaults() else None) ), Field( "exn", float, 60, 10, - kwargs.get("exn", 2.0) + kwargs.get("exn", 2.0 if use_lspp_defaults() else None) ), Field( "exs", float, 70, 10, - kwargs.get("exs", 2.0) + kwargs.get("exs", 2.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_pid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_pid.py index 5cfbe5ba9..061bdd835 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_pid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_pid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tflag", 0) + kwargs.get("tflag", 0 if use_lspp_defaults() else None) ), Field( "dc1", float, 20, 10, - kwargs.get("dc1", 1.183) + kwargs.get("dc1", 1.183 if use_lspp_defaults() else None) ), Field( "dc2", float, 30, 10, - kwargs.get("dc2", 0.002963) + kwargs.get("dc2", 0.002963 if use_lspp_defaults() else None) ), Field( "dc3", float, 40, 10, - kwargs.get("dc3", 0.0458) + kwargs.get("dc3", 0.0458 if use_lspp_defaults() else None) ), Field( "dc4", float, 50, 10, - kwargs.get("dc4", 0.1) + kwargs.get("dc4", 0.1 if use_lspp_defaults() else None) ), Field( "exn", float, 60, 10, - kwargs.get("exn", 2.0) + kwargs.get("exn", 2.0 if use_lspp_defaults() else None) ), Field( "exs", float, 70, 10, - kwargs.get("exs", 2.0) + kwargs.get("exs", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -105,35 +106,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("navg", 0) + kwargs.get("navg", 0 if use_lspp_defaults() else None) ), Field( "d_sn", float, 10, 10, - kwargs.get("d_sn", 0.0) + kwargs.get("d_sn", 0.0 if use_lspp_defaults() else None) ), Field( "d_ss", float, 20, 10, - kwargs.get("d_ss", 0.0) + kwargs.get("d_ss", 0.0 if use_lspp_defaults() else None) ), Field( "r_sult", float, 30, 10, - kwargs.get("r_sult", 0.0) + kwargs.get("r_sult", 0.0 if use_lspp_defaults() else None) ), Field( "tscale", float, 40, 10, - kwargs.get("tscale", 1.0) + kwargs.get("tscale", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_resultants.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_resultants.py index 781acc001..818a748d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_resultants.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_failure_resultants.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,35 +46,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("id", 0) + kwargs.get("id", 0 if use_lspp_defaults() else None) ), Field( "dsn", float, 10, 10, - kwargs.get("dsn", 0.0) + kwargs.get("dsn", 0.0 if use_lspp_defaults() else None) ), Field( "dss", float, 20, 10, - kwargs.get("dss", 0.0) + kwargs.get("dss", 0.0 if use_lspp_defaults() else None) ), Field( "dlcidsn", int, 30, 10, - kwargs.get("dlcidsn", 0) + kwargs.get("dlcidsn", 0 if use_lspp_defaults() else None) ), Field( "dlcidss", int, 40, 10, - kwargs.get("dlcidss", 0) + kwargs.get("dlcidss", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,28 +99,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("snij", 0.0) + kwargs.get("snij", 0.0 if use_lspp_defaults() else None) ), Field( "ssij", float, 30, 10, - kwargs.get("ssij", 0.0) + kwargs.get("ssij", 0.0 if use_lspp_defaults() else None) ), Field( "lcidsnij", int, 40, 10, - kwargs.get("lcidsnij", 0) + kwargs.get("lcidsnij", 0 if use_lspp_defaults() else None) ), Field( "lcidssij", int, 50, 10, - kwargs.get("lcidssij", 0) + kwargs.get("lcidssij", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_multiscale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_multiscale.py index 392a2a70d..028451000 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_multiscale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_multiscale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_parameter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_parameter.py index 52a0ba4b6..9723aa694 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_parameter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_parameter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -176,42 +177,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcdpa", 0) + kwargs.get("lcdpa", 0 if use_lspp_defaults() else None) ), Field( "lcdpm", int, 10, 10, - kwargs.get("lcdpm", 0) + kwargs.get("lcdpm", 0 if use_lspp_defaults() else None) ), Field( "lcdps", int, 20, 10, - kwargs.get("lcdps", 0) + kwargs.get("lcdps", 0 if use_lspp_defaults() else None) ), Field( "lcdna", int, 30, 10, - kwargs.get("lcdna", 0) + kwargs.get("lcdna", 0 if use_lspp_defaults() else None) ), Field( "lcdnm", int, 40, 10, - kwargs.get("lcdnm", 0) + kwargs.get("lcdnm", 0 if use_lspp_defaults() else None) ), Field( "lcdns", int, 50, 10, - kwargs.get("lcdns", 0) + kwargs.get("lcdns", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("nsmt", 0) + kwargs.get("nsmt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_stress.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_stress.py index 919f70405..93d5fc9fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_stress.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_spotweld_rupture_stress.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,21 +46,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "srsig", float, 10, 10, - kwargs.get("srsig", 0.0) + kwargs.get("srsig", 0.0 if use_lspp_defaults() else None) ), Field( "sigtau", float, 20, 10, - kwargs.get("sigtau", 0.0) + kwargs.get("sigtau", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part.py index 5e10274f7..8fbc46bd3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part_set.py index dd5d98b73..2edab5381 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_staged_construction_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_shell_variaton.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_shell_variaton.py index bdd0e80c5..209ba3adf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_shell_variaton.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_shell_variaton.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,35 +46,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ide", 0) + kwargs.get("ide", 0 if use_lspp_defaults() else None) ), Field( "varsy", float, 10, 10, - kwargs.get("varsy", 0.0) + kwargs.get("varsy", 0.0 if use_lspp_defaults() else None) ), Field( "varf", float, 20, 10, - kwargs.get("varf", 0.0) + kwargs.get("varf", 0.0 if use_lspp_defaults() else None) ), Field( "varro", float, 30, 10, - kwargs.get("varro", 0.0) + kwargs.get("varro", 0.0 if use_lspp_defaults() else None) ), Field( "vare", float, 40, 10, - kwargs.get("vare", 0.0) + kwargs.get("vare", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_solid_variaton.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_solid_variaton.py index 508392003..ae17c9b90 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_solid_variaton.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_element_solid_variaton.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,35 +46,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ide", 0) + kwargs.get("ide", 0 if use_lspp_defaults() else None) ), Field( "varsy", float, 10, 10, - kwargs.get("varsy", 0.0) + kwargs.get("varsy", 0.0 if use_lspp_defaults() else None) ), Field( "varf", float, 20, 10, - kwargs.get("varf", 0.0) + kwargs.get("varf", 0.0 if use_lspp_defaults() else None) ), Field( "varro", float, 30, 10, - kwargs.get("varro", 0.0) + kwargs.get("varro", 0.0 if use_lspp_defaults() else None) ), Field( "vare", float, 40, 10, - kwargs.get("vare", 0.0) + kwargs.get("vare", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation.py index 719751562..52a81fc95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,35 +60,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("pid_typ", 0) + kwargs.get("pid_typ", 0 if use_lspp_defaults() else None) ), Field( "icor", int, 30, 10, - kwargs.get("icor", 0) + kwargs.get("icor", 0 if use_lspp_defaults() else None) ), Field( "var_s", int, 40, 10, - kwargs.get("var_s", 0) + kwargs.get("var_s", 0 if use_lspp_defaults() else None) ), Field( "var_f", int, 50, 10, - kwargs.get("var_f", 0) + kwargs.get("var_f", 0 if use_lspp_defaults() else None) ), Field( "irng", int, 60, 10, - kwargs.get("irng", 0) + kwargs.get("irng", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation_properties.py index 19f8fa542..a019dbf82 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_stochastic_variation_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,28 +67,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("pid_typ", 0) + kwargs.get("pid_typ", 0 if use_lspp_defaults() else None) ), Field( "irng", int, 40, 10, - kwargs.get("irng", 0) + kwargs.get("irng", 0 if use_lspp_defaults() else None) ), Field( "numv", int, 50, 10, - kwargs.get("numv", 0) + kwargs.get("numv", 0 if use_lspp_defaults() else None) ), Field( "num_beg", int, 60, 10, - kwargs.get("num_beg", 0) + kwargs.get("num_beg", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vartyp", 0) + kwargs.get("vartyp", 0 if use_lspp_defaults() else None) ), Field( "corlgr", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table.py index 57faa53af..be16d8fb4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 20, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -70,7 +71,7 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("value", 0.0) + kwargs.get("value", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_2d.py index 27c904584..25bdc66d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 20, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -70,7 +71,7 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("value", 0.0) + kwargs.get("value", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_3d.py index ad0ac9145..5b948162e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfa", 1.0) + kwargs.get("sfa", 1.0 if use_lspp_defaults() else None) ), Field( "offa", float, 20, 10, - kwargs.get("offa", 0.0) + kwargs.get("offa", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -70,7 +71,7 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("value", 0.0) + kwargs.get("value", 0.0 if use_lspp_defaults() else None) ), Field( "tbid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_compact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_compact.py index 1506019f4..4787d85e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_compact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_compact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,21 +60,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcint", 0) + kwargs.get("lcint", 0 if use_lspp_defaults() else None) ), Field( "mathis", int, 30, 10, - kwargs.get("mathis", 0) + kwargs.get("mathis", 0 if use_lspp_defaults() else None) ), Field( "inexect", int, 40, 10, - kwargs.get("inexect", 0) + kwargs.get("inexect", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_matrix.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_matrix.py index 6faaa268b..3469276a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_matrix.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_table_matrix.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -77,21 +78,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("srow", 1.0) + kwargs.get("srow", 1.0 if use_lspp_defaults() else None) ), Field( "scol", float, 30, 10, - kwargs.get("scol", 1.0) + kwargs.get("scol", 1.0 if use_lspp_defaults() else None) ), Field( "sval", float, 40, 10, - kwargs.get("sval", 1.0) + kwargs.get("sval", 1.0 if use_lspp_defaults() else None) ), Field( "orow", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_target_boundary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_target_boundary.py index 26a9adf2a..f7334cffe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_target_boundary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_target_boundary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,21 +46,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 16, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 32, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_tracer_particles_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_tracer_particles_2d.py index 1bc2fadea..0393396b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_tracer_particles_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_tracer_particles_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transform.py index 4b09757fc..8bde5b508 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,7 +57,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "MIRROR") + kwargs.get("option", "MIRROR" if use_lspp_defaults() else None) ), Field( "a1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transformation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transformation.py index ca1fabc78..da4c2971b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transformation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_transformation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_trim_seed_point_coordinates.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_trim_seed_point_coordinates.py index 47d68889e..16982bfbb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_trim_seed_point_coordinates.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_trim_seed_point_coordinates.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,49 +46,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nseed", 0) + kwargs.get("nseed", 0 if use_lspp_defaults() else None) ), Field( "x1", float, 10, 10, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "y1", float, 20, 10, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 30, 10, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 40, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 50, 10, - kwargs.get("y2", 0.0) + kwargs.get("y2", 0.0 if use_lspp_defaults() else None) ), Field( "z2", float, 60, 10, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector.py index 21b0554b3..b89124a72 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,56 +46,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "xt", float, 10, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 20, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 30, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 40, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 50, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 60, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 70, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector_nodes.py index 30d332951..f37dd13ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/define_vector_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,21 +46,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "nodet", int, 10, 10, - kwargs.get("nodet", 0) + kwargs.get("nodet", 0 if use_lspp_defaults() else None) ), Field( "nodeh", int, 20, 10, - kwargs.get("nodeh", 0) + kwargs.get("nodeh", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid.py index 7f57491e9..edd7691d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeformableToRigid(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), Field( "ptype", str, 20, 10, - kwargs.get("ptype", "PART") + kwargs.get("ptype", "PART" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_automatic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_automatic.py index 535b6de7b..86df5fd07 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_automatic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_automatic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeformableToRigidAutomatic(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("code", 0) + kwargs.get("code", 0 if use_lspp_defaults() else None) ), Field( "time1", float, 20, 10, - kwargs.get("time1", 0.0) + kwargs.get("time1", 0.0 if use_lspp_defaults() else None) ), Field( "time2", float, 30, 10, - kwargs.get("time2", 1.0E+20) + kwargs.get("time2", 1.0E+20 if use_lspp_defaults() else None) ), Field( "time3", float, 40, 10, - kwargs.get("time3", 0.0) + kwargs.get("time3", 0.0 if use_lspp_defaults() else None) ), Field( "entno", int, 50, 10, - kwargs.get("entno", 0) + kwargs.get("entno", 0 if use_lspp_defaults() else None) ), Field( "relsw", int, 60, 10, - kwargs.get("relsw", 0) + kwargs.get("relsw", 0 if use_lspp_defaults() else None) ), Field( "paired", int, 70, 10, - kwargs.get("paired", 0) + kwargs.get("paired", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nrbf", 0) + kwargs.get("nrbf", 0 if use_lspp_defaults() else None) ), Field( "ncsf", int, 10, 10, - kwargs.get("ncsf", 0) + kwargs.get("ncsf", 0 if use_lspp_defaults() else None) ), Field( "rwf", int, 20, 10, - kwargs.get("rwf", 0) + kwargs.get("rwf", 0 if use_lspp_defaults() else None) ), Field( "dtmax", float, 30, 10, - kwargs.get("dtmax", 0.0) + kwargs.get("dtmax", 0.0 if use_lspp_defaults() else None) ), Field( "d2r", int, 40, 10, - kwargs.get("d2r", 0) + kwargs.get("d2r", 0 if use_lspp_defaults() else None) ), Field( "r2d", int, 50, 10, - kwargs.get("r2d", 0) + kwargs.get("r2d", 0 if use_lspp_defaults() else None) ), Field( "offset", int, 60, 10, - kwargs.get("offset", 0) + kwargs.get("offset", 0 if use_lspp_defaults() else None) ), ], ), @@ -167,7 +168,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("ptype", "PART") + kwargs.get("ptype", "PART" if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("ptype", "PART") + kwargs.get("ptype", "PART" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_inertia.py index 6e6166b04..ed9abaf31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/deformable_to_rigid_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeformableToRigidInertia(KeywordBase): @@ -90,14 +91,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", @@ -111,7 +112,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact.py index 1bc0956e8..7f26cd61b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteContact(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact_2dauto.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact_2dauto.py index d1f0d31b5..993e751dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact_2dauto.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_contact_2dauto.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteContact2Dauto(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_beam.py index 6e5a99c4c..63dd5bff1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteElementBeam(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_shell.py index 5ddba227b..c43b8ad22 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteElementShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_solid.py index 27b546614..f2a78fdc0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteElementSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_tshell.py index 2445c9297..16a82c440 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_element_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteElementTshell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_entity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_entity.py index e5c715137..085df302b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_entity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_entity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteEntity(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_fsi.py index 01c15f8a9..842c41d0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeleteFsi(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_part.py index 42987e6e7..0a9cd77cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/delete_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DeletePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_msurf.py index a0088fbfd..7867fed54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryAxisymmetricMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_segment_set.py index 6199a173e..2e65e43e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_axisymmetric_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryAxisymmetricSegmentSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_msurf.py index e5cdc9268..a4faaaf2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryCyclicMsurf(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_segment_set.py index 31702021a..21750c57b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_cyclic_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryCyclicSegmentSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("cyctyp", 0) + kwargs.get("cyctyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_msurf.py index 96b3d9065..6d4fabb95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryFsiMsurf(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ref_p", 0.0) + kwargs.get("ref_p", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_segment_set.py index 1e662d4ea..e32ff1123 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_fsi_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryFsiSegmentSet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ref_p", 0.0) + kwargs.get("ref_p", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_msurf.py index 03ed18a72..fb2e311bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryNonReflectiveMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_segment_set.py index 087dd4a41..dc20cd1fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_non_reflective_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryNonReflectiveSegmentSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_msurf.py index ee572dc9a..9d9a26beb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedHybridMsurf(KeywordBase): @@ -157,56 +158,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_z1", 1.0) + kwargs.get("sf_z1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_ra", float, 10, 10, - kwargs.get("sf_ra", 1.0) + kwargs.get("sf_ra", 1.0 if use_lspp_defaults() else None) ), Field( "sf_u", float, 20, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 30, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 40, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d1", float, 50, 10, - kwargs.get("sf_d1", 1.0) + kwargs.get("sf_d1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_da", float, 60, 10, - kwargs.get("sf_da", 1.0) + kwargs.get("sf_da", 1.0 if use_lspp_defaults() else None) ), Field( "sf_db", float, 70, 10, - kwargs.get("sf_db", 1.0) + kwargs.get("sf_db", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_segment_set.py index 8af392e51..77e1597cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_hybrid_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedHybridSegmentSet(KeywordBase): @@ -157,56 +158,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_z1", 1.0) + kwargs.get("sf_z1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_ra", float, 10, 10, - kwargs.get("sf_ra", 1.0) + kwargs.get("sf_ra", 1.0 if use_lspp_defaults() else None) ), Field( "sf_u", float, 20, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 30, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 40, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d1", float, 50, 10, - kwargs.get("sf_d1", 1.0) + kwargs.get("sf_d1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_da", float, 60, 10, - kwargs.get("sf_da", 1.0) + kwargs.get("sf_da", 1.0 if use_lspp_defaults() else None) ), Field( "sf_db", float, 70, 10, - kwargs.get("sf_db", 1.0) + kwargs.get("sf_db", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_msurf.py index 3c3f7e39f..f831e261f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedMsurf(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 10, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 40, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_segment_set.py index 4b7b8e7f8..ec9debfa3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedSegmentSet(KeywordBase): @@ -104,42 +105,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 10, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 20, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_rho", float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 40, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_msurf.py index cf471f697..4b154dae2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedTwoPhaseMsurf(KeywordBase): @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_z1", 1.0) + kwargs.get("sf_z1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_u", float, 10, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 20, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 30, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d1", float, 40, 10, - kwargs.get("sf_d1", 1.0) + kwargs.get("sf_d1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d2", float, 50, 10, - kwargs.get("sf_d2", 1.0) + kwargs.get("sf_d2", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 60, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 70, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_segment_set.py index 87894f66b..cd6066f35 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_two_phase_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedTwoPhaseSegmentSet(KeywordBase): @@ -139,56 +140,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_z1", 1.0) + kwargs.get("sf_z1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_u", float, 10, 10, - kwargs.get("sf_u", 1.0) + kwargs.get("sf_u", 1.0 if use_lspp_defaults() else None) ), Field( "sf_v", float, 20, 10, - kwargs.get("sf_v", 1.0) + kwargs.get("sf_v", 1.0 if use_lspp_defaults() else None) ), Field( "sf_w", float, 30, 10, - kwargs.get("sf_w", 1.0) + kwargs.get("sf_w", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d1", float, 40, 10, - kwargs.get("sf_d1", 1.0) + kwargs.get("sf_d1", 1.0 if use_lspp_defaults() else None) ), Field( "sf_d2", float, 50, 10, - kwargs.get("sf_d2", 1.0) + kwargs.get("sf_d2", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 60, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 70, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_msurf.py index 6306f8ad7..c575ef754 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedVnMsurf(KeywordBase): @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_vn", 1.0) + kwargs.get("sf_vn", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -146,21 +147,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 40, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_segment_set.py index 9b8d12044..1e8215e0f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_prescribed_vn_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryPrescribedVnSegmentSet(KeywordBase): @@ -125,7 +126,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf_vn", 1.0) + kwargs.get("sf_vn", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -146,21 +147,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf_rho", 1.0) + kwargs.get("sf_rho", 1.0 if use_lspp_defaults() else None) ), Field( "sf_p", float, 40, 10, - kwargs.get("sf_p", 1.0) + kwargs.get("sf_p", 1.0 if use_lspp_defaults() else None) ), Field( "sf_t", float, 50, 10, - kwargs.get("sf_t", 1.0) + kwargs.get("sf_t", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_msurf.py index 118c9bf75..46abd2fa1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryReflectiveMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_segment_set.py index 0f5ae82cd..db450d31e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_reflective_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundaryReflectiveSegmentSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_msurf.py index ae36b45a8..03b9a4cf3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySlidingMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_segment_set.py index 3866d6461..824b50318 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_sliding_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySlidingSegmentSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf.py index 9701c6de2..1dcff203d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySolidWallMsurf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf_rotate.py index 85016b83f..63d6f70d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_msurf_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySolidWallMsurfRotate(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 30, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set.py index 77b9e2e83..640221f30 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySolidWallSegmentSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set_rotate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set_rotate.py index 5a8250346..eb2d8cf08 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set_rotate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_boundary_solid_wall_segment_set_rotate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseBoundarySolidWallSegmentSetRotate(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 30, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 50, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 60, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 70, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_limiter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_limiter.py index bba84d40d..f5a832662 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_limiter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_limiter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseControlLimiter(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idlmt", 0) + kwargs.get("idlmt", 0 if use_lspp_defaults() else None) ), Field( "alfa", float, 10, 10, - kwargs.get("alfa", 0.0) + kwargs.get("alfa", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "epsr", float, 30, 10, - kwargs.get("epsr", 0.0) + kwargs.get("epsr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_mesh_mov.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_mesh_mov.py index fd38bd8c4..9b861137a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_mesh_mov.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_mesh_mov.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseControlMeshMov(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ialg", 9) + kwargs.get("ialg", 9 if use_lspp_defaults() else None) ), Field( "ninter", int, 20, 10, - kwargs.get("ninter", 100) + kwargs.get("ninter", 100 if use_lspp_defaults() else None) ), Field( "relerr", float, 30, 10, - kwargs.get("relerr", 1.0E-3) + kwargs.get("relerr", 1.0E-3 if use_lspp_defaults() else None) ), Field( "mxdispr", float, 40, 10, - kwargs.get("mxdispr", 1.0E-2) + kwargs.get("mxdispr", 1.0E-2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_solver.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_solver.py index e36750699..6eaf5d80b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_solver.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_solver.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseControlSolver(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("eqns", "EULER") + kwargs.get("eqns", "EULER" if use_lspp_defaults() else None) ), Field( "igeom", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("iframe", "FIXED") + kwargs.get("iframe", "FIXED" if use_lspp_defaults() else None) ), Field( "mixtype", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("idc", 0.25) + kwargs.get("idc", 0.25 if use_lspp_defaults() else None) ), Field( "isnan", int, 50, 10, - kwargs.get("isnan", 0) + kwargs.get("isnan", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_timestep.py index 3e66daf95..2e240787e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_control_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseControlTimestep(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iddt", 0) + kwargs.get("iddt", 0 if use_lspp_defaults() else None) ), Field( "cfl", float, 10, 10, - kwargs.get("cfl", 0.9) + kwargs.get("cfl", 0.9 if use_lspp_defaults() else None) ), Field( "dtint", float, 20, 10, - kwargs.get("dtint", 1.0E-3) + kwargs.get("dtint", 1.0E-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot.py index 1d4079364..0796abf10 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot_fluid_ssid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot_fluid_ssid.py index 5974b1fbe..f40c69cb6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot_fluid_ssid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_d3plot_fluid_ssid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseD3PlotFluidSsid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele2d.py index 6f0112551..7211953ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEle2D(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele3d.py index cc1965d1c..586fb6bad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_ele3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEle3D(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_elementset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_elementset.py index 3bb8e6dca..b59c753e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_elementset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_elementset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseElementset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_cochran_chan.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_cochran_chan.py index c3c46ff54..73842b492 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_cochran_chan.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_cochran_chan.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosCochranChan(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_coolprop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_coolprop.py index f939feadb..d56c415aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_coolprop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_coolprop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosCoolprop(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("phase", "GAS") + kwargs.get("phase", "GAS" if use_lspp_defaults() else None) ), Field( "tabular", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_ideal_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_ideal_gas.py index 705da2185..0dd525825 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_ideal_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_ideal_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosIdealGas(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cv", 717.5) + kwargs.get("cv", 717.5 if use_lspp_defaults() else None) ), Field( "cp", float, 20, 10, - kwargs.get("cp", 1004.5) + kwargs.get("cp", 1004.5 if use_lspp_defaults() else None) ), Field( "e0", float, 30, 10, - kwargs.get("e0", 0.0) + kwargs.get("e0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator1.py index a2350e89d..0162401ee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosInflator1(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp0", 0.0) + kwargs.get("cp0", 0.0 if use_lspp_defaults() else None) ), Field( "cp1", float, 10, 10, - kwargs.get("cp1", 0.0) + kwargs.get("cp1", 0.0 if use_lspp_defaults() else None) ), Field( "cp2", float, 20, 10, - kwargs.get("cp2", 0.0) + kwargs.get("cp2", 0.0 if use_lspp_defaults() else None) ), Field( "cp3", float, 30, 10, - kwargs.get("cp3", 0.0) + kwargs.get("cp3", 0.0 if use_lspp_defaults() else None) ), Field( "cp4", float, 40, 10, - kwargs.get("cp4", 0.0) + kwargs.get("cp4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -90,35 +91,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv0", 0.0) + kwargs.get("cv0", 0.0 if use_lspp_defaults() else None) ), Field( "cv1", float, 10, 10, - kwargs.get("cv1", 0.0) + kwargs.get("cv1", 0.0 if use_lspp_defaults() else None) ), Field( "cv2", float, 20, 10, - kwargs.get("cv2", 0.0) + kwargs.get("cv2", 0.0 if use_lspp_defaults() else None) ), Field( "cv3", float, 30, 10, - kwargs.get("cv3", 0.0) + kwargs.get("cv3", 0.0 if use_lspp_defaults() else None) ), Field( "cv4", float, 40, 10, - kwargs.get("cv4", 0.0) + kwargs.get("cv4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator2.py index 7e136c023..6a3f79a30 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_inflator2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosInflator2(KeywordBase): @@ -51,35 +52,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp10", 0.0) + kwargs.get("cp10", 0.0 if use_lspp_defaults() else None) ), Field( "cp11", float, 10, 10, - kwargs.get("cp11", 0.0) + kwargs.get("cp11", 0.0 if use_lspp_defaults() else None) ), Field( "cp12", float, 20, 10, - kwargs.get("cp12", 0.0) + kwargs.get("cp12", 0.0 if use_lspp_defaults() else None) ), Field( "cp13", float, 30, 10, - kwargs.get("cp13", 0.0) + kwargs.get("cp13", 0.0 if use_lspp_defaults() else None) ), Field( "cp14", float, 40, 10, - kwargs.get("cp14", 0.0) + kwargs.get("cp14", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -90,35 +91,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cp20", 0.0) + kwargs.get("cp20", 0.0 if use_lspp_defaults() else None) ), Field( "cp21", float, 10, 10, - kwargs.get("cp21", 0.0) + kwargs.get("cp21", 0.0 if use_lspp_defaults() else None) ), Field( "cp22", float, 20, 10, - kwargs.get("cp22", 0.0) + kwargs.get("cp22", 0.0 if use_lspp_defaults() else None) ), Field( "cp23", float, 30, 10, - kwargs.get("cp23", 0.0) + kwargs.get("cp23", 0.0 if use_lspp_defaults() else None) ), Field( "cp24", float, 40, 10, - kwargs.get("cp24", 0.0) + kwargs.get("cp24", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -129,35 +130,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv10", 0.0) + kwargs.get("cv10", 0.0 if use_lspp_defaults() else None) ), Field( "cv11", float, 10, 10, - kwargs.get("cv11", 0.0) + kwargs.get("cv11", 0.0 if use_lspp_defaults() else None) ), Field( "cv12", float, 20, 10, - kwargs.get("cv12", 0.0) + kwargs.get("cv12", 0.0 if use_lspp_defaults() else None) ), Field( "cv13", float, 30, 10, - kwargs.get("cv13", 0.0) + kwargs.get("cv13", 0.0 if use_lspp_defaults() else None) ), Field( "cv14", float, 40, 10, - kwargs.get("cv14", 0.0) + kwargs.get("cv14", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -168,35 +169,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cv20", 0.0) + kwargs.get("cv20", 0.0 if use_lspp_defaults() else None) ), Field( "cv21", float, 10, 10, - kwargs.get("cv21", 0.0) + kwargs.get("cv21", 0.0 if use_lspp_defaults() else None) ), Field( "cv22", float, 20, 10, - kwargs.get("cv22", 0.0) + kwargs.get("cv22", 0.0 if use_lspp_defaults() else None) ), Field( "cv23", float, 30, 10, - kwargs.get("cv23", 0.0) + kwargs.get("cv23", 0.0 if use_lspp_defaults() else None) ), Field( "cv24", float, 40, 10, - kwargs.get("cv24", 0.0) + kwargs.get("cv24", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_jwl.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_jwl.py index a1d9efa1d..0e195c4fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_jwl.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_jwl.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosJwl(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop.py index e00dd70bf..092bae20b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosRefprop(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("phase", "GAS") + kwargs.get("phase", "GAS" if use_lspp_defaults() else None) ), Field( "tabular", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop_path.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop_path.py index 868cc51ea..82f66e318 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop_path.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_refprop_path.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosRefpropPath(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_set.py index b5905fe7b..5cbbbc656 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_stiffened_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_stiffened_gas.py index 08e1b278d..3806997bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_stiffened_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_stiffened_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosStiffenedGas(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_van_der_waals_generalized.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_van_der_waals_generalized.py index cf8db06b4..8fc1e13bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_van_der_waals_generalized.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_eos_van_der_waals_generalized.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseEosVanDerWaalsGeneralized(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_fsi_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_fsi_exclude.py index 34095ac22..181fd5fdd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_fsi_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_fsi_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseFsiExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_include_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_include_model.py index 3dad37a42..77efd200e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_include_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_include_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseIncludeModel(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial.py index 71dc9f85b..59c608224 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitial(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 10, 10, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 20, 10, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), Field( "rh", float, 30, 10, - kwargs.get("rh", 1.225) + kwargs.get("rh", 1.225 if use_lspp_defaults() else None) ), Field( "p", float, 40, 10, - kwargs.get("p", 0.0) + kwargs.get("p", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 50, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid.py index ea3f5c0bc..d0491feb2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialHybrid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid_set.py index 213ac0034..a704e440f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_hybrid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialHybridSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_set.py index 1ffac3b3c..1181e30ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialSet(KeywordBase): @@ -58,42 +59,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 10, 10, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 20, 10, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), Field( "rho", float, 30, 10, - kwargs.get("rho", 1.225) + kwargs.get("rho", 1.225 if use_lspp_defaults() else None) ), Field( "p", float, 40, 10, - kwargs.get("p", 0.0) + kwargs.get("p", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 50, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase.py index 085c9dcd6..0837950a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialTwoPhase(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase_set.py index e1d99bd3e..ce84832d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_two_phase_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialTwoPhaseSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_twophase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_twophase.py index 23b64f55c..74fbba205 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_twophase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_initial_twophase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseInitialTwophase(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas.py index 722c67042..28b452f02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseMatGas(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c1", 1.458E-6) + kwargs.get("c1", 1.458E-6 if use_lspp_defaults() else None) ), Field( "c2", float, 20, 10, - kwargs.get("c2", 110.4) + kwargs.get("c2", 110.4 if use_lspp_defaults() else None) ), Field( "prnd", float, 30, 10, - kwargs.get("prnd", 0.72) + kwargs.get("prnd", 0.72 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_0.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_0.py index f1c6e86d8..39d524b7b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_0.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_0.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseMatGas0(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_2.py index 1098f76f4..dbff2c556 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_mat_gas_2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseMatGas2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_model.py index 9b73679d9..f851b7f7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseModel(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node2d.py index 9851688f9..3486a0688 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseNode2D(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node3d.py index fb1cd5c10..9df103078 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_node3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseNode3D(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_nodeset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_nodeset.py index 0ced40c5a..163efb9b0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_nodeset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_nodeset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseNodeset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part.py index 67fd029c1..ef5ba4aeb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualcesePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_multiphase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_multiphase.py index 902290c13..423dc08ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_multiphase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_multiphase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualcesePartMultiphase(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_surface.py index 73350c6b7..1342a041b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_part_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualcesePartSurface(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig.py index 86aab4b91..a92c0c3ca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseReactionRateIg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig_reduced.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig_reduced.py index 1d5b4d83a..f8c28eb68 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig_reduced.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_ig_reduced.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseReactionRateIgReduced(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_p_depend.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_p_depend.py index e512f7a31..365b760de 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_p_depend.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_reaction_rate_p_depend.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseReactionRatePDepend(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_segmentset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_segmentset.py index bdb7e9bae..3c8797b43 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_segmentset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/dualcese_segmentset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class DualceseSegmentset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_control.py index f09fefceb..f9468ad82 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EfControl(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_grid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_grid.py index 9520078ab..897fa9f12 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_grid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_grid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EfGrid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_material.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_material.py index e58c5fde4..43fc9fc1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_material.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_material.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EfMaterial(KeywordBase): @@ -118,14 +119,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rdiffr", 1) + kwargs.get("rdiffr", 1 if use_lspp_defaults() else None) ), Field( "rdifft", float, 50, 10, - kwargs.get("rdifft", 1) + kwargs.get("rdifft", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_toggles.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_toggles.py index 23d5dc399..b13cbd336 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_toggles.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/ef_toggles.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EfToggles(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iprint1", 0) + kwargs.get("iprint1", 0 if use_lspp_defaults() else None) ), Field( "iprint2", int, 10, 10, - kwargs.get("iprint2", 0) + kwargs.get("iprint2", 0 if use_lspp_defaults() else None) ), Field( "iprint3", int, 20, 10, - kwargs.get("iprint3", 0) + kwargs.get("iprint3", 0 if use_lspp_defaults() else None) ), Field( "iprint4", int, 30, 10, - kwargs.get("iprint4", 0) + kwargs.get("iprint4", 0 if use_lspp_defaults() else None) ), Field( "idata", int, 40, 10, - kwargs.get("idata", 0) + kwargs.get("idata", 0 if use_lspp_defaults() else None) ), Field( "itraces", int, 50, 10, - kwargs.get("itraces", 0) + kwargs.get("itraces", 0 if use_lspp_defaults() else None) ), Field( "irstrt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam.py index 6c3bee1af..d0052998d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_elbow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_elbow.py index fe02d15b0..c7a22668a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_elbow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_elbow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamElbow(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_offset.py index 60039d233..ca9c656c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,42 +115,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation.py index 3e0363dd3..a83dce873 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamOrientation(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation_offset.py index 953a57a21..5a95d224b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_orientation_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamOrientationOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,42 +140,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid.py index 55ba5d78b..a92dc0645 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamPid(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_offset.py index a0f13f52d..3b46b1841 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamPidOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -132,42 +133,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_orientation.py index 186ad2a8a..43ecdc7b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pid_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamPidOrientation(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -132,21 +133,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pulley.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pulley.py index b0241e19c..01281a0fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pulley.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_pulley.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamPulley(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("puid", 0) + kwargs.get("puid", 0 if use_lspp_defaults() else None) ), Field( "bid1", int, 10, 10, - kwargs.get("bid1", 0) + kwargs.get("bid1", 0 if use_lspp_defaults() else None) ), Field( "bid2", int, 20, 10, - kwargs.get("bid2", 0) + kwargs.get("bid2", 0 if use_lspp_defaults() else None) ), Field( "pnid", int, 30, 10, - kwargs.get("pnid", 0) + kwargs.get("pnid", 0 if use_lspp_defaults() else None) ), Field( "fd", float, 40, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), Field( "fs", float, 50, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "lmin", float, 60, 10, - kwargs.get("lmin", 0.0) + kwargs.get("lmin", 0.0 if use_lspp_defaults() else None) ), Field( "dc", float, 70, 10, - kwargs.get("dc", 0.0) + kwargs.get("dc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar.py index 8a749e895..7d9aa7f68 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamScalar(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -135,14 +136,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_offset.py index 4ec60ffe5..6dabd4fa7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamScalarOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -135,14 +136,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_orientation.py index 723c3ae91..dc7cd1174 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamScalarOrientation(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -135,14 +136,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_pid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_pid.py index d4d4c59a8..7f384457d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_pid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_scalar_pid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamScalarPid(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -135,14 +136,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section.py index 88b15c131..bb3d6dc28 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSection(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("stype", "SECTION_01") + kwargs.get("stype", "SECTION_01" if use_lspp_defaults() else None) ), Field( "d1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_offset.py index d1e292589..eea2c8f31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSectionOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("stype", "SECTION_01") + kwargs.get("stype", "SECTION_01" if use_lspp_defaults() else None) ), Field( "d1", @@ -167,42 +168,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_orientation.py index 93edf1a43..b4fccc1c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSectionOrientation(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("stype", "SECTION_01") + kwargs.get("stype", "SECTION_01" if use_lspp_defaults() else None) ), Field( "d1", @@ -167,21 +168,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_pid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_pid.py index 3b1039e7c..1acf6f182 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_pid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_pid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSectionPid(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("stype", "SECTION_01") + kwargs.get("stype", "SECTION_01" if use_lspp_defaults() else None) ), Field( "d1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_scalar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_scalar.py index 65f439710..2847c3d50 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_scalar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_section_scalar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSectionScalar(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -114,7 +115,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("stype", "SECTION_01") + kwargs.get("stype", "SECTION_01" if use_lspp_defaults() else None) ), Field( "d1", @@ -188,14 +189,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_source.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_source.py index 1a5620c45..ba0a46e3f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_source.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_source.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamSource(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("bsid", 0) + kwargs.get("bsid", 0 if use_lspp_defaults() else None) ), Field( "bsnid", int, 10, 10, - kwargs.get("bsnid", 0) + kwargs.get("bsnid", 0 if use_lspp_defaults() else None) ), Field( "bseid", int, 20, 10, - kwargs.get("bseid", 0) + kwargs.get("bseid", 0 if use_lspp_defaults() else None) ), Field( "nele", int, 30, 10, - kwargs.get("nele", 0) + kwargs.get("nele", 0 if use_lspp_defaults() else None) ), Field( "lfed", float, 40, 10, - kwargs.get("lfed", 0.0) + kwargs.get("lfed", 0.0 if use_lspp_defaults() else None) ), Field( "fpull", float, 50, 10, - kwargs.get("fpull", 0.0) + kwargs.get("fpull", 0.0 if use_lspp_defaults() else None) ), Field( "lmin", float, 60, 10, - kwargs.get("lmin", 0.0) + kwargs.get("lmin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness.py index a80718f61..be6035389 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamThickness(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_offset.py index 65db774ad..67dd3f586 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamThicknessOffset(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("wx1", 0.0) + kwargs.get("wx1", 0.0 if use_lspp_defaults() else None) ), Field( "wy1", float, 10, 10, - kwargs.get("wy1", 0.0) + kwargs.get("wy1", 0.0 if use_lspp_defaults() else None) ), Field( "wz1", float, 20, 10, - kwargs.get("wz1", 0.0) + kwargs.get("wz1", 0.0 if use_lspp_defaults() else None) ), Field( "wx2", float, 30, 10, - kwargs.get("wx2", 0.0) + kwargs.get("wx2", 0.0 if use_lspp_defaults() else None) ), Field( "wy2", float, 40, 10, - kwargs.get("wy2", 0.0) + kwargs.get("wy2", 0.0 if use_lspp_defaults() else None) ), Field( "wz2", float, 50, 10, - kwargs.get("wz2", 0.0) + kwargs.get("wz2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_orientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_orientation.py index 68ae3f1d4..b2245ceb6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_orientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_orientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamThicknessOrientation(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -153,21 +154,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_pid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_pid.py index beff59fea..0bd10e479 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_pid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_pid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamThicknessPid(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_scalar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_scalar.py index 2759d2f54..c1744961c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_scalar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_thickness_scalar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamThicknessScalar(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), @@ -174,14 +175,14 @@ def __init__(self, **kwargs): float, 48, 16, - kwargs.get("dofn1", 1) + kwargs.get("dofn1", 1 if use_lspp_defaults() else None) ), Field( "dofn2", float, 64, 16, - kwargs.get("dofn2", 1) + kwargs.get("dofn2", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_warpage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_warpage.py index ff2fd0cfa..8ab7f9671 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_warpage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_beam_warpage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBeamWarpage(KeywordBase): @@ -75,35 +76,35 @@ def __init__(self, **kwargs): int, 40, 8, - kwargs.get("rt1", 0) + kwargs.get("rt1", 0 if use_lspp_defaults() else None) ), Field( "rr1", int, 48, 8, - kwargs.get("rr1", 0) + kwargs.get("rr1", 0 if use_lspp_defaults() else None) ), Field( "rt2", int, 56, 8, - kwargs.get("rt2", 0) + kwargs.get("rt2", 0 if use_lspp_defaults() else None) ), Field( "rr2", int, 64, 8, - kwargs.get("rr2", 0) + kwargs.get("rr2", 0 if use_lspp_defaults() else None) ), Field( "local", int, 72, 8, - kwargs.get("local", 2) + kwargs.get("local", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_bearing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_bearing.py index f82535bf5..5bc7d875d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_bearing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_bearing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBearing(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), Field( "n1", @@ -93,35 +94,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("eball", 0.0) + kwargs.get("eball", 0.0 if use_lspp_defaults() else None) ), Field( "prball", float, 10, 10, - kwargs.get("prball", 0.0) + kwargs.get("prball", 0.0 if use_lspp_defaults() else None) ), Field( "erace", float, 20, 10, - kwargs.get("erace", 0.0) + kwargs.get("erace", 0.0 if use_lspp_defaults() else None) ), Field( "prrace", float, 30, 10, - kwargs.get("prrace", 0.0) + kwargs.get("prrace", 0.0 if use_lspp_defaults() else None) ), Field( "stresl", float, 40, 10, - kwargs.get("stresl", 0.0) + kwargs.get("stresl", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -132,28 +133,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("d", 0.0) + kwargs.get("d", 0.0 if use_lspp_defaults() else None) ), Field( "di", float, 10, 10, - kwargs.get("di", 0.0) + kwargs.get("di", 0.0 if use_lspp_defaults() else None) ), Field( "do", float, 20, 10, - kwargs.get("do", 0.0) + kwargs.get("do", 0.0 if use_lspp_defaults() else None) ), Field( "dm", float, 30, 10, - kwargs.get("dm", 0.0) + kwargs.get("dm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,28 +165,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ao", 0.0) + kwargs.get("ao", 0.0 if use_lspp_defaults() else None) ), Field( "ai", float, 10, 10, - kwargs.get("ai", 0.0) + kwargs.get("ai", 0.0 if use_lspp_defaults() else None) ), Field( "bo", float, 20, 10, - kwargs.get("bo", 0.0) + kwargs.get("bo", 0.0 if use_lspp_defaults() else None) ), Field( "pd", float, 30, 10, - kwargs.get("pd", 0.0) + kwargs.get("pd", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -196,42 +197,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ipflag", 0) + kwargs.get("ipflag", 0 if use_lspp_defaults() else None) ), Field( "xtran", float, 10, 10, - kwargs.get("xtran", 0.0) + kwargs.get("xtran", 0.0 if use_lspp_defaults() else None) ), Field( "ytran", float, 20, 10, - kwargs.get("ytran", 0.0) + kwargs.get("ytran", 0.0 if use_lspp_defaults() else None) ), Field( "ztran", float, 30, 10, - kwargs.get("ztran", 0.0) + kwargs.get("ztran", 0.0 if use_lspp_defaults() else None) ), Field( "xrot", float, 40, 10, - kwargs.get("xrot", 0.0) + kwargs.get("xrot", 0.0 if use_lspp_defaults() else None) ), Field( "yrot", float, 50, 10, - kwargs.get("yrot", 0.0) + kwargs.get("yrot", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_blanking.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_blanking.py index 282e396a1..669e46578 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_blanking.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_blanking.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementBlanking(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input.py index 79703f945..e796fad5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementDirectMatrixInput(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input_binary.py index 5d87e5b9b..fb1af5aa7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_direct_matrix_input_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementDirectMatrixInputBinary(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete.py index ccce81aaa..50c7d19aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_lco.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_lco.py index 36376f7f6..b841fd3d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_lco.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_lco.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementDiscreteLco(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 32, 8, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "s", float, 40, 16, - kwargs.get("s", 1.0) + kwargs.get("s", 1.0 if use_lspp_defaults() else None) ), Field( "pf", int, 56, 8, - kwargs.get("pf", 0) + kwargs.get("pf", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 64, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere.py index 82d1c438f..d8c944890 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementDiscreteSphere(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), Field( "inertia", float, 30, 10, - kwargs.get("inertia", 0.0) + kwargs.get("inertia", 0.0 if use_lspp_defaults() else None) ), Field( "radii", float, 40, 10, - kwargs.get("radii", 0.0) + kwargs.get("radii", 0.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere_volume.py index 979ad7b4b..9239256d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_discrete_sphere_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementDiscreteSphereVolume(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("volume", 0.0) + kwargs.get("volume", 0.0 if use_lspp_defaults() else None) ), Field( "inertia", float, 30, 10, - kwargs.get("inertia", 0.0) + kwargs.get("inertia", 0.0 if use_lspp_defaults() else None) ), Field( "radii", float, 40, 10, - kwargs.get("radii", 0.0) + kwargs.get("radii", 0.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_shell.py index b4eafbc11..38e0ac54f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementGeneralizedShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_solid.py index e61c4f5ba..e06b05e83 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_generalized_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementGeneralizedSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia.py index 1cfdce673..a1acef428 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementInertia(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ixx", 0.0) + kwargs.get("ixx", 0.0 if use_lspp_defaults() else None) ), Field( "ixy", float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", float, 30, 10, - kwargs.get("iyy", 0.0) + kwargs.get("iyy", 0.0 if use_lspp_defaults() else None) ), Field( "iyz", float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), Field( "mass", float, 60, 10, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia_offset.py index cb906c10a..47308a63f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_inertia_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementInertiaOffset(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ixx", 0.0) + kwargs.get("ixx", 0.0 if use_lspp_defaults() else None) ), Field( "ixy", float, 10, 10, - kwargs.get("ixy", 0.0) + kwargs.get("ixy", 0.0 if use_lspp_defaults() else None) ), Field( "ixz", float, 20, 10, - kwargs.get("ixz", 0.0) + kwargs.get("ixz", 0.0 if use_lspp_defaults() else None) ), Field( "iyy", float, 30, 10, - kwargs.get("iyy", 0.0) + kwargs.get("iyy", 0.0 if use_lspp_defaults() else None) ), Field( "iyz", float, 40, 10, - kwargs.get("iyz", 0.0) + kwargs.get("iyz", 0.0 if use_lspp_defaults() else None) ), Field( "izz", float, 50, 10, - kwargs.get("izz", 0.0) + kwargs.get("izz", 0.0 if use_lspp_defaults() else None) ), Field( "mass", float, 60, 10, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,21 +119,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x-off", 0.0) + kwargs.get("x-off", 0.0 if use_lspp_defaults() else None) ), Field( "y_off", float, 10, 10, - kwargs.get("y_off", 0.0) + kwargs.get("y_off", 0.0 if use_lspp_defaults() else None) ), Field( "z_off", float, 20, 10, - kwargs.get("z_off", 0.0) + kwargs.get("z_off", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_shell.py index 7e7e1c8b7..0641f1176 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementInterpolationShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_solid.py index ff774a138..c3e545df8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_interpolation_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementInterpolationSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_lancing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_lancing.py index dd76b2a0b..ab469cab7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_lancing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_lancing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementLancing(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass.py index 8b50ca703..c0382886c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMass(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 16, 16, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), Field( "pid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix.py index e44fcf9de..b87268cf2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMassMatrix(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m11", 0.0) + kwargs.get("m11", 0.0 if use_lspp_defaults() else None) ), Field( "m21", float, 10, 10, - kwargs.get("m21", 0.0) + kwargs.get("m21", 0.0 if use_lspp_defaults() else None) ), Field( "m22", float, 20, 10, - kwargs.get("m22", 0.0) + kwargs.get("m22", 0.0 if use_lspp_defaults() else None) ), Field( "m31", float, 30, 10, - kwargs.get("m31", 0.0) + kwargs.get("m31", 0.0 if use_lspp_defaults() else None) ), Field( "m32", float, 40, 10, - kwargs.get("m32", 0.0) + kwargs.get("m32", 0.0 if use_lspp_defaults() else None) ), Field( "m33", float, 50, 10, - kwargs.get("m33", 0.0) + kwargs.get("m33", 0.0 if use_lspp_defaults() else None) ), Field( "m41", float, 60, 10, - kwargs.get("m41", 0.0) + kwargs.get("m41", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,49 +119,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m41", 0.0) + kwargs.get("m41", 0.0 if use_lspp_defaults() else None) ), Field( "m43", float, 10, 10, - kwargs.get("m43", 0.0) + kwargs.get("m43", 0.0 if use_lspp_defaults() else None) ), Field( "m44", float, 20, 10, - kwargs.get("m44", 0.0) + kwargs.get("m44", 0.0 if use_lspp_defaults() else None) ), Field( "m51", float, 30, 10, - kwargs.get("m51", 0.0) + kwargs.get("m51", 0.0 if use_lspp_defaults() else None) ), Field( "m52", float, 40, 10, - kwargs.get("m52", 0.0) + kwargs.get("m52", 0.0 if use_lspp_defaults() else None) ), Field( "m53", float, 50, 10, - kwargs.get("m53", 0.0) + kwargs.get("m53", 0.0 if use_lspp_defaults() else None) ), Field( "m54", float, 60, 10, - kwargs.get("m54", 0.0) + kwargs.get("m54", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,49 +172,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m55", 0.0) + kwargs.get("m55", 0.0 if use_lspp_defaults() else None) ), Field( "m61", float, 10, 10, - kwargs.get("m61", 0.0) + kwargs.get("m61", 0.0 if use_lspp_defaults() else None) ), Field( "m62", float, 20, 10, - kwargs.get("m62", 0.0) + kwargs.get("m62", 0.0 if use_lspp_defaults() else None) ), Field( "m63", float, 30, 10, - kwargs.get("m63", 0.0) + kwargs.get("m63", 0.0 if use_lspp_defaults() else None) ), Field( "m64", float, 40, 10, - kwargs.get("m64", 0.0) + kwargs.get("m64", 0.0 if use_lspp_defaults() else None) ), Field( "m65", float, 50, 10, - kwargs.get("m65", 0.0) + kwargs.get("m65", 0.0 if use_lspp_defaults() else None) ), Field( "m66", float, 60, 10, - kwargs.get("m66", 0.0) + kwargs.get("m66", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix_node_set.py index 3f72ccf7a..26fdf8c91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_matrix_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMassMatrixNodeSet(KeywordBase): @@ -65,49 +66,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m11", 0.0) + kwargs.get("m11", 0.0 if use_lspp_defaults() else None) ), Field( "m21", float, 10, 10, - kwargs.get("m21", 0.0) + kwargs.get("m21", 0.0 if use_lspp_defaults() else None) ), Field( "m22", float, 20, 10, - kwargs.get("m22", 0.0) + kwargs.get("m22", 0.0 if use_lspp_defaults() else None) ), Field( "m31", float, 30, 10, - kwargs.get("m31", 0.0) + kwargs.get("m31", 0.0 if use_lspp_defaults() else None) ), Field( "m32", float, 40, 10, - kwargs.get("m32", 0.0) + kwargs.get("m32", 0.0 if use_lspp_defaults() else None) ), Field( "m33", float, 50, 10, - kwargs.get("m33", 0.0) + kwargs.get("m33", 0.0 if use_lspp_defaults() else None) ), Field( "m41", float, 60, 10, - kwargs.get("m41", 0.0) + kwargs.get("m41", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -118,49 +119,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m41", 0.0) + kwargs.get("m41", 0.0 if use_lspp_defaults() else None) ), Field( "m43", float, 10, 10, - kwargs.get("m43", 0.0) + kwargs.get("m43", 0.0 if use_lspp_defaults() else None) ), Field( "m44", float, 20, 10, - kwargs.get("m44", 0.0) + kwargs.get("m44", 0.0 if use_lspp_defaults() else None) ), Field( "m51", float, 30, 10, - kwargs.get("m51", 0.0) + kwargs.get("m51", 0.0 if use_lspp_defaults() else None) ), Field( "m52", float, 40, 10, - kwargs.get("m52", 0.0) + kwargs.get("m52", 0.0 if use_lspp_defaults() else None) ), Field( "m53", float, 50, 10, - kwargs.get("m53", 0.0) + kwargs.get("m53", 0.0 if use_lspp_defaults() else None) ), Field( "m54", float, 60, 10, - kwargs.get("m54", 0.0) + kwargs.get("m54", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,49 +172,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m55", 0.0) + kwargs.get("m55", 0.0 if use_lspp_defaults() else None) ), Field( "m61", float, 10, 10, - kwargs.get("m61", 0.0) + kwargs.get("m61", 0.0 if use_lspp_defaults() else None) ), Field( "m62", float, 20, 10, - kwargs.get("m62", 0.0) + kwargs.get("m62", 0.0 if use_lspp_defaults() else None) ), Field( "m63", float, 30, 10, - kwargs.get("m63", 0.0) + kwargs.get("m63", 0.0 if use_lspp_defaults() else None) ), Field( "m64", float, 40, 10, - kwargs.get("m64", 0.0) + kwargs.get("m64", 0.0 if use_lspp_defaults() else None) ), Field( "m65", float, 50, 10, - kwargs.get("m65", 0.0) + kwargs.get("m65", 0.0 if use_lspp_defaults() else None) ), Field( "m66", float, 60, 10, - kwargs.get("m66", 0.0) + kwargs.get("m66", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_node_set.py index d677ff657..e832ff43d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMassNodeSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 16, 16, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), Field( "pid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part.py index 90f056075..2e7e027a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMassPart(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("addmass", 0.0) + kwargs.get("addmass", 0.0 if use_lspp_defaults() else None) ), Field( "finmass", float, 24, 16, - kwargs.get("finmass", 0.0) + kwargs.get("finmass", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part_set.py index 67bf4b232..e6c7231db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_mass_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementMassPartSet(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("addmass", 0.0) + kwargs.get("addmass", 0.0 if use_lspp_defaults() else None) ), Field( "finmass", float, 24, 16, - kwargs.get("finmass", 0.0) + kwargs.get("finmass", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_nurbs_patch_2d_trimmed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_nurbs_patch_2d_trimmed.py index 137c88a25..08382f348 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_nurbs_patch_2d_trimmed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_nurbs_patch_2d_trimmed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementNurbsPatch2DTrimmed(KeywordBase): @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "int", int, 20, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -135,7 +136,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("idfne", 0) + kwargs.get("idfne", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_plotel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_plotel.py index 062ce16ed..bf5f6da24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_plotel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_plotel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementPlotel(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt.py index 2f02a3970..ac9d42dfa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbelt(KeywordBase): @@ -75,7 +76,7 @@ def __init__(self, **kwargs): float, 40, 16, - kwargs.get("slen", 0.0) + kwargs.get("slen", 0.0 if use_lspp_defaults() else None) ), Field( "n3", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_accelerometer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_accelerometer.py index dcc4923c9..11b0f3f0c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_accelerometer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_accelerometer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbeltAccelerometer(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbacid", 0) + kwargs.get("sbacid", 0 if use_lspp_defaults() else None) ), Field( "nid1", int, 10, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 20, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "nid3", int, 30, 10, - kwargs.get("nid3", 0) + kwargs.get("nid3", 0 if use_lspp_defaults() else None) ), Field( "igrav", int, 40, 10, - kwargs.get("igrav", 0) + kwargs.get("igrav", 0 if use_lspp_defaults() else None) ), Field( "intopt", int, 50, 10, - kwargs.get("intopt", 0) + kwargs.get("intopt", 0 if use_lspp_defaults() else None) ), Field( "mass", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_pretensioner.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_pretensioner.py index b1c45914a..cd6c4b281 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_pretensioner.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_pretensioner.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbeltPretensioner(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbprid", 0) + kwargs.get("sbprid", 0 if use_lspp_defaults() else None) ), Field( "sbprty", int, 10, 10, - kwargs.get("sbprty", 1) + kwargs.get("sbprty", 1 if use_lspp_defaults() else None) ), Field( "sbsid1", int, 20, 10, - kwargs.get("sbsid1", 0) + kwargs.get("sbsid1", 0 if use_lspp_defaults() else None) ), Field( "sbsid2", int, 30, 10, - kwargs.get("sbsid2", 0) + kwargs.get("sbsid2", 0 if use_lspp_defaults() else None) ), Field( "sbsid3", int, 40, 10, - kwargs.get("sbsid3", 0) + kwargs.get("sbsid3", 0 if use_lspp_defaults() else None) ), Field( "sbsid4", int, 50, 10, - kwargs.get("sbsid4", 0) + kwargs.get("sbsid4", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,28 +87,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbrid", 0) + kwargs.get("sbrid", 0 if use_lspp_defaults() else None) ), Field( "time", float, 10, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), Field( "ptlcid", int, 20, 10, - kwargs.get("ptlcid", 0) + kwargs.get("ptlcid", 0 if use_lspp_defaults() else None) ), Field( "lmtfrc", float, 30, 10, - kwargs.get("lmtfrc", 0.0) + kwargs.get("lmtfrc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_retractor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_retractor.py index f57ad749a..9059f0daf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_retractor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_retractor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbeltRetractor(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("sid1", 0) + kwargs.get("sid1", 0 if use_lspp_defaults() else None) ), Field( "sid2", int, 40, 10, - kwargs.get("sid2", 0) + kwargs.get("sid2", 0 if use_lspp_defaults() else None) ), Field( "sid3", int, 50, 10, - kwargs.get("sid3", 0) + kwargs.get("sid3", 0 if use_lspp_defaults() else None) ), Field( "sid4", int, 60, 10, - kwargs.get("sid4", 0) + kwargs.get("sid4", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,35 +94,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tdel", 0.0) + kwargs.get("tdel", 0.0 if use_lspp_defaults() else None) ), Field( "pull", float, 10, 10, - kwargs.get("pull", 0.0) + kwargs.get("pull", 0.0 if use_lspp_defaults() else None) ), Field( "llcid", int, 20, 10, - kwargs.get("llcid", 0) + kwargs.get("llcid", 0 if use_lspp_defaults() else None) ), Field( "ulcid", int, 30, 10, - kwargs.get("ulcid", 0) + kwargs.get("ulcid", 0 if use_lspp_defaults() else None) ), Field( "lfed", float, 40, 10, - kwargs.get("lfed", 0.0) + kwargs.get("lfed", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_sensor.py index 580f18ff2..7edf8d2e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbeltSensor(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbsid", 0) + kwargs.get("sbsid", 0 if use_lspp_defaults() else None) ), Field( "sbstyp", int, 10, 10, - kwargs.get("sbstyp", 1) + kwargs.get("sbstyp", 1 if use_lspp_defaults() else None) ), Field( "sbsfl", int, 20, 10, - kwargs.get("sbsfl", 0) + kwargs.get("sbsfl", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "acc", float, 20, 10, - kwargs.get("acc", 0.0) + kwargs.get("acc", 0.0 if use_lspp_defaults() else None) ), Field( "atime", float, 30, 10, - kwargs.get("atime", 0.0) + kwargs.get("atime", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -97,21 +98,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbrid", 0) + kwargs.get("sbrid", 0 if use_lspp_defaults() else None) ), Field( "pulrat", float, 10, 10, - kwargs.get("pulrat", 0.0) + kwargs.get("pulrat", 0.0 if use_lspp_defaults() else None) ), Field( "pultim", float, 20, 10, - kwargs.get("pultim", 0.0) + kwargs.get("pultim", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -122,7 +123,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("time", 0.0) + kwargs.get("time", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -133,28 +134,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nid1", 0) + kwargs.get("nid1", 0 if use_lspp_defaults() else None) ), Field( "nid2", int, 10, 10, - kwargs.get("nid2", 0) + kwargs.get("nid2", 0 if use_lspp_defaults() else None) ), Field( "dmx", float, 20, 10, - kwargs.get("dmx", 0.0) + kwargs.get("dmx", 0.0 if use_lspp_defaults() else None) ), Field( "dmn", float, 30, 10, - kwargs.get("dmn", 0.0) + kwargs.get("dmn", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbrid", 0) + kwargs.get("sbrid", 0 if use_lspp_defaults() else None) ), Field( "pulmx", float, 10, 10, - kwargs.get("pulmx", 1.0E+16) + kwargs.get("pulmx", 1.0E+16 if use_lspp_defaults() else None) ), Field( "pulmn", float, 20, 10, - kwargs.get("pulmn", -1.0E+16) + kwargs.get("pulmn", -1.0E+16 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_slipring.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_slipring.py index 2e2d838a3..d09af4f1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_slipring.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_seatbelt_slipring.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSeatbeltSlipring(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sbsrid", 0) + kwargs.get("sbsrid", 0 if use_lspp_defaults() else None) ), Field( "sbid1", int, 10, 10, - kwargs.get("sbid1", 0) + kwargs.get("sbid1", 0 if use_lspp_defaults() else None) ), Field( "sbid2", int, 20, 10, - kwargs.get("sbid2", 0) + kwargs.get("sbid2", 0 if use_lspp_defaults() else None) ), Field( "fc", float, 30, 10, - kwargs.get("fc", 0.0) + kwargs.get("fc", 0.0 if use_lspp_defaults() else None) ), Field( "sbrnid", int, 40, 10, - kwargs.get("sbrnid", 0) + kwargs.get("sbrnid", 0 if use_lspp_defaults() else None) ), Field( "ltime", float, 50, 10, - kwargs.get("ltime", 1.0e20) + kwargs.get("ltime", 1.0e20 if use_lspp_defaults() else None) ), Field( "fcs", float, 60, 10, - kwargs.get("fcs", 0.0) + kwargs.get("fcs", 0.0 if use_lspp_defaults() else None) ), Field( "onid", @@ -135,14 +136,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcnffd", 0) + kwargs.get("lcnffd", 0 if use_lspp_defaults() else None) ), Field( "lcnffs", int, 60, 10, - kwargs.get("lcnffs", 0) + kwargs.get("lcnffs", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell.py index 08fdfae91..a701aab3c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta.py index 8545fea95..4f60884a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBeta(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite.py index a3641905b..5480643ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBetaComposite(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite_long.py index b941c160c..f6ba8b64c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_composite_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBetaCompositeLong(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset.py index 502cc7604..8878a45a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBetaOffset(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite.py index d33edfa1b..1f0825fbc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBetaOffsetComposite(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite_long.py index 6d2f490e4..616a2eceb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_beta_offset_composite_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBetaOffsetCompositeLong(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_bext_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_bext_patch.py index f3d2b6995..aee4fe067 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_bext_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_bext_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellBextPatch(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "int", int, 20, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "nl", @@ -118,7 +119,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("shpe", 0) + kwargs.get("shpe", 0 if use_lspp_defaults() else None) ), Field( "pr", @@ -139,21 +140,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("bdry", 0) + kwargs.get("bdry", 0 if use_lspp_defaults() else None) ), Field( "trm", int, 40, 10, - kwargs.get("trm", 0) + kwargs.get("trm", 0 if use_lspp_defaults() else None) ), Field( "smth", int, 50, 10, - kwargs.get("smth", 0) + kwargs.get("smth", 0 if use_lspp_defaults() else None) ), ], ), @@ -164,56 +165,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("b1", 0) + kwargs.get("b1", 0 if use_lspp_defaults() else None) ), Field( "b2", int, 10, 10, - kwargs.get("b2", 0) + kwargs.get("b2", 0 if use_lspp_defaults() else None) ), Field( "b3", int, 20, 10, - kwargs.get("b3", 0) + kwargs.get("b3", 0 if use_lspp_defaults() else None) ), Field( "b4", int, 30, 10, - kwargs.get("b4", 0) + kwargs.get("b4", 0 if use_lspp_defaults() else None) ), Field( "b5", int, 40, 10, - kwargs.get("b5", 0) + kwargs.get("b5", 0 if use_lspp_defaults() else None) ), Field( "b6", int, 50, 10, - kwargs.get("b6", 0) + kwargs.get("b6", 0 if use_lspp_defaults() else None) ), Field( "b7", int, 60, 10, - kwargs.get("b7", 0) + kwargs.get("b7", 0 if use_lspp_defaults() else None) ), Field( "b8", int, 70, 10, - kwargs.get("b8", 0) + kwargs.get("b8", 0 if use_lspp_defaults() else None) ), ], ), @@ -224,56 +225,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("s1", 0) + kwargs.get("s1", 0 if use_lspp_defaults() else None) ), Field( "s2", int, 10, 10, - kwargs.get("s2", 0) + kwargs.get("s2", 0 if use_lspp_defaults() else None) ), Field( "s3", int, 20, 10, - kwargs.get("s3", 0) + kwargs.get("s3", 0 if use_lspp_defaults() else None) ), Field( "s4", int, 30, 10, - kwargs.get("s4", 0) + kwargs.get("s4", 0 if use_lspp_defaults() else None) ), Field( "s5", int, 40, 10, - kwargs.get("s5", 0) + kwargs.get("s5", 0 if use_lspp_defaults() else None) ), Field( "s6", int, 50, 10, - kwargs.get("s6", 0) + kwargs.get("s6", 0 if use_lspp_defaults() else None) ), Field( "s7", int, 60, 10, - kwargs.get("s7", 0) + kwargs.get("s7", 0 if use_lspp_defaults() else None) ), Field( "s8", int, 70, 10, - kwargs.get("s8", 0) + kwargs.get("s8", 0 if use_lspp_defaults() else None) ), ], ), @@ -284,56 +285,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 10, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 20, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 30, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), Field( "n5", int, 40, 10, - kwargs.get("n5", 0) + kwargs.get("n5", 0 if use_lspp_defaults() else None) ), Field( "n6", int, 50, 10, - kwargs.get("n6", 0) + kwargs.get("n6", 0 if use_lspp_defaults() else None) ), Field( "n7", int, 60, 10, - kwargs.get("n7", 0) + kwargs.get("n7", 0 if use_lspp_defaults() else None) ), Field( "n8", int, 70, 10, - kwargs.get("n8", 0) + kwargs.get("n8", 0 if use_lspp_defaults() else None) ), ], ), @@ -344,56 +345,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("w1", 0) + kwargs.get("w1", 0 if use_lspp_defaults() else None) ), Field( "w2", float, 10, 10, - kwargs.get("w2", 0) + kwargs.get("w2", 0 if use_lspp_defaults() else None) ), Field( "w3", float, 20, 10, - kwargs.get("w3", 0) + kwargs.get("w3", 0 if use_lspp_defaults() else None) ), Field( "w4", float, 30, 10, - kwargs.get("w4", 0) + kwargs.get("w4", 0 if use_lspp_defaults() else None) ), Field( "w5", float, 40, 10, - kwargs.get("w5", 0) + kwargs.get("w5", 0 if use_lspp_defaults() else None) ), Field( "w6", float, 50, 10, - kwargs.get("w6", 0) + kwargs.get("w6", 0 if use_lspp_defaults() else None) ), Field( "w7", float, 60, 10, - kwargs.get("w7", 0) + kwargs.get("w7", 0 if use_lspp_defaults() else None) ), Field( "w8", float, 70, 10, - kwargs.get("w8", 0) + kwargs.get("w8", 0 if use_lspp_defaults() else None) ), ], ), @@ -404,56 +405,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("o1", 0) + kwargs.get("o1", 0 if use_lspp_defaults() else None) ), Field( "o2", float, 10, 10, - kwargs.get("o2", 0) + kwargs.get("o2", 0 if use_lspp_defaults() else None) ), Field( "o3", float, 20, 10, - kwargs.get("o3", 0) + kwargs.get("o3", 0 if use_lspp_defaults() else None) ), Field( "o4", float, 30, 10, - kwargs.get("o4", 0) + kwargs.get("o4", 0 if use_lspp_defaults() else None) ), Field( "o5", float, 40, 10, - kwargs.get("o5", 0) + kwargs.get("o5", 0 if use_lspp_defaults() else None) ), Field( "o6", float, 50, 10, - kwargs.get("o6", 0) + kwargs.get("o6", 0 if use_lspp_defaults() else None) ), Field( "o7", float, 60, 10, - kwargs.get("o7", 0) + kwargs.get("o7", 0 if use_lspp_defaults() else None) ), Field( "o8", float, 70, 10, - kwargs.get("o8", 0) + kwargs.get("o8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite.py index 3c5056120..095684de4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellComposite(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite_long.py index b11938368..737db34d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_composite_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellCompositeLong(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_dof.py index d4dd3ac31..2ca06dc51 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellDof(KeywordBase): @@ -128,28 +129,28 @@ def __init__(self, **kwargs): int, 16, 8, - kwargs.get("ns1", 0) + kwargs.get("ns1", 0 if use_lspp_defaults() else None) ), Field( "ns2", int, 24, 8, - kwargs.get("ns2", 0) + kwargs.get("ns2", 0 if use_lspp_defaults() else None) ), Field( "ns3", int, 32, 8, - kwargs.get("ns3", 0) + kwargs.get("ns3", 0 if use_lspp_defaults() else None) ), Field( "ns4", int, 40, 8, - kwargs.get("ns4", 0) + kwargs.get("ns4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid.py index 90c5f1cea..ebd6dec58 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellMcid(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "mcid", int, 64, 16, - kwargs.get("mcid", 0) + kwargs.get("mcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid_offset.py index 37f30a9b3..176115638 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_mcid_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellMcidOffset(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "mcid", int, 64, 16, - kwargs.get("mcid", 0) + kwargs.get("mcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch.py index 3919d997a..e7a4f8562 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellNurbsPatch(KeywordBase): @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "int", int, 20, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -135,7 +136,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("idfne", 0) + kwargs.get("idfne", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_trimmed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_trimmed.py index 9a8b950a7..4952c4dc9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_trimmed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_trimmed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellNurbsPatchTrimmed(KeywordBase): @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "int", int, 20, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -135,7 +136,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("idfne", 0) + kwargs.get("idfne", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_v3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_v3.py index d784615a3..4a584c514 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_v3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_nurbs_patch_v3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellNurbsPatchV3(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "int", int, 20, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "nl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset.py index 536776a26..ba116fab7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellOffset(KeywordBase): @@ -114,7 +115,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite.py index 83e5ebac7..38e07b59d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellOffsetComposite(KeywordBase): @@ -114,7 +115,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite_long.py index c055a00cb..bdc1121fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_offset_composite_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellOffsetCompositeLong(KeywordBase): @@ -114,7 +115,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_shl4_to_shl8.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_shl4_to_shl8.py index 5cd518929..053c57572 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_shl4_to_shl8.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_shl4_to_shl8.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellShl4ToShl8(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_source_sink.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_source_sink.py index 36a978242..f800a454f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_source_sink.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_source_sink.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellSourceSink(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness.py index 865b5b384..bbf9eee96 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card_group import DuplicateCardGroup from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta.py index d11c9f1ca..b938cb135 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellThicknessBeta(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "psi", float, 64, 16, - kwargs.get("psi", 0.0) + kwargs.get("psi", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta_offset.py index 06f53ff1c..98e1122a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_beta_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellThicknessBetaOffset(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid.py index 304a5ac56..9f105c1d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellThicknessMcid(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "mcid", int, 64, 16, - kwargs.get("mcid", 0) + kwargs.get("mcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid_offset.py index 5e633d149..855df32d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_mcid_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellThicknessMcidOffset(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "mcid", int, 64, 16, - kwargs.get("mcid", 0) + kwargs.get("mcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_offset.py index 7bee8f5a9..cd377097b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_shell_thickness_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementShellThicknessOffset(KeywordBase): @@ -114,35 +115,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic1", 0.0) + kwargs.get("thic1", 0.0 if use_lspp_defaults() else None) ), Field( "thic2", float, 16, 16, - kwargs.get("thic2", 0.0) + kwargs.get("thic2", 0.0 if use_lspp_defaults() else None) ), Field( "thic3", float, 32, 16, - kwargs.get("thic3", 0.0) + kwargs.get("thic3", 0.0 if use_lspp_defaults() else None) ), Field( "thic4", float, 48, 16, - kwargs.get("thic4", 0.0) + kwargs.get("thic4", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,28 +154,28 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("thic5", 0.0) + kwargs.get("thic5", 0.0 if use_lspp_defaults() else None) ), Field( "thic6", float, 16, 16, - kwargs.get("thic6", 0.0) + kwargs.get("thic6", 0.0 if use_lspp_defaults() else None) ), Field( "thic7", float, 32, 16, - kwargs.get("thic7", 0.0) + kwargs.get("thic7", 0.0 if use_lspp_defaults() else None) ), Field( "thic8", float, 48, 16, - kwargs.get("thic8", 0.0) + kwargs.get("thic8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,7 +186,7 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof.py index a23385768..ff74db1ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidDof(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof__ten_nodes_format_.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof__ten_nodes_format_.py index 29caf4198..841b36675 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof__ten_nodes_format_.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_dof__ten_nodes_format_.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidDofTenNodesFormat(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20.py index de8f01945..ec25a7326 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH20(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20_dof.py index 2ab630313..658e16356 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h20_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH20Dof(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27.py index 3c46fdfc4..ac357e4ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH27(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27_dof.py index 30ac1f40b..ad4511159 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h27_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH27Dof(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h64.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h64.py index 7734d50d0..68bc86d62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h64.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h64.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH64(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20.py index 203c2f857..7bff4af68 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_dof.py index 15bfcc681..9719d09c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20Dof(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_format2.py index 2e7803cd5..75a826125 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho.py index 700cf1d10..be4e79d57 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20Ortho(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_dof.py index 5b0836fea..4ca91332c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20OrthoDof(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_format2.py index 165ceff4d..d1f9409e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh20_ortho_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh20OrthoFormat2(KeywordBase): @@ -132,21 +133,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -157,21 +158,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27.py index de0719792..223d1e2c6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_dof.py index 90f140a4a..da7d52f72 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27Dof(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_format2.py index 1a2942cca..a3d271ec1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho.py index 2b3768fa6..ab3a4c10b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27Ortho(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_dof.py index 671acd750..0168403b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27OrthoDof(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_format2.py index 4d68e2811..eca66c3f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh27_ortho_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh27OrthoFormat2(KeywordBase): @@ -132,21 +133,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -157,21 +158,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64.py index efb4a2530..61f99e163 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh64(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64_format2.py index a2594619d..8e215e839 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_h8toh64_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidH8Toh64Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_nurbs_patch.py index 82a7584fa..48448a370 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidNurbsPatch(KeywordBase): @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("wfl", 0) + kwargs.get("wfl", 0 if use_lspp_defaults() else None) ), Field( "nisr", @@ -128,7 +129,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("imass", 0) + kwargs.get("imass", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("idfne", 0) + kwargs.get("idfne", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof.py index a4dc7fc87..da09c7ced 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidOrthoDof(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof__ten_nodes_format_.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof__ten_nodes_format_.py index 7309b0e06..c6672bc50 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof__ten_nodes_format_.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_ortho_dof__ten_nodes_format_.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidOrthoDofTenNodesFormat(KeywordBase): @@ -132,21 +133,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -157,21 +158,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p21.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p21.py index d308deb6c..aa30a8c96 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p21.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p21.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidP21(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p40.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p40.py index 167769ec0..7abcff6df 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p40.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p40.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidP40(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21.py index bc52086e6..af48114ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidP6Top21(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21_format2.py index 3f1e10f7b..272f5a32d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_p6top21_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidP6Top21Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_peri.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_peri.py index 4b55d4b0d..17f99c0e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_peri.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_peri.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidPeri(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t15.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t15.py index 138a39e54..594c2c371 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t15.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t15.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT15(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t20.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t20.py index 771453457..156f7cdda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t20.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t20.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT20(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10.py index 663e63fe1..cec36cbfb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT4Tot10(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10_format2.py index 930564492..a1f70a716 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot10_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT4Tot10Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15.py index 8b762a2a9..06c600f4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT4Tot15(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15_format2.py index dff079dfd..d620133d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_t4tot15_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidT4Tot15Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10.py index ec9cf71bc..a5306fc38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidTet4Totet10(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_dof_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_dof_format2.py index 61766b819..249a33ecf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_dof_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_dof_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidTet4Totet10DofFormat2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_format2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_format2.py index a0ab4a5a4..44dd91b73 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_format2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_format2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidTet4Totet10Format2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho.py index e7242ee4d..306b2efd6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidTet4Totet10Ortho(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho_dof.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho_dof.py index 5f4c3991a..7e2a455bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho_dof.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_solid_tet4totet10_ortho_dof.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSolidTet4Totet10OrthoDof(KeywordBase): @@ -114,21 +115,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 16, 16, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 32, 16, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 16, 16, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 32, 16, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_sph.py index 2af7b1146..f46f8be70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementSph(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 16, 16, - kwargs.get("mass", 0.0) + kwargs.get("mass", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_trim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_trim.py index 8d88123b7..158b11610 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_trim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_trim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTrim(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell.py index 459cd6e94..723ed60f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTshell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta.py index 8bb3c7046..cf967e306 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTshellBeta(KeywordBase): @@ -142,7 +143,7 @@ def __init__(self, **kwargs): float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta_composite.py index 6bbc8f2f5..85d72df17 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_beta_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTshellBetaComposite(KeywordBase): @@ -142,7 +143,7 @@ def __init__(self, **kwargs): float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite.py index 2c0481dcb..8bc54269c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTshellComposite(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite_beta.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite_beta.py index 312a5c731..370aba910 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite_beta.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/element_tshell_composite_beta.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ElementTshellCompositeBeta(KeywordBase): @@ -142,7 +143,7 @@ def __init__(self, **kwargs): float, 64, 16, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_2daxi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_2daxi.py index 20a068049..8b2599f65 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_2daxi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_2daxi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Em2Daxi(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_battery_randles.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_battery_randles.py index e2eb509a6..18873a405 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_battery_randles.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_battery_randles.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmBatteryRandles(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("rdlarea", 0) + kwargs.get("rdlarea", 0 if use_lspp_defaults() else None) ), Field( "ccppart", @@ -185,14 +186,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("frtherm", 0) + kwargs.get("frtherm", 0 if use_lspp_defaults() else None) ), Field( "r0toth", int, 20, 10, - kwargs.get("r0toth", 0) + kwargs.get("r0toth", 0 if use_lspp_defaults() else None) ), Field( "dudt", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("tempu", 0) + kwargs.get("tempu", 0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usesocs", 0) + kwargs.get("usesocs", 0 if use_lspp_defaults() else None) ), Field( "tausocs", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary.py index dabc6a000..92cddbc4f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmBoundary(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("btype", 9) + kwargs.get("btype", 9 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary_prescribed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary_prescribed.py index 6b5287a61..04ab55d4a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary_prescribed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_boundary_prescribed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmBoundaryPrescribed(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("bptype", 1) + kwargs.get("bptype", 1 if use_lspp_defaults() else None) ), Field( "settype", int, 20, 10, - kwargs.get("settype", 1) + kwargs.get("settype", 1 if use_lspp_defaults() else None) ), Field( "setid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("val", 0.0) + kwargs.get("val", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -86,14 +87,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("birtht", 0.0) + kwargs.get("birtht", 0.0 if use_lspp_defaults() else None) ), Field( "deatht", float, 10, 10, - kwargs.get("deatht", 1e28) + kwargs.get("deatht", 1e28 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit.py index 2b9e4bcaf..c52ab9ae5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmCircuit(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("circtyp", 1) + kwargs.get("circtyp", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("t0", 0.0) + kwargs.get("t0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_connect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_connect.py index ce03aec41..622d2234d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_connect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_connect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmCircuitConnect(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_rogo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_rogo.py index 8315a01a2..e77d9dcbf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_rogo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_rogo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmCircuitRogo(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("settype", 1) + kwargs.get("settype", 1 if use_lspp_defaults() else None) ), Field( "curtyp", int, 30, 10, - kwargs.get("curtyp", 1) + kwargs.get("curtyp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_source.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_source.py index 4637c8e28..7dd694c57 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_source.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_circuit_source.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmCircuitSource(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("circtyp", 1) + kwargs.get("circtyp", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("t0", 0.0) + kwargs.get("t0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact.py index bc5e85604..b7b5f35e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmContact(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("conttype", 1) + kwargs.get("conttype", 1 if use_lspp_defaults() else None) ), Field( "psidm", @@ -68,21 +69,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("eps1", 0.3) + kwargs.get("eps1", 0.3 if use_lspp_defaults() else None) ), Field( "eps2", float, 50, 10, - kwargs.get("eps2", 0.3) + kwargs.get("eps2", 0.3 if use_lspp_defaults() else None) ), Field( "eps3", float, 60, 10, - kwargs.get("eps3", 0.3) + kwargs.get("eps3", 0.3 if use_lspp_defaults() else None) ), Field( "d0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_resistance.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_resistance.py index 0e3a87372..c6499ee3c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_resistance.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_resistance.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmContactResistance(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ctype", 1) + kwargs.get("ctype", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("jhrtype", 0) + kwargs.get("jhrtype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_subdom.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_subdom.py index 46e592c2b..b3f3199eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_subdom.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_contact_subdom.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmContactSubdom(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sdtype", 1) + kwargs.get("sdtype", 1 if use_lspp_defaults() else None) ), Field( "mvtype", int, 10, 10, - kwargs.get("mvtype", 0) + kwargs.get("mvtype", 0 if use_lspp_defaults() else None) ), Field( "lcidx/nid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control.py index f4ad091e9..28ea8a9b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControl(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("emsol", -1) + kwargs.get("emsol", -1 if use_lspp_defaults() else None) ), Field( "numls", int, 10, 10, - kwargs.get("numls", 100) + kwargs.get("numls", 100 if use_lspp_defaults() else None) ), Field( "macrodt", @@ -61,14 +62,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("dimtype", 0) + kwargs.get("dimtype", 0 if use_lspp_defaults() else None) ), Field( "nperio", int, 40, 10, - kwargs.get("nperio", 2) + kwargs.get("nperio", 2 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("ncylfem", 5000) + kwargs.get("ncylfem", 5000 if use_lspp_defaults() else None) ), Field( "ncylbem", int, 70, 10, - kwargs.get("ncylbem", 5000) + kwargs.get("ncylbem", 5000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_contact.py index 2cb03b015..8dfca2517 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlContact(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("emct", 0) + kwargs.get("emct", 0 if use_lspp_defaults() else None) ), Field( "cconly", int, 10, 10, - kwargs.get("cconly", 0) + kwargs.get("cconly", 0 if use_lspp_defaults() else None) ), Field( "ctype", int, 20, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "cotype", int, 30, 10, - kwargs.get("cotype", 0) + kwargs.get("cotype", 0 if use_lspp_defaults() else None) ), Field( "eps1", float, 40, 10, - kwargs.get("eps1", 0.3) + kwargs.get("eps1", 0.3 if use_lspp_defaults() else None) ), Field( "eps2", float, 50, 10, - kwargs.get("eps2", 0.3) + kwargs.get("eps2", 0.3 if use_lspp_defaults() else None) ), Field( "eps3", float, 60, 10, - kwargs.get("eps3", 0.3) + kwargs.get("eps3", 0.3 if use_lspp_defaults() else None) ), Field( "d0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_coupling.py index f8935dd80..bd8fe352c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlCoupling(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("thcoupl", 0) + kwargs.get("thcoupl", 0 if use_lspp_defaults() else None) ), Field( "smcoupl", int, 10, 10, - kwargs.get("smcoupl", 0) + kwargs.get("smcoupl", 0 if use_lspp_defaults() else None) ), Field( "thlcid", int, 20, 10, - kwargs.get("thlcid", 0) + kwargs.get("thlcid", 0 if use_lspp_defaults() else None) ), Field( "smlcid", int, 30, 10, - kwargs.get("smlcid", 0) + kwargs.get("smlcid", 0 if use_lspp_defaults() else None) ), Field( "thcplfl", int, 40, 10, - kwargs.get("thcplfl", 0) + kwargs.get("thcplfl", 0 if use_lspp_defaults() else None) ), Field( "smcplfl", int, 50, 10, - kwargs.get("smcplfl", 0) + kwargs.get("smcplfl", 0 if use_lspp_defaults() else None) ), Field( "cflag", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("smmod", 0) + kwargs.get("smmod", 0 if use_lspp_defaults() else None) ), Field( "dfx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_ep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_ep.py index 3155655d6..463513b4f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_ep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_ep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlEp(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_erosion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_erosion.py index 96a4dff59..0a98fc827 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_erosion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_erosion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlErosion(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ectrl", 0) + kwargs.get("ectrl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_magent.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_magent.py index 85451e170..84164032f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_magent.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_magent.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlMagent(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mcomp", 0) + kwargs.get("mcomp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_solution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_solution.py index f1db18460..cc1dff4d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_solution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_solution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlSolution(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ncylfem", 5000) + kwargs.get("ncylfem", 5000 if use_lspp_defaults() else None) ), Field( "ncylbem", int, 10, 10, - kwargs.get("ncylbem", 5000) + kwargs.get("ncylbem", 5000 if use_lspp_defaults() else None) ), Field( "autofem", int, 20, 10, - kwargs.get("autofem", 0) + kwargs.get("autofem", 0 if use_lspp_defaults() else None) ), Field( "autobem", int, 30, 10, - kwargs.get("autobem", 0) + kwargs.get("autobem", 0 if use_lspp_defaults() else None) ), Field( "tol1fem", float, 40, 10, - kwargs.get("tol1fem", 0.3) + kwargs.get("tol1fem", 0.3 if use_lspp_defaults() else None) ), Field( "tol2fem", float, 50, 10, - kwargs.get("tol2fem", 0.1) + kwargs.get("tol2fem", 0.1 if use_lspp_defaults() else None) ), Field( "tol1bem", float, 60, 10, - kwargs.get("tol1bem", 0.3) + kwargs.get("tol1bem", 0.3 if use_lspp_defaults() else None) ), Field( "tol2bem", float, 70, 10, - kwargs.get("tol2bem", 0.1) + kwargs.get("tol2bem", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch.py index bf75b23d7..cc31b8c85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlSwitch(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "femcomp", int, 10, 10, - kwargs.get("femcomp", 0) + kwargs.get("femcomp", 0 if use_lspp_defaults() else None) ), Field( "bemcomp", int, 20, 10, - kwargs.get("bemcomp", 0) + kwargs.get("bemcomp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch_contact.py index f9bff4b79..27ab384fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_switch_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlSwitchContact(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "ncylfem", int, 10, 10, - kwargs.get("ncylfem", 0) + kwargs.get("ncylfem", 0 if use_lspp_defaults() else None) ), Field( "ncylfem", int, 20, 10, - kwargs.get("ncylfem", 0) + kwargs.get("ncylfem", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_timestep.py index cc16883dc..b6d1ca788 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_control_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmControlTimestep(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tstype", 1) + kwargs.get("tstype", 1 if use_lspp_defaults() else None) ), Field( "dtcons", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("factor", 1.0) + kwargs.get("factor", 1.0 if use_lspp_defaults() else None) ), Field( "tsmin", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("rlcsf", 25) + kwargs.get("rlcsf", 25 if use_lspp_defaults() else None) ), Field( "mecats", int, 70, 10, - kwargs.get("mecats", 0) + kwargs.get("mecats", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit.py index 5814613d7..887d51cf5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseCircuit(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit0d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit0d.py index 7d689cb89..a212d043f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit0d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_circuit0d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseCircuit0D(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_elout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_elout.py index d6daada22..83c056132 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_elout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_elout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseElout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_fieldline.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_fieldline.py index a64d1b791..778e1a28e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_fieldline.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_fieldline.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseFieldline(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("npoint", 100) + kwargs.get("npoint", 100 if use_lspp_defaults() else None) ), ], ), @@ -72,42 +73,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("integ", 2) + kwargs.get("integ", 2 if use_lspp_defaults() else None) ), Field( "h", float, 10, 10, - kwargs.get("h", 0.0) + kwargs.get("h", 0.0 if use_lspp_defaults() else None) ), Field( "hmin", float, 20, 10, - kwargs.get("hmin", 0.0) + kwargs.get("hmin", 0.0 if use_lspp_defaults() else None) ), Field( "hmax", float, 30, 10, - kwargs.get("hmax", 1e10) + kwargs.get("hmax", 1e10 if use_lspp_defaults() else None) ), Field( "tolabs", float, 40, 10, - kwargs.get("tolabs", 1e-3) + kwargs.get("tolabs", 1e-3 if use_lspp_defaults() else None) ), Field( "tolrel", float, 50, 10, - kwargs.get("tolrel", 1e-5) + kwargs.get("tolrel", 1e-5 if use_lspp_defaults() else None) ), ], ), @@ -118,7 +119,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("btype", 2) + kwargs.get("btype", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_globalenergy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_globalenergy.py index c7781101f..d66cd2295 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_globalenergy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_globalenergy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseGlobalenergy(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_nodout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_nodout.py index 72ef3fe0e..dff1cfd8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_nodout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_nodout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseNodout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_partdata.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_partdata.py index 26c5ad126..c128573a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_partdata.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_partdata.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabasePartdata(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_pointout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_pointout.py index d696a50c0..531dca561 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_pointout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_pointout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabasePointout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_rogo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_rogo.py index ebd78b255..552051131 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_rogo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_rogo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseRogo(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 1) + kwargs.get("outlv", 1 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_timestep.py index 07f1e9dc4..f49ba215c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_database_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmDatabaseTimestep(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_burgess.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_burgess.py index e621ec2ed..06aeb263e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_burgess.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_burgess.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEosBurgess(KeywordBase): @@ -135,14 +136,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("temuni", 1) + kwargs.get("temuni", 1 if use_lspp_defaults() else None) ), Field( "adjust", int, 60, 10, - kwargs.get("adjust", 0) + kwargs.get("adjust", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_meadon.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_meadon.py index 1ebe9ed4d..c39f5793d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_meadon.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_meadon.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEosMeadon(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("temuni", 1) + kwargs.get("temuni", 1 if use_lspp_defaults() else None) ), Field( "v0", @@ -114,7 +115,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("adjust", 0) + kwargs.get("adjust", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_permeability.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_permeability.py index db51164ad..be7354773 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_permeability.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_permeability.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEosPermeability(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("eostype", 1) + kwargs.get("eostype", 1 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated1.py index 59a0f4ef7..5db159792 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEosTabulated1(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated2.py index f18ca25ca..bf530478c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_eos_tabulated2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEosTabulated2(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_definefunction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_definefunction.py index 2b1aa2b47..facd6e2c2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_definefunction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_definefunction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelDefinefunction(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("fswitch", 0) + kwargs.get("fswitch", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fentonkarma.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fentonkarma.py index 39aacff8b..ee48512d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fentonkarma.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fentonkarma.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelFentonkarma(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fitzhughnagumo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fitzhughnagumo.py index d13f93a8e..c68ecfbad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fitzhughnagumo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_fitzhughnagumo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelFitzhughnagumo(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tentusscher.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tentusscher.py index 3a415869c..4850b5412 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tentusscher.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tentusscher.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelTentusscher(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tomek.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tomek.py index cb8ed1440..06b767104 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tomek.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_tomek.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelTomek(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_usermat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_usermat.py index 9b3da4277..8249b22f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_usermat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_cellmodel_usermat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCellmodelUsermat(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_createfiberorientation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_createfiberorientation.py index b47d399b1..e2fccf513 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_createfiberorientation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_createfiberorientation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpCreatefiberorientation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_ekg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_ekg.py index 3a4a1bdcf..871e63a4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_ekg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_ekg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpEkg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_fiberinitial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_fiberinitial.py index 178a969db..21c40deb5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_fiberinitial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_fiberinitial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpFiberinitial(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("stype", 1) + kwargs.get("stype", 1 if use_lspp_defaults() else None) ), Field( "ssid1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_purkinje_network.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_purkinje_network.py index 0c50b7d6e..dc27e521d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_purkinje_network.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_ep_purkinje_network.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmEpPurkinjeNetwork(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_external_field.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_external_field.py index 1c351811e..5f18020b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_external_field.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_external_field.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmExternalField(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ftype", 1) + kwargs.get("ftype", 1 if use_lspp_defaults() else None) ), Field( "fdef", int, 20, 10, - kwargs.get("fdef", 1) + kwargs.get("fdef", 1 if use_lspp_defaults() else None) ), Field( "lcidx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential.py index 4179fe387..73ff90bd1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmIsopotential(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("settype", 1) + kwargs.get("settype", 1 if use_lspp_defaults() else None) ), Field( "setid", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("rdltype", 0) + kwargs.get("rdltype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_connect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_connect.py index 6731fed06..46e8fd96f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_connect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_connect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmIsopotentialConnect(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("contype", 1) + kwargs.get("contype", 1 if use_lspp_defaults() else None) ), Field( "isoid1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_rogo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_rogo.py index ef7afdb52..06af6b3d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_rogo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_isopotential_rogo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmIsopotentialRogo(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("settype", 1) + kwargs.get("settype", 1 if use_lspp_defaults() else None) ), Field( "setid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_001.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_001.py index 09e786629..baf9663b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_001.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_001.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat001(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigma", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("deatht", 1e28) + kwargs.get("deatht", 1e28 if use_lspp_defaults() else None) ), Field( "rdltype", int, 70, 10, - kwargs.get("rdltype", 0) + kwargs.get("rdltype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_002.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_002.py index 6c1ed5f49..b1d7c47cb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_002.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_002.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat002(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigma", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("deatht", 1e28) + kwargs.get("deatht", 1e28 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_003.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_003.py index c6a891fbc..153032dfa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_003.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_003.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat003(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigma11", @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), Field( "lambda", @@ -181,7 +182,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_004.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_004.py index 0361d66f2..54739481d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_004.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_004.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat004(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigma", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nele", 1) + kwargs.get("nele", 1 if use_lspp_defaults() else None) ), Field( "murel", float, 50, 10, - kwargs.get("murel", 1.0) + kwargs.get("murel", 1.0 if use_lspp_defaults() else None) ), Field( "eosmu", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("deatht", 1.0E28) + kwargs.get("deatht", 1.0E28 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_005.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_005.py index 0e7474d71..9c4e8b507 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_005.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_005.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat005(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigmaxxa", @@ -210,7 +211,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), Field( "xp", @@ -259,7 +260,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_006.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_006.py index effb3f43e..6d30f33c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_006.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_mat_006.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmMat006(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "sigp", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("deatht", 1.0E28) + kwargs.get("deatht", 1.0E28 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_output.py index d2f3d05bf..6e7e3ec95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmOutput(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mats", 0) + kwargs.get("mats", 0 if use_lspp_defaults() else None) ), Field( "matf", int, 10, 10, - kwargs.get("matf", 0) + kwargs.get("matf", 0 if use_lspp_defaults() else None) ), Field( "sols", int, 20, 10, - kwargs.get("sols", 0) + kwargs.get("sols", 0 if use_lspp_defaults() else None) ), Field( "solf", int, 30, 10, - kwargs.get("solf", 0) + kwargs.get("solf", 0 if use_lspp_defaults() else None) ), Field( "mesh", int, 40, 10, - kwargs.get("mesh", 0) + kwargs.get("mesh", 0 if use_lspp_defaults() else None) ), Field( "mem", int, 50, 10, - kwargs.get("mem", 0) + kwargs.get("mem", 0 if use_lspp_defaults() else None) ), Field( "timing", int, 60, 10, - kwargs.get("timing", 0) + kwargs.get("timing", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_permanent_magnet.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_permanent_magnet.py index b0b5d36f6..f07bc1a89 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_permanent_magnet.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_permanent_magnet.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmPermanentMagnet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "north", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_point_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_point_set.py index 97db05e7a..de8bd8926 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_point_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_point_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmPointSet(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "pstype", int, 10, 10, - kwargs.get("pstype", 0) + kwargs.get("pstype", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 20, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 30, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 40, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("pos", 0) + kwargs.get("pos", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_batmac.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_batmac.py index 47eefff6a..4ab51eaec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_batmac.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_batmac.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesBatmac(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("rdltype", 0) + kwargs.get("rdltype", 0 if use_lspp_defaults() else None) ), Field( "rdlarea", int, 20, 10, - kwargs.get("rdlarea", 1) + kwargs.get("rdlarea", 1 if use_lspp_defaults() else None) ), Field( "psid", @@ -211,21 +212,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("temp", 0.0) + kwargs.get("temp", 0.0 if use_lspp_defaults() else None) ), Field( "frther", int, 10, 10, - kwargs.get("frther", 0) + kwargs.get("frther", 0 if use_lspp_defaults() else None) ), Field( "r0toth", int, 20, 10, - kwargs.get("r0toth", 0) + kwargs.get("r0toth", 0 if use_lspp_defaults() else None) ), Field( "dudt", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("tempu", 0) + kwargs.get("tempu", 0 if use_lspp_defaults() else None) ), ], ), @@ -250,7 +251,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usesocs", 0) + kwargs.get("usesocs", 0 if use_lspp_defaults() else None) ), Field( "tau", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_exothermic_reaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_exothermic_reaction.py index 4d4c713ba..1f7cfb921 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_exothermic_reaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_exothermic_reaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesExothermicReaction(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("areatype", 2) + kwargs.get("areatype", 2 if use_lspp_defaults() else None) ), Field( "funcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_layered.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_layered.py index d37748fc3..d8a1efbcd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_layered.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_layered.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesLayered(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_meshless.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_meshless.py index 6ab4a3c0e..9e4f58105 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_meshless.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_meshless.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesMeshless(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("rdltype", 0) + kwargs.get("rdltype", 0 if use_lspp_defaults() else None) ), ], ), @@ -224,7 +225,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("tempu", 0) + kwargs.get("tempu", 0 if use_lspp_defaults() else None) ), ], ), @@ -235,7 +236,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usesocs", 0) + kwargs.get("usesocs", 0 if use_lspp_defaults() else None) ), Field( "tau", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_short.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_short.py index e6d4ff4de..14a090163 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_short.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_short.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesShort(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("areatype", 2) + kwargs.get("areatype", 2 if use_lspp_defaults() else None) ), Field( "funcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_solid.py index cb1d4075f..5d07ef265 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesSolid(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("rdltype", -1) + kwargs.get("rdltype", -1 if use_lspp_defaults() else None) ), Field( "rdlarea", int, 20, 10, - kwargs.get("rdlarea", 2) + kwargs.get("rdlarea", 2 if use_lspp_defaults() else None) ), Field( "ccppart", @@ -239,35 +240,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("temp", 0.0) + kwargs.get("temp", 0.0 if use_lspp_defaults() else None) ), Field( "frther", int, 10, 10, - kwargs.get("frther", 0) + kwargs.get("frther", 0 if use_lspp_defaults() else None) ), Field( "r0toth", int, 20, 10, - kwargs.get("r0toth", 0) + kwargs.get("r0toth", 0 if use_lspp_defaults() else None) ), Field( "dudt", float, 30, 10, - kwargs.get("dudt", 0) + kwargs.get("dudt", 0 if use_lspp_defaults() else None) ), Field( "tempu", int, 40, 10, - kwargs.get("tempu", 0) + kwargs.get("tempu", 0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usesocs", 0) + kwargs.get("usesocs", 0 if use_lspp_defaults() else None) ), Field( "tau", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_tshell.py index caf50912d..64bcb84b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_randles_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRandlesTshell(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("rdlarea", 2) + kwargs.get("rdlarea", 2 if use_lspp_defaults() else None) ), Field( "psid", @@ -211,35 +212,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("temp", 0.0) + kwargs.get("temp", 0.0 if use_lspp_defaults() else None) ), Field( "frther", int, 10, 10, - kwargs.get("frther", 0) + kwargs.get("frther", 0 if use_lspp_defaults() else None) ), Field( "r0toth", int, 20, 10, - kwargs.get("r0toth", 0) + kwargs.get("r0toth", 0 if use_lspp_defaults() else None) ), Field( "dudt", float, 30, 10, - kwargs.get("dudt", 0) + kwargs.get("dudt", 0 if use_lspp_defaults() else None) ), Field( "tempu", int, 40, 10, - kwargs.get("tempu", 0) + kwargs.get("tempu", 0 if use_lspp_defaults() else None) ), ], ), @@ -250,7 +251,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("usesocs", 0) + kwargs.get("usesocs", 0 if use_lspp_defaults() else None) ), Field( "tau", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_rotation_axis.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_rotation_axis.py index 37d370b06..ec2481ece 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_rotation_axis.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_rotation_axis.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmRotationAxis(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bem.py index af82bbf3a..54723b286 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmSolverBem(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("reltol", 1.e-6) + kwargs.get("reltol", 1.e-6 if use_lspp_defaults() else None) ), Field( "maxite", int, 10, 10, - kwargs.get("maxite", 1000) + kwargs.get("maxite", 1000 if use_lspp_defaults() else None) ), Field( "stype", int, 20, 10, - kwargs.get("stype", 2) + kwargs.get("stype", 2 if use_lspp_defaults() else None) ), Field( "precon", int, 30, 10, - kwargs.get("precon", 2) + kwargs.get("precon", 2 if use_lspp_defaults() else None) ), Field( "uselast", int, 40, 10, - kwargs.get("uselast", 1) + kwargs.get("uselast", 1 if use_lspp_defaults() else None) ), Field( "ncyclbem", int, 50, 10, - kwargs.get("ncyclbem", 5000) + kwargs.get("ncyclbem", 5000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bemmat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bemmat.py index 30a07108e..00ae024ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bemmat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_bemmat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmSolverBemmat(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("matid", 1) + kwargs.get("matid", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("reltol", 1.e-6) + kwargs.get("reltol", 1.e-6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fem.py index e49e1e627..834e3e8c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmSolverFem(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("reltol", 1e-3) + kwargs.get("reltol", 1e-3 if use_lspp_defaults() else None) ), Field( "maxite", int, 10, 10, - kwargs.get("maxite", 1000) + kwargs.get("maxite", 1000 if use_lspp_defaults() else None) ), Field( "stype", int, 20, 10, - kwargs.get("stype", 1) + kwargs.get("stype", 1 if use_lspp_defaults() else None) ), Field( "precon", int, 30, 10, - kwargs.get("precon", 1) + kwargs.get("precon", 1 if use_lspp_defaults() else None) ), Field( "uselast", int, 40, 10, - kwargs.get("uselast", 1) + kwargs.get("uselast", 1 if use_lspp_defaults() else None) ), Field( "ncyclfem", int, 50, 10, - kwargs.get("ncyclfem", 5000) + kwargs.get("ncyclfem", 5000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem.py index b99f31652..fc0c4ef15 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmSolverFembem(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("reltol", 1.e-2) + kwargs.get("reltol", 1.e-2 if use_lspp_defaults() else None) ), Field( "maxite", int, 10, 10, - kwargs.get("maxite", 50) + kwargs.get("maxite", 50 if use_lspp_defaults() else None) ), Field( "forcon", int, 20, 10, - kwargs.get("forcon", 0) + kwargs.get("forcon", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem_monolithic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem_monolithic.py index c312229b6..e145a140a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem_monolithic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_solver_fembem_monolithic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmSolverFembemMonolithic(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "stype", int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "abstol", float, 20, 10, - kwargs.get("abstol", 1.0E-6) + kwargs.get("abstol", 1.0E-6 if use_lspp_defaults() else None) ), Field( "reltol", float, 30, 10, - kwargs.get("reltol", 1.0E-4) + kwargs.get("reltol", 1.0E-4 if use_lspp_defaults() else None) ), Field( "maxit", int, 40, 10, - kwargs.get("maxit", 500) + kwargs.get("maxit", 500 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_voltage_drop.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_voltage_drop.py index 06fc9d577..b394a2b23 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/em_voltage_drop.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/em_voltage_drop.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EmVoltageDrop(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_001.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_001.py index 78f9421bd..9dc3db41a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_001.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_001.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos001(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c0", 0.0) + kwargs.get("c0", 0.0 if use_lspp_defaults() else None) ), Field( "c1", float, 20, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 30, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 40, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "c4", float, 50, 10, - kwargs.get("c4", 0.0) + kwargs.get("c4", 0.0 if use_lspp_defaults() else None) ), Field( "c5", float, 60, 10, - kwargs.get("c5", 0.0) + kwargs.get("c5", 0.0 if use_lspp_defaults() else None) ), Field( "c6", float, 70, 10, - kwargs.get("c6", 0.0) + kwargs.get("c6", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002.py index c55981d48..2ac61acf7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos002(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002_afterburn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002_afterburn.py index d0d341cc3..37a6c9880 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002_afterburn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_002_afterburn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos002Afterburn(KeywordBase): @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("opt", 0.0) + kwargs.get("opt", 0.0 if use_lspp_defaults() else None) ), Field( "qt", @@ -132,7 +133,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("opt", 0.0) + kwargs.get("opt", 0.0 if use_lspp_defaults() else None) ), Field( "q0", @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("qm", 0.5) + kwargs.get("qm", 0.5 if use_lspp_defaults() else None) ), Field( "qn", float, 40, 10, - kwargs.get("qn", 0.17) + kwargs.get("qn", 0.17 if use_lspp_defaults() else None) ), Field( "conm", float, 50, 10, - kwargs.get("conm", 1.) + kwargs.get("conm", 1. if use_lspp_defaults() else None) ), Field( "conl", float, 60, 10, - kwargs.get("conl", 1.) + kwargs.get("conl", 1. if use_lspp_defaults() else None) ), Field( "cont", float, 70, 10, - kwargs.get("cont", 1.) + kwargs.get("cont", 1. if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_003.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_003.py index 90cb2ffef..18c714d9e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_003.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_003.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos003(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_004.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_004.py index 7357866c7..570262c94 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_004.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_004.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos004(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_005.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_005.py index 588b2488a..7a0879161 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_005.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_005.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos005(KeywordBase): @@ -51,28 +52,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a10", 0.0) + kwargs.get("a10", 0.0 if use_lspp_defaults() else None) ), Field( "a11", float, 20, 20, - kwargs.get("a11", 0.0) + kwargs.get("a11", 0.0 if use_lspp_defaults() else None) ), Field( "a12", float, 40, 20, - kwargs.get("a12", 0.0) + kwargs.get("a12", 0.0 if use_lspp_defaults() else None) ), Field( "a13", float, 60, 20, - kwargs.get("a13", 0.0) + kwargs.get("a13", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -83,28 +84,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a20", 0.0) + kwargs.get("a20", 0.0 if use_lspp_defaults() else None) ), Field( "a21", float, 20, 20, - kwargs.get("a21", 0.0) + kwargs.get("a21", 0.0 if use_lspp_defaults() else None) ), Field( "a22", float, 40, 20, - kwargs.get("a22", 0.0) + kwargs.get("a22", 0.0 if use_lspp_defaults() else None) ), Field( "a23", float, 60, 20, - kwargs.get("a23", 0.0) + kwargs.get("a23", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -115,28 +116,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a30", 0.0) + kwargs.get("a30", 0.0 if use_lspp_defaults() else None) ), Field( "a31", float, 20, 20, - kwargs.get("a31", 0.0) + kwargs.get("a31", 0.0 if use_lspp_defaults() else None) ), Field( "a32", float, 40, 20, - kwargs.get("a32", 0.0) + kwargs.get("a32", 0.0 if use_lspp_defaults() else None) ), Field( "a33", float, 60, 20, - kwargs.get("a33", 0.0) + kwargs.get("a33", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -147,28 +148,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a40", 0.0) + kwargs.get("a40", 0.0 if use_lspp_defaults() else None) ), Field( "a41", float, 20, 20, - kwargs.get("a41", 0.0) + kwargs.get("a41", 0.0 if use_lspp_defaults() else None) ), Field( "a42", float, 40, 20, - kwargs.get("a42", 0.0) + kwargs.get("a42", 0.0 if use_lspp_defaults() else None) ), Field( "a43", float, 60, 20, - kwargs.get("a43", 0.0) + kwargs.get("a43", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,28 +180,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a50", 0.0) + kwargs.get("a50", 0.0 if use_lspp_defaults() else None) ), Field( "a51", float, 20, 20, - kwargs.get("a51", 0.0) + kwargs.get("a51", 0.0 if use_lspp_defaults() else None) ), Field( "a52", float, 40, 20, - kwargs.get("a52", 0.0) + kwargs.get("a52", 0.0 if use_lspp_defaults() else None) ), Field( "a53", float, 60, 20, - kwargs.get("a53", 0.0) + kwargs.get("a53", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -211,28 +212,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a60", 0.0) + kwargs.get("a60", 0.0 if use_lspp_defaults() else None) ), Field( "a61", float, 20, 20, - kwargs.get("a61", 0.0) + kwargs.get("a61", 0.0 if use_lspp_defaults() else None) ), Field( "a62", float, 40, 20, - kwargs.get("a62", 0.0) + kwargs.get("a62", 0.0 if use_lspp_defaults() else None) ), Field( "a63", float, 60, 20, - kwargs.get("a63", 0.0) + kwargs.get("a63", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a70", 0.0) + kwargs.get("a70", 0.0 if use_lspp_defaults() else None) ), Field( "a71", float, 20, 20, - kwargs.get("a71", 0.0) + kwargs.get("a71", 0.0 if use_lspp_defaults() else None) ), Field( "a72", float, 40, 20, - kwargs.get("a72", 0.0) + kwargs.get("a72", 0.0 if use_lspp_defaults() else None) ), Field( "a73", float, 60, 20, - kwargs.get("a73", 0.0) + kwargs.get("a73", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_006.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_006.py index dab139e40..e127853c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_006.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_006.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos006(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_007.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_007.py index b7653cc64..acd50ba1a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_007.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_007.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos007(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_008.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_008.py index 0940728c2..eb7a130fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_008.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_008.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos008(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_009.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_009.py index 83936c26f..cd98205c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_009.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_009.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos009(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_010.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_010.py index 11d8aedac..f1ab9019a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_010.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_010.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos010(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a", 0.0) + kwargs.get("a", 0.0 if use_lspp_defaults() else None) ), Field( "b", float, 20, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "xp1", float, 30, 10, - kwargs.get("xp1", 0.0) + kwargs.get("xp1", 0.0 if use_lspp_defaults() else None) ), Field( "xp2", float, 40, 10, - kwargs.get("xp2", 0.0) + kwargs.get("xp2", 0.0 if use_lspp_defaults() else None) ), Field( "frer", float, 50, 10, - kwargs.get("frer", 0.0) + kwargs.get("frer", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,35 +87,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g", 0.0) + kwargs.get("g", 0.0 if use_lspp_defaults() else None) ), Field( "r1", float, 10, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 20, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "r3", float, 30, 10, - kwargs.get("r3", 0.0) + kwargs.get("r3", 0.0 if use_lspp_defaults() else None) ), Field( "r5", float, 40, 10, - kwargs.get("r5", 0.0) + kwargs.get("r5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -125,35 +126,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r6", 0.0) + kwargs.get("r6", 0.0 if use_lspp_defaults() else None) ), Field( "fmxig", float, 10, 10, - kwargs.get("fmxig", 0.0) + kwargs.get("fmxig", 0.0 if use_lspp_defaults() else None) ), Field( "freq", float, 20, 10, - kwargs.get("freq", 0.0) + kwargs.get("freq", 0.0 if use_lspp_defaults() else None) ), Field( "grow1", float, 30, 10, - kwargs.get("grow1", 0.0) + kwargs.get("grow1", 0.0 if use_lspp_defaults() else None) ), Field( "em", float, 40, 10, - kwargs.get("em", 0.0) + kwargs.get("em", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,56 +165,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ar1", 0.0) + kwargs.get("ar1", 0.0 if use_lspp_defaults() else None) ), Field( "es1", float, 10, 10, - kwargs.get("es1", 0.0) + kwargs.get("es1", 0.0 if use_lspp_defaults() else None) ), Field( "cvp", float, 20, 10, - kwargs.get("cvp", 0.0) + kwargs.get("cvp", 0.0 if use_lspp_defaults() else None) ), Field( "cvr", float, 30, 10, - kwargs.get("cvr", 0.0) + kwargs.get("cvr", 0.0 if use_lspp_defaults() else None) ), Field( "eetal", float, 40, 10, - kwargs.get("eetal", 0.0) + kwargs.get("eetal", 0.0 if use_lspp_defaults() else None) ), Field( "ccrit", float, 50, 10, - kwargs.get("ccrit", 0.0) + kwargs.get("ccrit", 0.0 if use_lspp_defaults() else None) ), Field( "enq", float, 60, 10, - kwargs.get("enq", 0.0) + kwargs.get("enq", 0.0 if use_lspp_defaults() else None) ), Field( "tmp0", float, 70, 10, - kwargs.get("tmp0", 298.0) + kwargs.get("tmp0", 298.0 if use_lspp_defaults() else None) ), ], ), @@ -224,42 +225,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("grow2", 0.0) + kwargs.get("grow2", 0.0 if use_lspp_defaults() else None) ), Field( "ar2", float, 10, 10, - kwargs.get("ar2", 0.0) + kwargs.get("ar2", 0.0 if use_lspp_defaults() else None) ), Field( "es2", float, 20, 10, - kwargs.get("es2", 0.0) + kwargs.get("es2", 0.0 if use_lspp_defaults() else None) ), Field( "en", float, 30, 10, - kwargs.get("en", 0.0) + kwargs.get("en", 0.0 if use_lspp_defaults() else None) ), Field( "fmxgr", float, 40, 10, - kwargs.get("fmxgr", 0.0) + kwargs.get("fmxgr", 0.0 if use_lspp_defaults() else None) ), Field( "fmngr", float, 50, 10, - kwargs.get("fmngr", 0.0) + kwargs.get("fmngr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_011.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_011.py index 795250e29..4fece5aec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_011.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_011.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos011(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu1", 0.0) + kwargs.get("mu1", 0.0 if use_lspp_defaults() else None) ), Field( "mu2", float, 40, 10, - kwargs.get("mu2", 0.0) + kwargs.get("mu2", 0.0 if use_lspp_defaults() else None) ), Field( "ie0", float, 50, 10, - kwargs.get("ie0", 0.0) + kwargs.get("ie0", 0.0 if use_lspp_defaults() else None) ), Field( "ec0", float, 60, 10, - kwargs.get("ec0", 0.0) + kwargs.get("ec0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_012.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_012.py index ab979ba9c..b7ca776b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_012.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_012.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos012(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_013.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_013.py index d839e05c3..0a637fdb2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_013.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_013.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos013(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_014.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_014.py index 736c963c9..1b7d8723b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_014.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_014.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos014(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), Field( "a5", float, 50, 10, - kwargs.get("a5", 0.0) + kwargs.get("a5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,35 +87,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 10, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "r3", float, 20, 10, - kwargs.get("r3", 0.0) + kwargs.get("r3", 0.0 if use_lspp_defaults() else None) ), Field( "r4", float, 30, 10, - kwargs.get("r4", 0.0) + kwargs.get("r4", 0.0 if use_lspp_defaults() else None) ), Field( "r5", float, 40, 10, - kwargs.get("r5", 0.0) + kwargs.get("r5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -125,35 +126,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("al1", 0.0) + kwargs.get("al1", 0.0 if use_lspp_defaults() else None) ), Field( "al2", float, 10, 10, - kwargs.get("al2", 0.0) + kwargs.get("al2", 0.0 if use_lspp_defaults() else None) ), Field( "al3", float, 20, 10, - kwargs.get("al3", 0.0) + kwargs.get("al3", 0.0 if use_lspp_defaults() else None) ), Field( "al4", float, 30, 10, - kwargs.get("al4", 0.0) + kwargs.get("al4", 0.0 if use_lspp_defaults() else None) ), Field( "al5", float, 40, 10, - kwargs.get("al5", 0.0) + kwargs.get("al5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,35 +165,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bl1", 0.0) + kwargs.get("bl1", 0.0 if use_lspp_defaults() else None) ), Field( "bl2", float, 10, 10, - kwargs.get("bl2", 0.0) + kwargs.get("bl2", 0.0 if use_lspp_defaults() else None) ), Field( "bl3", float, 20, 10, - kwargs.get("bl3", 0.0) + kwargs.get("bl3", 0.0 if use_lspp_defaults() else None) ), Field( "bl4", float, 30, 10, - kwargs.get("bl4", 0.0) + kwargs.get("bl4", 0.0 if use_lspp_defaults() else None) ), Field( "bl5", float, 40, 10, - kwargs.get("bl5", 0.0) + kwargs.get("bl5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,35 +204,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rl1", 0.0) + kwargs.get("rl1", 0.0 if use_lspp_defaults() else None) ), Field( "rl2", float, 10, 10, - kwargs.get("rl2", 0.0) + kwargs.get("rl2", 0.0 if use_lspp_defaults() else None) ), Field( "rl3", float, 20, 10, - kwargs.get("rl3", 0.0) + kwargs.get("rl3", 0.0 if use_lspp_defaults() else None) ), Field( "rl4", float, 30, 10, - kwargs.get("rl4", 0.0) + kwargs.get("rl4", 0.0 if use_lspp_defaults() else None) ), Field( "rl5", float, 40, 10, - kwargs.get("rl5", 0.0) + kwargs.get("rl5", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_015.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_015.py index f41347b08..d0230cefd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_015.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_015.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos015(KeywordBase): @@ -79,7 +80,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unload", 0.0) + kwargs.get("unload", 0.0 if use_lspp_defaults() else None) ), Field( "et", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_016.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_016.py index 93e25e8e0..563c574bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_016.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_016.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos016(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_019.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_019.py index b6ea85642..e2f16a9be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_019.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_019.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos019(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_021.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_021.py index 3bdf9bfcd..1ed540884 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_021.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_021.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Eos021(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gasket.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gasket.py index ff2c1e3e2..57f91d74b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gasket.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gasket.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosGasket(KeywordBase): @@ -79,7 +80,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("unload", 0.0) + kwargs.get("unload", 0.0 if use_lspp_defaults() else None) ), Field( "et", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gruneisen.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gruneisen.py index 3af869f45..5f6dd3bf5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gruneisen.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_gruneisen.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosGruneisen(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ideal_gas.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ideal_gas.py index 28cde7814..eb36e1060 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ideal_gas.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ideal_gas.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosIdealGas(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ignition_and_growth_of_reaction_in_he.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ignition_and_growth_of_reaction_in_he.py index 126dbc810..3aaa7127f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ignition_and_growth_of_reaction_in_he.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ignition_and_growth_of_reaction_in_he.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosIgnitionAndGrowthOfReactionInHe(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl.py index d39e5050e..c5bc996e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosJwl(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl_afterburn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl_afterburn.py index 8a298cf6e..e9b94530b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl_afterburn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwl_afterburn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosJwlAfterburn(KeywordBase): @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("opt", 0.0) + kwargs.get("opt", 0.0 if use_lspp_defaults() else None) ), Field( "qt", @@ -132,7 +133,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("opt", 0.0) + kwargs.get("opt", 0.0 if use_lspp_defaults() else None) ), Field( "q0", @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("qm", 0.5) + kwargs.get("qm", 0.5 if use_lspp_defaults() else None) ), Field( "qn", float, 40, 10, - kwargs.get("qn", 0.17) + kwargs.get("qn", 0.17 if use_lspp_defaults() else None) ), Field( "conm", float, 50, 10, - kwargs.get("conm", 1.) + kwargs.get("conm", 1. if use_lspp_defaults() else None) ), Field( "conl", float, 60, 10, - kwargs.get("conl", 1.) + kwargs.get("conl", 1. if use_lspp_defaults() else None) ), Field( "cont", float, 70, 10, - kwargs.get("cont", 1.) + kwargs.get("cont", 1. if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwlb.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwlb.py index 01cae1079..b3c29b6cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwlb.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_jwlb.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosJwlb(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), Field( "a5", float, 50, 10, - kwargs.get("a5", 0.0) + kwargs.get("a5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,35 +87,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 10, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "r3", float, 20, 10, - kwargs.get("r3", 0.0) + kwargs.get("r3", 0.0 if use_lspp_defaults() else None) ), Field( "r4", float, 30, 10, - kwargs.get("r4", 0.0) + kwargs.get("r4", 0.0 if use_lspp_defaults() else None) ), Field( "r5", float, 40, 10, - kwargs.get("r5", 0.0) + kwargs.get("r5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -125,35 +126,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("al1", 0.0) + kwargs.get("al1", 0.0 if use_lspp_defaults() else None) ), Field( "al2", float, 10, 10, - kwargs.get("al2", 0.0) + kwargs.get("al2", 0.0 if use_lspp_defaults() else None) ), Field( "al3", float, 20, 10, - kwargs.get("al3", 0.0) + kwargs.get("al3", 0.0 if use_lspp_defaults() else None) ), Field( "al4", float, 30, 10, - kwargs.get("al4", 0.0) + kwargs.get("al4", 0.0 if use_lspp_defaults() else None) ), Field( "al5", float, 40, 10, - kwargs.get("al5", 0.0) + kwargs.get("al5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,35 +165,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bl1", 0.0) + kwargs.get("bl1", 0.0 if use_lspp_defaults() else None) ), Field( "bl2", float, 10, 10, - kwargs.get("bl2", 0.0) + kwargs.get("bl2", 0.0 if use_lspp_defaults() else None) ), Field( "bl3", float, 20, 10, - kwargs.get("bl3", 0.0) + kwargs.get("bl3", 0.0 if use_lspp_defaults() else None) ), Field( "bl4", float, 30, 10, - kwargs.get("bl4", 0.0) + kwargs.get("bl4", 0.0 if use_lspp_defaults() else None) ), Field( "bl5", float, 40, 10, - kwargs.get("bl5", 0.0) + kwargs.get("bl5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,35 +204,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rl1", 0.0) + kwargs.get("rl1", 0.0 if use_lspp_defaults() else None) ), Field( "rl2", float, 10, 10, - kwargs.get("rl2", 0.0) + kwargs.get("rl2", 0.0 if use_lspp_defaults() else None) ), Field( "rl3", float, 20, 10, - kwargs.get("rl3", 0.0) + kwargs.get("rl3", 0.0 if use_lspp_defaults() else None) ), Field( "rl4", float, 30, 10, - kwargs.get("rl4", 0.0) + kwargs.get("rl4", 0.0 if use_lspp_defaults() else None) ), Field( "rl5", float, 40, 10, - kwargs.get("rl5", 0.0) + kwargs.get("rl5", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial.py index c8c5cfdf4..6f4139d85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosLinearPolynomial(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("c0", 0.0) + kwargs.get("c0", 0.0 if use_lspp_defaults() else None) ), Field( "c1", float, 20, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "c2", float, 30, 10, - kwargs.get("c2", 0.0) + kwargs.get("c2", 0.0 if use_lspp_defaults() else None) ), Field( "c3", float, 40, 10, - kwargs.get("c3", 0.0) + kwargs.get("c3", 0.0 if use_lspp_defaults() else None) ), Field( "c4", float, 50, 10, - kwargs.get("c4", 0.0) + kwargs.get("c4", 0.0 if use_lspp_defaults() else None) ), Field( "c5", float, 60, 10, - kwargs.get("c5", 0.0) + kwargs.get("c5", 0.0 if use_lspp_defaults() else None) ), Field( "c6", float, 70, 10, - kwargs.get("c6", 0.0) + kwargs.get("c6", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial_with_energy_leak.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial_with_energy_leak.py index 835157053..3c6d84d88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial_with_energy_leak.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_linear_polynomial_with_energy_leak.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosLinearPolynomialWithEnergyLeak(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_mie_gruneisen.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_mie_gruneisen.py index 0c35f9d22..5c4eaa69d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_mie_gruneisen.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_mie_gruneisen.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosMieGruneisen(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_murnaghan.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_murnaghan.py index c38972c69..ef386e094 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_murnaghan.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_murnaghan.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosMurnaghan(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_phase_change.py index 6f4b791cb..675e40f34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosPhaseChange(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_propellant_deflagration.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_propellant_deflagration.py index 1c4955871..e14a1d5ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_propellant_deflagration.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_propellant_deflagration.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosPropellantDeflagration(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a", 0.0) + kwargs.get("a", 0.0 if use_lspp_defaults() else None) ), Field( "b", float, 20, 10, - kwargs.get("b", 0.0) + kwargs.get("b", 0.0 if use_lspp_defaults() else None) ), Field( "xp1", float, 30, 10, - kwargs.get("xp1", 0.0) + kwargs.get("xp1", 0.0 if use_lspp_defaults() else None) ), Field( "xp2", float, 40, 10, - kwargs.get("xp2", 0.0) + kwargs.get("xp2", 0.0 if use_lspp_defaults() else None) ), Field( "frer", float, 50, 10, - kwargs.get("frer", 0.0) + kwargs.get("frer", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -86,35 +87,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g", 0.0) + kwargs.get("g", 0.0 if use_lspp_defaults() else None) ), Field( "r1", float, 10, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 20, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "r3", float, 30, 10, - kwargs.get("r3", 0.0) + kwargs.get("r3", 0.0 if use_lspp_defaults() else None) ), Field( "r5", float, 40, 10, - kwargs.get("r5", 0.0) + kwargs.get("r5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -125,35 +126,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r6", 0.0) + kwargs.get("r6", 0.0 if use_lspp_defaults() else None) ), Field( "fmxig", float, 10, 10, - kwargs.get("fmxig", 0.0) + kwargs.get("fmxig", 0.0 if use_lspp_defaults() else None) ), Field( "freq", float, 20, 10, - kwargs.get("freq", 0.0) + kwargs.get("freq", 0.0 if use_lspp_defaults() else None) ), Field( "grow1", float, 30, 10, - kwargs.get("grow1", 0.0) + kwargs.get("grow1", 0.0 if use_lspp_defaults() else None) ), Field( "em", float, 40, 10, - kwargs.get("em", 0.0) + kwargs.get("em", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,56 +165,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ar1", 0.0) + kwargs.get("ar1", 0.0 if use_lspp_defaults() else None) ), Field( "es1", float, 10, 10, - kwargs.get("es1", 0.0) + kwargs.get("es1", 0.0 if use_lspp_defaults() else None) ), Field( "cvp", float, 20, 10, - kwargs.get("cvp", 0.0) + kwargs.get("cvp", 0.0 if use_lspp_defaults() else None) ), Field( "cvr", float, 30, 10, - kwargs.get("cvr", 0.0) + kwargs.get("cvr", 0.0 if use_lspp_defaults() else None) ), Field( "eetal", float, 40, 10, - kwargs.get("eetal", 0.0) + kwargs.get("eetal", 0.0 if use_lspp_defaults() else None) ), Field( "ccrit", float, 50, 10, - kwargs.get("ccrit", 0.0) + kwargs.get("ccrit", 0.0 if use_lspp_defaults() else None) ), Field( "enq", float, 60, 10, - kwargs.get("enq", 0.0) + kwargs.get("enq", 0.0 if use_lspp_defaults() else None) ), Field( "tmp0", float, 70, 10, - kwargs.get("tmp0", 298.0) + kwargs.get("tmp0", 298.0 if use_lspp_defaults() else None) ), ], ), @@ -224,42 +225,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("grow2", 0.0) + kwargs.get("grow2", 0.0 if use_lspp_defaults() else None) ), Field( "ar2", float, 10, 10, - kwargs.get("ar2", 0.0) + kwargs.get("ar2", 0.0 if use_lspp_defaults() else None) ), Field( "es2", float, 20, 10, - kwargs.get("es2", 0.0) + kwargs.get("es2", 0.0 if use_lspp_defaults() else None) ), Field( "en", float, 30, 10, - kwargs.get("en", 0.0) + kwargs.get("en", 0.0 if use_lspp_defaults() else None) ), Field( "fmxgr", float, 40, 10, - kwargs.get("fmxgr", 0.0) + kwargs.get("fmxgr", 0.0 if use_lspp_defaults() else None) ), Field( "fmngr", float, 50, 10, - kwargs.get("fmngr", 0.0) + kwargs.get("fmngr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ratio_of_polynomials.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ratio_of_polynomials.py index 4cd6e8747..fc71d2ca1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ratio_of_polynomials.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_ratio_of_polynomials.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosRatioOfPolynomials(KeywordBase): @@ -51,28 +52,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a10", 0.0) + kwargs.get("a10", 0.0 if use_lspp_defaults() else None) ), Field( "a11", float, 20, 20, - kwargs.get("a11", 0.0) + kwargs.get("a11", 0.0 if use_lspp_defaults() else None) ), Field( "a12", float, 40, 20, - kwargs.get("a12", 0.0) + kwargs.get("a12", 0.0 if use_lspp_defaults() else None) ), Field( "a13", float, 60, 20, - kwargs.get("a13", 0.0) + kwargs.get("a13", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -83,28 +84,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a20", 0.0) + kwargs.get("a20", 0.0 if use_lspp_defaults() else None) ), Field( "a21", float, 20, 20, - kwargs.get("a21", 0.0) + kwargs.get("a21", 0.0 if use_lspp_defaults() else None) ), Field( "a22", float, 40, 20, - kwargs.get("a22", 0.0) + kwargs.get("a22", 0.0 if use_lspp_defaults() else None) ), Field( "a23", float, 60, 20, - kwargs.get("a23", 0.0) + kwargs.get("a23", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -115,28 +116,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a30", 0.0) + kwargs.get("a30", 0.0 if use_lspp_defaults() else None) ), Field( "a31", float, 20, 20, - kwargs.get("a31", 0.0) + kwargs.get("a31", 0.0 if use_lspp_defaults() else None) ), Field( "a32", float, 40, 20, - kwargs.get("a32", 0.0) + kwargs.get("a32", 0.0 if use_lspp_defaults() else None) ), Field( "a33", float, 60, 20, - kwargs.get("a33", 0.0) + kwargs.get("a33", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -147,28 +148,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a40", 0.0) + kwargs.get("a40", 0.0 if use_lspp_defaults() else None) ), Field( "a41", float, 20, 20, - kwargs.get("a41", 0.0) + kwargs.get("a41", 0.0 if use_lspp_defaults() else None) ), Field( "a42", float, 40, 20, - kwargs.get("a42", 0.0) + kwargs.get("a42", 0.0 if use_lspp_defaults() else None) ), Field( "a43", float, 60, 20, - kwargs.get("a43", 0.0) + kwargs.get("a43", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,28 +180,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a50", 0.0) + kwargs.get("a50", 0.0 if use_lspp_defaults() else None) ), Field( "a51", float, 20, 20, - kwargs.get("a51", 0.0) + kwargs.get("a51", 0.0 if use_lspp_defaults() else None) ), Field( "a52", float, 40, 20, - kwargs.get("a52", 0.0) + kwargs.get("a52", 0.0 if use_lspp_defaults() else None) ), Field( "a53", float, 60, 20, - kwargs.get("a53", 0.0) + kwargs.get("a53", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -211,28 +212,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a60", 0.0) + kwargs.get("a60", 0.0 if use_lspp_defaults() else None) ), Field( "a61", float, 20, 20, - kwargs.get("a61", 0.0) + kwargs.get("a61", 0.0 if use_lspp_defaults() else None) ), Field( "a62", float, 40, 20, - kwargs.get("a62", 0.0) + kwargs.get("a62", 0.0 if use_lspp_defaults() else None) ), Field( "a63", float, 60, 20, - kwargs.get("a63", 0.0) + kwargs.get("a63", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -243,28 +244,28 @@ def __init__(self, **kwargs): float, 0, 20, - kwargs.get("a70", 0.0) + kwargs.get("a70", 0.0 if use_lspp_defaults() else None) ), Field( "a71", float, 20, 20, - kwargs.get("a71", 0.0) + kwargs.get("a71", 0.0 if use_lspp_defaults() else None) ), Field( "a72", float, 40, 20, - kwargs.get("a72", 0.0) + kwargs.get("a72", 0.0 if use_lspp_defaults() else None) ), Field( "a73", float, 60, 20, - kwargs.get("a73", 0.0) + kwargs.get("a73", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_sack_tuesday.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_sack_tuesday.py index 5d478e4db..3aa5fb11b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_sack_tuesday.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_sack_tuesday.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosSackTuesday(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated.py index d8dd7c07b..a2878a168 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosTabulated(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated_compaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated_compaction.py index 6fb0f5b04..95d971837 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated_compaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tabulated_compaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosTabulatedCompaction(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tensor_pore_collapse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tensor_pore_collapse.py index e0c5be2d4..3a567368e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tensor_pore_collapse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_tensor_pore_collapse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosTensorPoreCollapse(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu1", 0.0) + kwargs.get("mu1", 0.0 if use_lspp_defaults() else None) ), Field( "mu2", float, 40, 10, - kwargs.get("mu2", 0.0) + kwargs.get("mu2", 0.0 if use_lspp_defaults() else None) ), Field( "ie0", float, 50, 10, - kwargs.get("ie0", 0.0) + kwargs.get("ie0", 0.0 if use_lspp_defaults() else None) ), Field( "ec0", float, 60, 10, - kwargs.get("ec0", 0.0) + kwargs.get("ec0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_defined.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_defined.py index 0c2f2af83..9a9c0f0d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_defined.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_defined.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosUserDefined(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_library.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_library.py index 9a05c73f3..fc9165053 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_library.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/eos_user_library.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class EosUserLibrary(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue.py index 5c22ac0ae..21f167f15 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Fatigue(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), ], ), @@ -69,35 +70,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("strsn", 0) + kwargs.get("strsn", 0 if use_lspp_defaults() else None) ), Field( "index", int, 10, 10, - kwargs.get("index", 0) + kwargs.get("index", 0 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "texpos", float, 30, 10, - kwargs.get("texpos", 0.0) + kwargs.get("texpos", 0.0 if use_lspp_defaults() else None) ), Field( "dmgmin", float, 40, 10, - kwargs.get("dmgmin", 0.0) + kwargs.get("dmgmin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_d3plot.py index e3a19b77e..fd273a6c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueD3Plot(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("strsn", 0) + kwargs.get("strsn", 0 if use_lspp_defaults() else None) ), Field( "index", int, 10, 10, - kwargs.get("index", 0) + kwargs.get("index", 0 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "texpos", float, 30, 10, - kwargs.get("texpos", 0.0) + kwargs.get("texpos", 0.0 if use_lspp_defaults() else None) ), Field( "dmgmin", float, 40, 10, - kwargs.get("dmgmin", 0.0) + kwargs.get("dmgmin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_elout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_elout.py index 314e37e46..490ed71d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_elout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_elout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueElout(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("strsn", 0) + kwargs.get("strsn", 0 if use_lspp_defaults() else None) ), Field( "index", int, 10, 10, - kwargs.get("index", 0) + kwargs.get("index", 0 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "texpos", float, 30, 10, - kwargs.get("texpos", 0.0) + kwargs.get("texpos", 0.0 if use_lspp_defaults() else None) ), Field( "dmgmin", float, 40, 10, - kwargs.get("dmgmin", 0.0) + kwargs.get("dmgmin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_failure.py index 0ff34e6d5..bf406fb2c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueFailure(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ifailure", 0) + kwargs.get("ifailure", 0 if use_lspp_defaults() else None) ), Field( "dratio", float, 10, 10, - kwargs.get("dratio", 1.0) + kwargs.get("dratio", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_loadstep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_loadstep.py index 322bfa9e7..144640b32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_loadstep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_loadstep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueLoadstep(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("texpos", 0.0) + kwargs.get("texpos", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_mean_stress_correction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_mean_stress_correction.py index 1e70f6a85..a329362bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_mean_stress_correction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_mean_stress_correction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueMeanStressCorrection(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_multiaxial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_multiaxial.py index f3b44989d..71380711a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_multiaxial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/fatigue_multiaxial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FatigueMultiaxial(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("maxial", 0) + kwargs.get("maxial", 0 if use_lspp_defaults() else None) ), Field( "nplane", int, 10, 10, - kwargs.get("nplane", 18) + kwargs.get("nplane", 18 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acceleration_unit.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acceleration_unit.py index 8c83b1fe3..6f746dc33 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acceleration_unit.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acceleration_unit.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAccelerationUnit(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "umlt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem.py index e2b01c9b4..269d4a6c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticBem(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidext", 0) + kwargs.get("nsidext", 0 if use_lspp_defaults() else None) ), Field( "typext", int, 10, 10, - kwargs.get("typext", 0) + kwargs.get("typext", 0 if use_lspp_defaults() else None) ), Field( "nsidint", int, 20, 10, - kwargs.get("nsidint", 0) + kwargs.get("nsidint", 0 if use_lspp_defaults() else None) ), Field( "typint", int, 30, 10, - kwargs.get("typint", 0) + kwargs.get("typint", 0 if use_lspp_defaults() else None) ), Field( "fftwin", int, 40, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "trslt", int, 50, 10, - kwargs.get("trslt", 0) + kwargs.get("trslt", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 60, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "iunits", int, 70, 10, - kwargs.get("iunits", 0) + kwargs.get("iunits", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", int, 10, 10, - kwargs.get("maxit", 100) + kwargs.get("maxit", 100 if use_lspp_defaults() else None) ), Field( "tolitr", float, 20, 10, - kwargs.get("tolitr", 1E-4) + kwargs.get("tolitr", 1E-4 if use_lspp_defaults() else None) ), Field( "ndd", int, 30, 10, - kwargs.get("ndd", 1) + kwargs.get("ndd", 1 if use_lspp_defaults() else None) ), Field( "tollr", float, 40, 10, - kwargs.get("tollr", 1E-6) + kwargs.get("tollr", 1E-6 if use_lspp_defaults() else None) ), Field( "tolfct", float, 50, 10, - kwargs.get("tolfct", 1E-6) + kwargs.get("tolfct", 1E-6 if use_lspp_defaults() else None) ), Field( "ibdim", int, 60, 10, - kwargs.get("ibdim", 1000) + kwargs.get("ibdim", 1000 if use_lspp_defaults() else None) ), Field( "npg", int, 70, 10, - kwargs.get("npg", 2) + kwargs.get("npg", 2 if use_lspp_defaults() else None) ), ], ), @@ -227,49 +228,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nbc", 1) + kwargs.get("nbc", 1 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "iedge", int, 30, 10, - kwargs.get("iedge", 0) + kwargs.get("iedge", 0 if use_lspp_defaults() else None) ), Field( "noel", int, 40, 10, - kwargs.get("noel", 0) + kwargs.get("noel", 0 if use_lspp_defaults() else None) ), Field( "nfrup", int, 50, 10, - kwargs.get("nfrup", 0) + kwargs.get("nfrup", 0 if use_lspp_defaults() else None) ), Field( "velout", int, 60, 10, - kwargs.get("velout", 0) + kwargs.get("velout", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 70, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,28 +281,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "sstype", int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bemtype", int, 30, 10, - kwargs.get("bemtype", 0) + kwargs.get("bemtype", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -326,14 +327,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t_hold", 0.0) + kwargs.get("t_hold", 0.0 if use_lspp_defaults() else None) ), Field( "decay", float, 10, 10, - kwargs.get("decay", 0.02) + kwargs.get("decay", 0.02 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_atv.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_atv.py index 04ddaf7d6..158cbb4ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_atv.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_atv.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticBemAtv(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidext", 0) + kwargs.get("nsidext", 0 if use_lspp_defaults() else None) ), Field( "typext", int, 10, 10, - kwargs.get("typext", 0) + kwargs.get("typext", 0 if use_lspp_defaults() else None) ), Field( "nsidint", int, 20, 10, - kwargs.get("nsidint", 0) + kwargs.get("nsidint", 0 if use_lspp_defaults() else None) ), Field( "typint", int, 30, 10, - kwargs.get("typint", 0) + kwargs.get("typint", 0 if use_lspp_defaults() else None) ), Field( "fftwin", int, 40, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "trslt", int, 50, 10, - kwargs.get("trslt", 0) + kwargs.get("trslt", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 60, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "iunits", int, 70, 10, - kwargs.get("iunits", 0) + kwargs.get("iunits", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", int, 10, 10, - kwargs.get("maxit", 100) + kwargs.get("maxit", 100 if use_lspp_defaults() else None) ), Field( "tolitr", float, 20, 10, - kwargs.get("tolitr", 1E-4) + kwargs.get("tolitr", 1E-4 if use_lspp_defaults() else None) ), Field( "ndd", int, 30, 10, - kwargs.get("ndd", 1) + kwargs.get("ndd", 1 if use_lspp_defaults() else None) ), Field( "tollr", float, 40, 10, - kwargs.get("tollr", 1E-6) + kwargs.get("tollr", 1E-6 if use_lspp_defaults() else None) ), Field( "tolfct", float, 50, 10, - kwargs.get("tolfct", 1E-6) + kwargs.get("tolfct", 1E-6 if use_lspp_defaults() else None) ), Field( "ibdim", int, 60, 10, - kwargs.get("ibdim", 1000) + kwargs.get("ibdim", 1000 if use_lspp_defaults() else None) ), Field( "npg", int, 70, 10, - kwargs.get("npg", 2) + kwargs.get("npg", 2 if use_lspp_defaults() else None) ), ], ), @@ -227,49 +228,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nbc", 1) + kwargs.get("nbc", 1 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "iedge", int, 30, 10, - kwargs.get("iedge", 0) + kwargs.get("iedge", 0 if use_lspp_defaults() else None) ), Field( "noel", int, 40, 10, - kwargs.get("noel", 0) + kwargs.get("noel", 0 if use_lspp_defaults() else None) ), Field( "nfrup", int, 50, 10, - kwargs.get("nfrup", 0) + kwargs.get("nfrup", 0 if use_lspp_defaults() else None) ), Field( "velout", int, 60, 10, - kwargs.get("velout", 0) + kwargs.get("velout", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 70, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,28 +281,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "sstype", int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bemtype", int, 30, 10, - kwargs.get("bemtype", 0) + kwargs.get("bemtype", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -326,14 +327,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t_hold", 0.0) + kwargs.get("t_hold", 0.0 if use_lspp_defaults() else None) ), Field( "decay", float, 10, 10, - kwargs.get("decay", 0.02) + kwargs.get("decay", 0.02 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_half_space.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_half_space.py index 1862adbae..75fa74ad6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_half_space.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_half_space.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticBemHalfSpace(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidext", 0) + kwargs.get("nsidext", 0 if use_lspp_defaults() else None) ), Field( "typext", int, 10, 10, - kwargs.get("typext", 0) + kwargs.get("typext", 0 if use_lspp_defaults() else None) ), Field( "nsidint", int, 20, 10, - kwargs.get("nsidint", 0) + kwargs.get("nsidint", 0 if use_lspp_defaults() else None) ), Field( "typint", int, 30, 10, - kwargs.get("typint", 0) + kwargs.get("typint", 0 if use_lspp_defaults() else None) ), Field( "fftwin", int, 40, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "trslt", int, 50, 10, - kwargs.get("trslt", 0) + kwargs.get("trslt", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 60, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "iunits", int, 70, 10, - kwargs.get("iunits", 0) + kwargs.get("iunits", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", int, 10, 10, - kwargs.get("maxit", 100) + kwargs.get("maxit", 100 if use_lspp_defaults() else None) ), Field( "tolitr", float, 20, 10, - kwargs.get("tolitr", 1E-4) + kwargs.get("tolitr", 1E-4 if use_lspp_defaults() else None) ), Field( "ndd", int, 30, 10, - kwargs.get("ndd", 1) + kwargs.get("ndd", 1 if use_lspp_defaults() else None) ), Field( "tollr", float, 40, 10, - kwargs.get("tollr", 1E-6) + kwargs.get("tollr", 1E-6 if use_lspp_defaults() else None) ), Field( "tolfct", float, 50, 10, - kwargs.get("tolfct", 1E-6) + kwargs.get("tolfct", 1E-6 if use_lspp_defaults() else None) ), Field( "ibdim", int, 60, 10, - kwargs.get("ibdim", 1000) + kwargs.get("ibdim", 1000 if use_lspp_defaults() else None) ), Field( "npg", int, 70, 10, - kwargs.get("npg", 2) + kwargs.get("npg", 2 if use_lspp_defaults() else None) ), ], ), @@ -227,49 +228,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nbc", 1) + kwargs.get("nbc", 1 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "iedge", int, 30, 10, - kwargs.get("iedge", 0) + kwargs.get("iedge", 0 if use_lspp_defaults() else None) ), Field( "noel", int, 40, 10, - kwargs.get("noel", 0) + kwargs.get("noel", 0 if use_lspp_defaults() else None) ), Field( "nfrup", int, 50, 10, - kwargs.get("nfrup", 0) + kwargs.get("nfrup", 0 if use_lspp_defaults() else None) ), Field( "velout", int, 60, 10, - kwargs.get("velout", 0) + kwargs.get("velout", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 70, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,28 +281,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "sstype", int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bemtype", int, 30, 10, - kwargs.get("bemtype", 0) + kwargs.get("bemtype", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -326,7 +327,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), ], ), @@ -337,14 +338,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t_hold", 0.0) + kwargs.get("t_hold", 0.0 if use_lspp_defaults() else None) ), Field( "decay", float, 10, 10, - kwargs.get("decay", 0.02) + kwargs.get("decay", 0.02 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_matv.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_matv.py index 2d6747c4e..d9dc71d9e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_matv.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_matv.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticBemMatv(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidext", 0) + kwargs.get("nsidext", 0 if use_lspp_defaults() else None) ), Field( "typext", int, 10, 10, - kwargs.get("typext", 0) + kwargs.get("typext", 0 if use_lspp_defaults() else None) ), Field( "nsidint", int, 20, 10, - kwargs.get("nsidint", 0) + kwargs.get("nsidint", 0 if use_lspp_defaults() else None) ), Field( "typint", int, 30, 10, - kwargs.get("typint", 0) + kwargs.get("typint", 0 if use_lspp_defaults() else None) ), Field( "fftwin", int, 40, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "trslt", int, 50, 10, - kwargs.get("trslt", 0) + kwargs.get("trslt", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 60, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "iunits", int, 70, 10, - kwargs.get("iunits", 0) + kwargs.get("iunits", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", int, 10, 10, - kwargs.get("maxit", 100) + kwargs.get("maxit", 100 if use_lspp_defaults() else None) ), Field( "tolitr", float, 20, 10, - kwargs.get("tolitr", 1E-4) + kwargs.get("tolitr", 1E-4 if use_lspp_defaults() else None) ), Field( "ndd", int, 30, 10, - kwargs.get("ndd", 1) + kwargs.get("ndd", 1 if use_lspp_defaults() else None) ), Field( "tollr", float, 40, 10, - kwargs.get("tollr", 1E-6) + kwargs.get("tollr", 1E-6 if use_lspp_defaults() else None) ), Field( "tolfct", float, 50, 10, - kwargs.get("tolfct", 1E-6) + kwargs.get("tolfct", 1E-6 if use_lspp_defaults() else None) ), Field( "ibdim", int, 60, 10, - kwargs.get("ibdim", 1000) + kwargs.get("ibdim", 1000 if use_lspp_defaults() else None) ), Field( "npg", int, 70, 10, - kwargs.get("npg", 2) + kwargs.get("npg", 2 if use_lspp_defaults() else None) ), ], ), @@ -227,49 +228,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nbc", 1) + kwargs.get("nbc", 1 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "iedge", int, 30, 10, - kwargs.get("iedge", 0) + kwargs.get("iedge", 0 if use_lspp_defaults() else None) ), Field( "noel", int, 40, 10, - kwargs.get("noel", 0) + kwargs.get("noel", 0 if use_lspp_defaults() else None) ), Field( "nfrup", int, 50, 10, - kwargs.get("nfrup", 0) + kwargs.get("nfrup", 0 if use_lspp_defaults() else None) ), Field( "velout", int, 60, 10, - kwargs.get("velout", 0) + kwargs.get("velout", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 70, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,28 +281,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "sstype", int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bemtype", int, 30, 10, - kwargs.get("bemtype", 0) + kwargs.get("bemtype", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -326,14 +327,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t_hold", 0.0) + kwargs.get("t_hold", 0.0 if use_lspp_defaults() else None) ), Field( "decay", float, 10, 10, - kwargs.get("decay", 0.02) + kwargs.get("decay", 0.02 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_panel_contribution.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_panel_contribution.py index f12148340..685282b80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_panel_contribution.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_bem_panel_contribution.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticBemPanelContribution(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0.0) + kwargs.get("pref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidext", 0) + kwargs.get("nsidext", 0 if use_lspp_defaults() else None) ), Field( "typext", int, 10, 10, - kwargs.get("typext", 0) + kwargs.get("typext", 0 if use_lspp_defaults() else None) ), Field( "nsidint", int, 20, 10, - kwargs.get("nsidint", 0) + kwargs.get("nsidint", 0 if use_lspp_defaults() else None) ), Field( "typint", int, 30, 10, - kwargs.get("typint", 0) + kwargs.get("typint", 0 if use_lspp_defaults() else None) ), Field( "fftwin", int, 40, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "trslt", int, 50, 10, - kwargs.get("trslt", 0) + kwargs.get("trslt", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 60, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "iunits", int, 70, 10, - kwargs.get("iunits", 0) + kwargs.get("iunits", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "maxit", int, 10, 10, - kwargs.get("maxit", 100) + kwargs.get("maxit", 100 if use_lspp_defaults() else None) ), Field( "tolitr", float, 20, 10, - kwargs.get("tolitr", 1E-4) + kwargs.get("tolitr", 1E-4 if use_lspp_defaults() else None) ), Field( "ndd", int, 30, 10, - kwargs.get("ndd", 1) + kwargs.get("ndd", 1 if use_lspp_defaults() else None) ), Field( "tollr", float, 40, 10, - kwargs.get("tollr", 1E-6) + kwargs.get("tollr", 1E-6 if use_lspp_defaults() else None) ), Field( "tolfct", float, 50, 10, - kwargs.get("tolfct", 1E-6) + kwargs.get("tolfct", 1E-6 if use_lspp_defaults() else None) ), Field( "ibdim", int, 60, 10, - kwargs.get("ibdim", 1000) + kwargs.get("ibdim", 1000 if use_lspp_defaults() else None) ), Field( "npg", int, 70, 10, - kwargs.get("npg", 2) + kwargs.get("npg", 2 if use_lspp_defaults() else None) ), ], ), @@ -227,49 +228,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nbc", 1) + kwargs.get("nbc", 1 if use_lspp_defaults() else None) ), Field( "restrt", int, 20, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "iedge", int, 30, 10, - kwargs.get("iedge", 0) + kwargs.get("iedge", 0 if use_lspp_defaults() else None) ), Field( "noel", int, 40, 10, - kwargs.get("noel", 0) + kwargs.get("noel", 0 if use_lspp_defaults() else None) ), Field( "nfrup", int, 50, 10, - kwargs.get("nfrup", 0) + kwargs.get("nfrup", 0 if use_lspp_defaults() else None) ), Field( "velout", int, 60, 10, - kwargs.get("velout", 0) + kwargs.get("velout", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 70, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,28 +281,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "sstype", int, 10, 10, - kwargs.get("sstype", 0) + kwargs.get("sstype", 0 if use_lspp_defaults() else None) ), Field( "norm", int, 20, 10, - kwargs.get("norm", 0) + kwargs.get("norm", 0 if use_lspp_defaults() else None) ), Field( "bemtype", int, 30, 10, - kwargs.get("bemtype", 0) + kwargs.get("bemtype", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -326,7 +327,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsidpc", 0) + kwargs.get("nsidpc", 0 if use_lspp_defaults() else None) ), ], ), @@ -337,14 +338,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t_hold", 0.0) + kwargs.get("t_hold", 0.0 if use_lspp_defaults() else None) ), Field( "decay", float, 10, 10, - kwargs.get("decay", 0.02) + kwargs.get("decay", 0.02 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem.py index 66ae33c2d..4a029852e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFem(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0) + kwargs.get("dtout", 0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0) + kwargs.get("tstart", 0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0) + kwargs.get("pref", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "mixdmp", int, 20, 10, - kwargs.get("mixdmp", 0) + kwargs.get("mixdmp", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,7 +133,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 0) + kwargs.get("ptyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -150,49 +151,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 0) + kwargs.get("styp", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 30, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "lcid1", int, 40, 10, - kwargs.get("lcid1", 0) + kwargs.get("lcid1", 0 if use_lspp_defaults() else None) ), Field( "lcid2", int, 50, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 60, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), @@ -210,21 +211,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "ipfile", int, 20, 10, - kwargs.get("ipfile", 0) + kwargs.get("ipfile", 0 if use_lspp_defaults() else None) ), Field( "dba", int, 30, 10, - kwargs.get("dba", 0) + kwargs.get("dba", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem_eigenvalue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem_eigenvalue.py index fe81d7b9c..ae35f756f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem_eigenvalue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fem_eigenvalue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFemEigenvalue(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 50, 10, - kwargs.get("dtout", 0) + kwargs.get("dtout", 0 if use_lspp_defaults() else None) ), Field( "tstart", float, 60, 10, - kwargs.get("tstart", 0) + kwargs.get("tstart", 0 if use_lspp_defaults() else None) ), Field( "pref", float, 70, 10, - kwargs.get("pref", 0) + kwargs.get("pref", 0 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fftwin", 0) + kwargs.get("fftwin", 0 if use_lspp_defaults() else None) ), Field( "mixdmp", int, 20, 10, - kwargs.get("mixdmp", 0) + kwargs.get("mixdmp", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,7 +133,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 0) + kwargs.get("ptyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -150,49 +151,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 0) + kwargs.get("styp", 0 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 30, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "lcid1", int, 40, 10, - kwargs.get("lcid1", 0) + kwargs.get("lcid1", 0 if use_lspp_defaults() else None) ), Field( "lcid2", int, 50, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 60, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_node_set.py index b2e81122f..7334b08c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFringePlotNodeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part.py index 8f704720b..bc7acfe80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFringePlotPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part_set.py index 5718f3297..dd5b9b511 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFringePlotPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_plate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_plate.py index 954de8a08..7127f06b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_plate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_plate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFringePlotPlate(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("norm", 1) + kwargs.get("norm", 1 if use_lspp_defaults() else None) ), Field( "len_x", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nelm_x", 10) + kwargs.get("nelm_x", 10 if use_lspp_defaults() else None) ), Field( "nelm_y", int, 70, 10, - kwargs.get("nelm_y", 10) + kwargs.get("nelm_y", 10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_sphere.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_sphere.py index d560159a3..a636fd86a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_sphere.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_fringe_plot_sphere.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticFringePlotSphere(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("center", 1) + kwargs.get("center", 1 if use_lspp_defaults() else None) ), Field( "r", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("half1", 0) + kwargs.get("half1", 0 if use_lspp_defaults() else None) ), Field( "half2", int, 70, 10, - kwargs.get("half2", 0) + kwargs.get("half2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_incident_wave.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_incident_wave.py index 0c22dfbcf..9dc42f0aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_incident_wave.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_incident_wave.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticIncidentWave(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "mag", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_sound_speed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_sound_speed.py index c01b18fe3..a7b896fed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_sound_speed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_acoustic_sound_speed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainAcousticSoundSpeed(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_frf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_frf.py index 1e1932df6..645cc7bac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_frf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_frf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainFrf(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("n1typ", 0) + kwargs.get("n1typ", 0 if use_lspp_defaults() else None) ), Field( "dof1", int, 20, 10, - kwargs.get("dof1", 0) + kwargs.get("dof1", 0 if use_lspp_defaults() else None) ), Field( "vad1", int, 30, 10, - kwargs.get("vad1", 3) + kwargs.get("vad1", 3 if use_lspp_defaults() else None) ), Field( "vid1", int, 40, 10, - kwargs.get("vid1", 0) + kwargs.get("vid1", 0 if use_lspp_defaults() else None) ), Field( "fnmax", float, 50, 10, - kwargs.get("fnmax", 0.0) + kwargs.get("fnmax", 0.0 if use_lspp_defaults() else None) ), Field( "mdmin", int, 60, 10, - kwargs.get("mdmin", 0) + kwargs.get("mdmin", 0 if use_lspp_defaults() else None) ), Field( "mdmax", int, 70, 10, - kwargs.get("mdmax", 0) + kwargs.get("mdmax", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,35 +147,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("n2typ", 0) + kwargs.get("n2typ", 0 if use_lspp_defaults() else None) ), Field( "dof2", int, 20, 10, - kwargs.get("dof2", 0) + kwargs.get("dof2", 0 if use_lspp_defaults() else None) ), Field( "vad2", int, 30, 10, - kwargs.get("vad2", 2) + kwargs.get("vad2", 2 if use_lspp_defaults() else None) ), Field( "vid2", int, 40, 10, - kwargs.get("vid2", 0) + kwargs.get("vid2", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 50, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -199,14 +200,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nfreq", 2) + kwargs.get("nfreq", 2 if use_lspp_defaults() else None) ), Field( "fspace", int, 30, 10, - kwargs.get("fspace", 0) + kwargs.get("fspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", @@ -220,14 +221,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "output", int, 60, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set.py index 323f1d9e0..e2fbb1a82 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalNodeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set_exclude.py index ad3542cf2..d0f903df1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_node_set_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalNodeSetExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part.py index 74b900e4a..e93771978 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_exclude.py index 571f829c4..b37afe93b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalPartExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set.py index 015a390e4..faafaf564 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set_exclude.py index ecd809845..9a8dd72e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_local_part_set_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainLocalPartSetExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate.py index eca3e4968..544d0b69f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeGenerate(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate_exclude.py index 73a551e5d..938319087 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_generate_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeGenerateExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list.py index dcbf6b19e..516a6287e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeList(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list_exclude.py index 12082b62f..aff942983 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_list_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeListExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection.py index 721fd2140..a7e1b3dca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeLoadProjection(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection_exclude.py index 8c89d191e..4ff27aebc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_load_projection_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeLoadProjectionExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient.py index 2cb2fa48c..45bb0409b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeModalCoefficient(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient_exclude.py index 730a4659b..0b5b31ffb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_modal_coefficient_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeModalCoefficientExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set.py index 2c5138451..d03dac6ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set_exclude.py index cd6436859..f7b8d128e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_mode_set_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainModeSetExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path.py index 32a6d2aed..730f7e5ee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainPath(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_nojobid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_nojobid.py index 1b4d12f58..701ec7b52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_nojobid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_nojobid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainPathNojobid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_partition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_partition.py index b67a32204..ba05ede60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_partition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_path_partition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainPathPartition(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration.py index 1f8f46786..6bd00e1db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainRandomVibration(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmptyp", int, 50, 10, - kwargs.get("dmptyp", 0) + kwargs.get("dmptyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vaflag", 0) + kwargs.get("vaflag", 0 if use_lspp_defaults() else None) ), Field( "method", int, 10, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "unit", int, 20, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "umlt", @@ -167,28 +168,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("vapsd", 0) + kwargs.get("vapsd", 0 if use_lspp_defaults() else None) ), Field( "varms", int, 50, 10, - kwargs.get("varms", 0) + kwargs.get("varms", 0 if use_lspp_defaults() else None) ), Field( "napsd", int, 60, 10, - kwargs.get("napsd", 1) + kwargs.get("napsd", 1 if use_lspp_defaults() else None) ), Field( "ncpsd", int, 70, 10, - kwargs.get("ncpsd", 0) + kwargs.get("ncpsd", 0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ldtyp", 0) + kwargs.get("ldtyp", 0 if use_lspp_defaults() else None) ), Field( "ipanelu", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("temper", 0.0) + kwargs.get("temper", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -234,21 +235,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ldflag", 0) + kwargs.get("ldflag", 0 if use_lspp_defaults() else None) ), Field( "icoarse", int, 60, 10, - kwargs.get("icoarse", 0) + kwargs.get("icoarse", 0 if use_lspp_defaults() else None) ), Field( "tcoarse", float, 70, 10, - kwargs.get("tcoarse", 0.1) + kwargs.get("tcoarse", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -273,7 +274,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "ldpsd", @@ -333,7 +334,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lctyp2", 0) + kwargs.get("lctyp2", 0 if use_lspp_defaults() else None) ), Field( "ldpsd1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration_fatigue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration_fatigue.py index f44dccd75..f238adead 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration_fatigue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_random_vibration_fatigue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainRandomVibrationFatigue(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmptyp", int, 50, 10, - kwargs.get("dmptyp", 0) + kwargs.get("dmptyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,21 +140,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vaflag", 0) + kwargs.get("vaflag", 0 if use_lspp_defaults() else None) ), Field( "method", int, 10, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "unit", int, 20, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), Field( "umlt", @@ -167,28 +168,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("vapsd", 0) + kwargs.get("vapsd", 0 if use_lspp_defaults() else None) ), Field( "varms", int, 50, 10, - kwargs.get("varms", 0) + kwargs.get("varms", 0 if use_lspp_defaults() else None) ), Field( "napsd", int, 60, 10, - kwargs.get("napsd", 1) + kwargs.get("napsd", 1 if use_lspp_defaults() else None) ), Field( "ncpsd", int, 70, 10, - kwargs.get("ncpsd", 0) + kwargs.get("ncpsd", 0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ldtyp", 0) + kwargs.get("ldtyp", 0 if use_lspp_defaults() else None) ), Field( "ipanelu", @@ -220,7 +221,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("temper", 0.0) + kwargs.get("temper", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -234,21 +235,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ldflag", 0) + kwargs.get("ldflag", 0 if use_lspp_defaults() else None) ), Field( "icoarse", int, 60, 10, - kwargs.get("icoarse", 0) + kwargs.get("icoarse", 0 if use_lspp_defaults() else None) ), Field( "tcoarse", float, 70, 10, - kwargs.get("tcoarse", 0.1) + kwargs.get("tcoarse", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -273,7 +274,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "ldpsd", @@ -333,7 +334,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lctyp2", 0) + kwargs.get("lctyp2", 0 if use_lspp_defaults() else None) ), Field( "ldpsd1", @@ -358,35 +359,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mftg", 0) + kwargs.get("mftg", 0 if use_lspp_defaults() else None) ), Field( "nftg", int, 10, 10, - kwargs.get("nftg", 1) + kwargs.get("nftg", 1 if use_lspp_defaults() else None) ), Field( "sntype", int, 20, 10, - kwargs.get("sntype", 0) + kwargs.get("sntype", 0 if use_lspp_defaults() else None) ), Field( "texpos", float, 30, 10, - kwargs.get("texpos", 0.0) + kwargs.get("texpos", 0.0 if use_lspp_defaults() else None) ), Field( "strsf", float, 40, 10, - kwargs.get("strsf", 1) + kwargs.get("strsf", 1 if use_lspp_defaults() else None) ), Field( "inftg", @@ -418,14 +419,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), Field( "ltype", int, 30, 10, - kwargs.get("ltype", 0) + kwargs.get("ltype", 0 if use_lspp_defaults() else None) ), Field( "a", @@ -446,14 +447,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sthres", 0) + kwargs.get("sthres", 0 if use_lspp_defaults() else None) ), Field( "snlimt", int, 70, 10, - kwargs.get("snlimt", 0) + kwargs.get("snlimt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum.py index 9e0dde141..376e8be31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainResponseSpectrum(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "mcomb", int, 50, 10, - kwargs.get("mcomb", 0) + kwargs.get("mcomb", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 60, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), Field( "mprs", int, 70, 10, - kwargs.get("mprs", 0) + kwargs.get("mprs", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mcomb1", 0) + kwargs.get("mcomb1", 0 if use_lspp_defaults() else None) ), Field( "mcomb2", int, 10, 10, - kwargs.get("mcomb2", 0) + kwargs.get("mcomb2", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("w1", 0.5) + kwargs.get("w1", 0.5 if use_lspp_defaults() else None) ), Field( "w1", float, 10, 10, - kwargs.get("w1", 0.5) + kwargs.get("w1", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -136,7 +137,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r40", 0.4) + kwargs.get("r40", 0.4 if use_lspp_defaults() else None) ), ], ), @@ -161,21 +162,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ldtyp", 0) + kwargs.get("ldtyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -186,14 +187,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "lc/tbid", @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -228,14 +229,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lntyp", 1) + kwargs.get("lntyp", 1 if use_lspp_defaults() else None) ), Field( "inflag", int, 70, 10, - kwargs.get("inflag", 0) + kwargs.get("inflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum_ddam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum_ddam.py index e717d12cd..ef240ff07 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum_ddam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_response_spectrum_ddam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainResponseSpectrumDdam(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restrt", 0) + kwargs.get("restrt", 0 if use_lspp_defaults() else None) ), Field( "mcomb", int, 50, 10, - kwargs.get("mcomb", 0) + kwargs.get("mcomb", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 60, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), Field( "mprs", int, 70, 10, - kwargs.get("mprs", 0) + kwargs.get("mprs", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,14 +101,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mcomb1", 0) + kwargs.get("mcomb1", 0 if use_lspp_defaults() else None) ), Field( "mcomb2", int, 10, 10, - kwargs.get("mcomb2", 0) + kwargs.get("mcomb2", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("w1", 0.5) + kwargs.get("w1", 0.5 if use_lspp_defaults() else None) ), Field( "w1", float, 10, 10, - kwargs.get("w1", 0.5) + kwargs.get("w1", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -136,7 +137,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r40", 0.4) + kwargs.get("r40", 0.4 if use_lspp_defaults() else None) ), ], ), @@ -161,21 +162,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ldtyp", 0) + kwargs.get("ldtyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -186,56 +187,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("std", 1) + kwargs.get("std", 1 if use_lspp_defaults() else None) ), Field( "unit", int, 10, 10, - kwargs.get("unit", 1) + kwargs.get("unit", 1 if use_lspp_defaults() else None) ), Field( "amin", float, 20, 10, - kwargs.get("amin", 6.0) + kwargs.get("amin", 6.0 if use_lspp_defaults() else None) ), Field( "vid", int, 30, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 40, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 50, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 60, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "effmas", float, 70, 10, - kwargs.get("effmas", 80.0) + kwargs.get("effmas", 80.0 if use_lspp_defaults() else None) ), ], ), @@ -246,28 +247,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("shptyp", 1) + kwargs.get("shptyp", 1 if use_lspp_defaults() else None) ), Field( "mount", int, 10, 10, - kwargs.get("mount", 1) + kwargs.get("mount", 1 if use_lspp_defaults() else None) ), Field( "movemt", int, 20, 10, - kwargs.get("movemt", 1) + kwargs.get("movemt", 1 if use_lspp_defaults() else None) ), Field( "mattyp", int, 30, 10, - kwargs.get("mattyp", 1) + kwargs.get("mattyp", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_connection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_connection.py index 0560c7328..9a129c8a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_connection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_connection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSeaConnection(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ctype", 1) + kwargs.get("ctype", 1 if use_lspp_defaults() else None) ), Field( "nsub", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ibeam", 0) + kwargs.get("ibeam", 0 if use_lspp_defaults() else None) ), ], ), @@ -192,7 +193,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("length", 0.0) + kwargs.get("length", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,14 +204,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("absorb", 0.0) + kwargs.get("absorb", 0.0 if use_lspp_defaults() else None) ), Field( "thick", float, 10, 10, - kwargs.get("thick", 0.0) + kwargs.get("thick", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_input.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_input.py index b0fea0bc4..080cfae81 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_input.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_input.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSeaInput(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("subtyp", 1) + kwargs.get("subtyp", 1 if use_lspp_defaults() else None) ), Field( "loadtyp", int, 20, 10, - kwargs.get("loadtyp", 0) + kwargs.get("loadtyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_subsystem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_subsystem.py index ae974a219..470874380 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_subsystem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_sea_subsystem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSeaSubsystem(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nfspace", 0) + kwargs.get("nfspace", 0 if use_lspp_defaults() else None) ), Field( "lcfreq", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iread", 0) + kwargs.get("iread", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,7 +94,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("subtyp", 1) + kwargs.get("subtyp", 1 if use_lspp_defaults() else None) ), Field( "density", @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -227,21 +228,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 40, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 50, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -474,28 +475,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 50, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 60, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 70, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd.py index 51cbf1225..992c0ce1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsd(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -248,14 +249,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct.py index d40275244..056df1224 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdDirect(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -248,14 +249,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct_frequency_dependent.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct_frequency_dependent.py index 4dc45b410..c3b32f0da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct_frequency_dependent.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_direct_frequency_dependent.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdDirectFrequencyDependent(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -248,14 +249,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_erp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_erp.py index ecc756dd3..02168702d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_erp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_erp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdErp(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -220,21 +221,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("erprlf", 1.0) + kwargs.get("erprlf", 1.0 if use_lspp_defaults() else None) ), Field( "erpref", float, 30, 10, - kwargs.get("erpref", 0.0) + kwargs.get("erpref", 0.0 if use_lspp_defaults() else None) ), Field( "radeff", int, 30, 10, - kwargs.get("radeff", 0) + kwargs.get("radeff", 0 if use_lspp_defaults() else None) ), ], ), @@ -252,7 +253,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 0) + kwargs.get("ptyp", 0 if use_lspp_defaults() else None) ), ], ), @@ -270,21 +271,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -305,14 +306,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_fatigue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_fatigue.py index 1b9cc287e..e485acd5f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_fatigue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_fatigue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdFatigue(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -248,14 +249,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_frf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_frf.py index adc5d7475..7c9a189ca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_frf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_frf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdFrf(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -213,21 +214,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -248,14 +249,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_subcase.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_subcase.py index 828c3b63a..36a908667 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_subcase.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/frequency_domain_ssd_subcase.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class FrequencyDomainSsdSubcase(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mdmin", 1) + kwargs.get("mdmin", 1 if use_lspp_defaults() else None) ), Field( "mdmax", @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("fnmin", 0.0) + kwargs.get("fnmin", 0.0 if use_lspp_defaults() else None) ), Field( "fnmax", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("restmd", 0) + kwargs.get("restmd", 0 if use_lspp_defaults() else None) ), Field( "restdp", int, 50, 10, - kwargs.get("restdp", 0) + kwargs.get("restdp", 0 if use_lspp_defaults() else None) ), Field( "lcflag", int, 60, 10, - kwargs.get("lcflag", 0) + kwargs.get("lcflag", 0 if use_lspp_defaults() else None) ), Field( "relatv", int, 70, 10, - kwargs.get("relatv", 0) + kwargs.get("relatv", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dampf", 0.0) + kwargs.get("dampf", 0.0 if use_lspp_defaults() else None) ), Field( "lcdam", int, 10, 10, - kwargs.get("lcdam", 0) + kwargs.get("lcdam", 0 if use_lspp_defaults() else None) ), Field( "lctyp", int, 20, 10, - kwargs.get("lctyp", 0) + kwargs.get("lctyp", 0 if use_lspp_defaults() else None) ), Field( "dmpmas", float, 30, 10, - kwargs.get("dmpmas", 0.0) + kwargs.get("dmpmas", 0.0 if use_lspp_defaults() else None) ), Field( "dmpstf", float, 40, 10, - kwargs.get("dmpstf", 0.0) + kwargs.get("dmpstf", 0.0 if use_lspp_defaults() else None) ), Field( "dmpflg", int, 50, 10, - kwargs.get("dmpflg", 0) + kwargs.get("dmpflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -160,42 +161,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("memory", 0) + kwargs.get("memory", 0 if use_lspp_defaults() else None) ), Field( "nerp", int, 30, 10, - kwargs.get("nerp", 0) + kwargs.get("nerp", 0 if use_lspp_defaults() else None) ), Field( "strtyp", int, 40, 10, - kwargs.get("strtyp", 0) + kwargs.get("strtyp", 0 if use_lspp_defaults() else None) ), Field( "nout", int, 50, 10, - kwargs.get("nout", 0) + kwargs.get("nout", 0 if use_lspp_defaults() else None) ), Field( "notyp", int, 60, 10, - kwargs.get("notyp", 0) + kwargs.get("notyp", 0 if use_lspp_defaults() else None) ), Field( "nova", int, 70, 10, - kwargs.get("nova", 0) + kwargs.get("nova", 0 if use_lspp_defaults() else None) ), ], ), @@ -220,7 +221,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("nload", 1) + kwargs.get("nload", 1 if use_lspp_defaults() else None) ), ], ), @@ -238,21 +239,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ntyp", 0) + kwargs.get("ntyp", 0 if use_lspp_defaults() else None) ), Field( "dof", int, 20, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 30, 10, - kwargs.get("vad", 0) + kwargs.get("vad", 0 if use_lspp_defaults() else None) ), Field( "lc1", @@ -273,14 +274,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sf", 0) + kwargs.get("sf", 0 if use_lspp_defaults() else None) ), Field( "vid", int, 70, 10, - kwargs.get("vid", 0) + kwargs.get("vid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/hourglass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/hourglass.py index b23c7acf5..11c8c6ff1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/hourglass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/hourglass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.card_set import CardSet from ansys.dyna.core.lib.cards import Cards from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec @@ -45,21 +46,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "ihq", int, 10, 10, - kwargs.get("ihq", 0) + kwargs.get("ihq", 0 if use_lspp_defaults() else None) ), Field( "qm", float, 20, 10, - kwargs.get("qm", 0.1) + kwargs.get("qm", 0.1 if use_lspp_defaults() else None) ), Field( "ibq", @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("q1", 1.5) + kwargs.get("q1", 1.5 if use_lspp_defaults() else None) ), Field( "q2", float, 50, 10, - kwargs.get("q2", 6.0E-02) + kwargs.get("q2", 6.0E-02 if use_lspp_defaults() else None) ), Field( "qb/vdc", float, 60, 10, - kwargs.get("qb/vdc", 0.1) + kwargs.get("qb/vdc", 0.1 if use_lspp_defaults() else None) ), Field( "qw", float, 70, 10, - kwargs.get("qw", 0.1) + kwargs.get("qw", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_conj_heat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_conj_heat.py index 8172f33d4..14ffaf2e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_conj_heat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_conj_heat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryConjHeat(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "val", float, 20, 10, - kwargs.get("val", 0.0) + kwargs.get("val", 0.0 if use_lspp_defaults() else None) ), Field( "sflcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_convection_temp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_convection_temp.py index 11db46686..58a0f9b42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_convection_temp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_convection_temp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryConvectionTemp(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("hsf", 1.0) + kwargs.get("hsf", 1.0 if use_lspp_defaults() else None) ), Field( "tblcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tbsf", 1.0) + kwargs.get("tbsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_flux_temp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_flux_temp.py index 844178909..f0dba61b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_flux_temp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_flux_temp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryFluxTemp(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1e28) + kwargs.get("death", 1e28 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_freeslip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_freeslip.py index e87c87851..7e36ce9c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_freeslip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_freeslip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi.py index 6cd578e4f..341b925aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_exclude.py index 9ba4c518c..73d84c434 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_fixed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_fixed.py index 776c494c2..b6fe667d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_fixed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fsi_fixed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryFsiFixed(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fswave.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fswave.py index 3d619e946..225170e4e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fswave.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_fswave.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryFswave(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_ground.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_ground.py index 9d5749568..5ad964849 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_ground.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_ground.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryGround(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_navierslip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_navierslip.py index 276659e76..af5a3b8fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_navierslip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_navierslip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryNavierslip(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_nonslip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_nonslip.py index 34a6d36bf..5ee8e5411 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_nonslip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_nonslip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_periodic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_periodic.py index 21621de73..d291ea063 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_periodic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_periodic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPeriodic(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptype", 1) + kwargs.get("ptype", 1 if use_lspp_defaults() else None) ), Field( "pid2", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_levelset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_levelset.py index 0274a3d22..4bd300b46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_levelset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_levelset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPrescribedLevelset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_movemesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_movemesh.py index 2804537df..fa2105751 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_movemesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_movemesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPrescribedMovemesh(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dofx", 1) + kwargs.get("dofx", 1 if use_lspp_defaults() else None) ), Field( "dofy", int, 20, 10, - kwargs.get("dofy", 1) + kwargs.get("dofy", 1 if use_lspp_defaults() else None) ), Field( "dofz", int, 30, 10, - kwargs.get("dofz", 1) + kwargs.get("dofz", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_pre.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_pre.py index 97bb630d5..cedb916f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_pre.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_pre.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_temp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_temp.py index bc5e0a622..c37c1946b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_temp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_temp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPrescribedTemp(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_turbulence.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_turbulence.py index ff95de425..dd8429faa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_turbulence.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_turbulence.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPrescribedTurbulence(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("vtype", 1) + kwargs.get("vtype", 1 if use_lspp_defaults() else None) ), Field( "imp", int, 20, 10, - kwargs.get("imp", 0) + kwargs.get("imp", 0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_vel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_vel.py index 005dede52..f3408afa0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_vel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_prescribed_vel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryPrescribedVel(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "vad", int, 20, 10, - kwargs.get("vad", 1) + kwargs.get("vad", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "vid", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "birth", float, 70, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_windkessel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_windkessel.py index 924823e9a..b8f1a53ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_windkessel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_boundary_windkessel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdBoundaryWindkessel(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("r1", 0.0) + kwargs.get("r1", 0.0 if use_lspp_defaults() else None) ), Field( "c1", float, 30, 10, - kwargs.get("c1", 0.0) + kwargs.get("c1", 0.0 if use_lspp_defaults() else None) ), Field( "r2", float, 40, 10, - kwargs.get("r2", 0.0) + kwargs.get("r2", 0.0 if use_lspp_defaults() else None) ), Field( "l1", float, 50, 10, - kwargs.get("l1", 0.0) + kwargs.get("l1", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt.py index f7ad952bd..b8a41c033 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlAdapt(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("err", 1.0) + kwargs.get("err", 1.0 if use_lspp_defaults() else None) ), Field( "mth", int, 30, 10, - kwargs.get("mth", 0) + kwargs.get("mth", 0 if use_lspp_defaults() else None) ), Field( "nit", int, 40, 10, - kwargs.get("nit", 0) + kwargs.get("nit", 0 if use_lspp_defaults() else None) ), Field( "var", int, 50, 10, - kwargs.get("var", 0) + kwargs.get("var", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("kis", 0) + kwargs.get("kis", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt_size.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt_size.py index 2ed6a36f9..5f1157eeb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt_size.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_adapt_size.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlAdaptSize(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("asize", 0) + kwargs.get("asize", 0 if use_lspp_defaults() else None) ), Field( "nit", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_conj.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_conj.py index 5913a75a8..d65676d03 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_conj.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_conj.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlConj(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_dem_coupling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_dem_coupling.py index 3cc11b835..64498b022 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_dem_coupling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_dem_coupling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlDemCoupling(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ctype", 0) + kwargs.get("ctype", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 10, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 20, 10, - kwargs.get("dt", 1E+28) + kwargs.get("dt", 1E+28 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 1.) + kwargs.get("sf", 1. if use_lspp_defaults() else None) ), Field( "maxvel", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_embedshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_embedshell.py index 890348822..37be142bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_embedshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_embedshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlEmbedshell(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("gtype", 0) + kwargs.get("gtype", 0 if use_lspp_defaults() else None) ), Field( "dist", float, 10, 10, - kwargs.get("dist", 0.1) + kwargs.get("dist", 0.1 if use_lspp_defaults() else None) ), Field( "tps", int, 20, 10, - kwargs.get("tps", 0) + kwargs.get("tps", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_fsi.py index 68e8bf8b3..0a315d094 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlFsi(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("owc", 0) + kwargs.get("owc", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 10, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 20, 10, - kwargs.get("dt", 1.0E28) + kwargs.get("dt", 1.0E28 if use_lspp_defaults() else None) ), Field( "idc", float, 30, 10, - kwargs.get("idc", 0.25) + kwargs.get("idc", 0.25 if use_lspp_defaults() else None) ), Field( "lcidsf", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("xproj", 0) + kwargs.get("xproj", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_general.py index ee9c95cf0..d42095d8e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlGeneral(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("atype", 0) + kwargs.get("atype", 0 if use_lspp_defaults() else None) ), Field( "mtype", int, 10, 10, - kwargs.get("mtype", 0) + kwargs.get("mtype", 0 if use_lspp_defaults() else None) ), Field( "dvcl", int, 20, 10, - kwargs.get("dvcl", 0) + kwargs.get("dvcl", 0 if use_lspp_defaults() else None) ), Field( "rdvcl", int, 30, 10, - kwargs.get("rdvcl", 0) + kwargs.get("rdvcl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_imposed_move.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_imposed_move.py index 4321d45b6..aff5480c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_imposed_move.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_imposed_move.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlImposedMove(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("vadt", 0) + kwargs.get("vadt", 0 if use_lspp_defaults() else None) ), ], ), @@ -121,7 +122,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("vadr", 0) + kwargs.get("vadr", 0 if use_lspp_defaults() else None) ), ], ), @@ -132,49 +133,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ptid", 0) + kwargs.get("ptid", 0 if use_lspp_defaults() else None) ), Field( "x1", float, 10, 10, - kwargs.get("x1", 1.0) + kwargs.get("x1", 1.0 if use_lspp_defaults() else None) ), Field( "y1", float, 20, 10, - kwargs.get("y1", 0.0) + kwargs.get("y1", 0.0 if use_lspp_defaults() else None) ), Field( "z1", float, 30, 10, - kwargs.get("z1", 0.0) + kwargs.get("z1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 40, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "y2", float, 50, 10, - kwargs.get("y2", 1.0) + kwargs.get("y2", 1.0 if use_lspp_defaults() else None) ), Field( "z2", float, 60, 10, - kwargs.get("z2", 0.0) + kwargs.get("z2", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,21 +186,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ptido", 0) + kwargs.get("ptido", 0 if use_lspp_defaults() else None) ), Field( "axe", int, 10, 10, - kwargs.get("axe", 0) + kwargs.get("axe", 0 if use_lspp_defaults() else None) ), Field( "ptidv", int, 20, 10, - kwargs.get("ptidv", 0) + kwargs.get("ptidv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_load.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_load.py index 35579bf6f..dbb63a861 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_load.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_load.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlLoad(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("abl", 1) + kwargs.get("abl", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh.py index 43f20ef9e..4a5ef6e84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlMesh(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("mgsf", 1.41) + kwargs.get("mgsf", 1.41 if use_lspp_defaults() else None) ), Field( "unused", @@ -54,21 +55,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("mstrat", 0) + kwargs.get("mstrat", 0 if use_lspp_defaults() else None) ), Field( "2dstruc", int, 30, 10, - kwargs.get("2dstruc", 0) + kwargs.get("2dstruc", 0 if use_lspp_defaults() else None) ), Field( "nrmsh", int, 40, 10, - kwargs.get("nrmsh", 0) + kwargs.get("nrmsh", 0 if use_lspp_defaults() else None) ), ], ), @@ -79,7 +80,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("aver", 14) + kwargs.get("aver", 14 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh_mov.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh_mov.py index 14a3d248e..fe7d2b73c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh_mov.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_mesh_mov.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlMeshMov(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mmsh", 2) + kwargs.get("mmsh", 2 if use_lspp_defaults() else None) ), Field( "lim_iter", int, 10, 10, - kwargs.get("lim_iter", 100) + kwargs.get("lim_iter", 100 if use_lspp_defaults() else None) ), Field( "reltol", float, 20, 10, - kwargs.get("reltol", 1.0e-3) + kwargs.get("reltol", 1.0e-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_monolithic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_monolithic.py index fdba34584..b351180e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_monolithic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_monolithic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlMonolithic(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("sid", 0) + kwargs.get("sid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output.py index e88cea45c..9ffaa166c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlOutput(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("msgl", 0) + kwargs.get("msgl", 0 if use_lspp_defaults() else None) ), Field( "outl", int, 10, 10, - kwargs.get("outl", 0) + kwargs.get("outl", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 20, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "lsppout", int, 30, 10, - kwargs.get("lsppout", 1) + kwargs.get("lsppout", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("itout", 0) + kwargs.get("itout", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_subdom.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_subdom.py index 33d421211..d075c2885 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_subdom.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_subdom.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlOutputSubdom(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 20, - kwargs.get("sname", "BOX") + kwargs.get("sname", "BOX" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_var.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_var.py index de5a427df..a453a9f86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_var.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_output_var.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlOutputVar(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("vel", 0) + kwargs.get("vel", 0 if use_lspp_defaults() else None) ), Field( "avgvel", int, 10, 10, - kwargs.get("avgvel", 0) + kwargs.get("avgvel", 0 if use_lspp_defaults() else None) ), Field( "vort", int, 20, 10, - kwargs.get("vort", 0) + kwargs.get("vort", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,35 +66,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pre", 0) + kwargs.get("pre", 0 if use_lspp_defaults() else None) ), Field( "preavg", int, 10, 10, - kwargs.get("preavg", 0) + kwargs.get("preavg", 0 if use_lspp_defaults() else None) ), Field( "lset", int, 20, 10, - kwargs.get("lset", 0) + kwargs.get("lset", 0 if use_lspp_defaults() else None) ), Field( "oc", int, 30, 10, - kwargs.get("oc", 0) + kwargs.get("oc", 0 if use_lspp_defaults() else None) ), Field( "cfl", int, 40, 10, - kwargs.get("cfl", 0) + kwargs.get("cfl", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,14 +105,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("temp", 0) + kwargs.get("temp", 0 if use_lspp_defaults() else None) ), Field( "tempavg", int, 10, 10, - kwargs.get("tempavg", 0) + kwargs.get("tempavg", 0 if use_lspp_defaults() else None) ), ], ), @@ -122,35 +123,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("kp", 0) + kwargs.get("kp", 0 if use_lspp_defaults() else None) ), Field( "ep", int, 10, 10, - kwargs.get("ep", 0) + kwargs.get("ep", 0 if use_lspp_defaults() else None) ), Field( "mut", int, 20, 10, - kwargs.get("mut", 0) + kwargs.get("mut", 0 if use_lspp_defaults() else None) ), Field( "int", int, 30, 10, - kwargs.get("int", 0) + kwargs.get("int", 0 if use_lspp_defaults() else None) ), Field( "cmu", int, 40, 10, - kwargs.get("cmu", 0) + kwargs.get("cmu", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_partition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_partition.py index fa82fb4c5..e1affda34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_partition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_partition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlPartition(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ptech", 1) + kwargs.get("ptech", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_porous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_porous.py index 9bd1d2ee2..214452952 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_porous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_porous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlPorous(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pmstype", 0) + kwargs.get("pmstype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_steady.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_steady.py index 5ade7179f..e68fa2bdd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_steady.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_steady.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlSteady(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("its", 1000000) + kwargs.get("its", 1000000 if use_lspp_defaults() else None) ), Field( "tol1", float, 10, 10, - kwargs.get("tol1", 1.e-3) + kwargs.get("tol1", 1.e-3 if use_lspp_defaults() else None) ), Field( "tol2", float, 20, 10, - kwargs.get("tol2", 1.e-3) + kwargs.get("tol2", 1.e-3 if use_lspp_defaults() else None) ), Field( "tol3", float, 30, 10, - kwargs.get("tol3", 1.e-3) + kwargs.get("tol3", 1.e-3 if use_lspp_defaults() else None) ), Field( "rel1", float, 40, 10, - kwargs.get("rel1", 0.3) + kwargs.get("rel1", 0.3 if use_lspp_defaults() else None) ), Field( "rel2", float, 50, 10, - kwargs.get("rel2", 0.7) + kwargs.get("rel2", 0.7 if use_lspp_defaults() else None) ), Field( "urel", float, 60, 10, - kwargs.get("urel", 1.) + kwargs.get("urel", 1. if use_lspp_defaults() else None) ), Field( "order", int, 70, 10, - kwargs.get("order", 0) + kwargs.get("order", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_surfmesh.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_surfmesh.py index d81b7fcdf..e46811021 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_surfmesh.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_surfmesh.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlSurfmesh(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rsrf", 0) + kwargs.get("rsrf", 0 if use_lspp_defaults() else None) ), Field( "sadapt", int, 10, 10, - kwargs.get("sadapt", 0) + kwargs.get("sadapt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_taverage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_taverage.py index 9fdb8334f..560541a22 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_taverage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_taverage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlTaverage(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_time.py index 2ec309932..70413ee12 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlTime(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ttm", 1.E28) + kwargs.get("ttm", 1.E28 if use_lspp_defaults() else None) ), Field( "dt", float, 10, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "cfl", float, 20, 10, - kwargs.get("cfl", 1.0) + kwargs.get("cfl", 1.0 if use_lspp_defaults() else None) ), Field( "lcidsf", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tdeath", 1e28) + kwargs.get("tdeath", 1e28 if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("btbl", 0) + kwargs.get("btbl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_transient.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_transient.py index c0b4546a6..e26eba69b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_transient.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_transient.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlTransient(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tord", 0) + kwargs.get("tord", 0 if use_lspp_defaults() else None) ), Field( "fsord", int, 10, 10, - kwargs.get("fsord", 0) + kwargs.get("fsord", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turb_synthesis.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turb_synthesis.py index 9de232b40..6763045dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turb_synthesis.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turb_synthesis.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlTurbSynthesis(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "iu", float, 10, 10, - kwargs.get("iu", 1e-3) + kwargs.get("iu", 1e-3 if use_lspp_defaults() else None) ), Field( "iv", float, 20, 10, - kwargs.get("iv", 1e-3) + kwargs.get("iv", 1e-3 if use_lspp_defaults() else None) ), Field( "iw", float, 30, 10, - kwargs.get("iw", 1e-3) + kwargs.get("iw", 1e-3 if use_lspp_defaults() else None) ), Field( "ls", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turbulence.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turbulence.py index 912971bd2..0eeb65aca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turbulence.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_control_turbulence.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdControlTurbulence(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tmod", 0) + kwargs.get("tmod", 0 if use_lspp_defaults() else None) ), Field( "submod", int, 10, 10, - kwargs.get("submod", 0) + kwargs.get("submod", 0 if use_lspp_defaults() else None) ), Field( "wlaw", int, 20, 10, - kwargs.get("wlaw", 0) + kwargs.get("wlaw", 0 if use_lspp_defaults() else None) ), Field( "ks", float, 30, 10, - kwargs.get("ks", 0) + kwargs.get("ks", 0 if use_lspp_defaults() else None) ), Field( "cs", float, 40, 10, - kwargs.get("cs", 0) + kwargs.get("cs", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcids1", 0) + kwargs.get("lcids1", 0 if use_lspp_defaults() else None) ), Field( "lcids2", int, 70, 10, - kwargs.get("lcids2", 0) + kwargs.get("lcids2", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ce1", 1.44) + kwargs.get("ce1", 1.44 if use_lspp_defaults() else None) ), Field( "ce2", float, 10, 10, - kwargs.get("ce2", 1.92) + kwargs.get("ce2", 1.92 if use_lspp_defaults() else None) ), Field( "qe", float, 20, 10, - kwargs.get("qe", 1.3) + kwargs.get("qe", 1.3 if use_lspp_defaults() else None) ), Field( "qk", float, 30, 10, - kwargs.get("qk", 1.0) + kwargs.get("qk", 1.0 if use_lspp_defaults() else None) ), Field( "cu", float, 40, 10, - kwargs.get("cu", 0.09) + kwargs.get("cu", 0.09 if use_lspp_defaults() else None) ), Field( "ccut", float, 50, 10, - kwargs.get("ccut", -1.0) + kwargs.get("ccut", -1.0 if use_lspp_defaults() else None) ), ], lambda: self.tmod==1, @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cs", 0.18) + kwargs.get("cs", 0.18 if use_lspp_defaults() else None) ), ], lambda: self.tmod==2 or self.tmod==3, @@ -159,7 +160,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cs", 0.18) + kwargs.get("cs", 0.18 if use_lspp_defaults() else None) ), ], lambda: self.tmod==4, @@ -171,42 +172,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("r", 1.44) + kwargs.get("r", 1.44 if use_lspp_defaults() else None) ), Field( "beta-01", float, 10, 10, - kwargs.get("beta-01", 0.072) + kwargs.get("beta-01", 0.072 if use_lspp_defaults() else None) ), Field( "beta-w1", float, 20, 10, - kwargs.get("beta-w1", 2) + kwargs.get("beta-w1", 2 if use_lspp_defaults() else None) ), Field( "sigma-w1", float, 30, 10, - kwargs.get("sigma-w1", 2) + kwargs.get("sigma-w1", 2 if use_lspp_defaults() else None) ), Field( "sigma-k1", float, 40, 10, - kwargs.get("sigma-k1", 0.09) + kwargs.get("sigma-k1", 0.09 if use_lspp_defaults() else None) ), Field( "ccut", float, 50, 10, - kwargs.get("ccut", -1.0) + kwargs.get("ccut", -1.0 if use_lspp_defaults() else None) ), ], lambda: self.tmod==4, @@ -218,35 +219,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha1", 0.31) + kwargs.get("alpha1", 0.31 if use_lspp_defaults() else None) ), Field( "beta-02", float, 10, 10, - kwargs.get("beta-02", 0.0828) + kwargs.get("beta-02", 0.0828 if use_lspp_defaults() else None) ), Field( "sigma-w2", float, 20, 10, - kwargs.get("sigma-w2", 2) + kwargs.get("sigma-w2", 2 if use_lspp_defaults() else None) ), Field( "sigma-k2", float, 30, 10, - kwargs.get("sigma-k2", 2) + kwargs.get("sigma-k2", 2 if use_lspp_defaults() else None) ), Field( "cl", float, 40, 10, - kwargs.get("cl", 0.875) + kwargs.get("cl", 0.875 if use_lspp_defaults() else None) ), ], lambda: self.tmod==5, @@ -258,42 +259,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cb1", 0.1355) + kwargs.get("cb1", 0.1355 if use_lspp_defaults() else None) ), Field( "cb2", float, 10, 10, - kwargs.get("cb2", 0.622) + kwargs.get("cb2", 0.622 if use_lspp_defaults() else None) ), Field( "sigma-v", float, 20, 10, - kwargs.get("sigma-v", 0.66) + kwargs.get("sigma-v", 0.66 if use_lspp_defaults() else None) ), Field( "cv1", float, 30, 10, - kwargs.get("cv1", 7.2) + kwargs.get("cv1", 7.2 if use_lspp_defaults() else None) ), Field( "cw1", float, 40, 10, - kwargs.get("cw1", 0.3) + kwargs.get("cw1", 0.3 if use_lspp_defaults() else None) ), Field( "cw2", float, 50, 10, - kwargs.get("cw2", 2.0) + kwargs.get("cw2", 2.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_average.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_average.py index 2cb9d378a..61af3097a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_average.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_average.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseAverage(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag.py index d36fa8989..68c9f5f80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseDrag(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "perout", int, 30, 10, - kwargs.get("perout", 0) + kwargs.get("perout", 0 if use_lspp_defaults() else None) ), Field( "divi", int, 40, 10, - kwargs.get("divi", 10) + kwargs.get("divi", 10 if use_lspp_defaults() else None) ), Field( "elout", int, 50, 10, - kwargs.get("elout", 0) + kwargs.get("elout", 0 if use_lspp_defaults() else None) ), Field( "ssout", int, 60, 10, - kwargs.get("ssout", 0) + kwargs.get("ssout", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag_vol.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag_vol.py index 87b9d071b..48eb72fc9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag_vol.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_drag_vol.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseDragVol(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "perout", int, 30, 10, - kwargs.get("perout", 0) + kwargs.get("perout", 0 if use_lspp_defaults() else None) ), Field( "divi", int, 40, 10, - kwargs.get("divi", 10) + kwargs.get("divi", 10 if use_lspp_defaults() else None) ), Field( "elout", int, 50, 10, - kwargs.get("elout", 0) + kwargs.get("elout", 0 if use_lspp_defaults() else None) ), Field( "ssout", int, 60, 10, - kwargs.get("ssout", 0) + kwargs.get("ssout", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_flux.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_flux.py index 419bb6252..1a7d45770 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_flux.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_flux.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_htc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_htc.py index eb60e5fb5..d35405541 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_htc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_htc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseHtc(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("out", 0) + kwargs.get("out", 0 if use_lspp_defaults() else None) ), Field( "htc", int, 10, 10, - kwargs.get("htc", 0) + kwargs.get("htc", 0 if use_lspp_defaults() else None) ), Field( "tb", float, 20, 10, - kwargs.get("tb", 0.0) + kwargs.get("tb", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("outdt", 0.0) + kwargs.get("outdt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodeavg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodeavg.py index 288b53aef..0402f5202 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodeavg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodeavg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseNodeavg(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("on", 0) + kwargs.get("on", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodout.py index a431032d4..eb83cc749 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_nodout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseNodout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ntempout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ntempout.py index 5c57da7e1..d3147c896 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ntempout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ntempout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseNtempout(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointavg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointavg.py index 88d455660..e4c4f4019 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointavg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointavg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabasePointavg(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("on", 0) + kwargs.get("on", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointout.py index 80525c8f2..acc5dc177 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_pointout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabasePointout(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 0.0) + kwargs.get("dtout", 0.0 if use_lspp_defaults() else None) ), Field( "pstype", int, 20, 10, - kwargs.get("pstype", 0) + kwargs.get("pstype", 0 if use_lspp_defaults() else None) ), Field( "vx", float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_residuals.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_residuals.py index bc398e96b..ccf151792 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_residuals.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_residuals.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseResiduals(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("rlvl", 0) + kwargs.get("rlvl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout.py index 1aab02429..34990ba60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseSsout(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("out", 0) + kwargs.get("out", 0 if use_lspp_defaults() else None) ), Field( "outdt", int, 10, 10, - kwargs.get("outdt", 0) + kwargs.get("outdt", 0 if use_lspp_defaults() else None) ), Field( "lcidsf", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("poff", 0.0) + kwargs.get("poff", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout_exclude.py index 68e3647cc..cf940244d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_ssout_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseSsoutExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_temp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_temp.py index e8cf33e03..9b41e229d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_temp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_temp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseTemp(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_timestep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_timestep.py index 7d0e148cf..ab83489d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_timestep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_timestep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseTimestep(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("outlv", 0) + kwargs.get("outlv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_uindex.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_uindex.py index dac5bea72..46f28e74a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_uindex.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_database_uindex.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDatabaseUindex(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("out", 0) + kwargs.get("out", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_heatsource.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_heatsource.py index e36d7e9cd..629088503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_heatsource.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_heatsource.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefineHeatsource(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_noninertial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_noninertial.py index 7cdd2ca85..50c6b6a15 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_noninertial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_noninertial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefineNoninertial(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("relv", 0) + kwargs.get("relv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_point.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_point.py index ab196f578..02cac45ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_point.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_point.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefinePoint(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_source.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_source.py index 96447fd07..30f8b751d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_source.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_source.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefineSource(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("shape", 1) + kwargs.get("shape", 1 if use_lspp_defaults() else None) ), Field( "r", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_turbsource.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_turbsource.py index 14a762825..c8032ea44 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_turbsource.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_turbsource.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefineTurbsource(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("shape", 1) + kwargs.get("shape", 1 if use_lspp_defaults() else None) ), Field( "r", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_wave_damping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_wave_damping.py index c5fb380c8..de5a878ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_wave_damping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_define_wave_damping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdDefineWaveDamping(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial.py index d5ec23360..3cb048d5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdInitial(KeywordBase): @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("dfunc", 0) + kwargs.get("dfunc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_levelset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_levelset.py index 86ab59713..cb55c0228 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_levelset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_levelset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdInitialLevelset(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "nx", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("invert", 0) + kwargs.get("invert", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_tempnode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_tempnode.py index 21513081d..a361542d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_tempnode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_tempnode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdInitialTempnode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_turbulence.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_turbulence.py index d3f63fd07..c82e9236c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_turbulence.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_initial_turbulence.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdInitialTurbulence(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_mat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_mat.py index 874d3cfde..529579200 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_mat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_mat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdMat(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("flg", 1) + kwargs.get("flg", 1 if use_lspp_defaults() else None) ), Field( "ro", float, 20, 10, - kwargs.get("ro", 0) + kwargs.get("ro", 0 if use_lspp_defaults() else None) ), Field( "vis", float, 30, 10, - kwargs.get("vis", 0) + kwargs.get("vis", 0 if use_lspp_defaults() else None) ), Field( "st", float, 40, 10, - kwargs.get("st", 0) + kwargs.get("st", 0 if use_lspp_defaults() else None) ), Field( "stsflcid", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ca", 0) + kwargs.get("ca", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,28 +94,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hc", 0) + kwargs.get("hc", 0 if use_lspp_defaults() else None) ), Field( "tc", float, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 20, 10, - kwargs.get("beta", 0) + kwargs.get("beta", 0 if use_lspp_defaults() else None) ), Field( "prt", float, 30, 10, - kwargs.get("prt", 0.85) + kwargs.get("prt", 0.85 if use_lspp_defaults() else None) ), Field( "hcsflcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_nonnewt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_nonnewt.py index 38d2258eb..91fe7124a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_nonnewt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_nonnewt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdModelNonnewt(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nnid", 1) + kwargs.get("nnid", 1 if use_lspp_defaults() else None) ), ], ), @@ -58,42 +59,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("k", 0.0) + kwargs.get("k", 0.0 if use_lspp_defaults() else None) ), Field( "n", float, 10, 10, - kwargs.get("n", 0.0) + kwargs.get("n", 0.0 if use_lspp_defaults() else None) ), Field( "mumin", float, 20, 10, - kwargs.get("mumin", 0.0) + kwargs.get("mumin", 0.0 if use_lspp_defaults() else None) ), Field( "lambda", float, 30, 10, - kwargs.get("lambda", 1e30) + kwargs.get("lambda", 1e30 if use_lspp_defaults() else None) ), Field( "alpha", float, 40, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), Field( "talpha", float, 50, 10, - kwargs.get("talpha", 0) + kwargs.get("talpha", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_porous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_porous.py index abd860021..99b6354a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_porous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_model_porous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdModelPorous(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("pmid", 1) + kwargs.get("pmid", 1 if use_lspp_defaults() else None) ), ], ), @@ -58,28 +59,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("por", 0.0) + kwargs.get("por", 0.0 if use_lspp_defaults() else None) ), Field( "per/thx", float, 10, 10, - kwargs.get("per/thx", 0.0) + kwargs.get("per/thx", 0.0 if use_lspp_defaults() else None) ), Field( "ff/thy", float, 20, 10, - kwargs.get("ff/thy", 0.0) + kwargs.get("ff/thy", 0.0 if use_lspp_defaults() else None) ), Field( "thz", float, 30, 10, - kwargs.get("thz", 0.0) + kwargs.get("thz", 0.0 if use_lspp_defaults() else None) ), Field( "pvlcidx", @@ -111,21 +112,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("kxp'", 0.0) + kwargs.get("kxp'", 0.0 if use_lspp_defaults() else None) ), Field( "kyp'", float, 10, 10, - kwargs.get("kyp'", 0.0) + kwargs.get("kyp'", 0.0 if use_lspp_defaults() else None) ), Field( "kzp'", float, 20, 10, - kwargs.get("kzp'", 0.0) + kwargs.get("kzp'", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -136,42 +137,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("p-x/pid1r", 0.0) + kwargs.get("p-x/pid1r", 0.0 if use_lspp_defaults() else None) ), Field( "p-y/pid2r", float, 10, 10, - kwargs.get("p-y/pid2r", 0.0) + kwargs.get("p-y/pid2r", 0.0 if use_lspp_defaults() else None) ), Field( "projxp-z", float, 20, 10, - kwargs.get("projxp-z", 0.0) + kwargs.get("projxp-z", 0.0 if use_lspp_defaults() else None) ), Field( "projyp-x", float, 30, 10, - kwargs.get("projyp-x", 0.0) + kwargs.get("projyp-x", 0.0 if use_lspp_defaults() else None) ), Field( "projyp-y", float, 40, 10, - kwargs.get("projyp-y", 0.0) + kwargs.get("projyp-y", 0.0 if use_lspp_defaults() else None) ), Field( "projyp-z", float, 50, 10, - kwargs.get("projyp-z", 0.0) + kwargs.get("projyp-z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part.py index d343ea38d..c070a4752 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part_vol.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part_vol.py index 4768171bf..2ca3d1c47 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part_vol.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_part_vol.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_section.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_section.py index 0923e0516..d15aeff42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_section.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_section.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSection(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_set_node_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_set_node_list.py index 8f0646cf0..59a9bfc18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_set_node_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_set_node_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSetNodeList(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_split.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_split.py index b7e860ae1..28e3780c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_split.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_split.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverSplit(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nit", 1) + kwargs.get("nit", 1 if use_lspp_defaults() else None) ), Field( "tol", float, 10, 10, - kwargs.get("tol", 1.0e-3) + kwargs.get("tol", 1.0e-3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_fsi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_fsi.py index a73b93e33..b36880a85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_fsi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_fsi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolFsi(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-5) + kwargs.get("atol", 1.0e-5 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-5) + kwargs.get("rtol", 1.0e-5 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_lset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_lset.py index 192a1a1a0..e266cb769 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_lset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_lset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolLset(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mmov.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mmov.py index 60ac4dc8e..5492b0ee5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mmov.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mmov.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolMmov(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mom.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mom.py index 94bc65ddb..18141e28d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mom.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_mom.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolMom(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_monolithic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_monolithic.py index 3f4804468..a5e343f76 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_monolithic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_monolithic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolMonolithic(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_pre.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_pre.py index 4cd3c729f..f69f97473 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_pre.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_pre.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolPre(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_temp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_temp.py index 4d97f271c..0c0b47dde 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_temp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/icfd_solver_tol_temp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IcfdSolverTolTemp(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("atol", 1.0e-8) + kwargs.get("atol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "rtol", float, 10, 10, - kwargs.get("rtol", 1.0e-8) + kwargs.get("rtol", 1.0e-8 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("maxit", 1000) + kwargs.get("maxit", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_brep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_brep.py index 7c9c62104..277b69b6d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_brep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_brep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga1DBrep(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_uvw.py index 28ced03d3..7ef92ba58 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga1DNurbsUvw(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unir", 0) + kwargs.get("unir", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 20, - kwargs.get("wgt", 1.0) + kwargs.get("wgt", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_xyz.py index 2a38455f8..daa0f27b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_1d_nurbs_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga1DNurbsXyz(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unir", 0) + kwargs.get("unir", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 20, - kwargs.get("wgt", 1.0) + kwargs.get("wgt", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_brep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_brep.py index 9999be800..e8627eef8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_brep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_brep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga2DBrep(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_uvw.py index eefb15f49..ec6796691 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga2DNurbsUvw(KeywordBase): @@ -79,14 +80,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unir", 0) + kwargs.get("unir", 0 if use_lspp_defaults() else None) ), Field( "unis", int, 10, 10, - kwargs.get("unis", 0) + kwargs.get("unis", 0 if use_lspp_defaults() else None) ), ], ), @@ -218,7 +219,7 @@ def __init__(self, **kwargs): float, 60, 20, - kwargs.get("wgt", 1.0) + kwargs.get("wgt", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_xyz.py index 8269c19a0..50f91f32c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_2d_nurbs_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga2DNurbsXyz(KeywordBase): @@ -79,14 +80,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unir", 0) + kwargs.get("unir", 0 if use_lspp_defaults() else None) ), Field( "unis", int, 10, 10, - kwargs.get("unis", 0) + kwargs.get("unis", 0 if use_lspp_defaults() else None) ), ], ), @@ -218,7 +219,7 @@ def __init__(self, **kwargs): float, 60, 20, - kwargs.get("wgt", 1.0) + kwargs.get("wgt", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_3d_nurbs_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_3d_nurbs_xyz.py index f24b4b867..ecc1e1289 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_3d_nurbs_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_3d_nurbs_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Iga3DNurbsXyz(KeywordBase): @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("unir", 0) + kwargs.get("unir", 0 if use_lspp_defaults() else None) ), Field( "unis", int, 10, 10, - kwargs.get("unis", 0) + kwargs.get("unis", 0 if use_lspp_defaults() else None) ), Field( "unit", int, 20, 10, - kwargs.get("unit", 0) + kwargs.get("unit", 0 if use_lspp_defaults() else None) ), ], ), @@ -289,7 +290,7 @@ def __init__(self, **kwargs): float, 60, 20, - kwargs.get("wgt", 1.0) + kwargs.get("wgt", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_uvw.py index 861f9c70d..9f9d3254c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaEdgeUvw(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("sense", 0) + kwargs.get("sense", 0 if use_lspp_defaults() else None) ), Field( "rstart", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_xyz.py index e736d289e..cafc44b37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_edge_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaEdgeXyz(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ori", 0) + kwargs.get("ori", 0 if use_lspp_defaults() else None) ), Field( "pidstart", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_uvw.py index 05cf6ef0f..849e82af5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaFaceUvw(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("sense", 0) + kwargs.get("sense", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_xyz.py index fc674f221..9db690d44 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_face_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaFaceXyz(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ori", 0) + kwargs.get("ori", 0 if use_lspp_defaults() else None) ), Field( "psid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_include_bezier.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_include_bezier.py index 7c4786163..2489048ee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_include_bezier.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_include_bezier.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaIncludeBezier(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_point_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_point_uvw.py index f555301b8..84b3d0ad1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_point_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_point_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaPointUvw(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 20, - kwargs.get("u", 0.0) + kwargs.get("u", 0.0 if use_lspp_defaults() else None) ), Field( "v", float, 40, 20, - kwargs.get("v", 0.0) + kwargs.get("v", 0.0 if use_lspp_defaults() else None) ), Field( "w", float, 60, 20, - kwargs.get("w", 0.0) + kwargs.get("w", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_shell.py index f39dc72d2..0653db9fa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaShell(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("nisr", 0.0) + kwargs.get("nisr", 0.0 if use_lspp_defaults() else None) ), Field( "niss", float, 30, 10, - kwargs.get("niss", 0.0) + kwargs.get("niss", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("idfne", 0) + kwargs.get("idfne", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_solid.py index f8ac5a3fb..f0bbe0711 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaSolid(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("nisr", 0.0) + kwargs.get("nisr", 0.0 if use_lspp_defaults() else None) ), Field( "niss", float, 30, 10, - kwargs.get("niss", 0.0) + kwargs.get("niss", 0.0 if use_lspp_defaults() else None) ), Field( "nist", float, 40, 10, - kwargs.get("nist", 0.0) + kwargs.get("nist", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_tied_edge_to_edge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_tied_edge_to_edge.py index 4d5e46825..c54631691 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_tied_edge_to_edge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_tied_edge_to_edge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaTiedEdgeToEdge(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "form", int, 20, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "sfd", float, 30, 10, - kwargs.get("sfd", 1.0) + kwargs.get("sfd", 1.0 if use_lspp_defaults() else None) ), Field( "sfr", float, 40, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "sft", float, 50, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_volume_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_volume_xyz.py index 246e7f387..f39abe6fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_volume_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/iga_volume_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IgaVolumeXyz(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include.py index c5bfff578..ba58b77d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Include(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset.py index cf1774539..bd90f2ed1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeAutoOffset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset_user.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset_user.py index 800d6005d..005d59dde 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset_user.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_auto_offset_user.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeAutoOffsetUser(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_binary.py index 4fb3d05d7..0741a2f55 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeBinary(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_before_springback.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_before_springback.py index 22a4182c4..2e4654f12 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_before_springback.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_before_springback.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationBeforeSpringback(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_after_springback.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_after_springback.py index 38ce534c5..f36b2e8ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_after_springback.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_after_springback.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationBlankAfterSpringback(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_before_springback.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_before_springback.py index 73945262f..8d29813a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_before_springback.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_blank_before_springback.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationBlankBeforeSpringback(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shap_enext_step.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shap_enext_step.py index ff9d62b47..8a4c6d0d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shap_enext_step.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shap_enext_step.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationCompensatedShapEnextStep(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shape.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shape.py index e6591c0a7..3589aefd4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shape.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_compensated_shape.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationCompensatedShape(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_current_tools.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_current_tools.py index 177dbea4a..b5619ccc5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_current_tools.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_current_tools.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationCurrentTools(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_curve.py index e2ceb6aff..15daeabd3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationCurve(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_desired_blank_shape.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_desired_blank_shape.py index 685c97ac3..3a34bb8ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_desired_blank_shape.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_desired_blank_shape.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationDesiredBlankShape(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_new_rigid_tool.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_new_rigid_tool.py index f5b2a2a53..9ca105806 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_new_rigid_tool.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_new_rigid_tool.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationNewRigidTool(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_dynain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_dynain.py index e27d884b5..362168abf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_dynain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_dynain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationOriginalDynain(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_rigid_tool.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_rigid_tool.py index 95fd6ec99..8fe586f1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_rigid_tool.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_rigid_tool.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationOriginalRigidTool(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_tool.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_tool.py index d4ce7d17d..632b6f94e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_tool.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_original_tool.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationOriginalTool(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_springback_inpute.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_springback_inpute.py index d3edbe6f1..6ce04265a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_springback_inpute.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_springback_inpute.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationSpringbackInpute(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_symmetric_lines.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_symmetric_lines.py index edb953c57..cb7da1df1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_symmetric_lines.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_symmetric_lines.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationSymmetricLines(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_tangent_constraint.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_tangent_constraint.py index 18d3697b7..74c4d7c8a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_tangent_constraint.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_tangent_constraint.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationTangentConstraint(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_curve.py index 116877d89..e9d3d6c19 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationTrimCurve(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_node.py index fbff48e55..5b79541fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_trim_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationTrimNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_blank_shape.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_blank_shape.py index abbb5fde4..406a5538d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_blank_shape.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_blank_shape.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationUpdatedBlankShape(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_rigid_tool.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_rigid_tool.py index 383d5f13b..468a93f8c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_rigid_tool.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_compensation_updated_rigid_tool.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCompensationUpdatedRigidTool(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_cosim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_cosim.py index 59061e01f..5bef1a4b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_cosim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_cosim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeCosim(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale.py index d418e60d5..bf037611c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeMultiscale(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale_spotweld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale_spotweld.py index 29feb0457..91471d8a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale_spotweld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_multiscale_spotweld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeMultiscaleSpotweld(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_nastran.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_nastran.py index 51c849337..45df20b7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_nastran.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_nastran.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeNastran(KeywordBase): @@ -51,21 +52,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("beamdf", 2) + kwargs.get("beamdf", 2 if use_lspp_defaults() else None) ), Field( "shelldf", int, 10, 10, - kwargs.get("shelldf", 21) + kwargs.get("shelldf", 21 if use_lspp_defaults() else None) ), Field( "soliddf", int, 20, 10, - kwargs.get("soliddf", 18) + kwargs.get("soliddf", 18 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path.py index 56d0bc75b..85085770c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludePath(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path_relative.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path_relative.py index 36bf96509..6fbb54a37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path_relative.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_path_relative.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludePathRelative(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part.py index 42634dfa2..c00ccd189 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedPart(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1s", 0) + kwargs.get("n1s", 0 if use_lspp_defaults() else None) ), Field( "n2s", int, 10, 10, - kwargs.get("n2s", 0) + kwargs.get("n2s", 0 if use_lspp_defaults() else None) ), Field( "n3s", int, 20, 10, - kwargs.get("n3s", 0) + kwargs.get("n3s", 0 if use_lspp_defaults() else None) ), Field( "n1c", int, 30, 10, - kwargs.get("n1c", 0) + kwargs.get("n1c", 0 if use_lspp_defaults() else None) ), Field( "n2c", int, 40, 10, - kwargs.get("n2c", 0) + kwargs.get("n2c", 0 if use_lspp_defaults() else None) ), Field( "n3c", int, 50, 10, - kwargs.get("n3c", 0) + kwargs.get("n3c", 0 if use_lspp_defaults() else None) ), Field( "tensor", int, 60, 10, - kwargs.get("tensor", 0) + kwargs.get("tensor", 0 if use_lspp_defaults() else None) ), Field( "thkscl", float, 70, 10, - kwargs.get("thkscl", 1.0) + kwargs.get("thkscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -171,14 +172,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix.py index cc7113eb5..a16c1956e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedPartMatrix(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -207,14 +208,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix_inverse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix_inverse.py index a8b568e6a..eb04091c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix_inverse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_matrix_inverse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedPartMatrixInverse(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -207,14 +208,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_set.py index a91882846..ab7ce85cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedPartSet(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1s", 0) + kwargs.get("n1s", 0 if use_lspp_defaults() else None) ), Field( "n2s", int, 10, 10, - kwargs.get("n2s", 0) + kwargs.get("n2s", 0 if use_lspp_defaults() else None) ), Field( "n3s", int, 20, 10, - kwargs.get("n3s", 0) + kwargs.get("n3s", 0 if use_lspp_defaults() else None) ), Field( "n1c", int, 30, 10, - kwargs.get("n1c", 0) + kwargs.get("n1c", 0 if use_lspp_defaults() else None) ), Field( "n2c", int, 40, 10, - kwargs.get("n2c", 0) + kwargs.get("n2c", 0 if use_lspp_defaults() else None) ), Field( "n3c", int, 50, 10, - kwargs.get("n3c", 0) + kwargs.get("n3c", 0 if use_lspp_defaults() else None) ), Field( "tensor", int, 60, 10, - kwargs.get("tensor", 0) + kwargs.get("tensor", 0 if use_lspp_defaults() else None) ), Field( "thkscl", float, 70, 10, - kwargs.get("thkscl", 1.0) + kwargs.get("thkscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -171,14 +172,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_solid_to_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_solid_to_solid.py index 36e975efb..2746c9070 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_solid_to_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_part_solid_to_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedPartSolidToSolid(KeywordBase): @@ -58,28 +59,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), ], ), @@ -90,42 +91,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1sorc", 0) + kwargs.get("n1sorc", 0 if use_lspp_defaults() else None) ), Field( "n2sorc", int, 10, 10, - kwargs.get("n2sorc", 0) + kwargs.get("n2sorc", 0 if use_lspp_defaults() else None) ), Field( "n3sorc", int, 20, 10, - kwargs.get("n3sorc", 0) + kwargs.get("n3sorc", 0 if use_lspp_defaults() else None) ), Field( "n1trgt", int, 30, 10, - kwargs.get("n1trgt", 0) + kwargs.get("n1trgt", 0 if use_lspp_defaults() else None) ), Field( "n2trgt", int, 40, 10, - kwargs.get("n2trgt", 0) + kwargs.get("n2trgt", 0 if use_lspp_defaults() else None) ), Field( "n3trgt", int, 50, 10, - kwargs.get("n3trgt", 0) + kwargs.get("n3trgt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set.py index 8cb09c051..dd4bb6485 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedSet(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("n1s", 0) + kwargs.get("n1s", 0 if use_lspp_defaults() else None) ), Field( "n2s", int, 10, 10, - kwargs.get("n2s", 0) + kwargs.get("n2s", 0 if use_lspp_defaults() else None) ), Field( "n3s", int, 20, 10, - kwargs.get("n3s", 0) + kwargs.get("n3s", 0 if use_lspp_defaults() else None) ), Field( "n1c", int, 30, 10, - kwargs.get("n1c", 0) + kwargs.get("n1c", 0 if use_lspp_defaults() else None) ), Field( "n2c", int, 40, 10, - kwargs.get("n2c", 0) + kwargs.get("n2c", 0 if use_lspp_defaults() else None) ), Field( "n3c", int, 50, 10, - kwargs.get("n3c", 0) + kwargs.get("n3c", 0 if use_lspp_defaults() else None) ), Field( "tensor", int, 60, 10, - kwargs.get("tensor", 0) + kwargs.get("tensor", 0 if use_lspp_defaults() else None) ), Field( "thkscl", float, 70, 10, - kwargs.get("thkscl", 1.0) + kwargs.get("thkscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -171,14 +172,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix.py index 23846143f..46343608f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedSetMatrix(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -207,14 +208,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix_inverse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix_inverse.py index 010fa3508..bc67eb61b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix_inverse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_stamped_set_matrix_inverse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeStampedSetMatrixInverse(KeywordBase): @@ -58,35 +59,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("thick", 0) + kwargs.get("thick", 0 if use_lspp_defaults() else None) ), Field( "pstrn", int, 20, 10, - kwargs.get("pstrn", 0) + kwargs.get("pstrn", 0 if use_lspp_defaults() else None) ), Field( "strain", int, 30, 10, - kwargs.get("strain", 0) + kwargs.get("strain", 0 if use_lspp_defaults() else None) ), Field( "stress", int, 40, 10, - kwargs.get("stress", 0) + kwargs.get("stress", 0 if use_lspp_defaults() else None) ), Field( "incout", int, 50, 10, - kwargs.get("incout", 0) + kwargs.get("incout", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmax", 20.) + kwargs.get("rmax", 20. if use_lspp_defaults() else None) ), ], ), @@ -207,14 +208,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isym", 0) + kwargs.get("isym", 0 if use_lspp_defaults() else None) ), Field( "iafter", int, 10, 10, - kwargs.get("iafter", 0) + kwargs.get("iafter", 0 if use_lspp_defaults() else None) ), Field( "percele", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform.py index a8d25ed1b..1bd00084e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeTransform(KeywordBase): @@ -51,49 +52,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idnoff", 0) + kwargs.get("idnoff", 0 if use_lspp_defaults() else None) ), Field( "ideoff", int, 10, 10, - kwargs.get("ideoff", 0) + kwargs.get("ideoff", 0 if use_lspp_defaults() else None) ), Field( "idpoff", int, 20, 10, - kwargs.get("idpoff", 0) + kwargs.get("idpoff", 0 if use_lspp_defaults() else None) ), Field( "idmoff", int, 30, 10, - kwargs.get("idmoff", 0) + kwargs.get("idmoff", 0 if use_lspp_defaults() else None) ), Field( "idsoff", int, 40, 10, - kwargs.get("idsoff", 0) + kwargs.get("idsoff", 0 if use_lspp_defaults() else None) ), Field( "idfoff", int, 50, 10, - kwargs.get("idfoff", 0) + kwargs.get("idfoff", 0 if use_lspp_defaults() else None) ), Field( "iddoff", int, 60, 10, - kwargs.get("iddoff", 0) + kwargs.get("iddoff", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,7 +105,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idroff", 0) + kwargs.get("idroff", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -136,35 +137,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fctmas", 1.0) + kwargs.get("fctmas", 1.0 if use_lspp_defaults() else None) ), Field( "fcttim", float, 10, 10, - kwargs.get("fcttim", 1.0) + kwargs.get("fcttim", 1.0 if use_lspp_defaults() else None) ), Field( "fctlen", float, 20, 10, - kwargs.get("fctlen", 1.0) + kwargs.get("fctlen", 1.0 if use_lspp_defaults() else None) ), Field( "fcttem", str, 30, 10, - kwargs.get("fcttem", "1.0") + kwargs.get("fcttem", "1.0" if use_lspp_defaults() else None) ), Field( "incout1", int, 40, 10, - kwargs.get("incout1", 1) + kwargs.get("incout1", 1 if use_lspp_defaults() else None) ), Field( "fctchg", @@ -182,7 +183,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tranid", 0) + kwargs.get("tranid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform_binary.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform_binary.py index e40f9098c..022e0206b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform_binary.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_transform_binary.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeTransformBinary(KeywordBase): @@ -51,49 +52,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idnoff", 0) + kwargs.get("idnoff", 0 if use_lspp_defaults() else None) ), Field( "ideoff", int, 10, 10, - kwargs.get("ideoff", 0) + kwargs.get("ideoff", 0 if use_lspp_defaults() else None) ), Field( "idpoff", int, 20, 10, - kwargs.get("idpoff", 0) + kwargs.get("idpoff", 0 if use_lspp_defaults() else None) ), Field( "idmoff", int, 30, 10, - kwargs.get("idmoff", 0) + kwargs.get("idmoff", 0 if use_lspp_defaults() else None) ), Field( "idsoff", int, 40, 10, - kwargs.get("idsoff", 0) + kwargs.get("idsoff", 0 if use_lspp_defaults() else None) ), Field( "idfoff", int, 50, 10, - kwargs.get("idfoff", 0) + kwargs.get("idfoff", 0 if use_lspp_defaults() else None) ), Field( "iddoff", int, 60, 10, - kwargs.get("iddoff", 0) + kwargs.get("iddoff", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,7 +105,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idroff", 0) + kwargs.get("idroff", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -136,35 +137,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fctmas", 1.0) + kwargs.get("fctmas", 1.0 if use_lspp_defaults() else None) ), Field( "fcttim", float, 10, 10, - kwargs.get("fcttim", 1.0) + kwargs.get("fcttim", 1.0 if use_lspp_defaults() else None) ), Field( "fctlen", float, 20, 10, - kwargs.get("fctlen", 1.0) + kwargs.get("fctlen", 1.0 if use_lspp_defaults() else None) ), Field( "fcttem", str, 30, 10, - kwargs.get("fcttem", "1.0") + kwargs.get("fcttem", "1.0" if use_lspp_defaults() else None) ), Field( "incout1", int, 40, 10, - kwargs.get("incout1", 1) + kwargs.get("incout1", 1 if use_lspp_defaults() else None) ), Field( "fctchg", @@ -182,7 +183,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tranid", 0) + kwargs.get("tranid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_trim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_trim.py index 34c4dbf10..3815ca7b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_trim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_trim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeTrim(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_unitcell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_unitcell.py index 13144db3a..6ca2bd775 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_unitcell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_unitcell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeUnitcell(KeywordBase): @@ -51,21 +52,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("inpt", 0) + kwargs.get("inpt", 0 if use_lspp_defaults() else None) ), Field( "oupt", int, 10, 10, - kwargs.get("oupt", 0) + kwargs.get("oupt", 0 if use_lspp_defaults() else None) ), Field( "nedof", int, 20, 10, - kwargs.get("nedof", 0) + kwargs.get("nedof", 0 if use_lspp_defaults() else None) ), ], ), @@ -76,49 +77,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dx", 1.0) + kwargs.get("dx", 1.0 if use_lspp_defaults() else None) ), Field( "dy", float, 10, 10, - kwargs.get("dy", 1.0) + kwargs.get("dy", 1.0 if use_lspp_defaults() else None) ), Field( "dz", float, 20, 10, - kwargs.get("dz", 1.0) + kwargs.get("dz", 1.0 if use_lspp_defaults() else None) ), Field( "nex", int, 30, 10, - kwargs.get("nex", 1) + kwargs.get("nex", 1 if use_lspp_defaults() else None) ), Field( "ney", int, 40, 10, - kwargs.get("ney", 1) + kwargs.get("ney", 1 if use_lspp_defaults() else None) ), Field( "nez", int, 50, 10, - kwargs.get("nez", 1) + kwargs.get("nez", 1 if use_lspp_defaults() else None) ), Field( "nnpe", int, 60, 10, - kwargs.get("nnpe", 8) + kwargs.get("nnpe", 8 if use_lspp_defaults() else None) ), Field( "tol", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_finial_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_finial_part.py index e7e7f9daf..9daaa361a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_finial_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_finial_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeWdFinialPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_initial_blank.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_initial_blank.py index 4a1afe7d2..3baffc4c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_initial_blank.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_initial_blank.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeWdInitialBlank(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_weldline_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_weldline_curve.py index a9ebf943b..d6c5f13d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_weldline_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/include_wd_weldline_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IncludeWdWeldlineCurve(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_airbag_particle_position.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_airbag_particle_position.py index 8ad9afa33..a13499fec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_airbag_particle_position.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_airbag_particle_position.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialAirbagParticlePosition(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ale_mapping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ale_mapping.py index 3b8c83af2..4778dcd7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ale_mapping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ale_mapping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialAleMapping(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("typ", 0) + kwargs.get("typ", 0 if use_lspp_defaults() else None) ), Field( "ammsid", @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xo", 0.0) + kwargs.get("xo", 0.0 if use_lspp_defaults() else None) ), Field( "yo", float, 10, 10, - kwargs.get("yo", 0.0) + kwargs.get("yo", 0.0 if use_lspp_defaults() else None) ), Field( "zo", float, 20, 10, - kwargs.get("zo", 0.0) + kwargs.get("zo", 0.0 if use_lspp_defaults() else None) ), Field( "vecid", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("sym", 0) + kwargs.get("sym", 0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 60, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_axial_force_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_axial_force_beam.py index 362a76983..59fda8333 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_axial_force_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_axial_force_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialAxialForceBeam(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "kbend", int, 30, 10, - kwargs.get("kbend", 0) + kwargs.get("kbend", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_contact_wear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_contact_wear.py index a73e40e70..e3628b953 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_contact_wear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_contact_wear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialContactWear(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_crashfront.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_crashfront.py index 056a27642..5c9d10a9f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_crashfront.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_crashfront.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialCrashfront(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation.py index 6d2599271..674da9265 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialDetonation(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 20, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 30, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "lt", float, 40, 10, - kwargs.get("lt", 0.0) + kwargs.get("lt", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -107,28 +108,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xs", 0.0) + kwargs.get("xs", 0.0 if use_lspp_defaults() else None) ), Field( "ys", float, 30, 10, - kwargs.get("ys", 0.0) + kwargs.get("ys", 0.0 if use_lspp_defaults() else None) ), Field( "zs", float, 40, 10, - kwargs.get("zs", 0.0) + kwargs.get("zs", 0.0 if use_lspp_defaults() else None) ), Field( "nid", int, 50, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation_geometry.py index 8fdfca176..a2362399b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_detonation_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialDetonationGeometry(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hetyp", 0) + kwargs.get("hetyp", 0 if use_lspp_defaults() else None) ), Field( "mmgse", float, 20, 10, - kwargs.get("mmgse", 0) + kwargs.get("mmgse", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("geotyp", 0) + kwargs.get("geotyp", 0 if use_lspp_defaults() else None) ), Field( "lt", float, 10, 10, - kwargs.get("lt", 0.0) + kwargs.get("lt", 0.0 if use_lspp_defaults() else None) ), Field( "dgeo", float, 20, 10, - kwargs.get("dgeo", 0.0) + kwargs.get("dgeo", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio.py index 3110a62d4..76f7497d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFatigueDamageRatio(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("ptyp", 0) + kwargs.get("ptyp", 0 if use_lspp_defaults() else None) ), Field( "dratio", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3ftg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3ftg.py index ec0f31987..e300db6d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3ftg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3ftg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFatigueDamageRatioD3Ftg(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3plot.py index f3f40a067..dc5d4dce0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_fatigue_damage_ratio_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFatigueDamageRatioD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_field_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_field_solid.py index 913b111c2..dd6c653c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_field_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_field_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFieldSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry.py index 85de19dd7..7abf6778e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFoamReferenceGeometry(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry_ramp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry_ramp.py index c8e8f2207..4e5756287 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry_ramp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_foam_reference_geometry_ramp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialFoamReferenceGeometryRamp(KeywordBase): @@ -58,21 +59,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_gas_mixture.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_gas_mixture.py index 9e2ddda80..f723c9d62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_gas_mixture.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_gas_mixture.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialGasMixture(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "mmgid", @@ -72,56 +73,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ro1", 0.0) + kwargs.get("ro1", 0.0 if use_lspp_defaults() else None) ), Field( "ro2", float, 10, 10, - kwargs.get("ro2", 0.0) + kwargs.get("ro2", 0.0 if use_lspp_defaults() else None) ), Field( "ro3", float, 20, 10, - kwargs.get("ro3", 0.0) + kwargs.get("ro3", 0.0 if use_lspp_defaults() else None) ), Field( "ro4", float, 30, 10, - kwargs.get("ro4", 0.0) + kwargs.get("ro4", 0.0 if use_lspp_defaults() else None) ), Field( "ro5", float, 40, 10, - kwargs.get("ro5", 0.0) + kwargs.get("ro5", 0.0 if use_lspp_defaults() else None) ), Field( "ro6", float, 50, 10, - kwargs.get("ro6", 0.0) + kwargs.get("ro6", 0.0 if use_lspp_defaults() else None) ), Field( "ro7", float, 60, 10, - kwargs.get("ro7", 0.0) + kwargs.get("ro7", 0.0 if use_lspp_defaults() else None) ), Field( "ro8", float, 70, 10, - kwargs.get("ro8", 0.0) + kwargs.get("ro8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node.py index aeb1745c8..75bc9f718 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialHistoryNode(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("val", 0.0) + kwargs.get("val", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node_set.py index e7823665b..5a8f63298 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_history_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialHistoryNodeSet(KeywordBase): @@ -65,7 +66,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("val", 0.0) + kwargs.get("val", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_hydrostatic_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_hydrostatic_ale.py index 48dbf62ad..8dddfc457 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_hydrostatic_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_hydrostatic_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialHydrostaticAle(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "vecid", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pbase", 0) + kwargs.get("pbase", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ii_eos_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ii_eos_ale.py index 76c802cc6..b65cb135e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ii_eos_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_ii_eos_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialIiEosAle(KeywordBase): @@ -61,21 +62,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("e0", 0.0) + kwargs.get("e0", 0.0 if use_lspp_defaults() else None) ), Field( "v0", float, 40, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), Field( "p0", float, 50, 10, - kwargs.get("p0", 0.0) + kwargs.get("p0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_impulse_mine.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_impulse_mine.py index e5f327f7f..02c6b4bfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_impulse_mine.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_impulse_mine.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialImpulseMine(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mtnt", 0.0) + kwargs.get("mtnt", 0.0 if use_lspp_defaults() else None) ), Field( "rhos", float, 20, 10, - kwargs.get("rhos", 0.0) + kwargs.get("rhos", 0.0 if use_lspp_defaults() else None) ), Field( "depth", float, 30, 10, - kwargs.get("depth", 0.0) + kwargs.get("depth", 0.0 if use_lspp_defaults() else None) ), Field( "area", float, 40, 10, - kwargs.get("area", 0.0) + kwargs.get("area", 0.0 if use_lspp_defaults() else None) ), Field( "scale", float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("unit", 1) + kwargs.get("unit", 1 if use_lspp_defaults() else None) ), ], ), @@ -100,28 +101,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 10, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 20, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "nidmc", int, 30, 10, - kwargs.get("nidmc", 0) + kwargs.get("nidmc", 0 if use_lspp_defaults() else None) ), Field( "gvid", @@ -135,21 +136,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tbirth", 0.0) + kwargs.get("tbirth", 0.0 if use_lspp_defaults() else None) ), Field( "psid", int, 60, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "search", float, 70, 10, - kwargs.get("search", 0.0) + kwargs.get("search", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type3.py index 56dfa40de..e3ea660e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialInternalDofSolidType3(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type4.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type4.py index 0c639c065..5f8310ca7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type4.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_internal_dof_solid_type4.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialInternalDofSolidType4(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping.py index e307ee2e4..7409a63e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialLagMapping(KeywordBase): @@ -51,21 +52,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 10, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 20, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "vecid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write.py index 33359a1cd..6532741a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialLagMappingWrite(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write3daxi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write3daxi.py index 60bcc87db..8ded2514d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write3daxi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_lag_mapping_write3daxi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialLagMappingWrite3Daxi(KeywordBase): @@ -51,21 +52,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 10, 10, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 20, 10, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "vecid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_momentum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_momentum.py index 0d1925e85..b1f8613d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_momentum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_momentum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialMomentum(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mx", 0.0) + kwargs.get("mx", 0.0 if use_lspp_defaults() else None) ), Field( "my", float, 20, 10, - kwargs.get("my", 0.0) + kwargs.get("my", 0.0 if use_lspp_defaults() else None) ), Field( "mz", float, 30, 10, - kwargs.get("mz", 0.0) + kwargs.get("mz", 0.0 if use_lspp_defaults() else None) ), Field( "dept", float, 40, 10, - kwargs.get("dept", 0.0) + kwargs.get("dept", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth.py index 5c62b9db3..fb46b5c24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialPwpDepth(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth_set.py index 62c5a76fb..85fdd9490 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_depth_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialPwpDepthSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_nodal_data.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_nodal_data.py index e08b8c410..7db7ec77c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_nodal_data.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_pwp_nodal_data.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialPwpNodalData(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "pid", int, 20, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_solid_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_solid_volume.py index 6b406b78e..dda5e7177 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_solid_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_solid_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialSolidVolume(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell.py index b8e795116..d38ce75cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.card_set import CardSet from ansys.dyna.core.lib.cards import Cards @@ -62,7 +63,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -90,7 +91,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ilocal", 0) + kwargs.get("ilocal", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_iga.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_iga.py index 62549c832..f54a498a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_iga.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_iga.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainShellIga(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nthk", 0) + kwargs.get("nthk", 0 if use_lspp_defaults() else None) ), Field( "large", int, 30, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), Field( "thki", float, 60, 10, - kwargs.get("thki", 0.0) + kwargs.get("thki", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_nurbs_patch.py index c89622a34..c9a20d4e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainShellNurbsPatch(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nthk", 0) + kwargs.get("nthk", 0 if use_lspp_defaults() else None) ), Field( "large", int, 30, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), Field( "thki", float, 60, 10, - kwargs.get("thki", 0.0) + kwargs.get("thki", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_set.py index 6bc9dd069..39c03c9c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainShellSet(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ilocal", 0) + kwargs.get("ilocal", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,49 +101,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 60, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,49 +154,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), Field( "t", float, 60, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid.py index fe9881bdd..17c6e338c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainSolid(KeywordBase): @@ -51,42 +52,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid_set.py index 4a2033e96..d3098e20c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_solid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainSolidSet(KeywordBase): @@ -51,42 +52,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_tshell.py index c0216c116..4a640cd46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_strain_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStrainTshell(KeywordBase): @@ -51,42 +52,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -97,42 +98,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsxx", 0.0) + kwargs.get("epsxx", 0.0 if use_lspp_defaults() else None) ), Field( "epsyy", float, 10, 10, - kwargs.get("epsyy", 0.0) + kwargs.get("epsyy", 0.0 if use_lspp_defaults() else None) ), Field( "epszz", float, 20, 10, - kwargs.get("epszz", 0.0) + kwargs.get("epszz", 0.0 if use_lspp_defaults() else None) ), Field( "epsxy", float, 30, 10, - kwargs.get("epsxy", 0.0) + kwargs.get("epsxy", 0.0 if use_lspp_defaults() else None) ), Field( "epsyz", float, 40, 10, - kwargs.get("epsyz", 0.0) + kwargs.get("epsyz", 0.0 if use_lspp_defaults() else None) ), Field( "epszx", float, 50, 10, - kwargs.get("epszx", 0.0) + kwargs.get("epszx", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_beam.py index ad6e8c343..a6a457792 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressBeam(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("rule", 2) + kwargs.get("rule", 2 if use_lspp_defaults() else None) ), Field( "npts", int, 20, 10, - kwargs.get("npts", 0) + kwargs.get("npts", 0 if use_lspp_defaults() else None) ), Field( "local", int, 30, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), Field( "large", int, 40, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), Field( "nhisv", @@ -82,7 +83,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("naxes", 0) + kwargs.get("naxes", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,49 +94,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("f11", 0.0) + kwargs.get("f11", 0.0 if use_lspp_defaults() else None) ), Field( "t11", float, 10, 10, - kwargs.get("t11", 0.0) + kwargs.get("t11", 0.0 if use_lspp_defaults() else None) ), Field( "m12", float, 20, 10, - kwargs.get("m12", 0.0) + kwargs.get("m12", 0.0 if use_lspp_defaults() else None) ), Field( "m13", float, 30, 10, - kwargs.get("m13", 0.0) + kwargs.get("m13", 0.0 if use_lspp_defaults() else None) ), Field( "m22", float, 40, 10, - kwargs.get("m22", 0.0) + kwargs.get("m22", 0.0 if use_lspp_defaults() else None) ), Field( "m23", float, 50, 10, - kwargs.get("m23", 0.0) + kwargs.get("m23", 0.0 if use_lspp_defaults() else None) ), Field( "parm", float, 60, 10, - kwargs.get("parm", 0.0) + kwargs.get("parm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,35 +147,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("f11", 0.0) + kwargs.get("f11", 0.0 if use_lspp_defaults() else None) ), Field( "t11", float, 16, 16, - kwargs.get("t11", 0.0) + kwargs.get("t11", 0.0 if use_lspp_defaults() else None) ), Field( "m12", float, 32, 16, - kwargs.get("m12", 0.0) + kwargs.get("m12", 0.0 if use_lspp_defaults() else None) ), Field( "m13", float, 48, 16, - kwargs.get("m13", 0.0) + kwargs.get("m13", 0.0 if use_lspp_defaults() else None) ), Field( "m22", float, 64, 16, - kwargs.get("m22", 0.0) + kwargs.get("m22", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -185,35 +186,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("m23", 0.0) + kwargs.get("m23", 0.0 if use_lspp_defaults() else None) ), Field( "parm", float, 16, 16, - kwargs.get("parm", 0.0) + kwargs.get("parm", 0.0 if use_lspp_defaults() else None) ), Field( "hisv1", float, 32, 16, - kwargs.get("hisv1", 0.0) + kwargs.get("hisv1", 0.0 if use_lspp_defaults() else None) ), Field( "hisv2", float, 48, 16, - kwargs.get("hisv2", 0.0) + kwargs.get("hisv2", 0.0 if use_lspp_defaults() else None) ), Field( "hisv3", float, 64, 16, - kwargs.get("hisv3", 0.0) + kwargs.get("hisv3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -224,49 +225,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sig11", 0.0) + kwargs.get("sig11", 0.0 if use_lspp_defaults() else None) ), Field( "sig22", float, 10, 10, - kwargs.get("sig22", 0.0) + kwargs.get("sig22", 0.0 if use_lspp_defaults() else None) ), Field( "sig33", float, 20, 10, - kwargs.get("sig33", 0.0) + kwargs.get("sig33", 0.0 if use_lspp_defaults() else None) ), Field( "sig12", float, 30, 10, - kwargs.get("sig12", 0.0) + kwargs.get("sig12", 0.0 if use_lspp_defaults() else None) ), Field( "sig23", float, 40, 10, - kwargs.get("sig23", 0.0) + kwargs.get("sig23", 0.0 if use_lspp_defaults() else None) ), Field( "sig31", float, 50, 10, - kwargs.get("sig31", 0.0) + kwargs.get("sig31", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -277,35 +278,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("sig11", 0.0) + kwargs.get("sig11", 0.0 if use_lspp_defaults() else None) ), Field( "sig22", float, 16, 16, - kwargs.get("sig22", 0.0) + kwargs.get("sig22", 0.0 if use_lspp_defaults() else None) ), Field( "sig33", float, 32, 16, - kwargs.get("sig33", 0.0) + kwargs.get("sig33", 0.0 if use_lspp_defaults() else None) ), Field( "sig12", float, 48, 16, - kwargs.get("sig12", 0.0) + kwargs.get("sig12", 0.0 if use_lspp_defaults() else None) ), Field( "sig23", float, 64, 16, - kwargs.get("sig23", 0.0) + kwargs.get("sig23", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -316,35 +317,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("sig31", 0.0) + kwargs.get("sig31", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 16, 16, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), Field( "hisv1", float, 32, 16, - kwargs.get("hisv1", 0.0) + kwargs.get("hisv1", 0.0 if use_lspp_defaults() else None) ), Field( "hisv2", float, 48, 16, - kwargs.get("hisv2", 0.0) + kwargs.get("hisv2", 0.0 if use_lspp_defaults() else None) ), Field( "hisv3", float, 64, 16, - kwargs.get("hisv3", 0.0) + kwargs.get("hisv3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -355,35 +356,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("hisv4", 0.0) + kwargs.get("hisv4", 0.0 if use_lspp_defaults() else None) ), Field( "hisv5", float, 16, 16, - kwargs.get("hisv5", 0.0) + kwargs.get("hisv5", 0.0 if use_lspp_defaults() else None) ), Field( "hisv6", float, 32, 16, - kwargs.get("hisv6", 0.0) + kwargs.get("hisv6", 0.0 if use_lspp_defaults() else None) ), Field( "hisv7", float, 48, 16, - kwargs.get("hisv7", 0.0) + kwargs.get("hisv7", 0.0 if use_lspp_defaults() else None) ), Field( "hisv8", float, 64, 16, - kwargs.get("hisv8", 0.0) + kwargs.get("hisv8", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -394,35 +395,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("ax1", 0.0) + kwargs.get("ax1", 0.0 if use_lspp_defaults() else None) ), Field( "ax2", float, 16, 16, - kwargs.get("ax2", 0.0) + kwargs.get("ax2", 0.0 if use_lspp_defaults() else None) ), Field( "ax3", float, 32, 16, - kwargs.get("ax3", 0.0) + kwargs.get("ax3", 0.0 if use_lspp_defaults() else None) ), Field( "ax4", float, 48, 16, - kwargs.get("ax4", 0.0) + kwargs.get("ax4", 0.0 if use_lspp_defaults() else None) ), Field( "ax5", float, 64, 16, - kwargs.get("ax5", 0.0) + kwargs.get("ax5", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -433,35 +434,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("ax6", 0.0) + kwargs.get("ax6", 0.0 if use_lspp_defaults() else None) ), Field( "ax7", float, 16, 16, - kwargs.get("ax7", 0.0) + kwargs.get("ax7", 0.0 if use_lspp_defaults() else None) ), Field( "ax8", float, 32, 16, - kwargs.get("ax8", 0.0) + kwargs.get("ax8", 0.0 if use_lspp_defaults() else None) ), Field( "ax9", float, 48, 16, - kwargs.get("ax9", 0.0) + kwargs.get("ax9", 0.0 if use_lspp_defaults() else None) ), Field( "ax10", float, 64, 16, - kwargs.get("ax10", 0.0) + kwargs.get("ax10", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -472,14 +473,14 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("ax11", 0.0) + kwargs.get("ax11", 0.0 if use_lspp_defaults() else None) ), Field( "ax12", float, 16, 16, - kwargs.get("ax12", 0.0) + kwargs.get("ax12", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth.py index 556ef41db..5417e29ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressDepth(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("kfact", 0.0) + kwargs.get("kfact", 0.0 if use_lspp_defaults() else None) ), Field( "lc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth_set.py index d75502cfd..211cc73e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_depth_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressDepthSet(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("kfact", 0.0) + kwargs.get("kfact", 0.0 if use_lspp_defaults() else None) ), Field( "lc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_des.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_des.py index b246c4e00..5f33c6eb8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_des.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_des.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressDes(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "coor", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_iga_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_iga_shell.py index ac9fc6592..02fb75f23 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_iga_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_iga_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressIgaShell(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nplane", 0) + kwargs.get("nplane", 0 if use_lspp_defaults() else None) ), Field( "nthick", int, 20, 10, - kwargs.get("nthick", 0) + kwargs.get("nthick", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 30, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "large", int, 40, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,49 +105,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 10, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 20, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 30, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 40, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 50, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_section.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_section.py index 3a15ca534..78adbc6f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_section.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_section.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressSection(KeywordBase): @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("izshear", 0) + kwargs.get("izshear", 0 if use_lspp_defaults() else None) ), Field( "istiff", int, 60, 10, - kwargs.get("istiff", 0) + kwargs.get("istiff", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell.py index 3e112fc68..cea03b1a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.card_set import CardSet from ansys.dyna.core.lib.cards import Cards from ansys.dyna.core.lib.variable_card import VariableCard @@ -48,49 +49,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 70, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -214,49 +215,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nplane", 0) + kwargs.get("nplane", 0 if use_lspp_defaults() else None) ), Field( "nthick", int, 20, 10, - kwargs.get("nthick", 0) + kwargs.get("nthick", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 30, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "ntensr", int, 40, 10, - kwargs.get("ntensr", 0) + kwargs.get("ntensr", 0 if use_lspp_defaults() else None) ), Field( "large", int, 50, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), Field( "nthint", int, 60, 10, - kwargs.get("nthint", 0) + kwargs.get("nthint", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", int, 70, 10, - kwargs.get("nthhsv", 0) + kwargs.get("nthhsv", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_nurbs_patch.py index 3cb2dcf61..ff05ec9ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressShellNurbsPatch(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nplane", 0) + kwargs.get("nplane", 0 if use_lspp_defaults() else None) ), Field( "nthick", int, 20, 10, - kwargs.get("nthick", 0) + kwargs.get("nthick", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 30, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "large", int, 40, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,49 +105,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 10, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 20, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 30, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 40, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 50, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_set.py index 4116373f9..0c26b4445 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressShellSet(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nplane", 0) + kwargs.get("nplane", 0 if use_lspp_defaults() else None) ), Field( "nthick", int, 20, 10, - kwargs.get("nthick", 0) + kwargs.get("nthick", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 30, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "ntensr", int, 40, 10, - kwargs.get("ntensr", 0) + kwargs.get("ntensr", 0 if use_lspp_defaults() else None) ), Field( "large", int, 50, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,49 +94,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 70, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid.py index 2a01654d7..a65e21393 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressSolid(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iveflg", 0) + kwargs.get("iveflg", 0 if use_lspp_defaults() else None) ), Field( "ialegp", @@ -100,49 +101,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 10, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 20, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 30, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 40, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 50, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 16, 16, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 32, 16, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 48, 16, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 64, 16, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_nurbs_patch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_nurbs_patch.py index 791775093..00ddf9965 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_nurbs_patch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_nurbs_patch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressSolidNurbsPatch(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nint", 0) + kwargs.get("nint", 0 if use_lspp_defaults() else None) ), Field( "nhisv", int, 20, 10, - kwargs.get("nhisv", 0) + kwargs.get("nhisv", 0 if use_lspp_defaults() else None) ), Field( "large", int, 30, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 10, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 20, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 30, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 40, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 50, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_set.py index 0298b9099..11fcc04cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_solid_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressSolidSet(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iveflg", 0) + kwargs.get("iveflg", 0 if use_lspp_defaults() else None) ), Field( "ialegp", @@ -100,49 +101,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 10, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 20, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 30, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 40, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 50, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 60, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 16, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 16, 16, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 32, 16, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 48, 16, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 64, 16, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_sph.py index a04494430..feb9c9e5d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressSph(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 70, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell.py index d73e53d9f..3561d58cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressTshell(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 70, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell_set.py index cc9e31eab..151f456b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_stress_tshell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialStressTshellSet(KeywordBase): @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("large", 0) + kwargs.get("large", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sigxx", 0.0) + kwargs.get("sigxx", 0.0 if use_lspp_defaults() else None) ), Field( "sigyy", float, 20, 10, - kwargs.get("sigyy", 0.0) + kwargs.get("sigyy", 0.0 if use_lspp_defaults() else None) ), Field( "sigzz", float, 30, 10, - kwargs.get("sigzz", 0.0) + kwargs.get("sigzz", 0.0 if use_lspp_defaults() else None) ), Field( "sigxy", float, 40, 10, - kwargs.get("sigxy", 0.0) + kwargs.get("sigxy", 0.0 if use_lspp_defaults() else None) ), Field( "sigyz", float, 50, 10, - kwargs.get("sigyz", 0.0) + kwargs.get("sigyz", 0.0 if use_lspp_defaults() else None) ), Field( "sigzx", float, 60, 10, - kwargs.get("sigzx", 0.0) + kwargs.get("sigzx", 0.0 if use_lspp_defaults() else None) ), Field( "eps", float, 70, 10, - kwargs.get("eps", 0.0) + kwargs.get("eps", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_node.py index 053133f60..87b38a716 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialTemperatureNode(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("temp", 0.0) + kwargs.get("temp", 0.0 if use_lspp_defaults() else None) ), Field( "loc", int, 20, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_set.py index d2a505a3a..d6306bfb6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_temperature_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialTemperatureSet(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("temp", 0.0) + kwargs.get("temp", 0.0 if use_lspp_defaults() else None) ), Field( "loc", int, 20, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vapor_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vapor_part.py index 515d46db8..4950d76be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vapor_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vapor_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVaporPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vehicle_kinematics.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vehicle_kinematics.py index e8338c168..c309f96a0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vehicle_kinematics.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_vehicle_kinematics.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVehicleKinematics(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("grav", 1) + kwargs.get("grav", 1 if use_lspp_defaults() else None) ), Field( "psid", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("xo", 0.0) + kwargs.get("xo", 0.0 if use_lspp_defaults() else None) ), Field( "yo", float, 30, 10, - kwargs.get("yo", 0.0) + kwargs.get("yo", 0.0 if use_lspp_defaults() else None) ), Field( "zo", float, 40, 10, - kwargs.get("zo", 0.0) + kwargs.get("zo", 0.0 if use_lspp_defaults() else None) ), Field( "xf", float, 50, 10, - kwargs.get("xf", 0.0) + kwargs.get("xf", 0.0 if use_lspp_defaults() else None) ), Field( "yf", float, 60, 10, - kwargs.get("yf", 0.0) + kwargs.get("yf", 0.0 if use_lspp_defaults() else None) ), Field( "zf", float, 70, 10, - kwargs.get("zf", 0.0) + kwargs.get("zf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "aaxis", int, 30, 10, - kwargs.get("aaxis", 1) + kwargs.get("aaxis", 1 if use_lspp_defaults() else None) ), Field( "baxis", int, 40, 10, - kwargs.get("baxis", 1) + kwargs.get("baxis", 1 if use_lspp_defaults() else None) ), Field( "caxis", int, 50, 10, - kwargs.get("caxis", 1) + kwargs.get("caxis", 1 if use_lspp_defaults() else None) ), ], ), @@ -146,42 +147,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("aang", 0.0) + kwargs.get("aang", 0.0 if use_lspp_defaults() else None) ), Field( "bang", float, 10, 10, - kwargs.get("bang", 0.0) + kwargs.get("bang", 0.0 if use_lspp_defaults() else None) ), Field( "cang", float, 20, 10, - kwargs.get("cang", 0.0) + kwargs.get("cang", 0.0 if use_lspp_defaults() else None) ), Field( "wa", float, 30, 10, - kwargs.get("wa", 0.0) + kwargs.get("wa", 0.0 if use_lspp_defaults() else None) ), Field( "wb", float, 40, 10, - kwargs.get("wb", 0.0) + kwargs.get("wb", 0.0 if use_lspp_defaults() else None) ), Field( "wc", float, 50, 10, - kwargs.get("wc", 0.0) + kwargs.get("wc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity.py index 5e0ffd139..6e07e631d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVelocity(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "irigid", int, 30, 10, - kwargs.get("irigid", 0) + kwargs.get("irigid", 0 if use_lspp_defaults() else None) ), Field( "icid", int, 40, 10, - kwargs.get("icid", 0) + kwargs.get("icid", 0 if use_lspp_defaults() else None) ), ], ), @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 10, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 20, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 30, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 40, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 50, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -125,42 +126,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vxe", 0.0) + kwargs.get("vxe", 0.0 if use_lspp_defaults() else None) ), Field( "vye", float, 10, 10, - kwargs.get("vye", 0.0) + kwargs.get("vye", 0.0 if use_lspp_defaults() else None) ), Field( "vze", float, 20, 10, - kwargs.get("vze", 0.0) + kwargs.get("vze", 0.0 if use_lspp_defaults() else None) ), Field( "vxre", float, 30, 10, - kwargs.get("vxre", 0.0) + kwargs.get("vxre", 0.0 if use_lspp_defaults() else None) ), Field( "vyre", float, 40, 10, - kwargs.get("vyre", 0.0) + kwargs.get("vyre", 0.0 if use_lspp_defaults() else None) ), Field( "vzre", float, 50, 10, - kwargs.get("vzre", 0.0) + kwargs.get("vzre", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.nsidex > 0, diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation.py index 575ded9ff..d1300370a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVelocityGeneration(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("styp", 1) + kwargs.get("styp", 1 if use_lspp_defaults() else None) ), Field( "omega", float, 20, 10, - kwargs.get("omega", 0.0) + kwargs.get("omega", 0.0 if use_lspp_defaults() else None) ), Field( "vx", float, 30, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 40, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 50, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "ivatn", int, 60, 10, - kwargs.get("ivatn", 0) + kwargs.get("ivatn", 0 if use_lspp_defaults() else None) ), Field( "icid", @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 10, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 20, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "nx", float, 30, 10, - kwargs.get("nx", 0.0) + kwargs.get("nx", 0.0 if use_lspp_defaults() else None) ), Field( "ny", float, 40, 10, - kwargs.get("ny", 0.0) + kwargs.get("ny", 0.0 if use_lspp_defaults() else None) ), Field( "nz", float, 50, 10, - kwargs.get("nz", 0.0) + kwargs.get("nz", 0.0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "irigid", int, 70, 10, - kwargs.get("irigid", 0) + kwargs.get("irigid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation_start_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation_start_time.py index 54d7dad0c..43ba7b513 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation_start_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_generation_start_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVelocityGenerationStartTime(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("stime", 0.0) + kwargs.get("stime", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_node.py index 2d9178410..09cdfbe29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVelocityNode(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 40, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 50, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 60, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), Field( "icid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_rigid_body.py index 1f46b8ad5..e7c16e5e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_velocity_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVelocityRigidBody(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vx", 0.0) + kwargs.get("vx", 0.0 if use_lspp_defaults() else None) ), Field( "vy", float, 20, 10, - kwargs.get("vy", 0.0) + kwargs.get("vy", 0.0 if use_lspp_defaults() else None) ), Field( "vz", float, 30, 10, - kwargs.get("vz", 0.0) + kwargs.get("vz", 0.0 if use_lspp_defaults() else None) ), Field( "vxr", float, 40, 10, - kwargs.get("vxr", 0.0) + kwargs.get("vxr", 0.0 if use_lspp_defaults() else None) ), Field( "vyr", float, 50, 10, - kwargs.get("vyr", 0.0) + kwargs.get("vyr", 0.0 if use_lspp_defaults() else None) ), Field( "vzr", float, 60, 10, - kwargs.get("vzr", 0.0) + kwargs.get("vzr", 0.0 if use_lspp_defaults() else None) ), Field( "icid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_part.py index dde202cf8..6a4b383da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVoidPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_set.py index 394ac17bc..12ff25144 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_void_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVoidSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction.py index c872a4e52..a1985e5ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVolumeFraction(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vf1", 0.0) + kwargs.get("vf1", 0.0 if use_lspp_defaults() else None) ), Field( "vf2", float, 20, 10, - kwargs.get("vf2", 0.0) + kwargs.get("vf2", 0.0 if use_lspp_defaults() else None) ), Field( "vf3", float, 30, 10, - kwargs.get("vf3", 0.0) + kwargs.get("vf3", 0.0 if use_lspp_defaults() else None) ), Field( "vf4", float, 40, 10, - kwargs.get("vf4", 0.0) + kwargs.get("vf4", 0.0 if use_lspp_defaults() else None) ), Field( "vf5", float, 50, 10, - kwargs.get("vf5", 0.0) + kwargs.get("vf5", 0.0 if use_lspp_defaults() else None) ), Field( "vf6", float, 60, 10, - kwargs.get("vf6", 0.0) + kwargs.get("vf6", 0.0 if use_lspp_defaults() else None) ), Field( "vf7", float, 70, 10, - kwargs.get("vf7", 0.0) + kwargs.get("vf7", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_geometry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_geometry.py index 8e80226d2..e459a9e70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_geometry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_geometry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVolumeFractionGeometry(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("fmidtyp", 0) + kwargs.get("fmidtyp", 0 if use_lspp_defaults() else None) ), Field( "bammg", int, 20, 10, - kwargs.get("bammg", 0) + kwargs.get("bammg", 0 if use_lspp_defaults() else None) ), Field( "ntrace", int, 30, 10, - kwargs.get("ntrace", 3) + kwargs.get("ntrace", 3 if use_lspp_defaults() else None) ), ], ), @@ -72,14 +73,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("conttyp", 1) + kwargs.get("conttyp", 1 if use_lspp_defaults() else None) ), Field( "fillopt", int, 10, 10, - kwargs.get("fillopt", 0) + kwargs.get("fillopt", 0 if use_lspp_defaults() else None) ), Field( "fammg", @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), Field( "normdir", @@ -153,7 +154,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("xoffset", 0.0) + kwargs.get("xoffset", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -206,7 +207,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("xoffset", 0.0) + kwargs.get("xoffset", 0.0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_nalegp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_nalegp.py index 47fcae240..96a46253a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_nalegp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/initial_volume_fraction_nalegp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InitialVolumeFractionNalegp(KeywordBase): @@ -58,49 +59,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vf1", 0.0) + kwargs.get("vf1", 0.0 if use_lspp_defaults() else None) ), Field( "vf2", float, 20, 10, - kwargs.get("vf2", 0.0) + kwargs.get("vf2", 0.0 if use_lspp_defaults() else None) ), Field( "vf3", float, 30, 10, - kwargs.get("vf3", 0.0) + kwargs.get("vf3", 0.0 if use_lspp_defaults() else None) ), Field( "vf4", float, 40, 10, - kwargs.get("vf4", 0.0) + kwargs.get("vf4", 0.0 if use_lspp_defaults() else None) ), Field( "vf5", float, 50, 10, - kwargs.get("vf5", 0.0) + kwargs.get("vf5", 0.0 if use_lspp_defaults() else None) ), Field( "vf6", float, 60, 10, - kwargs.get("vf6", 0.0) + kwargs.get("vf6", 0.0 if use_lspp_defaults() else None) ), Field( "vf7", float, 70, 10, - kwargs.get("vf7", 0.0) + kwargs.get("vf7", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 10, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 20, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 30, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 40, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 50, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 60, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), Field( "vf", float, 70, 10, - kwargs.get("vf", 0.0) + kwargs.get("vf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_beam.py index 790734261..fd48d98ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IntegrationBeam(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nip", 0) + kwargs.get("nip", 0 if use_lspp_defaults() else None) ), Field( "ra", float, 20, 10, - kwargs.get("ra", 0.0) + kwargs.get("ra", 0.0 if use_lspp_defaults() else None) ), Field( "icst", int, 30, 10, - kwargs.get("icst", 0) + kwargs.get("icst", 0 if use_lspp_defaults() else None) ), Field( "k", int, 40, 10, - kwargs.get("k", 1) + kwargs.get("k", 1 if use_lspp_defaults() else None) ), ], ), @@ -107,14 +108,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sref", 0.0) + kwargs.get("sref", 0.0 if use_lspp_defaults() else None) ), Field( "tref", float, 50, 10, - kwargs.get("tref", 0.0) + kwargs.get("tref", 0.0 if use_lspp_defaults() else None) ), Field( "d5", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_shell.py index 5a2b6f1a1..80d170c7d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/integration_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class IntegrationShell(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("esop", 0) + kwargs.get("esop", 0 if use_lspp_defaults() else None) ), Field( "failopt", int, 30, 10, - kwargs.get("failopt", 0) + kwargs.get("failopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_acoustic.py index 7fec809af..3d2fb7b77 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceAcoustic(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_development.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_development.py index 1d84c463a..e19983370 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_development.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_development.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceBlanksizeDevelopment(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioption", 1) + kwargs.get("ioption", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -61,28 +62,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("maxsize", 30.0) + kwargs.get("maxsize", 30.0 if use_lspp_defaults() else None) ), Field( "referenc", int, 40, 10, - kwargs.get("referenc", 0) + kwargs.get("referenc", 0 if use_lspp_defaults() else None) ), Field( "space", float, 50, 10, - kwargs.get("space", 2.0) + kwargs.get("space", 2.0 if use_lspp_defaults() else None) ), Field( "maxgap", float, 60, 10, - kwargs.get("maxgap", 30.0) + kwargs.get("maxgap", 30.0 if use_lspp_defaults() else None) ), Field( "orient", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_adaptive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_adaptive.py index 0ec12ac01..a09353c1b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_adaptive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_adaptive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceBlanksizeInitialAdaptive(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_trim.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_trim.py index 6ae763848..8e47ac458 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_trim.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_initial_trim.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceBlanksizeInitialTrim(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_scale_factor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_scale_factor.py index dca893001..d9e0ab33a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_scale_factor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_scale_factor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceBlanksizeScaleFactor(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idcrv", 1) + kwargs.get("idcrv", 1 if use_lspp_defaults() else None) ), Field( "sf", float, 10, 10, - kwargs.get("sf", 0.0) + kwargs.get("sf", 0.0 if use_lspp_defaults() else None) ), Field( "offx", float, 20, 10, - kwargs.get("offx", 0.0) + kwargs.get("offx", 0.0 if use_lspp_defaults() else None) ), Field( "offy", float, 30, 10, - kwargs.get("offy", 0.0) + kwargs.get("offy", 0.0 if use_lspp_defaults() else None) ), Field( "offz", float, 40, 10, - kwargs.get("offz", 0.0) + kwargs.get("offz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_symmetric_plane.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_symmetric_plane.py index 22e787c68..e0450e1a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_symmetric_plane.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_blanksize_symmetric_plane.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceBlanksizeSymmetricPlane(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("x0", 0.0) + kwargs.get("x0", 0.0 if use_lspp_defaults() else None) ), Field( "y0", float, 10, 10, - kwargs.get("y0", 0.0) + kwargs.get("y0", 0.0 if use_lspp_defaults() else None) ), Field( "z0", float, 20, 10, - kwargs.get("z0", 0.0) + kwargs.get("z0", 0.0 if use_lspp_defaults() else None) ), Field( "v1", float, 30, 10, - kwargs.get("v1", 1.0) + kwargs.get("v1", 1.0 if use_lspp_defaults() else None) ), Field( "v2", float, 40, 10, - kwargs.get("v2", 0.0) + kwargs.get("v2", 0.0 if use_lspp_defaults() else None) ), Field( "v3", float, 50, 10, - kwargs.get("v3", 0.0) + kwargs.get("v3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation.py index 1cfd124fd..aa7ab7022 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("stage", 1) + kwargs.get("stage", 1 if use_lspp_defaults() else None) ), Field( "psidt", @@ -61,14 +62,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("smooth", 3) + kwargs.get("smooth", 3 if use_lspp_defaults() else None) ), Field( "scale", float, 40, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -79,7 +80,7 @@ def __init__(self, **kwargs): str, 0, 80, - kwargs.get("dbname", "lscomp") + kwargs.get("dbname", "lscomp" if use_lspp_defaults() else None) ), ], ), @@ -90,7 +91,7 @@ def __init__(self, **kwargs): str, 0, 80, - kwargs.get("outname", "lstool") + kwargs.get("outname", "lstool" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d.py index 16f7d30da..2eab50b12 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3D(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidp", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinear", int, 70, 10, - kwargs.get("nlinear", 1) + kwargs.get("nlinear", 1 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tangent", 0) + kwargs.get("tangent", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_accelerator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_accelerator.py index 0f948f5a5..ffe482b6f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_accelerator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_accelerator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DAccelerator(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isteps", 0) + kwargs.get("isteps", 0 if use_lspp_defaults() else None) ), Field( "tolx", float, 10, 10, - kwargs.get("tolx", 0.5) + kwargs.get("tolx", 0.5 if use_lspp_defaults() else None) ), Field( "toly", float, 20, 10, - kwargs.get("toly", 0.5) + kwargs.get("toly", 0.5 if use_lspp_defaults() else None) ), Field( "tolz", float, 30, 10, - kwargs.get("tolz", 0.5) + kwargs.get("tolz", 0.5 if use_lspp_defaults() else None) ), Field( "option", int, 40, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_flange.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_flange.py index 35d274408..66548adf4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_flange.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_flange.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DFlange(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_local_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_local_smooth.py index 864adb972..b0e136004 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_local_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_local_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DLocalSmooth(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidp", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinear", int, 70, 10, - kwargs.get("nlinear", 1) + kwargs.get("nlinear", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_multi_steps.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_multi_steps.py index 5984c1ccb..90ee5fe55 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_multi_steps.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_multi_steps.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DMultiSteps(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidp", @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinear", int, 70, 10, - kwargs.get("nlinear", 1) + kwargs.get("nlinear", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_part_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_part_change.py index 1e061b232..b9c0ce0c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_part_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_part_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DPartChange(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_refine_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_refine_rigid.py index dc322bdd3..978380f98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_refine_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_3d_refine_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensation3DRefineRigid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new.py index a8e2a74dc..8bf9cc536 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensationNew(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidm", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("undct", 0) + kwargs.get("undct", 0 if use_lspp_defaults() else None) ), Field( "angle", float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinea", int, 70, 10, - kwargs.get("nlinea", 1) + kwargs.get("nlinea", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_accelerator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_accelerator.py index 85b669d41..3ed9a6754 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_accelerator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_accelerator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensationNewAccelerator(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("isteps", 0) + kwargs.get("isteps", 0 if use_lspp_defaults() else None) ), Field( "tolx", float, 10, 10, - kwargs.get("tolx", 0.5) + kwargs.get("tolx", 0.5 if use_lspp_defaults() else None) ), Field( "toly", float, 20, 10, - kwargs.get("toly", 0.5) + kwargs.get("toly", 0.5 if use_lspp_defaults() else None) ), Field( "tolz", float, 30, 10, - kwargs.get("tolz", 0.5) + kwargs.get("tolz", 0.5 if use_lspp_defaults() else None) ), Field( "option", int, 40, 10, - kwargs.get("option", 1) + kwargs.get("option", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_local_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_local_smooth.py index 09657c691..19ab9b7b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_local_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_local_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensationNewLocalSmooth(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidm", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("undct", 0) + kwargs.get("undct", 0 if use_lspp_defaults() else None) ), Field( "angle", float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinea", int, 70, 10, - kwargs.get("nlinea", 1) + kwargs.get("nlinea", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_multi_steps.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_multi_steps.py index c110b84bd..9a54b3fe0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_multi_steps.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_multi_steps.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensationNewMultiSteps(KeywordBase): @@ -40,28 +41,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("method", 6) + kwargs.get("method", 6 if use_lspp_defaults() else None) ), Field( "sl", float, 10, 10, - kwargs.get("sl", 5.0) + kwargs.get("sl", 5.0 if use_lspp_defaults() else None) ), Field( "sf", float, 20, 10, - kwargs.get("sf", 0.75) + kwargs.get("sf", 0.75 if use_lspp_defaults() else None) ), Field( "elref", int, 30, 10, - kwargs.get("elref", 1) + kwargs.get("elref", 1 if use_lspp_defaults() else None) ), Field( "psidm", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("undct", 0) + kwargs.get("undct", 0 if use_lspp_defaults() else None) ), Field( "angle", float, 60, 10, - kwargs.get("angle", 0.0) + kwargs.get("angle", 0.0 if use_lspp_defaults() else None) ), Field( "nlinea", int, 70, 10, - kwargs.get("nlinea", 1) + kwargs.get("nlinea", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_part_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_part_change.py index cf6c0f7d4..262e32154 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_part_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_compensation_new_part_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceCompensationNewPartChange(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_file.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_file.py index 216785123..9c9c5fc85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_file.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_file.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceComponentFile(KeywordBase): @@ -51,7 +52,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("format", 2) + kwargs.get("format", 2 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_node.py index e283ec256..065b3e6b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceComponentNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_segment.py index fdd285d72..6b814b3ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceComponentSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_sph.py index 03be36f20..e667f7227 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_component_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceComponentSph(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_de_hbond.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_de_hbond.py index fb4fbdfb9..22bfa0a60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_de_hbond.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_de_hbond.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceDeHbond(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ptype1", 0) + kwargs.get("ptype1", 0 if use_lspp_defaults() else None) ), Field( "ptype2", int, 30, 10, - kwargs.get("ptype2", 0) + kwargs.get("ptype2", 0 if use_lspp_defaults() else None) ), Field( "frmdl", int, 40, 10, - kwargs.get("frmdl", 1) + kwargs.get("frmdl", 1 if use_lspp_defaults() else None) ), Field( "frgk", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("dmg", 1.0) + kwargs.get("dmg", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ensight.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ensight.py index 29a7c7d00..628663697 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ensight.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ensight.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceEnsight(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_joy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_joy.py index 159ad1537..8cd644b4d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_joy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_joy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceJoy(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_node.py index 38980ed74..d0a323b13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingDiscreteNodeNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_set.py index 6dcf54010..dc41aee7a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_discrete_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingDiscreteNodeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_edge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_edge.py index a7a28b81a..f2968caeb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_edge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_edge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingEdge(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_file.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_file.py index f3f494b4c..794afee28 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_file.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_file.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingFile(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_forces.py index fd1eda728..eaa94e8ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingForces(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_local.py index 55842a345..10d99cf9c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingNodeLocal(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("usec", 0) + kwargs.get("usec", 0 if use_lspp_defaults() else None) ), Field( "usen", int, 30, 10, - kwargs.get("usen", 0) + kwargs.get("usen", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_node.py index ff5fb4143..485d2cc99 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingNodeNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set.py index d8a976131..662a10012 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingNodeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set_local.py index 924e4be61..3265216f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_node_set_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingNodeSetLocal(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("usec", 0) + kwargs.get("usec", 0 if use_lspp_defaults() else None) ), Field( "usen", int, 30, 10, - kwargs.get("usen", 0) + kwargs.get("usen", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_segment.py index 9ec6a59af..ccc33e218 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_linking_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceLinkingSegment(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_1.py index 73bdc1a01..4b93b79da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpg1(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_2.py index cfc62146c..41757f5fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_spg_2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpg2(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback.py index 6563448ba..39193e6dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringback(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d.py index 4a27fe664..d6a93e623 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackDyna3D(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_nothickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_nothickness.py index afc25c7e1..cb1dabef8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_nothickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_nothickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackDyna3DNothickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_thickness.py index 4dbfa0918..187e379bd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_dyna3d_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackDyna3DThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude.py index dd354496a..810fb38da 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackExclude(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude_thickness.py index 3a3af5891..538de2bf4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_exclude_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackExcludeThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna.py index df04a1fed..a6d89843a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackLsdyna(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_nothickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_nothickness.py index dd3ebf1cb..31deed2b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_nothickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_nothickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackLsdynaNothickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_thickness.py index 2b496c007..7091f1dce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_lsdyna_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackLsdynaThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran.py index b1af8aa65..81e413d86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackNastran(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_nothickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_nothickness.py index 7b5649c5d..4593f489e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_nothickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_nothickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackNastranNothickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_thickness.py index 73fd29e64..d9b068b09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nastran_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackNastranThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d.py index 86d35fc54..a95fdf2c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackNike3D(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d_thickness.py index 9b8eaad2b..16682a00c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_nike3d_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackNike3DThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless.py index d51d0eb91..775c98bd6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackSeamless(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless_thickness.py index 987277909..df0db3e47 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_springback_seamless_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSpringbackSeamlessThickness(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -68,7 +69,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ftensr", 0) + kwargs.get("ftensr", 0 if use_lspp_defaults() else None) ), Field( "nthhsv", @@ -100,14 +101,14 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("optc", "OPTCARD") + kwargs.get("optc", "OPTCARD" if use_lspp_defaults() else None) ), Field( "sldo", int, 10, 10, - kwargs.get("sldo", 0) + kwargs.get("sldo", 0 if use_lspp_defaults() else None) ), Field( "ncyc", @@ -121,21 +122,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("fsplit", 0) + kwargs.get("fsplit", 0 if use_lspp_defaults() else None) ), Field( "ndflag", int, 40, 10, - kwargs.get("ndflag", 0) + kwargs.get("ndflag", 0 if use_lspp_defaults() else None) ), Field( "cflag", int, 50, 10, - kwargs.get("cflag", 0) + kwargs.get("cflag", 0 if use_lspp_defaults() else None) ), Field( "hflag", @@ -160,14 +161,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 20, 10, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi.py index 69cfe6812..62c8f3658 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsi(KeywordBase): @@ -97,28 +98,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "memgm", int, 40, 10, - kwargs.get("memgm", 2500000) + kwargs.get("memgm", 2500000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux.py index 2e2d2354d..12263151b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiAux(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded.py index 397dd8cc2..abb1ff213 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiAuxEmbedded(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_constrained_offset.py index 6ce2d51cc..a8b2582e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiAuxEmbeddedConstrainedOffset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_offset.py index 146f6da58..7c4c04288 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_embedded_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiAuxEmbeddedOffset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_node.py index 9fecef6bb..d4f2e3044 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_aux_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiAuxNode(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_constrained_offset.py index ec626c026..e70697935 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiConstrainedOffset(KeywordBase): @@ -97,28 +98,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "memgm", int, 40, 10, - kwargs.get("memgm", 2500000) + kwargs.get("memgm", 2500000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_offset.py index 50ab96a79..c275eec00 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiOffset(KeywordBase): @@ -97,28 +98,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "memgm", int, 40, 10, - kwargs.get("memgm", 2500000) + kwargs.get("memgm", 2500000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static.py index 2b8c4d29d..bb65c2867 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiStatic(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_constrained_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_constrained_offset.py index 07f2149d8..a913474f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_constrained_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_constrained_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiStaticConstrainedOffset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_offset.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_offset.py index e20e34454..6c0bb2843 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_offset.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_ssi_static_offset.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceSsiStaticOffset(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_thickness_change_compensation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_thickness_change_compensation.py index a9327e0fb..ce833870e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_thickness_change_compensation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_thickness_change_compensation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceThicknessChangeCompensation(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_weldline_development.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_weldline_development.py index f3678ff96..2ccc26334 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_weldline_development.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/interface_weldline_development.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class InterfaceWeldlineDevelopment(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ioption", 1) + kwargs.get("ioption", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword.py index d429d9797..b72c73462 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Keyword(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_id.py index 758abed9f..8439e861e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class KeywordKeywordId(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_jobid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_jobid.py index 600a26814..e050eb23d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_jobid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/keyword_keyword_jobid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class KeywordKeywordJobid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_acoustic_source.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_acoustic_source.py index 57a212eaf..c23c321f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_acoustic_source.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_acoustic_source.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadAcousticSource(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("srctyp", 1) + kwargs.get("srctyp", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("data1", 1.0) + kwargs.get("data1", 1.0 if use_lspp_defaults() else None) ), Field( "data2", float, 40, 10, - kwargs.get("data2", 0.0) + kwargs.get("data2", 0.0 if use_lspp_defaults() else None) ), Field( "data3", float, 50, 10, - kwargs.get("data3", 0.0) + kwargs.get("data3", 0.0 if use_lspp_defaults() else None) ), Field( "data4", float, 60, 10, - kwargs.get("data4", 0.0) + kwargs.get("data4", 0.0 if use_lspp_defaults() else None) ), Field( "data5", float, 70, 10, - kwargs.get("data5", 0.0) + kwargs.get("data5", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ale_convection.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ale_convection.py index 1716eb57f..8b7ff1bf8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ale_convection.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ale_convection.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadAleConvection(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_element.py index 7fea63828..8dabad4b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBeamElement(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dal", 1) + kwargs.get("dal", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_set.py index 00958064d..4e9d75baf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_beam_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBeamSet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dal", 1) + kwargs.get("dal", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast.py index e5730975b..787f227e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBlast(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("xbo", 0.0) + kwargs.get("xbo", 0.0 if use_lspp_defaults() else None) ), Field( "ybo", float, 20, 10, - kwargs.get("ybo", 0.0) + kwargs.get("ybo", 0.0 if use_lspp_defaults() else None) ), Field( "zbo", float, 30, 10, - kwargs.get("zbo", 0.0) + kwargs.get("zbo", 0.0 if use_lspp_defaults() else None) ), Field( "tbo", float, 40, 10, - kwargs.get("tbo", 0.0) + kwargs.get("tbo", 0.0 if use_lspp_defaults() else None) ), Field( "iunit", int, 50, 10, - kwargs.get("iunit", 2) + kwargs.get("iunit", 2 if use_lspp_defaults() else None) ), Field( "isurf", int, 60, 10, - kwargs.get("isurf", 2) + kwargs.get("isurf", 2 if use_lspp_defaults() else None) ), ], ), @@ -93,35 +94,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cfm", 0.0) + kwargs.get("cfm", 0.0 if use_lspp_defaults() else None) ), Field( "cfl", float, 10, 10, - kwargs.get("cfl", 0.0) + kwargs.get("cfl", 0.0 if use_lspp_defaults() else None) ), Field( "cft", float, 20, 10, - kwargs.get("cft", 0.0) + kwargs.get("cft", 0.0 if use_lspp_defaults() else None) ), Field( "cfp", float, 30, 10, - kwargs.get("cfp", 0.0) + kwargs.get("cfp", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 0.0) + kwargs.get("death", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_clearing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_clearing.py index 3704a0358..c97fc578b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_clearing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_clearing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBlastClearing(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_enhanced.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_enhanced.py index 6d2be17d6..9f776dacc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_enhanced.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_enhanced.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBlastEnhanced(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("m", 0.0) + kwargs.get("m", 0.0 if use_lspp_defaults() else None) ), Field( "xbo", float, 20, 10, - kwargs.get("xbo", 0.0) + kwargs.get("xbo", 0.0 if use_lspp_defaults() else None) ), Field( "ybo", float, 30, 10, - kwargs.get("ybo", 0.0) + kwargs.get("ybo", 0.0 if use_lspp_defaults() else None) ), Field( "zbo", float, 40, 10, - kwargs.get("zbo", 0.0) + kwargs.get("zbo", 0.0 if use_lspp_defaults() else None) ), Field( "tbo", float, 50, 10, - kwargs.get("tbo", 0.0) + kwargs.get("tbo", 0.0 if use_lspp_defaults() else None) ), Field( "unit", int, 60, 10, - kwargs.get("unit", 2) + kwargs.get("unit", 2 if use_lspp_defaults() else None) ), Field( "blast", int, 70, 10, - kwargs.get("blast", 2) + kwargs.get("blast", 2 if use_lspp_defaults() else None) ), ], ), @@ -100,28 +101,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cfm", 0.0) + kwargs.get("cfm", 0.0 if use_lspp_defaults() else None) ), Field( "cfl", float, 10, 10, - kwargs.get("cfl", 0.0) + kwargs.get("cfl", 0.0 if use_lspp_defaults() else None) ), Field( "cft", float, 20, 10, - kwargs.get("cft", 0.0) + kwargs.get("cft", 0.0 if use_lspp_defaults() else None) ), Field( "cfp", float, 30, 10, - kwargs.get("cfp", 0.0) + kwargs.get("cfp", 0.0 if use_lspp_defaults() else None) ), Field( "nidbo", @@ -135,14 +136,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("death", 1.e+20) + kwargs.get("death", 1.e+20 if use_lspp_defaults() else None) ), Field( "negphs", int, 60, 10, - kwargs.get("negphs", 0) + kwargs.get("negphs", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment.py index 0261f09ad..7b0cbca66 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBlastSegment(KeywordBase): @@ -82,14 +83,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sfnrb", 0.0) + kwargs.get("sfnrb", 0.0 if use_lspp_defaults() else None) ), Field( "scalep", float, 70, 10, - kwargs.get("scalep", 1.0) + kwargs.get("scalep", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment_set.py index 7cabb2bef..a641a3d6f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_blast_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBlastSegmentSet(KeywordBase): @@ -61,14 +62,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sfnrb", 0.0) + kwargs.get("sfnrb", 0.0 if use_lspp_defaults() else None) ), Field( "scalep", float, 40, 10, - kwargs.get("scalep", 1.0) + kwargs.get("scalep", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized.py index 718a8dc7e..cb3365a1f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyGeneralized(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("drlcid", 0) + kwargs.get("drlcid", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 40, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 50, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 60, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ax", 0.0) + kwargs.get("ax", 0.0 if use_lspp_defaults() else None) ), Field( "ay", float, 10, 10, - kwargs.get("ay", 0.0) + kwargs.get("ay", 0.0 if use_lspp_defaults() else None) ), Field( "az", float, 20, 10, - kwargs.get("az", 0.0) + kwargs.get("az", 0.0 if use_lspp_defaults() else None) ), Field( "omx", float, 30, 10, - kwargs.get("omx", 0.0) + kwargs.get("omx", 0.0 if use_lspp_defaults() else None) ), Field( "omy", float, 40, 10, - kwargs.get("omy", 0.0) + kwargs.get("omy", 0.0 if use_lspp_defaults() else None) ), Field( "omz", float, 50, 10, - kwargs.get("omz", 0.0) + kwargs.get("omz", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "angtyp", str, 70, 10, - kwargs.get("angtyp", "CENT") + kwargs.get("angtyp", "CENT" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_node.py index f9a345e38..56e38d9ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyGeneralizedSetNode(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("drlcid", 0) + kwargs.get("drlcid", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 40, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 50, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 60, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ax", 0.0) + kwargs.get("ax", 0.0 if use_lspp_defaults() else None) ), Field( "ay", float, 10, 10, - kwargs.get("ay", 0.0) + kwargs.get("ay", 0.0 if use_lspp_defaults() else None) ), Field( "az", float, 20, 10, - kwargs.get("az", 0.0) + kwargs.get("az", 0.0 if use_lspp_defaults() else None) ), Field( "omx", float, 30, 10, - kwargs.get("omx", 0.0) + kwargs.get("omx", 0.0 if use_lspp_defaults() else None) ), Field( "omy", float, 40, 10, - kwargs.get("omy", 0.0) + kwargs.get("omy", 0.0 if use_lspp_defaults() else None) ), Field( "omz", float, 50, 10, - kwargs.get("omz", 0.0) + kwargs.get("omz", 0.0 if use_lspp_defaults() else None) ), Field( "cid", @@ -142,7 +143,7 @@ def __init__(self, **kwargs): str, 70, 10, - kwargs.get("angtyp", "CENT") + kwargs.get("angtyp", "CENT" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_part.py index a53c48aa7..e34aaf7a4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_generalized_set_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyGeneralizedSetPart(KeywordBase): @@ -61,28 +62,28 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("drlcid", 0) + kwargs.get("drlcid", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 40, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 50, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 60, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ax", 0.0) + kwargs.get("ax", 0.0 if use_lspp_defaults() else None) ), Field( "ay", float, 10, 10, - kwargs.get("ay", 0.0) + kwargs.get("ay", 0.0 if use_lspp_defaults() else None) ), Field( "az", float, 20, 10, - kwargs.get("az", 0.0) + kwargs.get("az", 0.0 if use_lspp_defaults() else None) ), Field( "omx", float, 30, 10, - kwargs.get("omx", 0.0) + kwargs.get("omx", 0.0 if use_lspp_defaults() else None) ), Field( "omy", float, 40, 10, - kwargs.get("omy", 0.0) + kwargs.get("omy", 0.0 if use_lspp_defaults() else None) ), Field( "omz", float, 50, 10, - kwargs.get("omz", 0.0) + kwargs.get("omz", 0.0 if use_lspp_defaults() else None) ), Field( "cid", @@ -142,7 +143,7 @@ def __init__(self, **kwargs): str, 70, 10, - kwargs.get("angtyp", "CENT") + kwargs.get("angtyp", "CENT" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_parts.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_parts.py index 63cf95bb4..5187c75ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_parts.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_parts.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyParts(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_porous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_porous.py index 399761d36..55b6d4bd3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_porous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_porous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyPorous(KeywordBase): @@ -47,49 +48,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("sidtyp", 0) + kwargs.get("sidtyp", 0 if use_lspp_defaults() else None) ), Field( "ax", float, 20, 10, - kwargs.get("ax", 0.0) + kwargs.get("ax", 0.0 if use_lspp_defaults() else None) ), Field( "ay", float, 30, 10, - kwargs.get("ay", 0.0) + kwargs.get("ay", 0.0 if use_lspp_defaults() else None) ), Field( "az", float, 40, 10, - kwargs.get("az", 0.0) + kwargs.get("az", 0.0 if use_lspp_defaults() else None) ), Field( "bx", float, 50, 10, - kwargs.get("bx", 0.0) + kwargs.get("bx", 0.0 if use_lspp_defaults() else None) ), Field( "by", float, 60, 10, - kwargs.get("by", 0.0) + kwargs.get("by", 0.0 if use_lspp_defaults() else None) ), Field( "bz", float, 70, 10, - kwargs.get("bz", 0.0) + kwargs.get("bz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rx.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rx.py index 46d8ed85b..f321fccfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rx.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rx.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyRx(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_ry.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_ry.py index 610422235..70131434a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_ry.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_ry.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyRy(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rz.py index 5d4555395..d48302a87 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_rz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyRz(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_vector.py index 2f8f2f617..9e71bee88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyVector(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,21 +94,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("v1", 0.0) + kwargs.get("v1", 0.0 if use_lspp_defaults() else None) ), Field( "v2", float, 10, 10, - kwargs.get("v2", 0.0) + kwargs.get("v2", 0.0 if use_lspp_defaults() else None) ), Field( "v3", float, 20, 10, - kwargs.get("v3", 0.0) + kwargs.get("v3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_x.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_x.py index 331995766..325c00f5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_x.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_x.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyX(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_y.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_y.py index c0d24db78..6fa1c0d91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_y.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_y.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyY(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_z.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_z.py index ad6884df9..ecbfe1053 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_z.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_body_z.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBodyZ(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "lciddr", int, 20, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), Field( "xc", float, 30, 10, - kwargs.get("xc", 0.0) + kwargs.get("xc", 0.0 if use_lspp_defaults() else None) ), Field( "yc", float, 40, 10, - kwargs.get("yc", 0.0) + kwargs.get("yc", 0.0 if use_lspp_defaults() else None) ), Field( "zc", float, 50, 10, - kwargs.get("zc", 0.0) + kwargs.get("zc", 0.0 if use_lspp_defaults() else None) ), Field( "cid", int, 60, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_brode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_brode.py index 387c5a405..1d7c84148 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_brode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_brode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadBrode(KeywordBase): @@ -40,56 +41,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("yld", 0.0) + kwargs.get("yld", 0.0 if use_lspp_defaults() else None) ), Field( "bht", float, 10, 10, - kwargs.get("bht", 0.0) + kwargs.get("bht", 0.0 if use_lspp_defaults() else None) ), Field( "xbo", float, 20, 10, - kwargs.get("xbo", 0.0) + kwargs.get("xbo", 0.0 if use_lspp_defaults() else None) ), Field( "ybo", float, 30, 10, - kwargs.get("ybo", 0.0) + kwargs.get("ybo", 0.0 if use_lspp_defaults() else None) ), Field( "zbo", float, 40, 10, - kwargs.get("zbo", 0.0) + kwargs.get("zbo", 0.0 if use_lspp_defaults() else None) ), Field( "tbo", float, 50, 10, - kwargs.get("tbo", 0.0) + kwargs.get("tbo", 0.0 if use_lspp_defaults() else None) ), Field( "talc", int, 60, 10, - kwargs.get("talc", 0) + kwargs.get("talc", 0 if use_lspp_defaults() else None) ), Field( "sflc", int, 70, 10, - kwargs.get("sflc", 0) + kwargs.get("sflc", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,21 +101,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cfl", 0.0) + kwargs.get("cfl", 0.0 if use_lspp_defaults() else None) ), Field( "cft", float, 10, 10, - kwargs.get("cft", 0.0) + kwargs.get("cft", 0.0 if use_lspp_defaults() else None) ), Field( "cfp", float, 20, 10, - kwargs.get("cfp", 0.0) + kwargs.get("cfp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_density_depth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_density_depth.py index b774ed643..34fe145ab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_density_depth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_density_depth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadDensityDepth(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), Field( "gc", float, 10, 10, - kwargs.get("gc", 0.0) + kwargs.get("gc", 0.0 if use_lspp_defaults() else None) ), Field( "dir", int, 20, 10, - kwargs.get("dir", 1) + kwargs.get("dir", 1 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_eroding_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_eroding_part_set.py index 68ca86965..93ca9f458 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_eroding_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_eroding_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadErodingPartSet(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1) + kwargs.get("sf", 1 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "psid", @@ -75,21 +76,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "mem", int, 60, 10, - kwargs.get("mem", 50) + kwargs.get("mem", 50 if use_lspp_defaults() else None) ), Field( "alpha", float, 70, 10, - kwargs.get("alpha", 80.0) + kwargs.get("alpha", 80.0 if use_lspp_defaults() else None) ), ], ), @@ -100,35 +101,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "x", float, 10, 10, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 20, 10, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 30, 10, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 40, 10, - kwargs.get("beta", 90.0) + kwargs.get("beta", 90.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_expansion_pressure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_expansion_pressure.py index 61571d87e..2a4ef7297 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_expansion_pressure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_expansion_pressure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadExpansionPressure(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw.py index df0c324e1..7c435a292 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadFaceUvw(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw_set.py index f2664807a..e2bb53345 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_uvw_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadFaceUvwSet(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz.py index cf1f95f28..a6d970ec4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadFaceXyz(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz_set.py index 5158ea099..aa741e875 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_face_xyz_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadFaceXyzSet(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part.py index 23f14277d..9d7c936f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadGravityPart(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("accel", 0.0) + kwargs.get("accel", 0.0 if use_lspp_defaults() else None) ), Field( "lcdr", @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("stga", 0) + kwargs.get("stga", 0 if use_lspp_defaults() else None) ), Field( "stgr", int, 60, 10, - kwargs.get("stgr", 0) + kwargs.get("stgr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part_set.py index b9df7ecfe..48754b4de 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_gravity_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadGravityPartSet(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("accel", 0.0) + kwargs.get("accel", 0.0 if use_lspp_defaults() else None) ), Field( "lcdr", @@ -75,14 +76,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("stga", 0) + kwargs.get("stga", 0 if use_lspp_defaults() else None) ), Field( "stgr", int, 60, 10, - kwargs.get("stgr", 0) + kwargs.get("stgr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_controller.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_controller.py index c689e5440..592dc6b39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_controller.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_controller.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatController(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_exothermic_reaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_exothermic_reaction.py index d106fa834..6ea90500b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_exothermic_reaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_exothermic_reaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatExothermicReaction(KeywordBase): @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 40, 10, - kwargs.get("dt", 1.E16) + kwargs.get("dt", 1.E16 if use_lspp_defaults() else None) ), Field( "tmin", float, 50, 10, - kwargs.get("tmin", 0.0) + kwargs.get("tmin", 0.0 if use_lspp_defaults() else None) ), Field( "tmax", float, 60, 10, - kwargs.get("tmax", 1.E16) + kwargs.get("tmax", 1.E16 if use_lspp_defaults() else None) ), Field( "toff", float, 70, 10, - kwargs.get("toff", 0.0) + kwargs.get("toff", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,42 +101,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("csei0", 0.0) + kwargs.get("csei0", 0.0 if use_lspp_defaults() else None) ), Field( "asei", float, 10, 10, - kwargs.get("asei", 0.0) + kwargs.get("asei", 0.0 if use_lspp_defaults() else None) ), Field( "easei", float, 20, 10, - kwargs.get("easei", 0.0) + kwargs.get("easei", 0.0 if use_lspp_defaults() else None) ), Field( "msei", float, 30, 10, - kwargs.get("msei", 0.0) + kwargs.get("msei", 0.0 if use_lspp_defaults() else None) ), Field( "hsei", float, 40, 10, - kwargs.get("hsei", 0.0) + kwargs.get("hsei", 0.0 if use_lspp_defaults() else None) ), Field( "wc", float, 50, 10, - kwargs.get("wc", 0.0) + kwargs.get("wc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ru", 8.314) + kwargs.get("ru", 8.314 if use_lspp_defaults() else None) ), ], ), @@ -160,56 +161,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cne0", 0.0) + kwargs.get("cne0", 0.0 if use_lspp_defaults() else None) ), Field( "ane", float, 10, 10, - kwargs.get("ane", 0.0) + kwargs.get("ane", 0.0 if use_lspp_defaults() else None) ), Field( "eane", float, 20, 10, - kwargs.get("eane", 0.0) + kwargs.get("eane", 0.0 if use_lspp_defaults() else None) ), Field( "mne", float, 30, 10, - kwargs.get("mne", 0.0) + kwargs.get("mne", 0.0 if use_lspp_defaults() else None) ), Field( "hne", float, 40, 10, - kwargs.get("hne", 0.0) + kwargs.get("hne", 0.0 if use_lspp_defaults() else None) ), Field( "wcne", float, 50, 10, - kwargs.get("wcne", 0.0) + kwargs.get("wcne", 0.0 if use_lspp_defaults() else None) ), Field( "tsei0", float, 60, 10, - kwargs.get("tsei0", 0.0) + kwargs.get("tsei0", 0.0 if use_lspp_defaults() else None) ), Field( "tseir", float, 70, 10, - kwargs.get("tseir", 0.0) + kwargs.get("tseir", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -220,49 +221,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha0", 0.0) + kwargs.get("alpha0", 0.0 if use_lspp_defaults() else None) ), Field( "ape", float, 10, 10, - kwargs.get("ape", 0.0) + kwargs.get("ape", 0.0 if use_lspp_defaults() else None) ), Field( "eape", float, 20, 10, - kwargs.get("eape", 0.0) + kwargs.get("eape", 0.0 if use_lspp_defaults() else None) ), Field( "mpep1", float, 30, 10, - kwargs.get("mpep1", 0.0) + kwargs.get("mpep1", 0.0 if use_lspp_defaults() else None) ), Field( "hpe", float, 40, 10, - kwargs.get("hpe", 0.0) + kwargs.get("hpe", 0.0 if use_lspp_defaults() else None) ), Field( "wpe", float, 50, 10, - kwargs.get("wpe", 0.0) + kwargs.get("wpe", 0.0 if use_lspp_defaults() else None) ), Field( "mpep2", float, 60, 10, - kwargs.get("mpep2", 0.0) + kwargs.get("mpep2", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -273,42 +274,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ce0", 0.0) + kwargs.get("ce0", 0.0 if use_lspp_defaults() else None) ), Field( "ae", float, 10, 10, - kwargs.get("ae", 0.0) + kwargs.get("ae", 0.0 if use_lspp_defaults() else None) ), Field( "eae", float, 20, 10, - kwargs.get("eae", 0.0) + kwargs.get("eae", 0.0 if use_lspp_defaults() else None) ), Field( "me", float, 30, 10, - kwargs.get("me", 0.0) + kwargs.get("me", 0.0 if use_lspp_defaults() else None) ), Field( "he", float, 40, 10, - kwargs.get("he", 0.0) + kwargs.get("he", 0.0 if use_lspp_defaults() else None) ), Field( "we", float, 50, 10, - kwargs.get("we", 0.0) + kwargs.get("we", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set.py index c44fa058f..845dc1b3c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatGenerationSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "wblcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_shell.py index 6417b52d8..e5fb46a50 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatGenerationSetShell(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "wblcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_solid.py index e104902aa..9b97c3ead 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_set_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatGenerationSetSolid(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "wblcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_shell.py index c9dc0d391..21c131d15 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatGenerationShell(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "wblcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_solid.py index a2a7a9b86..f62f03b3a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_heat_generation_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadHeatGenerationSolid(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("cmult", 1.0) + kwargs.get("cmult", 1.0 if use_lspp_defaults() else None) ), Field( "wblcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_mask.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_mask.py index d053af3e6..a6db71c1a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_mask.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_mask.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadMask(KeywordBase): @@ -54,28 +55,28 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("vid1", 1) + kwargs.get("vid1", 1 if use_lspp_defaults() else None) ), Field( "off", float, 30, 10, - kwargs.get("off", 0) + kwargs.get("off", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 40, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "lcidm", int, 50, 10, - kwargs.get("lcidm", 0) + kwargs.get("lcidm", 0 if use_lspp_defaults() else None) ), Field( "vid2", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("inout", 0) + kwargs.get("inout", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("icycle", 200) + kwargs.get("icycle", 200 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_motion_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_motion_node.py index 489957969..9b2a1b4f5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_motion_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_motion_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadMotionNode(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof1", 0) + kwargs.get("dof1", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid1", int, 40, 10, - kwargs.get("cid1", 0) + kwargs.get("cid1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 50, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "dof2", int, 60, 10, - kwargs.get("dof2", 0) + kwargs.get("dof2", 0 if use_lspp_defaults() else None) ), Field( "cid2", int, 70, 10, - kwargs.get("cid2", 0) + kwargs.get("cid2", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_moving_pressure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_moving_pressure.py index ce004df20..e9c5a644a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_moving_pressure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_moving_pressure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadMovingPressure(KeywordBase): @@ -93,14 +94,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("idir", 0) + kwargs.get("idir", 0 if use_lspp_defaults() else None) ), Field( "lsflg", int, 70, 10, - kwargs.get("lsflg", 0) + kwargs.get("lsflg", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,7 +119,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idtype", 0) + kwargs.get("idtype", 0 if use_lspp_defaults() else None) ), Field( "nip", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node.py index 7dc8ee870..bbd8358a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadNode(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 40, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "m1", int, 50, 10, - kwargs.get("m1", 0) + kwargs.get("m1", 0 if use_lspp_defaults() else None) ), Field( "m2", int, 60, 10, - kwargs.get("m2", 0) + kwargs.get("m2", 0 if use_lspp_defaults() else None) ), Field( "m3", int, 70, 10, - kwargs.get("m3", 0) + kwargs.get("m3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_point.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_point.py index db7f57905..1316a23e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_point.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_point.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set.py index e9bd26c22..ea5a14012 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadNodeSet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 40, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "m1", int, 50, 10, - kwargs.get("m1", 0) + kwargs.get("m1", 0 if use_lspp_defaults() else None) ), Field( "m2", int, 60, 10, - kwargs.get("m2", 0) + kwargs.get("m2", 0 if use_lspp_defaults() else None) ), Field( "m3", int, 70, 10, - kwargs.get("m3", 0) + kwargs.get("m3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set_once.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set_once.py index 752b2aa6e..4e3526681 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set_once.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_node_set_once.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadNodeSetOnce(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 0) + kwargs.get("dof", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 40, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "m1", int, 50, 10, - kwargs.get("m1", 0) + kwargs.get("m1", 0 if use_lspp_defaults() else None) ), Field( "m2", int, 60, 10, - kwargs.get("m2", 0) + kwargs.get("m2", 0 if use_lspp_defaults() else None) ), Field( "m3", int, 70, 10, - kwargs.get("m3", 0) + kwargs.get("m3", 0 if use_lspp_defaults() else None) ), ], ), @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("once", 0) + kwargs.get("once", 0 if use_lspp_defaults() else None) ), Field( "lcid1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_nurbs_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_nurbs_shell.py index c1c0b4f7a..4d63f0068 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_nurbs_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_nurbs_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadNurbsShell(KeywordBase): @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 40, 10, - kwargs.get("dt", 1.0e+16) + kwargs.get("dt", 1.0e+16 if use_lspp_defaults() else None) ), Field( "ltype", str, 50, 10, - kwargs.get("ltype", "PRESS") + kwargs.get("ltype", "PRESS" if use_lspp_defaults() else None) ), Field( "regdef", str, 60, 10, - kwargs.get("regdef", "RS") + kwargs.get("regdef", "RS" if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "v1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw.py index ed8e2db20..ac8802615 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadPointUvw(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw_set.py index 0444978f3..2f25af9e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_point_uvw_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadPointUvwSet(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pyro_actuator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pyro_actuator.py index 78f8051c9..29d7133fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pyro_actuator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pyro_actuator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadPyroActuator(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pze.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pze.py index 07e23e352..78df6b00c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pze.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_pze.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadPze(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "setyp", str, 30, 10, - kwargs.get("setyp", "NSET") + kwargs.get("setyp", "NSET" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part.py index 754bb9410..ff0599ef3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadRemovePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part_set.py index 62cf2be50..814666a60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_remove_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadRemovePartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_rigid_body.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_rigid_body.py index 9b5f3e802..793efaa3b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_rigid_body.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_rigid_body.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadRigidBody(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dof", 1) + kwargs.get("dof", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -61,35 +62,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 40, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "m1", int, 50, 10, - kwargs.get("m1", 0) + kwargs.get("m1", 0 if use_lspp_defaults() else None) ), Field( "m2", int, 60, 10, - kwargs.get("m2", 0) + kwargs.get("m2", 0 if use_lspp_defaults() else None) ), Field( "m3", int, 70, 10, - kwargs.get("m3", 0) + kwargs.get("m3", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment.py index ab5cdaed6..1b2b08cd1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegment(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 20, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "n1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_contact_mask.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_contact_mask.py index 0ac014866..2ef5e2b8d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_contact_mask.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_contact_mask.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentContactMask(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_file.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_file.py index 7bf150d7d..88c72f430 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_file.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_file.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentFile(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_fsilnk.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_fsilnk.py index 41b47c54a..fda39f5e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_fsilnk.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_fsilnk.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentFsilnk(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_id.py index c85e0f333..4de797947 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentId(KeywordBase): @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 20, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "n1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_nonuniform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_nonuniform.py index d4667ee06..7a8e5b1cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_nonuniform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_nonuniform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentNonuniform(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 20, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 30, 10, - kwargs.get("dt", 1E+16) + kwargs.get("dt", 1E+16 if use_lspp_defaults() else None) ), Field( "cid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set.py index 1d332f0fa..d0192b759 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentSet(KeywordBase): @@ -54,14 +55,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_angle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_angle.py index 52307b3e9..58c3dc4c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_angle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_angle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentSetAngle(KeywordBase): @@ -61,21 +62,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "ioptp", int, 40, 10, - kwargs.get("ioptp", 0) + kwargs.get("ioptp", 0 if use_lspp_defaults() else None) ), Field( "ioptd", int, 50, 10, - kwargs.get("ioptd", 0) + kwargs.get("ioptd", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_id.py index 23a0f440f..70df73ca1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentSetId(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_nonuniform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_nonuniform.py index a411b666a..fc126d80a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_nonuniform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_segment_set_nonuniform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSegmentSetNonuniform(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 40, 10, - kwargs.get("dt", 1.0e+16) + kwargs.get("dt", 1.0e+16 if use_lspp_defaults() else None) ), Field( "eltype", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux.py index 0ea85e198..e6a224721 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiAux(KeywordBase): @@ -65,35 +66,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 50, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "memgm", int, 60, 10, - kwargs.get("memgm", 2500000) + kwargs.get("memgm", 2500000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux_id.py index fb0353eb8..6a8132809 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_aux_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiAuxId(KeywordBase): @@ -83,35 +84,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 50, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "memgm", int, 60, 10, - kwargs.get("memgm", 2500000) + kwargs.get("memgm", 2500000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv.py index 034b026e6..17fba1b4f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiDeconv(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 24, 16, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 16, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "gmx", @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), Field( "pset", @@ -142,7 +143,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("vdir", 3) + kwargs.get("vdir", 3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv_id.py index 646fe04df..8e9ee19cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_deconv_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiDeconvId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 24, 16, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 16, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "gmx", @@ -111,42 +112,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), Field( "pset", @@ -160,7 +161,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("vdir", 3) + kwargs.get("vdir", 3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node.py index 9d0c9c232..8d9bc116f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiNode(KeywordBase): @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node_id.py index 45e836464..b54462545 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_node_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiNodeId(KeywordBase): @@ -97,42 +98,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point.py index 5dd31ab61..f1340cb09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiPoint(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 24, 16, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 16, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "gmx", @@ -93,42 +94,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point_id.py index 3418ff450..9b96ea9a4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_point_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiPointId(KeywordBase): @@ -65,21 +66,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xp", 0.0) + kwargs.get("xp", 0.0 if use_lspp_defaults() else None) ), Field( "yp", float, 24, 16, - kwargs.get("yp", 0.0) + kwargs.get("yp", 0.0 if use_lspp_defaults() else None) ), Field( "zp", float, 40, 16, - kwargs.get("zp", 0.0) + kwargs.get("zp", 0.0 if use_lspp_defaults() else None) ), Field( "gmx", @@ -111,42 +112,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set.py index d033a548f..7c6cc3116 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiSet(KeywordBase): @@ -79,42 +80,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set_id.py index e2a6abad5..745ba6376 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_seismic_ssi_set_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSeismicSsiSetId(KeywordBase): @@ -97,42 +98,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "cid", int, 10, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 20, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 30, 10, - kwargs.get("death", 1.E+28) + kwargs.get("death", 1.E+28 if use_lspp_defaults() else None) ), Field( "isg", int, 40, 10, - kwargs.get("isg", 0) + kwargs.get("isg", 0 if use_lspp_defaults() else None) ), Field( "igm", int, 50, 10, - kwargs.get("igm", 0) + kwargs.get("igm", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_element.py index 633528413..f98076ccc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadShellElement(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_set.py index 73d7d1400..796614da6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadShellSet(KeywordBase): @@ -72,14 +73,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "at", float, 30, 10, - kwargs.get("at", 0.0) + kwargs.get("at", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_spcforc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_spcforc.py index f1bd299aa..28887ffa7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_spcforc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_spcforc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSpcforc(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ssa.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ssa.py index 13a506d96..5115fe372 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ssa.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_ssa.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSsa(KeywordBase): @@ -54,35 +55,35 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("refl", 0) + kwargs.get("refl", 0 if use_lspp_defaults() else None) ), Field( "zb", float, 30, 10, - kwargs.get("zb", 0.0) + kwargs.get("zb", 0.0 if use_lspp_defaults() else None) ), Field( "zsurf", float, 40, 10, - kwargs.get("zsurf", 0.0) + kwargs.get("zsurf", 0.0 if use_lspp_defaults() else None) ), Field( "fpsid", int, 50, 10, - kwargs.get("fpsid", 0) + kwargs.get("fpsid", 0 if use_lspp_defaults() else None) ), Field( "psid", int, 60, 10, - kwargs.get("psid", 0) + kwargs.get("psid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_steady_state_rolling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_steady_state_rolling.py index 26fbca730..a427e541c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_steady_state_rolling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_steady_state_rolling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSteadyStateRolling(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part.py index 19df8526d..01dee48f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadStiffenPart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part_set.py index 70aaf9c07..4a0825061 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_stiffen_part_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadStiffenPartSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_superplastic_forming.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_superplastic_forming.py index a0d643ad4..c269ba9f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_superplastic_forming.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_superplastic_forming.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSuperplasticForming(KeywordBase): @@ -107,7 +108,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ncyl", 0) + kwargs.get("ncyl", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress.py index 0d02f7c28..778f4f54c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSurfaceStress(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress_set.py index 548f01ed4..442871d70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_surface_stress_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadSurfaceStressSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_binout.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_binout.py index 09830a677..249865972 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_binout.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_binout.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalBinout(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("deftemp", 0.0) + kwargs.get("deftemp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -62,14 +63,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("startt", 0.0) + kwargs.get("startt", 0.0 if use_lspp_defaults() else None) ), Field( "tsf", float, 10, 10, - kwargs.get("tsf", 1.0) + kwargs.get("tsf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant.py index df2dd905e..12839ad93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstant(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "te", float, 10, 10, - kwargs.get("te", 0.0) + kwargs.get("te", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_beam.py index b69d094af..75dd54d29 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstantElementBeam(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_shell.py index b6fe9c205..5d3f9eac5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstantElementShell(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_solid.py index 6221946ee..3ad2ae534 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstantElementSolid(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_tshell.py index a8b0d02a1..eab387cd1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_element_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstantElementTshell(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_node.py index 700781190..c1b61a429 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_constant_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalConstantNode(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_d3plot.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_d3plot.py index b89774a94..23791bca2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_d3plot.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_d3plot.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalD3Plot(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_load_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_load_curve.py index 7aabbbe05..1b9217b34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_load_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_load_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalLoadCurve(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lciddr", 0) + kwargs.get("lciddr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_rsw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_rsw.py index ce85f2602..ab71b782f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_rsw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_rsw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalRsw(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("option", 0) + kwargs.get("option", 0 if use_lspp_defaults() else None) ), Field( "nid1", @@ -79,28 +80,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tdeath", 1.e20) + kwargs.get("tdeath", 1.e20 if use_lspp_defaults() else None) ), Field( "tbirth", float, 50, 10, - kwargs.get("tbirth", 0.) + kwargs.get("tbirth", 0. if use_lspp_defaults() else None) ), Field( "loc", int, 60, 10, - kwargs.get("loc", 0) + kwargs.get("loc", 0 if use_lspp_defaults() else None) ), Field( "geoup", int, 70, 10, - kwargs.get("geoup", 0) + kwargs.get("geoup", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,42 +112,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dist", 0) + kwargs.get("dist", 0 if use_lspp_defaults() else None) ), Field( "h1", float, 10, 10, - kwargs.get("h1", 0.0) + kwargs.get("h1", 0.0 if use_lspp_defaults() else None) ), Field( "h2", float, 20, 10, - kwargs.get("h2", 0.0) + kwargs.get("h2", 0.0 if use_lspp_defaults() else None) ), Field( "r", float, 30, 10, - kwargs.get("r", 0.0) + kwargs.get("r", 0.0 if use_lspp_defaults() else None) ), Field( "tempc", float, 40, 10, - kwargs.get("tempc", 0.0) + kwargs.get("tempc", 0.0 if use_lspp_defaults() else None) ), Field( "tempb", float, 50, 10, - kwargs.get("tempb", 0.0) + kwargs.get("tempb", 0.0 if use_lspp_defaults() else None) ), Field( "lcidt", @@ -178,21 +179,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hz2", 0.0) + kwargs.get("hz2", 0.0 if use_lspp_defaults() else None) ), Field( "rz", float, 20, 10, - kwargs.get("rz", 0.0) + kwargs.get("rz", 0.0 if use_lspp_defaults() else None) ), Field( "tempzb", float, 30, 10, - kwargs.get("tempzb", 0.0) + kwargs.get("tempzb", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_topaz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_topaz.py index 81bfcca19..ba557e4d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_topaz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_topaz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalTopaz(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable.py index ca4d1c393..1ef100b1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariable(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ts", 0.0) + kwargs.get("ts", 0.0 if use_lspp_defaults() else None) ), Field( "tb", float, 10, 10, - kwargs.get("tb", 0.0) + kwargs.get("tb", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -86,14 +87,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tse", 0.0) + kwargs.get("tse", 0.0 if use_lspp_defaults() else None) ), Field( "tbe", float, 40, 10, - kwargs.get("tbe", 0.0) + kwargs.get("tbe", 0.0 if use_lspp_defaults() else None) ), Field( "lcide", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam.py index 4231fab16..cbaf98e8d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableBeam(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ipolar", 0) + kwargs.get("ipolar", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbase", 0.0) + kwargs.get("tbase", 0.0 if use_lspp_defaults() else None) ), Field( "tscale", float, 10, 10, - kwargs.get("tscale", 1.0) + kwargs.get("tscale", 1.0 if use_lspp_defaults() else None) ), Field( "tcurve", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam_set.py index 5d84704f1..a01ca4be7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_beam_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableBeamSet(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ipolar", 0) + kwargs.get("ipolar", 0 if use_lspp_defaults() else None) ), ], ), @@ -65,14 +66,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tbase", 0.0) + kwargs.get("tbase", 0.0 if use_lspp_defaults() else None) ), Field( "tscale", float, 10, 10, - kwargs.get("tscale", 1.0) + kwargs.get("tscale", 1.0 if use_lspp_defaults() else None) ), Field( "tcurve", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_beam.py index 6454cb0d5..699bb2046 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableElementBeam(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_shell.py index 7a40d4dbd..956e42503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableElementShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_solid.py index 2584b09d8..c9fece603 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableElementSolid(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_tshell.py index f08148e77..31bced291 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_element_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableElementTshell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_node.py index 3478b2454..2d8beb401 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableNode(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ts", 0.0) + kwargs.get("ts", 0.0 if use_lspp_defaults() else None) ), Field( "tb", float, 20, 10, - kwargs.get("tb", 0.0) + kwargs.get("tb", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell.py index 4c32db013..ace4e231b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableShell(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell_set.py index 3700269c0..9957b01de 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_thermal_variable_shell_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadThermalVariableShellSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_vibro_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_vibro_acoustic.py index 237902ad9..fbdc06869 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_vibro_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_vibro_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadVibroAcoustic(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("texpos", 1.0) + kwargs.get("texpos", 1.0 if use_lspp_defaults() else None) ), Field( "tscale", float, 20, 10, - kwargs.get("tscale", 0.0) + kwargs.get("tscale", 0.0 if use_lspp_defaults() else None) ), Field( "temper", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_volume_loss.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_volume_loss.py index 00c8d3785..863b7e04f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/load_volume_loss.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/load_volume_loss.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LoadVolumeLoss(KeywordBase): @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcur", 0) + kwargs.get("lcur", 0 if use_lspp_defaults() else None) ), Field( "fx", float, 30, 10, - kwargs.get("fx", 1.0) + kwargs.get("fx", 1.0 if use_lspp_defaults() else None) ), Field( "fy", float, 40, 10, - kwargs.get("fy", 1.0) + kwargs.get("fy", 1.0 if use_lspp_defaults() else None) ), Field( "fz", float, 50, 10, - kwargs.get("fz", 1.0) + kwargs.get("fz", 1.0 if use_lspp_defaults() else None) ), Field( "pmin", float, 60, 10, - kwargs.get("pmin", -10E20) + kwargs.get("pmin", -10E20 if use_lspp_defaults() else None) ), Field( "factor", float, 70, 10, - kwargs.get("factor", 0.01) + kwargs.get("factor", 0.01 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_domain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_domain.py index a0ad64e82..12de607d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_domain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_domain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LsoDomain(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 20, - kwargs.get("domain_type", "ROGO") + kwargs.get("domain_type", "ROGO" if use_lspp_defaults() else None) ), ], ), @@ -51,7 +52,7 @@ def __init__(self, **kwargs): str, 0, 20, - kwargs.get("solver_name", "MECH") + kwargs.get("solver_name", "MECH" if use_lspp_defaults() else None) ), ], ), @@ -108,7 +109,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("override", 1) + kwargs.get("override", 1 if use_lspp_defaults() else None) ), Field( "reduct", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_id_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_id_set.py index 44f34a805..5ef4fe1b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_id_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_id_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LsoIdSet(KeywordBase): @@ -47,14 +48,14 @@ def __init__(self, **kwargs): str, 10, 20, - kwargs.get("type", "SEG_SETS") + kwargs.get("type", "SEG_SETS" if use_lspp_defaults() else None) ), Field( "solver", str, 20, 20, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_point_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_point_set.py index 75d6bcfe6..e62a9ec5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_point_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_point_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LsoPointSet(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("use", 1) + kwargs.get("use", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_time_sequence.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_time_sequence.py index 5b2476b02..bdb411bc8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_time_sequence.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_time_sequence.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LsoTimeSequence(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 20, - kwargs.get("solver_name", "MECH") + kwargs.get("solver_name", "MECH" if use_lspp_defaults() else None) ), ], ), @@ -51,42 +52,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dt", 0.0) + kwargs.get("dt", 0.0 if use_lspp_defaults() else None) ), Field( "lcdt", int, 10, 10, - kwargs.get("lcdt", 0) + kwargs.get("lcdt", 0 if use_lspp_defaults() else None) ), Field( "lcopt", int, 20, 10, - kwargs.get("lcopt", 1) + kwargs.get("lcopt", 1 if use_lspp_defaults() else None) ), Field( "npltc", int, 30, 10, - kwargs.get("npltc", 0) + kwargs.get("npltc", 0 if use_lspp_defaults() else None) ), Field( "tbeg", float, 40, 10, - kwargs.get("tbeg", 0.0) + kwargs.get("tbeg", 0.0 if use_lspp_defaults() else None) ), Field( "tend", float, 50, 10, - kwargs.get("tend", 0.0) + kwargs.get("tend", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_variable_group.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_variable_group.py index 83e0be5c1..8653b67f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_variable_group.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/lso_variable_group.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class LsoVariableGroup(KeywordBase): @@ -51,7 +52,7 @@ def __init__(self, **kwargs): str, 0, 80, - kwargs.get("domain_type", "NODE") + kwargs.get("domain_type", "NODE" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_000.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_000.py index 8393bb9b4..222d1784f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_000.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_000.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001.py index 76e099f55..5a7087f6e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001_fluid.py index 0f6eee85d..1339c81f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_001_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("k", 0) + kwargs.get("k", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cp", 1.0E+20) + kwargs.get("cp", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002.py index 92f0a69a1..e9e739b28 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -193,7 +194,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_anis.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_anis.py index 95c78d83c..70c30b740 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_anis.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_anis.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", int, 70, 10, - kwargs.get("ihis", 0) + kwargs.get("ihis", 0 if use_lspp_defaults() else None) ), ], ), @@ -334,7 +335,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_sunil.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_sunil.py index f59c7e883..97b8e5ac5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_sunil.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_002_sunil.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mfparm", 0) + kwargs.get("mfparm", 0 if use_lspp_defaults() else None) ), ], ), @@ -207,7 +208,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_003.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_003.py index b5745a300..e5eb46d49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_003.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_003.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_004.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_004.py index e233bd358..d6cca77a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_004.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_004.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_005.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_005.py index 61713b75d..6cb710826 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_005.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_005.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vcr", 0.0) + kwargs.get("vcr", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 10, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_006.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_006.py index 8985c67e4..579918a9f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_006.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_006.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_007.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_007.py index 8e4210945..44a226290 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_007.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_007.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_008.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_008.py index 50fb32295..8657c2fd2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_008.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_008.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "k", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_009.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_009.py index f16f7f62e..22f729531 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_009.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_009.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class Mat009(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010.py index 59a9d3ce1..80caef48b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010_spall.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010_spall.py index c5d33e48e..467e0c2a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010_spall.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_010_spall.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("spall", 1.0) + kwargs.get("spall", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011.py index 65486888a..1a1b8da95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pc", -1.0E+30) + kwargs.get("pc", -1.0E+30 if use_lspp_defaults() else None) ), Field( "spall", float, 10, 10, - kwargs.get("spall", 0.0) + kwargs.get("spall", 0.0 if use_lspp_defaults() else None) ), Field( "rp", @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("flag", 0.0) + kwargs.get("flag", 0.0 if use_lspp_defaults() else None) ), Field( "mmn", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011_lund.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011_lund.py index bf41104e1..d42a425d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011_lund.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_011_lund.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pc", -1.0E+30) + kwargs.get("pc", -1.0E+30 if use_lspp_defaults() else None) ), Field( "spall", float, 10, 10, - kwargs.get("spall", 0.0) + kwargs.get("spall", 0.0 if use_lspp_defaults() else None) ), Field( "rp", @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("flag", 0.0) + kwargs.get("flag", 0.0 if use_lspp_defaults() else None) ), Field( "mmn", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_012.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_012.py index 691d5ce4b..4bfbbbffd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_012.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_012.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_013.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_013.py index 6d36ba94d..aca48f56d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_013.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_013.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_014.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_014.py index 0099de290..9735f2487 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_014.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_014.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vcr", 0.0) + kwargs.get("vcr", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 10, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_015.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_015.py index e4f2116cd..f9d0d7ea9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_015.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_015.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "rateop", float, 70, 10, - kwargs.get("rateop", 0.0) + kwargs.get("rateop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,14 +180,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("spall", 2.0) + kwargs.get("spall", 2.0 if use_lspp_defaults() else None) ), Field( "it", float, 30, 10, - kwargs.get("it", 0.0) + kwargs.get("it", 0.0 if use_lspp_defaults() else None) ), Field( "d1", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("efmin", 0.000001) + kwargs.get("efmin", 0.000001 if use_lspp_defaults() else None) ), Field( "numint", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_016.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_016.py index 3a46ebc0d..3204172aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_016.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_016.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcp", 0) + kwargs.get("lcp", 0 if use_lspp_defaults() else None) ), Field( "lcr", int, 50, 10, - kwargs.get("lcr", 0) + kwargs.get("lcr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_017.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_017.py index 14a9d3427..d2da50de1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_017.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_017.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "cvelo", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_018.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_018.py index 8414de5c4..68990825c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_018.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_018.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_019.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_019.py index 707624703..a7cee9f98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_019.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_019.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "etan", @@ -98,21 +99,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 40, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "tdel", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rdef", 1.0) + kwargs.get("rdef", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_020.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_020.py index f45f98549..dcc43c3b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_020.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_020.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "couple", float, 50, 10, - kwargs.get("couple", 0) + kwargs.get("couple", 0 if use_lspp_defaults() else None) ), Field( "m", float, 60, 10, - kwargs.get("m", 0) + kwargs.get("m", 0 if use_lspp_defaults() else None) ), Field( "alias", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_021.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_021.py index 43d85629d..0edaeb032 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_021.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_021.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_022.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_022.py index 84df6262b..6544c957d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_022.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_022.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "atrack", int, 60, 10, - kwargs.get("atrack", 0) + kwargs.get("atrack", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_023.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_023.py index dafd717f5..436cb49a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_023.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_023.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_024.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_024.py index 63cc4362c..d432b6cb1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_024.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_024.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_025.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_025.py index 9547ced46..31beb0802 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_025.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_025.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,21 +152,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("plot", 1.0) + kwargs.get("plot", 1.0 if use_lspp_defaults() else None) ), Field( "ftype", float, 10, 10, - kwargs.get("ftype", 1.0) + kwargs.get("ftype", 1.0 if use_lspp_defaults() else None) ), Field( "vec", float, 20, 10, - kwargs.get("vec", 0.0) + kwargs.get("vec", 0.0 if use_lspp_defaults() else None) ), Field( "toff", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_026.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_026.py index 67f173f17..b8711afaa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_026.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_026.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mu", 5.0E-02) + kwargs.get("mu", 5.0E-02 if use_lspp_defaults() else None) ), Field( "bulk", float, 70, 10, - kwargs.get("bulk", 0.0) + kwargs.get("bulk", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,49 +113,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcc", int, 20, 10, - kwargs.get("lcc", 0) + kwargs.get("lcc", 0 if use_lspp_defaults() else None) ), Field( "lcs", int, 30, 10, - kwargs.get("lcs", 0) + kwargs.get("lcs", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 40, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcbc", int, 50, 10, - kwargs.get("lcbc", 0) + kwargs.get("lcbc", 0 if use_lspp_defaults() else None) ), Field( "lcca", int, 60, 10, - kwargs.get("lcca", 0) + kwargs.get("lcca", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_027.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_027.py index 9278407ca..0c883513b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_027.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_027.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_028.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_028.py index c176dfebb..050921dd7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_028.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_028.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_029.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_029.py index fdfb7139e..6d9e374e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_029.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_029.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iaflc", 0) + kwargs.get("iaflc", 0 if use_lspp_defaults() else None) ), Field( "ytflag", float, 60, 10, - kwargs.get("ytflag", 0.0) + kwargs.get("ytflag", 0.0 if use_lspp_defaults() else None) ), Field( "asoft", @@ -172,49 +173,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 20, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 30, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "lc5", int, 40, 10, - kwargs.get("lc5", 0) + kwargs.get("lc5", 0 if use_lspp_defaults() else None) ), Field( "lc6", int, 50, 10, - kwargs.get("lc6", 0) + kwargs.get("lc6", 0 if use_lspp_defaults() else None) ), Field( "lc7", int, 60, 10, - kwargs.get("lc7", 0) + kwargs.get("lc7", 0 if use_lspp_defaults() else None) ), Field( "lc8", int, 70, 10, - kwargs.get("lc8", 0) + kwargs.get("lc8", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,35 +226,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lps1", 0) + kwargs.get("lps1", 0 if use_lspp_defaults() else None) ), Field( "sfs1", float, 10, 10, - kwargs.get("sfs1", 1.0) + kwargs.get("sfs1", 1.0 if use_lspp_defaults() else None) ), Field( "lps2", int, 20, 10, - kwargs.get("lps2", 0) + kwargs.get("lps2", 0 if use_lspp_defaults() else None) ), Field( "sfs2", float, 30, 10, - kwargs.get("sfs2", 1.0) + kwargs.get("sfs2", 1.0 if use_lspp_defaults() else None) ), Field( "yms1", float, 40, 10, - kwargs.get("yms1", 1.0E+20) + kwargs.get("yms1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "yms2", @@ -271,35 +272,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpt1", 0) + kwargs.get("lpt1", 0 if use_lspp_defaults() else None) ), Field( "sft1", float, 10, 10, - kwargs.get("sft1", 1.0) + kwargs.get("sft1", 1.0 if use_lspp_defaults() else None) ), Field( "lpt2", int, 20, 10, - kwargs.get("lpt2", 0) + kwargs.get("lpt2", 0 if use_lspp_defaults() else None) ), Field( "sft2", float, 30, 10, - kwargs.get("sft2", 1.0) + kwargs.get("sft2", 1.0 if use_lspp_defaults() else None) ), Field( "ymt1", float, 40, 10, - kwargs.get("ymt1", 1.0E+20) + kwargs.get("ymt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ymt2", @@ -317,21 +318,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpr", 0) + kwargs.get("lpr", 0 if use_lspp_defaults() else None) ), Field( "sfr", float, 10, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "ymr", float, 20, 10, - kwargs.get("ymr", 1.0E+20) + kwargs.get("ymr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_030.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_030.py index 3c10f2dd0..acf815927 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_030.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_030.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_031.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_031.py index 651c11985..a25e433be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_031.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_031.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,7 +180,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_032.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_032.py index d9367df0c..2734a644e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_032.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_032.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -130,56 +131,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("f1", 0.0) + kwargs.get("f1", 0.0 if use_lspp_defaults() else None) ), Field( "f2", float, 10, 10, - kwargs.get("f2", 0.0) + kwargs.get("f2", 0.0 if use_lspp_defaults() else None) ), Field( "f3", float, 20, 10, - kwargs.get("f3", 0.0) + kwargs.get("f3", 0.0 if use_lspp_defaults() else None) ), Field( "f4", float, 30, 10, - kwargs.get("f4", 0.0) + kwargs.get("f4", 0.0 if use_lspp_defaults() else None) ), Field( "f5", float, 40, 10, - kwargs.get("f5", 0.0) + kwargs.get("f5", 0.0 if use_lspp_defaults() else None) ), Field( "f6", float, 50, 10, - kwargs.get("f6", 0.0) + kwargs.get("f6", 0.0 if use_lspp_defaults() else None) ), Field( "f7", float, 60, 10, - kwargs.get("f7", 0.0) + kwargs.get("f7", 0.0 if use_lspp_defaults() else None) ), Field( "f8", float, 70, 10, - kwargs.get("f8", 0.0) + kwargs.get("f8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033.py index 8a281b388..bef5ba5e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033_96.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033_96.py index f47eee0bb..950fd3032 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033_96.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_033_96.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("hard", 1) + kwargs.get("hard", 1 if use_lspp_defaults() else None) ), Field( "a", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034.py index 21c3e515b..fef3048e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "el", @@ -193,28 +194,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("lnrc", 0.0) + kwargs.get("lnrc", 0.0 if use_lspp_defaults() else None) ), Field( "form", int, 50, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "fvopt", int, 60, 10, - kwargs.get("fvopt", 0) + kwargs.get("fvopt", 0 if use_lspp_defaults() else None) ), Field( "tsrfac", float, 70, 10, - kwargs.get("tsrfac", 0) + kwargs.get("tsrfac", 0 if use_lspp_defaults() else None) ), ], ), @@ -239,7 +240,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("a0ref", 0) + kwargs.get("a0ref", 0 if use_lspp_defaults() else None) ), Field( "a1", @@ -334,7 +335,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("isrefg", 0) + kwargs.get("isrefg", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lca", 0) + kwargs.get("lca", 0 if use_lspp_defaults() else None) ), Field( "lcb", int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 20, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcua", int, 30, 10, - kwargs.get("lcua", 0) + kwargs.get("lcua", 0 if use_lspp_defaults() else None) ), Field( "lcub", int, 40, 10, - kwargs.get("lcub", 0) + kwargs.get("lcub", 0 if use_lspp_defaults() else None) ), Field( "lcuab", int, 50, 10, - kwargs.get("lcuab", 0) + kwargs.get("lcuab", 0 if use_lspp_defaults() else None) ), Field( "rl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034m.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034m.py index b54cd31bc..d3865a880 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034m.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_034m.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -137,14 +138,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("isrefg", 0.0) + kwargs.get("isrefg", 0.0 if use_lspp_defaults() else None) ), Field( "cse", float, 10, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "srfac", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_035.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_035.py index ebf845239..ce6cbd96e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_035.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_035.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036.py index ebe193130..153deb43a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,7 +406,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), Field( "lcbi", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036e.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036e.py index e94f01de0..8e34e4551 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036e.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_036e.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_037.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_037.py index 44b528682..71a3a66c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_037.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_037.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_038.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_038.py index 056f59bf4..9791c9eea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_038.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_038.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_039.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_039.py index 8f0e3c1e2..e353c51a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_039.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_039.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcfld", 0) + kwargs.get("lcfld", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_040.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_040.py index d16b17cc5..6bbdc5b9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_040.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_040.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("lcida", 0) + kwargs.get("lcida", 0 if use_lspp_defaults() else None) ), Field( "lcidb", float, 10, 10, - kwargs.get("lcidb", 0) + kwargs.get("lcidb", 0 if use_lspp_defaults() else None) ), Field( "efail", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "atrack", int, 70, 10, - kwargs.get("atrack", 0) + kwargs.get("atrack", 0 if use_lspp_defaults() else None) ), ], ), @@ -310,28 +311,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidc", 0) + kwargs.get("lcidc", 0 if use_lspp_defaults() else None) ), Field( "lcidab", int, 10, 10, - kwargs.get("lcidab", 0) + kwargs.get("lcidab", 0 if use_lspp_defaults() else None) ), Field( "lcidbc", int, 20, 10, - kwargs.get("lcidbc", 0) + kwargs.get("lcidbc", 0 if use_lspp_defaults() else None) ), Field( "lcidca", int, 30, 10, - kwargs.get("lcidca", 0) + kwargs.get("lcidca", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_041_050.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_041_050.py index 9879b6e59..3cae6f4ae 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_041_050.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_041_050.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iortho", 0) + kwargs.get("iortho", 0 if use_lspp_defaults() else None) ), Field( "ibulk", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivect", 0) + kwargs.get("ivect", 0 if use_lspp_defaults() else None) ), Field( "ifail", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("itherm", 0) + kwargs.get("itherm", 0 if use_lspp_defaults() else None) ), Field( "ihyper", int, 30, 10, - kwargs.get("ihyper", 0) + kwargs.get("ihyper", 0 if use_lspp_defaults() else None) ), Field( "ieos", int, 40, 10, - kwargs.get("ieos", 0) + kwargs.get("ieos", 0 if use_lspp_defaults() else None) ), Field( "lmca", @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_051.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_051.py index c9b9e5a87..7a76b916e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_051.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_051.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_052.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_052.py index f7bc696a2..e9f30e1c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_052.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_052.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_053.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_053.py index f249c9cb5..8450a7ee5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_053.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_053.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_054_055.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_054_055.py index dad484888..bea5ac13e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_054_055.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_054_055.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "fbrt", @@ -299,7 +300,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ycfac", 2.0) + kwargs.get("ycfac", 2.0 if use_lspp_defaults() else None) ), Field( "dfailt", @@ -366,7 +367,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("crit", 54.0) + kwargs.get("crit", 54.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("soft2", 1.0) + kwargs.get("soft2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -465,7 +466,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("softg", 1.0) + kwargs.get("softg", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_057.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_057.py index d4bba1610..6a7613985 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_057.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_057.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,21 +67,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tc", float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "hu", float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("shape", 1.0) + kwargs.get("shape", 1.0 if use_lspp_defaults() else None) ), Field( "fail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058.py index 47b0e9c4f..adaf910c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -193,7 +194,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "epsf", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tsmd", 0.9) + kwargs.get("tsmd", 0.9 if use_lspp_defaults() else None) ), ], ), @@ -483,42 +484,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lce11c", 0) + kwargs.get("lce11c", 0 if use_lspp_defaults() else None) ), Field( "lce11t", int, 10, 10, - kwargs.get("lce11t", 0) + kwargs.get("lce11t", 0 if use_lspp_defaults() else None) ), Field( "lce22c", int, 20, 10, - kwargs.get("lce22c", 0) + kwargs.get("lce22c", 0 if use_lspp_defaults() else None) ), Field( "lce22t", int, 30, 10, - kwargs.get("lce22t", 0) + kwargs.get("lce22t", 0 if use_lspp_defaults() else None) ), Field( "lcgms", int, 40, 10, - kwargs.get("lcgms", 0) + kwargs.get("lcgms", 0 if use_lspp_defaults() else None) ), Field( "lcefs", int, 50, 10, - kwargs.get("lcefs", 0) + kwargs.get("lcefs", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058_solid.py index 5481fa5c6..6569ad3af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_058_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -193,7 +194,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "epsf", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tsmd", 0.9) + kwargs.get("tsmd", 0.9 if use_lspp_defaults() else None) ), ], ), @@ -607,42 +608,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lce11c", 0) + kwargs.get("lce11c", 0 if use_lspp_defaults() else None) ), Field( "lce11t", int, 10, 10, - kwargs.get("lce11t", 0) + kwargs.get("lce11t", 0 if use_lspp_defaults() else None) ), Field( "lce22c", int, 20, 10, - kwargs.get("lce22c", 0) + kwargs.get("lce22c", 0 if use_lspp_defaults() else None) ), Field( "lce22t", int, 30, 10, - kwargs.get("lce22t", 0) + kwargs.get("lce22t", 0 if use_lspp_defaults() else None) ), Field( "lcgms", int, 40, 10, - kwargs.get("lcgms", 0) + kwargs.get("lcgms", 0 if use_lspp_defaults() else None) ), Field( "lcefs", int, 50, 10, - kwargs.get("lcefs", 0) + kwargs.get("lcefs", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_shell.py index c2049eb1b..74f8ef4fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sr", 0.447) + kwargs.get("sr", 0.447 if use_lspp_defaults() else None) ), Field( "sf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_solid.py index 596129662..c37fb99f9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_sph.py index 1fdb87ae6..f68980348 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_059_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060.py index 49385e99c..cb2182828 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060c.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060c.py index ceb99d0b1..f7f8ef0c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060c.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_060c.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("v_log", 0.0) + kwargs.get("v_log", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_061.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_061.py index b8e13a14a..c9d442584 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_061.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_061.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fo", 0.0) + kwargs.get("fo", 0.0 if use_lspp_defaults() else None) ), Field( "so", float, 70, 10, - kwargs.get("so", 0.0) + kwargs.get("so", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_062.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_062.py index c6f3a0bda..296a3bbc7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_062.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_062.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_063.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_063.py index 5bd43210a..afd843e00 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_063.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_063.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("model", 0) + kwargs.get("model", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_064.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_064.py index b773171c4..5458b763d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_064.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_064.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("m", 1.0E-04) + kwargs.get("m", 1.0E-04 if use_lspp_defaults() else None) ), Field( "n", float, 60, 10, - kwargs.get("n", 0.0 ) + kwargs.get("n", 0.0 if use_lspp_defaults() else None) ), Field( "e0", float, 70, 10, - kwargs.get("e0", 2.0E-04) + kwargs.get("e0", 2.0E-04 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "eps0", float, 10, 10, - kwargs.get("eps0", 1.0) + kwargs.get("eps0", 1.0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 20, 10, - kwargs.get("rfiltf", 0.0) + kwargs.get("rfiltf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_065.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_065.py index 7b48665de..58ba60fe5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_065.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_065.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("spall", 1.0) + kwargs.get("spall", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m", 0.5) + kwargs.get("m", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_066.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_066.py index 66eee7ccf..9e09c49e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_066.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_066.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_067.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_067.py index a44ef9ea8..3f6a63f9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_067.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_067.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_068.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_068.py index 64e3d40fc..17fc3b25d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_068.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_068.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,42 +152,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpdr", 0) + kwargs.get("lcpdr", 0 if use_lspp_defaults() else None) ), Field( "lcpds", int, 10, 10, - kwargs.get("lcpds", 0) + kwargs.get("lcpds", 0 if use_lspp_defaults() else None) ), Field( "lcpdt", int, 20, 10, - kwargs.get("lcpdt", 0) + kwargs.get("lcpdt", 0 if use_lspp_defaults() else None) ), Field( "lcpmr", int, 30, 10, - kwargs.get("lcpmr", 0) + kwargs.get("lcpmr", 0 if use_lspp_defaults() else None) ), Field( "lcpms", int, 40, 10, - kwargs.get("lcpms", 0) + kwargs.get("lcpms", 0 if use_lspp_defaults() else None) ), Field( "lcpmt", int, 50, 10, - kwargs.get("lcpmt", 0) + kwargs.get("lcpmt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_069.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_069.py index c080a3de7..2bdf564f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_069.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_069.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("lcidf", 0) + kwargs.get("lcidf", 0 if use_lspp_defaults() else None) ), Field( "lcidd", float, 60, 10, - kwargs.get("lcidd", 0) + kwargs.get("lcidd", 0 if use_lspp_defaults() else None) ), Field( "s0", @@ -179,7 +180,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "dc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_070.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_070.py index 5853e6d87..6a6604d01 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_070.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_070.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sclf", 1.0) + kwargs.get("sclf", 1.0 if use_lspp_defaults() else None) ), Field( "clear", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_071.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_071.py index 76509c3b5..139edf097 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_071.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_071.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "f0", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("iread", 0) + kwargs.get("iread", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,35 +106,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), Field( "tstart", float, 10, 10, - kwargs.get("tstart", 0) + kwargs.get("tstart", 0 if use_lspp_defaults() else None) ), Field( "fracl0", float, 20, 10, - kwargs.get("fracl0", 0) + kwargs.get("fracl0", 0 if use_lspp_defaults() else None) ), Field( "mxeps", float, 30, 10, - kwargs.get("mxeps", 1.0E+20) + kwargs.get("mxeps", 1.0E+20 if use_lspp_defaults() else None) ), Field( "mxfrc", float, 40, 10, - kwargs.get("mxfrc", 1.0E+20) + kwargs.get("mxfrc", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072.py index ac1765e1b..0ddfc499c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072r3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072r3.py index cbf8a7764..da0b27c09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072r3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_072r3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_073.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_073.py index 889393f1a..4ce0fa8f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_073.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_073.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "hu", float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("shape", 1.0) + kwargs.get("shape", 1.0 if use_lspp_defaults() else None) ), Field( "fail", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), Field( "bstart", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("nv", 6) + kwargs.get("nv", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_074.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_074.py index b2100d3d8..4a3c56198 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_074.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_074.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("dle", 1.0) + kwargs.get("dle", 1.0 if use_lspp_defaults() else None) ), Field( "glcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_075.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_075.py index d12282405..c907ce572 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_075.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_075.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("isflg", 0) + kwargs.get("isflg", 0 if use_lspp_defaults() else None) ), Field( "ncycle", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_076.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_076.py index 48e4b3c84..6ec7c84a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_076.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_076.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ef", 0) + kwargs.get("ef", 0 if use_lspp_defaults() else None) ), Field( "tref", @@ -112,14 +113,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), Field( "bstart", float, 20, 10, - kwargs.get("bstart", 0.01) + kwargs.get("bstart", 0.01 if use_lspp_defaults() else None) ), Field( "tramp", @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ntk", 6) + kwargs.get("ntk", 6 if use_lspp_defaults() else None) ), Field( "bstartk", float, 60, 10, - kwargs.get("bstartk", 0.01) + kwargs.get("bstartk", 0.01 if use_lspp_defaults() else None) ), Field( "trampk", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_h.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_h.py index 9101a31c8..06cf5ccbc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_h.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_h.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nv", @@ -95,7 +96,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_o.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_o.py index ed10e9ad3..b73d70994 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_o.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_077_o.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,14 +68,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nv", int, 40, 10, - kwargs.get("nv", 6) + kwargs.get("nv", 6 if use_lspp_defaults() else None) ), Field( "g", @@ -95,7 +96,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -146,7 +147,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("data", 1.0) + kwargs.get("data", 1.0 if use_lspp_defaults() else None) ), Field( "lcid2", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_078.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_078.py index 989bcae3f..5ac15023f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_078.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_078.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcfp", 0) + kwargs.get("lcfp", 0 if use_lspp_defaults() else None) ), Field( "lcrp", int, 70, 10, - kwargs.get("lcrp", 0) + kwargs.get("lcrp", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("out", 0) + kwargs.get("out", 0 if use_lspp_defaults() else None) ), Field( "b", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fail", 0) + kwargs.get("fail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_079.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_079.py index 5f1e09843..626cd58a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_079.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_079.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("a0", 1.0) + kwargs.get("a0", 1.0 if use_lspp_defaults() else None) ), Field( "a1", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sflc", 1.0) + kwargs.get("sflc", 1.0 if use_lspp_defaults() else None) ), Field( "dil_a", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("pinit", 0) + kwargs.get("pinit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_080.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_080.py index f6a01348f..3ddeddd7c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_080.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_080.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_081.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_081.py index 04bc90d75..533127656 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_081.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_081.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_082.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_082.py index f34a74790..e4db4a0dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_082.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_082.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083.py index 781abee4a..3aba37707 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_1.py index df338dd85..ab389b02d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -204,14 +205,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_2.py index d089bea63..682a06223 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_083_2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084.py index 4b7605642..fe3c617af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084_085.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084_085.py index bd429c815..2b7c02888 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084_085.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_084_085.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rate", 0) + kwargs.get("rate", 0 if use_lspp_defaults() else None) ), Field( "conm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_086.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_086.py index 98d1c71af..d6c3f6602 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_086.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_086.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_087.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_087.py index dba9a26d8..57932277c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_087.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_087.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_088.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_088.py index 6a1524e7b..46b11b042 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_088.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_088.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_089.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_089.py index 68ae2b099..dbfe45cf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_089.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_089.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -91,14 +92,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -109,7 +110,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("eftx", 0.0) + kwargs.get("eftx", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -130,14 +131,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcfail", 0) + kwargs.get("lcfail", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 40, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090.py index 4f7024d96..aaf2fdbb4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cf", 0.0) + kwargs.get("cf", 0.0 if use_lspp_defaults() else None) ), Field( "atmos", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_complex.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_complex.py index a52f7701e..f3dee6100 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_complex.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_complex.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_damp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_damp.py index 2cf41031a..83fb4c9bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_damp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_damp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -119,14 +120,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "beta2", float, 70, 10, - kwargs.get("beta2", 0.0) + kwargs.get("beta2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_porous_db.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_porous_db.py index b2e911c2e..dbdb97676 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_porous_db.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_090_porous_db.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_091.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_091.py index 85c8af903..f98e0006b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_091.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_091.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_092.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_092.py index 7884eb1d5..536b0b560 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_092.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_092.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_093.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_093.py index 8fcb4321e..2b06c0503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_093.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_093.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_094.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_094.py index 87c7951b3..598f2b5ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_094.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_094.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_095.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_095.py index 2ee5c3639..2d4e687ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_095.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_095.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_096.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_096.py index 259e5eca6..9b1797b5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_096.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_096.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_097.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_097.py index f56213b11..6952fab2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_097.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_097.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_098.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_098.py index f8d62da5a..648fad16a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_098.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_098.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,28 +113,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("psfail", 1.0E+17) + kwargs.get("psfail", 1.0E+17 if use_lspp_defaults() else None) ), Field( "sigmax", float, 50, 10, - kwargs.get("sigmax", 1.0E+28) + kwargs.get("sigmax", 1.0E+28 if use_lspp_defaults() else None) ), Field( "sigsat", float, 60, 10, - kwargs.get("sigsat", 1.0E+28) + kwargs.get("sigsat", 1.0E+28 if use_lspp_defaults() else None) ), Field( "epso", float, 70, 10, - kwargs.get("epso", 1.0) + kwargs.get("epso", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_099.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_099.py index 3fda47e43..1c92e923b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_099.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_099.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eppfr", 1.E+16) + kwargs.get("eppfr", 1.E+16 if use_lspp_defaults() else None) ), Field( "lcdm", @@ -133,28 +134,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("psfail", 1.0E+17) + kwargs.get("psfail", 1.0E+17 if use_lspp_defaults() else None) ), Field( "sigmax", float, 50, 10, - kwargs.get("sigmax", 1.0E+28) + kwargs.get("sigmax", 1.0E+28 if use_lspp_defaults() else None) ), Field( "sigsat", float, 60, 10, - kwargs.get("sigsat", 1.0E+28) + kwargs.get("sigsat", 1.0E+28 if use_lspp_defaults() else None) ), Field( "epso", float, 70, 10, - kwargs.get("epso", 1.0) + kwargs.get("epso", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100.py index 848ec243b..5479dde23 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_da.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_da.py index a8ec603a6..d304673c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_da.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_da.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_damage.py index d9714550b..7fbd393bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_100_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_101.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_101.py index 37e3fbd0e..88910b74b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_101.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_101.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102.py index 223099609..e4ee0ceed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102_t.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102_t.py index c3155d669..bc658db91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102_t.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_102_t.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103.py index 1755c7054..f561b0486 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), Field( "lcss", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103_p.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103_p.py index d04a61878..53048d163 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103_p.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_103_p.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_104.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_104.py index bc3b094ce..c6b89a6cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_104.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_104.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), Field( "flag", int, 70, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -193,21 +194,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("l", 1.5) + kwargs.get("l", 1.5 if use_lspp_defaults() else None) ), Field( "m", float, 60, 10, - kwargs.get("m", 1.5) + kwargs.get("m", 1.5 if use_lspp_defaults() else None) ), Field( "n", float, 70, 10, - kwargs.get("n", 1.5) + kwargs.get("n", 1.5 if use_lspp_defaults() else None) ), ], ), @@ -239,7 +240,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_105.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_105.py index 6a676592c..cf1fc9ab7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_105.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_105.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c", 0) + kwargs.get("c", 0 if use_lspp_defaults() else None) ), Field( "p", float, 10, 10, - kwargs.get("p", 0) + kwargs.get("p", 0 if use_lspp_defaults() else None) ), Field( "lcss", int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,7 +152,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_106.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_106.py index 7436896ee..92fd3ccf4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_106.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_106.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_108.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_108.py index fb4dec416..ceaa32a69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_108.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_108.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_110.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_110.py index 0a2d1bc39..bbf7a7253 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_110.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_110.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_111.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_111.py index 3b9ca7325..ec52b2690 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_111.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_111.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_112.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_112.py index 1584adf9f..9d3a01932 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_112.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_112.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_113.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_113.py index 6f96cdfe0..2b3a03e20 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_113.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_113.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_114.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_114.py index e7f78b1da..cb4f156cb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_114.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_114.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115.py index 82a9b0416..004fed92b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115_o.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115_o.py index a17d5f91f..fd06a7b75 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115_o.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_115_o.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -158,7 +159,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_116.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_116.py index 2b2af349f..bcd2e00e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_116.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_116.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_117.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_117.py index db3d12ffa..957ac5373 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_117.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_117.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_118.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_118.py index 27a4e17df..8209429aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_118.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_118.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_119.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_119.py index 7dd7a3d09..c4f774353 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_119.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_119.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120.py index d13cb2754..c049ba46b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), Field( "lcf0", int, 30, 10, - kwargs.get("lcf0", 0) + kwargs.get("lcf0", 0 if use_lspp_defaults() else None) ), Field( "lcfc", int, 40, 10, - kwargs.get("lcfc", 0) + kwargs.get("lcfc", 0 if use_lspp_defaults() else None) ), Field( "lcfn", int, 50, 10, - kwargs.get("lcfn", 0) + kwargs.get("lcfn", 0 if use_lspp_defaults() else None) ), Field( "vgtyp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_jc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_jc.py index 006006402..e767343c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_jc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_jc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), Field( "lcf0", int, 30, 10, - kwargs.get("lcf0", 0) + kwargs.get("lcf0", 0 if use_lspp_defaults() else None) ), Field( "lcfc", int, 40, 10, - kwargs.get("lcfc", 0) + kwargs.get("lcfc", 0 if use_lspp_defaults() else None) ), Field( "lcfn", int, 50, 10, - kwargs.get("lcfn", 0) + kwargs.get("lcfn", 0 if use_lspp_defaults() else None) ), Field( "vgtyp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_rcdc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_rcdc.py index e22bf7b63..03db51361 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_rcdc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_120_rcdc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,21 +346,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_121.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_121.py index c67af3d02..94a9dc726 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_121.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_121.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122.py index 299d39ae6..08b5d6187 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122_2d.py index 7711a9719..0df530953 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_122_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("hr", 1) + kwargs.get("hr", 1 if use_lspp_defaults() else None) ), Field( "p1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_123.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_123.py index 262d6913a..0ae4d07d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_123.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_123.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_124.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_124.py index 6532cdb97..5c76446d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_124.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_124.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -106,14 +107,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidc", 0) + kwargs.get("lcidc", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 10, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "lcsrc", @@ -141,7 +142,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcfail", 0) + kwargs.get("lcfail", 0 if use_lspp_defaults() else None) ), Field( "ec", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_125.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_125.py index ef81363ef..dd9d31769 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_125.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_125.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_126.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_126.py index c5ce44461..9b638e2c2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_126.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_126.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mu", 5.0E-02) + kwargs.get("mu", 5.0E-02 if use_lspp_defaults() else None) ), Field( "bulk", float, 70, 10, - kwargs.get("bulk", 0.0) + kwargs.get("bulk", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,49 +113,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcc", int, 20, 10, - kwargs.get("lcc", 0) + kwargs.get("lcc", 0 if use_lspp_defaults() else None) ), Field( "lcs", int, 30, 10, - kwargs.get("lcs", 0) + kwargs.get("lcs", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 40, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcbc", int, 50, 10, - kwargs.get("lcbc", 0) + kwargs.get("lcbc", 0 if use_lspp_defaults() else None) ), Field( "lcca", int, 60, 10, - kwargs.get("lcca", 0) + kwargs.get("lcca", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("shdflg", 0.0) + kwargs.get("shdflg", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_127.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_127.py index 7bc0f90b1..4a5a08ad2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_127.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_127.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -84,7 +85,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tramp", @@ -98,7 +99,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_128.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_128.py index ac3fe5fbb..83b8cae9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_128.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_128.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_129.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_129.py index daedf7ffd..17aac42ad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_129.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_129.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tramp", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_130.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_130.py index 164a6b7f1..a9ca86847 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_130.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_130.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_131.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_131.py index 8bd8ac414..b31a9d149 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_131.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_131.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_132.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_132.py index fec391c3e..307602018 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_132.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_132.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ind", 1.0) + kwargs.get("ind", 1.0 if use_lspp_defaults() else None) ), Field( "isd", float, 50, 10, - kwargs.get("isd", 4.0) + kwargs.get("isd", 4.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_133.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_133.py index 9b3ddba96..d6d7563fa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_133.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_133.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fit", 0.0) + kwargs.get("fit", 0.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), Field( "iscale", float, 70, 10, - kwargs.get("iscale", 0.0) + kwargs.get("iscale", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hard", 1) + kwargs.get("hard", 1 if use_lspp_defaults() else None) ), Field( "a", @@ -391,7 +392,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("htflag", 0) + kwargs.get("htflag", 0 if use_lspp_defaults() else None) ), Field( "hta", @@ -518,7 +519,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_134.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_134.py index 965a883c6..db1e84f6a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_134.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_134.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_135.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_135.py index 58e428211..60b10ce36 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_135.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_135.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136.py index 724f0be20..795a1e9ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_2017.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_2017.py index d53d1381d..ca01e7129 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_2017.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_2017.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_std.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_std.py index 891f51601..c3d8e155d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_std.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_136_std.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_138.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_138.py index 577df1bb9..2c2564591 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_138.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_138.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("gamma", 1.0) + kwargs.get("gamma", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_139.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_139.py index adb8289fc..296525e9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_139.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_139.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iaflc", 0) + kwargs.get("iaflc", 0 if use_lspp_defaults() else None) ), Field( "ytflag", float, 60, 10, - kwargs.get("ytflag", 0.0) + kwargs.get("ytflag", 0.0 if use_lspp_defaults() else None) ), Field( "asoft", @@ -172,49 +173,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 20, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 30, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "lc5", int, 40, 10, - kwargs.get("lc5", 0) + kwargs.get("lc5", 0 if use_lspp_defaults() else None) ), Field( "lc6", int, 50, 10, - kwargs.get("lc6", 0) + kwargs.get("lc6", 0 if use_lspp_defaults() else None) ), Field( "lc7", int, 60, 10, - kwargs.get("lc7", 0) + kwargs.get("lc7", 0 if use_lspp_defaults() else None) ), Field( "lc8", int, 70, 10, - kwargs.get("lc8", 0) + kwargs.get("lc8", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,42 +226,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lps1", 0) + kwargs.get("lps1", 0 if use_lspp_defaults() else None) ), Field( "sfs1", float, 10, 10, - kwargs.get("sfs1", 1.0) + kwargs.get("sfs1", 1.0 if use_lspp_defaults() else None) ), Field( "lps2", int, 20, 10, - kwargs.get("lps2", 0) + kwargs.get("lps2", 0 if use_lspp_defaults() else None) ), Field( "sfs2", float, 30, 10, - kwargs.get("sfs2", 1.0) + kwargs.get("sfs2", 1.0 if use_lspp_defaults() else None) ), Field( "yms1", float, 40, 10, - kwargs.get("yms1", 1.0E+20) + kwargs.get("yms1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "yms2", float, 50, 10, - kwargs.get("yms2", 1.0E+20) + kwargs.get("yms2", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -271,42 +272,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpt1", 0) + kwargs.get("lpt1", 0 if use_lspp_defaults() else None) ), Field( "sft1", float, 10, 10, - kwargs.get("sft1", 1.0) + kwargs.get("sft1", 1.0 if use_lspp_defaults() else None) ), Field( "lpt2", int, 20, 10, - kwargs.get("lpt2", 0) + kwargs.get("lpt2", 0 if use_lspp_defaults() else None) ), Field( "sft2", float, 30, 10, - kwargs.get("sft2", 1.0) + kwargs.get("sft2", 1.0 if use_lspp_defaults() else None) ), Field( "ymt1", float, 40, 10, - kwargs.get("ymt1", 1.0E+20) + kwargs.get("ymt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ymt2", float, 50, 10, - kwargs.get("ymt2", 1.0E+20) + kwargs.get("ymt2", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -317,21 +318,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpr", 0) + kwargs.get("lpr", 0 if use_lspp_defaults() else None) ), Field( "sfr", float, 10, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "ymr", float, 20, 10, - kwargs.get("ymr", 1.0E+20) + kwargs.get("ymr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -342,56 +343,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lys1", 0) + kwargs.get("lys1", 0 if use_lspp_defaults() else None) ), Field( "sys1", float, 10, 10, - kwargs.get("sys1", 1.0) + kwargs.get("sys1", 1.0 if use_lspp_defaults() else None) ), Field( "lys2", int, 20, 10, - kwargs.get("lys2", 0) + kwargs.get("lys2", 0 if use_lspp_defaults() else None) ), Field( "sys2", float, 30, 10, - kwargs.get("sys2", 1.0) + kwargs.get("sys2", 1.0 if use_lspp_defaults() else None) ), Field( "lyt1", int, 40, 10, - kwargs.get("lyt1", 0) + kwargs.get("lyt1", 0 if use_lspp_defaults() else None) ), Field( "syt1", float, 50, 10, - kwargs.get("syt1", 1.0) + kwargs.get("syt1", 1.0 if use_lspp_defaults() else None) ), Field( "lyt2", int, 60, 10, - kwargs.get("lyt2", 0) + kwargs.get("lyt2", 0 if use_lspp_defaults() else None) ), Field( "syt2", float, 70, 10, - kwargs.get("syt2", 1.0) + kwargs.get("syt2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -402,14 +403,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lyr", 0) + kwargs.get("lyr", 0 if use_lspp_defaults() else None) ), Field( "syr", float, 10, 10, - kwargs.get("syr", 1.0) + kwargs.get("syr", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -960,56 +961,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpmr_1", 0) + kwargs.get("lpmr_1", 0 if use_lspp_defaults() else None) ), Field( "lpmr_2", int, 10, 10, - kwargs.get("lpmr_2", 0) + kwargs.get("lpmr_2", 0 if use_lspp_defaults() else None) ), Field( "lpmr_3", int, 20, 10, - kwargs.get("lpmr_3", 0) + kwargs.get("lpmr_3", 0 if use_lspp_defaults() else None) ), Field( "lpmr_4", int, 30, 10, - kwargs.get("lpmr_4", 0) + kwargs.get("lpmr_4", 0 if use_lspp_defaults() else None) ), Field( "lpmr_5", int, 40, 10, - kwargs.get("lpmr_5", 0) + kwargs.get("lpmr_5", 0 if use_lspp_defaults() else None) ), Field( "lpmr_6", int, 50, 10, - kwargs.get("lpmr_6", 0) + kwargs.get("lpmr_6", 0 if use_lspp_defaults() else None) ), Field( "lpmr_7", int, 60, 10, - kwargs.get("lpmr_7", 0) + kwargs.get("lpmr_7", 0 if use_lspp_defaults() else None) ), Field( "lpmr_8", int, 70, 10, - kwargs.get("lpmr_8", 0) + kwargs.get("lpmr_8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_140.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_140.py index d1938e38d..5832fa796 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_140.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_140.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_141.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_141.py index 74db39633..82a4cd105 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_141.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_141.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_142.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_142.py index 800bf0f46..971073541 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_142.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_142.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -186,7 +187,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143.py index 0e290ab04..02b17d492 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -335,7 +336,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "beta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_fir.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_fir.py index d36d6c7c9..d6c5b1a57 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_fir.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_fir.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -133,14 +134,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), Field( "iqual", int, 50, 10, - kwargs.get("iqual", 0) + kwargs.get("iqual", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_pine.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_pine.py index 622b37e14..b35921bca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_pine.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_143_pine.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -133,14 +134,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), Field( "iqual", int, 50, 10, - kwargs.get("iqual", 0) + kwargs.get("iqual", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_144.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_144.py index 8fd8b7e97..4d60b46a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_144.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_144.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_145.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_145.py index 06af96544..75de94b77 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_145.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_145.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("pore", 1.0) + kwargs.get("pore", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("irock", 0) + kwargs.get("irock", 0 if use_lspp_defaults() else None) ), Field( "secp", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("epsmax", 0) + kwargs.get("epsmax", 0 if use_lspp_defaults() else None) ), Field( "cfit", @@ -271,7 +272,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("failfg", 1) + kwargs.get("failfg", 1 if use_lspp_defaults() else None) ), Field( "dbeta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_146.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_146.py index 3b2f5e25d..44f5b21f9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_146.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_146.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("scln1", 1.0) + kwargs.get("scln1", 1.0 if use_lspp_defaults() else None) ), Field( "scln2", float, 50, 10, - kwargs.get("scln2", 1.0) + kwargs.get("scln2", 1.0 if use_lspp_defaults() else None) ), Field( "dofn1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147.py index cc3d7c669..9af4719b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "spgrav", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rhowat", 1.0) + kwargs.get("rhowat", 1.0 if use_lspp_defaults() else None) ), Field( "vn", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("intrmx", 1) + kwargs.get("intrmx", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147_n.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147_n.py index 5ff6bb989..836bcb412 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147_n.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_147_n.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_148.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_148.py index c42b8c583..b15e17b1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_148.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_148.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iadiab", 0) + kwargs.get("iadiab", 0 if use_lspp_defaults() else None) ), Field( "runiv", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_151.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_151.py index ae55cafe6..e5454f06d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_151.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_151.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_153.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_153.py index 3245e76a9..c8848e648 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_153.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_153.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idamage", 0) + kwargs.get("idamage", 0 if use_lspp_defaults() else None) ), Field( "ids", int, 10, 10, - kwargs.get("ids", 0) + kwargs.get("ids", 0 if use_lspp_defaults() else None) ), Field( "idep", int, 20, 10, - kwargs.get("idep", 0) + kwargs.get("idep", 0 if use_lspp_defaults() else None) ), Field( "epsd", @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("t", 1) + kwargs.get("t", 1 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), Field( "khflg", int, 70, 10, - kwargs.get("khflg", 0) + kwargs.get("khflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_154.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_154.py index 597387231..990503d24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_154.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_154.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("derfi", 0) + kwargs.get("derfi", 0 if use_lspp_defaults() else None) ), Field( "cfail", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("num", 1000) + kwargs.get("num", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_155.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_155.py index e06c28cad..ebde707f5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_155.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_155.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -105,14 +106,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidc", 0) + kwargs.get("lcidc", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 10, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "lcsrc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_156.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_156.py index 61fc12631..bf31e12ca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_156.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_156.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_157.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_157.py index 1b7baad22..f3a12edd7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_157.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_157.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -320,7 +321,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -334,7 +335,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncfail", 10) + kwargs.get("ncfail", 10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_158.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_158.py index 440290c19..a5539e945 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_158.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_158.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_159.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_159.py index 066bf6b26..bd5838f95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_159.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_159.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "incre", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "erode", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("recov", 0) + kwargs.get("recov", 0 if use_lspp_defaults() else None) ), Field( "itretrc", int, 70, 10, - kwargs.get("itretrc", 0) + kwargs.get("itretrc", 0 if use_lspp_defaults() else None) ), ], ), @@ -130,7 +131,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_160.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_160.py index e2af2f130..f98fdfd70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_160.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_160.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -77,28 +78,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tol", 1e-8) + kwargs.get("tol", 1e-8 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 1e10) + kwargs.get("dtout", 1e10 if use_lspp_defaults() else None) ), Field( "ncg", int, 20, 10, - kwargs.get("ncg", 50) + kwargs.get("ncg", 50 if use_lspp_defaults() else None) ), Field( "meth", int, 30, 10, - kwargs.get("meth", -7) + kwargs.get("meth", -7 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_161.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_161.py index bc5349410..c8471ee35 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_161.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_161.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("amodel", 1) + kwargs.get("amodel", 1 if use_lspp_defaults() else None) ), Field( "phic", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_162.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_162.py index 5fe81341a..8114e5b85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_162.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_162.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("amodel", 1) + kwargs.get("amodel", 1 if use_lspp_defaults() else None) ), Field( "phic", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_163.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_163.py index 9f84a282d..4bf33cb1b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_163.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_163.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_164.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_164.py index 7f5494a93..4f5b82730 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_164.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_164.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165.py index 0f66c8806..c9d8a437f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 1.E+16) + kwargs.get("fs", 1.E+16 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165b.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165b.py index 0d56319e1..b89012720 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165b.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_165b.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_166.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_166.py index f25b73062..7fc264367 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_166.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_166.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("epflg", 0) + kwargs.get("epflg", 0 if use_lspp_defaults() else None) ), Field( "cta", @@ -345,21 +346,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cfa", 1.0) + kwargs.get("cfa", 1.0 if use_lspp_defaults() else None) ), Field( "cfb", float, 10, 10, - kwargs.get("cfb", 1.0) + kwargs.get("cfb", 1.0 if use_lspp_defaults() else None) ), Field( "cft", float, 20, 10, - kwargs.get("cft", 1.0) + kwargs.get("cft", 1.0 if use_lspp_defaults() else None) ), Field( "hrule", @@ -373,28 +374,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("reps", 1.0E+20) + kwargs.get("reps", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rbeta", float, 50, 10, - kwargs.get("rbeta", 1.0E+20) + kwargs.get("rbeta", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rcapay", float, 60, 10, - kwargs.get("rcapay", 1.0E+20) + kwargs.get("rcapay", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rcapaz", float, 70, 10, - kwargs.get("rcapaz", 1.0E+20) + kwargs.get("rcapaz", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_167.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_167.py index 6c9291778..42aa8788f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_167.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_167.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_168.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_168.py index 98b97c978..6a6b89cb5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_168.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_168.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_169.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_169.py index 674f60709..afe1f49d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_169.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_169.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tenmax", 1.0E+20) + kwargs.get("tenmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcten", float, 50, 10, - kwargs.get("gcten", 1.0E+20) + kwargs.get("gcten", 1.0E+20 if use_lspp_defaults() else None) ), Field( "shrmax", float, 60, 10, - kwargs.get("shrmax", 1.0E+20) + kwargs.get("shrmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcshr", float, 70, 10, - kwargs.get("gcshr", 1.0E+20) + kwargs.get("gcshr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pwrt", 2.0) + kwargs.get("pwrt", 2.0 if use_lspp_defaults() else None) ), Field( "pwrs", float, 10, 10, - kwargs.get("pwrs", 2.0) + kwargs.get("pwrs", 2.0 if use_lspp_defaults() else None) ), Field( "shrp", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("edot0", 1.0) + kwargs.get("edot0", 1.0 if use_lspp_defaults() else None) ), Field( "edot2", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkdir", 0.0) + kwargs.get("thkdir", 0.0 if use_lspp_defaults() else None) ), Field( "extra", @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tmaxe", 1.0E+20) + kwargs.get("tmaxe", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcte", float, 10, 10, - kwargs.get("gcte", 1.0E+20) + kwargs.get("gcte", 1.0E+20 if use_lspp_defaults() else None) ), Field( "smaxe", float, 20, 10, - kwargs.get("smaxe", 1.0E+20) + kwargs.get("smaxe", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcse", float, 30, 10, - kwargs.get("gcse", 1.0E+20) + kwargs.get("gcse", 1.0E+20 if use_lspp_defaults() else None) ), Field( "pwrte", float, 40, 10, - kwargs.get("pwrte", 2.0) + kwargs.get("pwrte", 2.0 if use_lspp_defaults() else None) ), Field( "pwrse", float, 50, 10, - kwargs.get("pwrse", 2.0) + kwargs.get("pwrse", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -211,42 +212,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("facet", 1.0) + kwargs.get("facet", 1.0 if use_lspp_defaults() else None) ), Field( "facct", float, 10, 10, - kwargs.get("facct", 1.0) + kwargs.get("facct", 1.0 if use_lspp_defaults() else None) ), Field( "faces", float, 20, 10, - kwargs.get("faces", 1.0) + kwargs.get("faces", 1.0 if use_lspp_defaults() else None) ), Field( "faccs", float, 30, 10, - kwargs.get("faccs", 1.0) + kwargs.get("faccs", 1.0 if use_lspp_defaults() else None) ), Field( "softt", float, 40, 10, - kwargs.get("softt", 1.0) + kwargs.get("softt", 1.0 if use_lspp_defaults() else None) ), Field( "softs", float, 50, 10, - kwargs.get("softs", 1.0) + kwargs.get("softs", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -257,28 +258,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sdfac", 1.0) + kwargs.get("sdfac", 1.0 if use_lspp_defaults() else None) ), Field( "sgfac", float, 10, 10, - kwargs.get("sgfac", 1.0) + kwargs.get("sgfac", 1.0 if use_lspp_defaults() else None) ), Field( "sdefac", float, 20, 10, - kwargs.get("sdefac", 1.0) + kwargs.get("sdefac", 1.0 if use_lspp_defaults() else None) ), Field( "sgefac", float, 30, 10, - kwargs.get("sgefac", 1.0) + kwargs.get("sgefac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -296,7 +297,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("outfail", 0.0) + kwargs.get("outfail", 0.0 if use_lspp_defaults() else None) ), Field( "fsip", @@ -317,7 +318,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ele2ns", 0.0) + kwargs.get("ele2ns", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_170.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_170.py index aacd4cf37..33ef1893f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_170.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_170.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_171.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_171.py index c4e8407a8..c72f0a63d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_171.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_171.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -123,56 +124,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ts1", 0) + kwargs.get("ts1", 0 if use_lspp_defaults() else None) ), Field( "ts2", float, 10, 10, - kwargs.get("ts2", 0) + kwargs.get("ts2", 0 if use_lspp_defaults() else None) ), Field( "ts3", float, 20, 10, - kwargs.get("ts3", 0) + kwargs.get("ts3", 0 if use_lspp_defaults() else None) ), Field( "ts4", float, 30, 10, - kwargs.get("ts4", 0) + kwargs.get("ts4", 0 if use_lspp_defaults() else None) ), Field( "cs1", float, 40, 10, - kwargs.get("cs1", 0) + kwargs.get("cs1", 0 if use_lspp_defaults() else None) ), Field( "cs2", float, 50, 10, - kwargs.get("cs2", 0) + kwargs.get("cs2", 0 if use_lspp_defaults() else None) ), Field( "cs3", float, 60, 10, - kwargs.get("cs3", 0) + kwargs.get("cs3", 0 if use_lspp_defaults() else None) ), Field( "cs4", float, 70, 10, - kwargs.get("cs4", 0) + kwargs.get("cs4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_172.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_172.py index 77e7d20fc..1a1222064 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_172.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_172.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("typec", 1.0) + kwargs.get("typec", 1.0 if use_lspp_defaults() else None) ), Field( "unitc", float, 50, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "ecuten", float, 60, 10, - kwargs.get("ecuten", 0.0025) + kwargs.get("ecuten", 0.0025 if use_lspp_defaults() else None) ), Field( "fcc", @@ -119,28 +120,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("mu", 0.4) + kwargs.get("mu", 0.4 if use_lspp_defaults() else None) ), Field( "taumxf", float, 30, 10, - kwargs.get("taumxf", 1.E20) + kwargs.get("taumxf", 1.E20 if use_lspp_defaults() else None) ), Field( "taumxc", float, 40, 10, - kwargs.get("taumxc", 1.161) + kwargs.get("taumxc", 1.161 if use_lspp_defaults() else None) ), Field( "ecragg", float, 50, 10, - kwargs.get("ecragg", 0.001) + kwargs.get("ecragg", 0.001 if use_lspp_defaults() else None) ), Field( "aggsz", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("unitl", 1.0) + kwargs.get("unitl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("typer", 1.0) + kwargs.get("typer", 1.0 if use_lspp_defaults() else None) ), Field( "fracrx", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("prt36 ", 0.25) + kwargs.get("prt36 ", 0.25 if use_lspp_defaults() else None) ), Field( "ecut36", @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("ishchk", 0) + kwargs.get("ishchk", 0 if use_lspp_defaults() else None) ), Field( "unlfac", float, 70, 10, - kwargs.get("unlfac", 0.5) + kwargs.get("unlfac", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -306,7 +307,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("a1", 1.E20) + kwargs.get("a1", 1.E20 if use_lspp_defaults() else None) ), Field( "a2", @@ -384,7 +385,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("typesc", 1) + kwargs.get("typesc", 1 if use_lspp_defaults() else None) ), Field( "p_or_f", @@ -412,21 +413,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("erodet", 2.0) + kwargs.get("erodet", 2.0 if use_lspp_defaults() else None) ), Field( "erodec", float, 50, 10, - kwargs.get("erodec", 0.01) + kwargs.get("erodec", 0.01 if use_lspp_defaults() else None) ), Field( "eroder", float, 60, 10, - kwargs.get("eroder", 0.05) + kwargs.get("eroder", 0.05 if use_lspp_defaults() else None) ), Field( "tmpoff", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_173.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_173.py index 5b6374683..0a432d4e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_173.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_173.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("aniso", 1.0) + kwargs.get("aniso", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("epdam1", 1.0E+20) + kwargs.get("epdam1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epdam2", @@ -299,7 +300,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("shrmax", 1.0E+20) + kwargs.get("shrmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "local", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_174.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_174.py index b78c81c03..caf448a7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_174.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_174.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ec1", 2.2E-03) + kwargs.get("ec1", 2.2E-03 if use_lspp_defaults() else None) ), Field( "ec50", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("resid", 0.2) + kwargs.get("resid", 0.2 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("output", 0.0) + kwargs.get("output", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eshr", 0.03) + kwargs.get("eshr", 0.03 if use_lspp_defaults() else None) ), Field( "eur", float, 60, 10, - kwargs.get("eur", 0.2 ) + kwargs.get("eur", 0.2 if use_lspp_defaults() else None) ), Field( "rreinf", float, 70, 10, - kwargs.get("rreinf", 4.0) + kwargs.get("rreinf", 4.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_175.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_175.py index 7c8452995..996557bdd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_175.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_175.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_176.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_176.py index c2ec9a2b5..e07772ebe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_176.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_176.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,21 +67,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 40, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "n", float, 50, 10, - kwargs.get("n", 6) + kwargs.get("n", 6 if use_lspp_defaults() else None) ), Field( "gstart", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("m", 6) + kwargs.get("m", 6 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("so", 0.0) + kwargs.get("so", 0.0 if use_lspp_defaults() else None) ), Field( "e_min", float, 10, 10, - kwargs.get("e_min", -0.9) + kwargs.get("e_min", -0.9 if use_lspp_defaults() else None) ), Field( "e_max", float, 20, 10, - kwargs.get("e_max", 5.1) + kwargs.get("e_max", 5.1 if use_lspp_defaults() else None) ), Field( "gama1", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_177.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_177.py index d65603631..ed8c6af46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_177.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_177.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,35 +67,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nu", float, 40, 10, - kwargs.get("nu", 0) + kwargs.get("nu", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "fittype", int, 60, 10, - kwargs.get("fittype", 1) + kwargs.get("fittype", 1 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_178.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_178.py index c30426b99..d3f21bead 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_178.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_178.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,35 +67,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nu", float, 40, 10, - kwargs.get("nu", 0) + kwargs.get("nu", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "fittype", int, 60, 10, - kwargs.get("fittype", 1) + kwargs.get("fittype", 1 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcve", 0) + kwargs.get("lcve", 0 if use_lspp_defaults() else None) ), Field( "nt", float, 10, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), Field( "gstart", float, 20, 10, - kwargs.get("gstart", 1) + kwargs.get("gstart", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_179.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_179.py index aabc856c3..91050da78 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_179.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_179.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("damp", .05) + kwargs.get("damp", .05 if use_lspp_defaults() else None) ), ], ), @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "bvflag", float, 20, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "ed", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "tc", @@ -165,7 +166,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "dtrt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_180.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_180.py index bbdef040e..107e0ae0a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_180.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_180.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("damp", .05) + kwargs.get("damp", .05 if use_lspp_defaults() else None) ), ], ), @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "bvflag", float, 20, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "ed", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "tc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_181.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_181.py index 85030d613..e9f511020 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_181.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_181.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -134,14 +135,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -173,7 +174,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -194,14 +195,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_183.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_183.py index c21329c61..b3115ebc0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_183.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_183.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,21 +120,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", float, 60, 10, - kwargs.get("avgopt", 0.0) + kwargs.get("avgopt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_184.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_184.py index 6e0985938..3849b8cf0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_184.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_184.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_185.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_185.py index 6b70a355f..161499f7c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_185.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_185.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("isw", -1) + kwargs.get("isw", -1 if use_lspp_defaults() else None) ), Field( "alpha1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_186.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_186.py index 61c5016ca..5065d2148 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_186.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_186.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187.py index 449738e9c..980b82eb5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("incdam", 0) + kwargs.get("incdam", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("epfail", 1.0E+5) + kwargs.get("epfail", 1.0E+5 if use_lspp_defaults() else None) ), Field( "deprpt", @@ -225,14 +226,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("incfail", 0) + kwargs.get("incfail", 0 if use_lspp_defaults() else None) ), Field( "iconv", int, 40, 10, - kwargs.get("iconv", 0) + kwargs.get("iconv", 0 if use_lspp_defaults() else None) ), Field( "asaf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187l.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187l.py index a72b2e8df..1228cc23c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187l.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_187l.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,21 +113,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid_c", 0) + kwargs.get("lcid_c", 0 if use_lspp_defaults() else None) ), Field( "ctflg", int, 20, 10, - kwargs.get("ctflg", 0) + kwargs.get("ctflg", 0 if use_lspp_defaults() else None) ), Field( "rateop", int, 30, 10, - kwargs.get("rateop", 0) + kwargs.get("rateop", 0 if use_lspp_defaults() else None) ), Field( "nuep", @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcid-p", 0) + kwargs.get("lcid-p", 0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 60, 10, - kwargs.get("rfiltf", 0.95) + kwargs.get("rfiltf", 0.95 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_188.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_188.py index 2926274a3..9c735e994 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_188.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_188.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("crplaw", 0.0) + kwargs.get("crplaw", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_189.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_189.py index d75c23735..d3a2e2994 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_189.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_189.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -327,7 +328,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_190.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_190.py index d9a30ec6a..d75120503 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_190.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_190.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_191.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_191.py index 3f9e6b7e7..8f6132e32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_191.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_191.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("asflag", 0.0) + kwargs.get("asflag", 0.0 if use_lspp_defaults() else None) ), Field( "ftype", int, 50, 10, - kwargs.get("ftype", 1) + kwargs.get("ftype", 1 if use_lspp_defaults() else None) ), Field( "degrad", int, 60, 10, - kwargs.get("degrad", 0) + kwargs.get("degrad", 0 if use_lspp_defaults() else None) ), Field( "ifema", int, 70, 10, - kwargs.get("ifema", 0) + kwargs.get("ifema", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), Field( "lcpmt", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "lcat", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfat", 1.0) + kwargs.get("sfat", 1.0 if use_lspp_defaults() else None) ), Field( "lcac", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfac", 1.0) + kwargs.get("sfac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha", 2.0) + kwargs.get("alpha", 2.0 if use_lspp_defaults() else None) ), Field( "beta", float, 10, 10, - kwargs.get("beta", 2.0) + kwargs.get("beta", 2.0 if use_lspp_defaults() else None) ), Field( "gamma", float, 20, 10, - kwargs.get("gamma", 2.0) + kwargs.get("gamma", 2.0 if use_lspp_defaults() else None) ), Field( "delta", float, 30, 10, - kwargs.get("delta", 4.0) + kwargs.get("delta", 4.0 if use_lspp_defaults() else None) ), Field( "a", float, 40, 10, - kwargs.get("a", 2.0) + kwargs.get("a", 2.0 if use_lspp_defaults() else None) ), Field( "b", float, 50, 10, - kwargs.get("b", -1.0) + kwargs.get("b", -1.0 if use_lspp_defaults() else None) ), Field( "foffs", @@ -285,21 +286,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("phi_t", 0.8) + kwargs.get("phi_t", 0.8 if use_lspp_defaults() else None) ), Field( "phi_c", float, 10, 10, - kwargs.get("phi_c", 0.85) + kwargs.get("phi_c", 0.85 if use_lspp_defaults() else None) ), Field( "phi_b", float, 20, 10, - kwargs.get("phi_b", 0.9) + kwargs.get("phi_b", 0.9 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_192.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_192.py index 73e49df15..733dbe33b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_192.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_192.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmu", 1.0) + kwargs.get("rmu", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tol", 0.0005) + kwargs.get("tol", 0.0005 if use_lspp_defaults() else None) ), Field( "pgcl", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("grav", 9.807) + kwargs.get("grav", 9.807 if use_lspp_defaults() else None) ), Field( "theory", int, 70, 10, - kwargs.get("theory", 0) + kwargs.get("theory", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_193.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_193.py index a97a447dd..5f27eedc2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_193.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_193.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rkf", 1.0) + kwargs.get("rkf", 1.0 if use_lspp_defaults() else None) ), Field( "phi", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("str_lim", 5.0E-03) + kwargs.get("str_lim", 5.0E-03 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_194.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_194.py index ee811b9b5..bd11f9785 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_194.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_194.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -144,42 +145,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("a", 0.05) + kwargs.get("a", 0.05 if use_lspp_defaults() else None) ), Field( "b", float, 10, 10, - kwargs.get("b", 0.55) + kwargs.get("b", 0.55 if use_lspp_defaults() else None) ), Field( "c", float, 20, 10, - kwargs.get("c", 0.125) + kwargs.get("c", 0.125 if use_lspp_defaults() else None) ), Field( "d", float, 30, 10, - kwargs.get("d", 0.66) + kwargs.get("d", 0.66 if use_lspp_defaults() else None) ), Field( "e", float, 40, 10, - kwargs.get("e", 0.25) + kwargs.get("e", 0.25 if use_lspp_defaults() else None) ), Field( "f", float, 50, 10, - kwargs.get("f", 1.0) + kwargs.get("f", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_195.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_195.py index 5dd3c1f2f..046528b6d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_195.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_195.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", float, 70, 10, - kwargs.get("tdel", 10.0E+20) + kwargs.get("tdel", 10.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -119,14 +120,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -137,14 +138,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("noten", 0) + kwargs.get("noten", 0 if use_lspp_defaults() else None) ), Field( "tencut", float, 10, 10, - kwargs.get("tencut", 1.0E+15) + kwargs.get("tencut", 1.0E+15 if use_lspp_defaults() else None) ), Field( "sdr", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_196.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_196.py index 9f968ea22..5bc094363 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_196.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_196.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("dospot", 0) + kwargs.get("dospot", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_197.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_197.py index 5fb8e2e27..5065b0818 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_197.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_197.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,21 +60,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("a", 1.0) + kwargs.get("a", 1.0 if use_lspp_defaults() else None) ), Field( "beta", float, 30, 10, - kwargs.get("beta", 0.5) + kwargs.get("beta", 0.5 if use_lspp_defaults() else None) ), Field( "gamma", float, 40, 10, - kwargs.get("gamma", 0.5) + kwargs.get("gamma", 0.5 if use_lspp_defaults() else None) ), Field( "dispy", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("preload", 0) + kwargs.get("preload", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 10, 10, - kwargs.get("damp", 1.0) + kwargs.get("damp", 1.0 if use_lspp_defaults() else None) ), Field( "mx1", float, 20, 10, - kwargs.get("mx1", 0) + kwargs.get("mx1", 0 if use_lspp_defaults() else None) ), Field( "mx2", float, 30, 10, - kwargs.get("mx2", 0) + kwargs.get("mx2", 0 if use_lspp_defaults() else None) ), Field( "my1", float, 40, 10, - kwargs.get("my1", 0) + kwargs.get("my1", 0 if use_lspp_defaults() else None) ), Field( "my2", float, 50, 10, - kwargs.get("my2", 0) + kwargs.get("my2", 0 if use_lspp_defaults() else None) ), Field( "cde", float, 60, 10, - kwargs.get("cde", 0) + kwargs.get("cde", 0 if use_lspp_defaults() else None) ), Field( "iextra", int, 70, 10, - kwargs.get("iextra", 0) + kwargs.get("iextra", 0 if use_lspp_defaults() else None) ), ], ), @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmax", 0) + kwargs.get("fmax", 0 if use_lspp_defaults() else None) ), Field( "delf", float, 10, 10, - kwargs.get("delf", 0) + kwargs.get("delf", 0 if use_lspp_defaults() else None) ), Field( "afric", float, 20, 10, - kwargs.get("afric", 0) + kwargs.get("afric", 0 if use_lspp_defaults() else None) ), Field( "radx", float, 30, 10, - kwargs.get("radx", 1.0e20) + kwargs.get("radx", 1.0e20 if use_lspp_defaults() else None) ), Field( "rady", float, 40, 10, - kwargs.get("rady", 1.0e20) + kwargs.get("rady", 1.0e20 if use_lspp_defaults() else None) ), Field( "radb", float, 50, 10, - kwargs.get("radb", 1.0e20) + kwargs.get("radb", 1.0e20 if use_lspp_defaults() else None) ), Field( "stiffl", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("stiffts", 0) + kwargs.get("stiffts", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,14 +226,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("forcey", 0) + kwargs.get("forcey", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 10, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), Field( "stifft", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dfail", 1.0e20) + kwargs.get("dfail", 1.0e20 if use_lspp_defaults() else None) ), Field( "fmaxyc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_198.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_198.py index a7085307a..7bb30b3ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_198.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_198.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rkf", 1.0) + kwargs.get("rkf", 1.0 if use_lspp_defaults() else None) ), Field( "phi", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("str_lim", 0.005) + kwargs.get("str_lim", 0.005 if use_lspp_defaults() else None) ), Field( "nplanes", int, 10, 10, - kwargs.get("nplanes", 0) + kwargs.get("nplanes", 0 if use_lspp_defaults() else None) ), Field( "elastic", int, 20, 10, - kwargs.get("elastic", 0) + kwargs.get("elastic", 0 if use_lspp_defaults() else None) ), Field( "lccpdr", int, 30, 10, - kwargs.get("lccpdr", 0) + kwargs.get("lccpdr", 0 if use_lspp_defaults() else None) ), Field( "lccpt", int, 40, 10, - kwargs.get("lccpt", 0) + kwargs.get("lccpt", 0 if use_lspp_defaults() else None) ), Field( "lccjdr", int, 50, 10, - kwargs.get("lccjdr", 0) + kwargs.get("lccjdr", 0 if use_lspp_defaults() else None) ), Field( "lccjt", int, 60, 10, - kwargs.get("lccjt", 0) + kwargs.get("lccjt", 0 if use_lspp_defaults() else None) ), Field( "lcsfac", int, 70, 10, - kwargs.get("lcsfac", 0) + kwargs.get("lcsfac", 0 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("shrmax", 1.e20) + kwargs.get("shrmax", 1.e20 if use_lspp_defaults() else None) ), Field( "local", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_199.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_199.py index 0babeb2f5..6cc53e262 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_199.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_199.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -282,7 +283,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_1dof_generalized_spring.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_1dof_generalized_spring.py index 036e71e61..fbe2fd710 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_1dof_generalized_spring.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_1dof_generalized_spring.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("scln1", 1.0) + kwargs.get("scln1", 1.0 if use_lspp_defaults() else None) ), Field( "scln2", float, 50, 10, - kwargs.get("scln2", 1.0) + kwargs.get("scln2", 1.0 if use_lspp_defaults() else None) ), Field( "dofn1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_202.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_202.py index 40025f69d..b63f26ff1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_202.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_202.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_203.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_203.py index bd6598cc7..f34392b49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_203.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_203.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("power", 0.5) + kwargs.get("power", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("downsl", 0.1) + kwargs.get("downsl", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -179,14 +180,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "unitl", float, 40, 10, - kwargs.get("unitl", 1.0) + kwargs.get("unitl", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_205.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_205.py index 924322e4f..aad5b5352 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_205.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_205.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("dmxpz", 1.e20) + kwargs.get("dmxpz", 1.e20 if use_lspp_defaults() else None) ), Field( "limpz", @@ -98,28 +99,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmxpx", 1.e20) + kwargs.get("dmxpx", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxnx", float, 10, 10, - kwargs.get("dmxnx", 1.e20) + kwargs.get("dmxnx", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxpy", float, 20, 10, - kwargs.get("dmxpy", 1.e20) + kwargs.get("dmxpy", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxny", float, 30, 10, - kwargs.get("dmxny", 1.e20) + kwargs.get("dmxny", 1.e20 if use_lspp_defaults() else None) ), Field( "limpx", @@ -200,14 +201,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dbondh", 1.e20) + kwargs.get("dbondh", 1.e20 if use_lspp_defaults() else None) ), Field( "dbondt", float, 70, 10, - kwargs.get("dbondt", 1.e20) + kwargs.get("dbondt", 1.e20 if use_lspp_defaults() else None) ), ], ), @@ -218,7 +219,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcz", 0) + kwargs.get("lcz", 0 if use_lspp_defaults() else None) ), Field( "dampz", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("afac", 1.0) + kwargs.get("afac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_208.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_208.py index db6de380f..824455ac8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_208.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_208.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("dafail", 1.E20) + kwargs.get("dafail", 1.E20 if use_lspp_defaults() else None) ), Field( "drfail", float, 50, 10, - kwargs.get("drfail", 1.E20) + kwargs.get("drfail", 1.E20 if use_lspp_defaults() else None) ), Field( "damag", float, 60, 10, - kwargs.get("damag", 0.1) + kwargs.get("damag", 0.1 if use_lspp_defaults() else None) ), Field( "t0pre", @@ -165,21 +166,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dacfail", 1.E20) + kwargs.get("dacfail", 1.E20 if use_lspp_defaults() else None) ), Field( "axshel", int, 10, 10, - kwargs.get("axshel", 0) + kwargs.get("axshel", 0 if use_lspp_defaults() else None) ), Field( "holshr", int, 20, 10, - kwargs.get("holshr", 0) + kwargs.get("holshr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_209.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_209.py index d128f0bf0..8dbb96b6c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_209.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_209.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iax", 1) + kwargs.get("iax", 1 if use_lspp_defaults() else None) ), Field( "isurf", int, 50, 10, - kwargs.get("isurf", 1) + kwargs.get("isurf", 1 if use_lspp_defaults() else None) ), Field( "ihard", int, 60, 10, - kwargs.get("ihard", 2) + kwargs.get("ihard", 2 if use_lspp_defaults() else None) ), Field( "ifema", int, 70, 10, - kwargs.get("ifema", 0) + kwargs.get("ifema", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), Field( "lcpmt", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "lcat", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfat", 1.0) + kwargs.get("sfat", 1.0 if use_lspp_defaults() else None) ), Field( "lcac", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfac", 1.0) + kwargs.get("sfac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha", 2.0) + kwargs.get("alpha", 2.0 if use_lspp_defaults() else None) ), Field( "beta", float, 10, 10, - kwargs.get("beta", 2.0) + kwargs.get("beta", 2.0 if use_lspp_defaults() else None) ), Field( "gamma", float, 20, 10, - kwargs.get("gamma", 2.0) + kwargs.get("gamma", 2.0 if use_lspp_defaults() else None) ), Field( "f0", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pinm", 1.0) + kwargs.get("pinm", 1.0 if use_lspp_defaults() else None) ), Field( "pins", float, 50, 10, - kwargs.get("pins", 1.0) + kwargs.get("pins", 1.0 if use_lspp_defaults() else None) ), Field( "hloc1", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfshs", 1.0) + kwargs.get("sfshs", 1.0 if use_lspp_defaults() else None) ), Field( "lcsht", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfsht", 1.0) + kwargs.get("sfsht", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -359,14 +360,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("omgmt1", 1.0) + kwargs.get("omgmt1", 1.0 if use_lspp_defaults() else None) ), Field( "omgmt2", float, 30, 10, - kwargs.get("omgmt2", 2.0) + kwargs.get("omgmt2", 2.0 if use_lspp_defaults() else None) ), Field( "omgat1", @@ -387,14 +388,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("omgac1", 1.0) + kwargs.get("omgac1", 1.0 if use_lspp_defaults() else None) ), Field( "omgac2", float, 70, 10, - kwargs.get("omgac2", 2.0) + kwargs.get("omgac2", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -405,28 +406,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rums", 1.0E+20) + kwargs.get("rums", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rumt", float, 10, 10, - kwargs.get("rumt", 1.0E+20) + kwargs.get("rumt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "duat", float, 20, 10, - kwargs.get("duat", 1.0E+20) + kwargs.get("duat", 1.0E+20 if use_lspp_defaults() else None) ), Field( "duac", float, 30, 10, - kwargs.get("duac", 1.0E+20) + kwargs.get("duac", 1.0E+20 if use_lspp_defaults() else None) ), Field( "lam1", @@ -447,14 +448,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("soft1", 3.0) + kwargs.get("soft1", 3.0 if use_lspp_defaults() else None) ), Field( "soft2", float, 70, 10, - kwargs.get("soft2", 4.0) + kwargs.get("soft2", 4.0 if use_lspp_defaults() else None) ), ], ), @@ -465,56 +466,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("prs1", 1.0E+20) + kwargs.get("prs1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "prs2", float, 10, 10, - kwargs.get("prs2", 2.0E+20) + kwargs.get("prs2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "prs3", float, 20, 10, - kwargs.get("prs3", 3.0E+20) + kwargs.get("prs3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "prs4", float, 30, 10, - kwargs.get("prs4", 4.0E+20) + kwargs.get("prs4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "prt1", float, 40, 10, - kwargs.get("prt1", 1.0E+20) + kwargs.get("prt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "prt2", float, 50, 10, - kwargs.get("prt2", 2.0E+20) + kwargs.get("prt2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "prt3", float, 60, 10, - kwargs.get("prt3", 3.0E+20) + kwargs.get("prt3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "prt4", float, 70, 10, - kwargs.get("prt4", 4.0E+20) + kwargs.get("prt4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -525,56 +526,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ts1", 1.0E+20) + kwargs.get("ts1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ts2", float, 10, 10, - kwargs.get("ts2", 2.0E+20) + kwargs.get("ts2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "ts3", float, 20, 10, - kwargs.get("ts3", 3.0E+20) + kwargs.get("ts3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "ts4", float, 30, 10, - kwargs.get("ts4", 4.0E+20) + kwargs.get("ts4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "cs1", float, 40, 10, - kwargs.get("cs1", 1.0E+20) + kwargs.get("cs1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "cs2", float, 50, 10, - kwargs.get("cs2", 2.0E+20) + kwargs.get("cs2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "cs3", float, 60, 10, - kwargs.get("cs3", 3.0E+20) + kwargs.get("cs3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "cs4", float, 70, 10, - kwargs.get("cs4", 4.0E+20) + kwargs.get("cs4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -585,56 +586,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ss1", 1.0E+20) + kwargs.get("ss1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ss2", float, 10, 10, - kwargs.get("ss2", 2.0E+20) + kwargs.get("ss2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "ss3", float, 20, 10, - kwargs.get("ss3", 3.0E+20) + kwargs.get("ss3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "ss4", float, 30, 10, - kwargs.get("ss4", 4.0E+20) + kwargs.get("ss4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "st1", float, 40, 10, - kwargs.get("st1", 1.0E+20) + kwargs.get("st1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "st2", float, 50, 10, - kwargs.get("st2", 2.0E+20) + kwargs.get("st2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "st3", float, 60, 10, - kwargs.get("st3", 3.0E+20) + kwargs.get("st3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "st4", float, 70, 10, - kwargs.get("st4", 4.0E+20) + kwargs.get("st4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_211.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_211.py index b2c8653c2..2c2b03472 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_211.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_211.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("helas", 0.0) + kwargs.get("helas", 0.0 if use_lspp_defaults() else None) ), Field( "telas", float, 50, 10, - kwargs.get("telas", 0.0) + kwargs.get("telas", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,21 +113,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sfaxh", 1.0) + kwargs.get("sfaxh", 1.0 if use_lspp_defaults() else None) ), Field( "sfshh", float, 40, 10, - kwargs.get("sfshh", 1.0) + kwargs.get("sfshh", 1.0 if use_lspp_defaults() else None) ), Field( "sfbmh", float, 50, 10, - kwargs.get("sfbmh", 1.0) + kwargs.get("sfbmh", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -158,21 +159,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dmfaxh", 0.1) + kwargs.get("dmfaxh", 0.1 if use_lspp_defaults() else None) ), Field( "dmfshh", float, 40, 10, - kwargs.get("dmfshh", 0.1) + kwargs.get("dmfshh", 0.1 if use_lspp_defaults() else None) ), Field( "dmfbmh", float, 50, 10, - kwargs.get("dmfbmh", 0.1) + kwargs.get("dmfbmh", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -204,21 +205,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sfaxt", 1.0) + kwargs.get("sfaxt", 1.0 if use_lspp_defaults() else None) ), Field( "sfsht", float, 40, 10, - kwargs.get("sfsht", 1.0) + kwargs.get("sfsht", 1.0 if use_lspp_defaults() else None) ), Field( "sbfmt", float, 50, 10, - kwargs.get("sbfmt", 1.0) + kwargs.get("sbfmt", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -250,21 +251,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dfmaxt", 0.1) + kwargs.get("dfmaxt", 0.1 if use_lspp_defaults() else None) ), Field( "dmfsht", float, 40, 10, - kwargs.get("dmfsht", 0.1) + kwargs.get("dmfsht", 0.1 if use_lspp_defaults() else None) ), Field( "dmfbmt", float, 50, 10, - kwargs.get("dmfbmt", 0.1) + kwargs.get("dmfbmt", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_213.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_213.py index 700258598..0c54031ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_213.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_213.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,35 +127,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ptol", 10e-6) + kwargs.get("ptol", 10e-6 if use_lspp_defaults() else None) ), Field( "aopt", float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "filt", float, 60, 10, - kwargs.get("filt", 0.0) + kwargs.get("filt", 0.0 if use_lspp_defaults() else None) ), Field( "vevp", int, 70, 10, - kwargs.get("vevp", 0) + kwargs.get("vevp", 0 if use_lspp_defaults() else None) ), ], ), @@ -246,21 +247,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("d3", 0) + kwargs.get("d3", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 60, 10, - kwargs.get("beta", 0) + kwargs.get("beta", 0 if use_lspp_defaults() else None) ), Field( "tcsym", int, 70, 10, - kwargs.get("tcsym", 0) + kwargs.get("tcsym", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,14 +314,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("h44", 3.0) + kwargs.get("h44", 3.0 if use_lspp_defaults() else None) ), Field( "h55", float, 70, 10, - kwargs.get("h55", 3.0) + kwargs.get("h55", 3.0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("h66", 3.0) + kwargs.get("h66", 3.0 if use_lspp_defaults() else None) ), Field( "lt1", @@ -433,7 +434,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("dflag", 0) + kwargs.get("dflag", 0 if use_lspp_defaults() else None) ), Field( "dc", @@ -451,7 +452,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -571,42 +572,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("beta11", 0.001) + kwargs.get("beta11", 0.001 if use_lspp_defaults() else None) ), Field( "beta22", float, 10, 10, - kwargs.get("beta22", 0.001) + kwargs.get("beta22", 0.001 if use_lspp_defaults() else None) ), Field( "beta33", float, 20, 10, - kwargs.get("beta33", 0.001) + kwargs.get("beta33", 0.001 if use_lspp_defaults() else None) ), Field( "beta44", float, 30, 10, - kwargs.get("beta44", 0.001) + kwargs.get("beta44", 0.001 if use_lspp_defaults() else None) ), Field( "beta55", float, 40, 10, - kwargs.get("beta55", 0.001) + kwargs.get("beta55", 0.001 if use_lspp_defaults() else None) ), Field( "beta66", float, 50, 10, - kwargs.get("beta66", 0.001) + kwargs.get("beta66", 0.001 if use_lspp_defaults() else None) ), Field( "beta12", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_214.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_214.py index 27d36a67d..503484c8f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_214.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_214.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_215.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_215.py index e5b05a59b..94b3d64b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_215.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_215.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mmopt", 0.0) + kwargs.get("mmopt", 0.0 if use_lspp_defaults() else None) ), Field( "bupd", float, 20, 10, - kwargs.get("bupd", 0.01) + kwargs.get("bupd", 0.01 if use_lspp_defaults() else None) ), Field( "unused", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("failf", 0) + kwargs.get("failf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fd", 1.0) + kwargs.get("fd", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -253,7 +254,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("a11", 1.0) + kwargs.get("a11", 1.0 if use_lspp_defaults() else None) ), Field( "a22", @@ -366,7 +367,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncyred", 10.0) + kwargs.get("ncyred", 10.0 if use_lspp_defaults() else None) ), ], ), @@ -497,7 +498,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncyred2", 1.0) + kwargs.get("ncyred2", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_216.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_216.py index 506fba267..03a437cab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_216.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_216.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,7 +152,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217.py index ed000c358..58c8189a4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -462,7 +463,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217_anis.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217_anis.py index fe67ce00c..45ec7c472 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217_anis.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_217_anis.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", int, 70, 10, - kwargs.get("ihis", 0) + kwargs.get("ihis", 0 if use_lspp_defaults() else None) ), ], ), @@ -334,7 +335,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -666,7 +667,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_218.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_218.py index a82c08507..525b5cec0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_218.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_218.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -236,7 +237,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_219.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_219.py index 2aabbc144..00089a2e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_219.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_219.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nlayer", 0) + kwargs.get("nlayer", 0 if use_lspp_defaults() else None) ), Field( "r1", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -451,7 +452,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "erpar1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_220.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_220.py index 7ebad221c..8c6d135e2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_220.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_220.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_221.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_221.py index ec4a036db..d9c845ff0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_221.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_221.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -250,56 +251,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nerode", 0) + kwargs.get("nerode", 0 if use_lspp_defaults() else None) ), Field( "ndam", int, 10, 10, - kwargs.get("ndam", 0) + kwargs.get("ndam", 0 if use_lspp_defaults() else None) ), Field( "eps1tf", float, 20, 10, - kwargs.get("eps1tf", 1.E20) + kwargs.get("eps1tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps2tf", float, 30, 10, - kwargs.get("eps2tf", 1.E20) + kwargs.get("eps2tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps3tf", float, 40, 10, - kwargs.get("eps3tf", 1.E20) + kwargs.get("eps3tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps1cf", float, 50, 10, - kwargs.get("eps1cf", -1.E20) + kwargs.get("eps1cf", -1.E20 if use_lspp_defaults() else None) ), Field( "eps2cf", float, 60, 10, - kwargs.get("eps2cf", -1.E20) + kwargs.get("eps2cf", -1.E20 if use_lspp_defaults() else None) ), Field( "eps3cf", float, 70, 10, - kwargs.get("eps3cf", -1.E20) + kwargs.get("eps3cf", -1.E20 if use_lspp_defaults() else None) ), ], ), @@ -310,21 +311,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("eps12f", 1.E20) + kwargs.get("eps12f", 1.E20 if use_lspp_defaults() else None) ), Field( "eps23f", float, 10, 10, - kwargs.get("eps23f", 1.E20) + kwargs.get("eps23f", 1.E20 if use_lspp_defaults() else None) ), Field( "eps13f", float, 20, 10, - kwargs.get("eps13f", 1.E20) + kwargs.get("eps13f", 1.E20 if use_lspp_defaults() else None) ), Field( "epsd1t", @@ -370,14 +371,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cdam2t", 0) + kwargs.get("cdam2t", 0 if use_lspp_defaults() else None) ), Field( "epsd3t", float, 10, 10, - kwargs.get("epsd3t", 0) + kwargs.get("epsd3t", 0 if use_lspp_defaults() else None) ), Field( "epsc3t", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224.py index 51f00be0c..ff0766d67 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tabk1", 0) + kwargs.get("tabk1", 0 if use_lspp_defaults() else None) ), Field( "tabkt", int, 10, 10, - kwargs.get("tabkt", 0) + kwargs.get("tabkt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,28 +152,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("failopt", 0) + kwargs.get("failopt", 0 if use_lspp_defaults() else None) ), Field( "numavg", int, 10, 10, - kwargs.get("numavg", 1) + kwargs.get("numavg", 1 if use_lspp_defaults() else None) ), Field( "ncyfail", int, 20, 10, - kwargs.get("ncyfail", 1) + kwargs.get("ncyfail", 1 if use_lspp_defaults() else None) ), Field( "erode", int, 30, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "lcps", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224_gys.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224_gys.py index 9b39a7a51..87a272bd9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224_gys.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_224_gys.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tr", 0.0) + kwargs.get("tr", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lck1", 0) + kwargs.get("lck1", 0 if use_lspp_defaults() else None) ), Field( "lckt", int, 10, 10, - kwargs.get("lckt", 0) + kwargs.get("lckt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -179,21 +180,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "sfiepm", float, 50, 10, - kwargs.get("sfiepm", 1.0) + kwargs.get("sfiepm", 1.0 if use_lspp_defaults() else None) ), Field( "niter", int, 60, 10, - kwargs.get("niter", 100) + kwargs.get("niter", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226.py index 71fe9f2f4..8b8046a80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226_nlp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226_nlp.py index b0bc50d79..277e0e383 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226_nlp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_226_nlp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_230.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_230.py index 553b76b27..d6afc1db6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_230.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_230.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_231.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_231.py index f72b1a6dd..bfcc7f548 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_231.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_231.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_232.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_232.py index d25468b58..174491bab 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_232.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_232.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("fd", 3.25) + kwargs.get("fd", 3.25 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_233.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_233.py index 93dcb0ed6..234a3da3f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_233.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_233.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0) + kwargs.get("pr", 0 if use_lspp_defaults() else None) ), Field( "hr", float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("c33", 0) + kwargs.get("c33", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("a1", 0) + kwargs.get("a1", 0 if use_lspp_defaults() else None) ), Field( "a2", @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("fit", 0) + kwargs.get("fit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_234.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_234.py index f32106305..861210c84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_234.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_234.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_235.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_235.py index 31bf360c7..8e67b1b8a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_235.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_235.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_236.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_236.py index b0ed69b2c..d41d55a24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_236.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_236.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("g_scl", 1.0) + kwargs.get("g_scl", 1.0 if use_lspp_defaults() else None) ), Field( "tsl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_237.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_237.py index deb6e35bb..0e323c4f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_237.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_237.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("fd", 3.25) + kwargs.get("fd", 3.25 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_238.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_238.py index e81ecb4b9..f0b308f90 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_238.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_238.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240.py index 678844ca7..3e4096dfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_3modes.py index 416b17519..8c26c1052 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions.py index 2be9f3b74..f0ad15e26 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions_3modes.py index 8e8550104..bd1585043 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_functions_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal.py index 61274035e..7de3adcdd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal_3modes.py index 4f21c9a84..e1f9670fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_240_thermal_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_241.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_241.py index 194d4f19e..fd1df778b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_241.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_241.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_242.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_242.py index f1e5ec360..65a7bdb3b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_242.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_242.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_243.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_243.py index 8f94a4076..258070ea5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_243.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_243.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -370,7 +371,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_244.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_244.py index 3cdafe183..60fe8dfa3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_244.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_244.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("crsh", 0) + kwargs.get("crsh", 0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "heat", int, 70, 10, - kwargs.get("heat", 0) + kwargs.get("heat", 0 if use_lspp_defaults() else None) ), ], ), @@ -267,7 +268,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("cwm", 0) + kwargs.get("cwm", 0 if use_lspp_defaults() else None) ), Field( "lctre", @@ -313,7 +314,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tref", 273.15) + kwargs.get("tref", 273.15 if use_lspp_defaults() else None) ), Field( "lat1", @@ -447,14 +448,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("react", 0) + kwargs.get("react", 0 if use_lspp_defaults() else None) ), Field( "temper", int, 70, 10, - kwargs.get("temper", 0) + kwargs.get("temper", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_245.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_245.py index 4d37b3e4d..cb5178e74 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_245.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_245.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_246.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_246.py index 689e33d9f..0eee728f3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_246.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_246.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_248.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_248.py index 839958b82..497014dcd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_248.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_248.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tunit", 3600) + kwargs.get("tunit", 3600 if use_lspp_defaults() else None) ), Field( "trip", int, 50, 10, - kwargs.get("trip", 0) + kwargs.get("trip", 0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "heat", int, 70, 10, - kwargs.get("heat", 0) + kwargs.get("heat", 0 if use_lspp_defaults() else None) ), ], ), @@ -553,14 +554,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("islc", 0) + kwargs.get("islc", 0 if use_lspp_defaults() else None) ), Field( "iextra", int, 50, 10, - kwargs.get("iextra", 0) + kwargs.get("iextra", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -585,49 +586,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alph_m", 0.0428) + kwargs.get("alph_m", 0.0428 if use_lspp_defaults() else None) ), Field( "n_m", float, 10, 10, - kwargs.get("n_m", 0.191) + kwargs.get("n_m", 0.191 if use_lspp_defaults() else None) ), Field( "phi_m", float, 20, 10, - kwargs.get("phi_m", 0.382) + kwargs.get("phi_m", 0.382 if use_lspp_defaults() else None) ), Field( "psi_m", float, 30, 10, - kwargs.get("psi_m", 2.421) + kwargs.get("psi_m", 2.421 if use_lspp_defaults() else None) ), Field( "omg_f", float, 40, 10, - kwargs.get("omg_f", 0.41) + kwargs.get("omg_f", 0.41 if use_lspp_defaults() else None) ), Field( "phi_f", float, 50, 10, - kwargs.get("phi_f", 0.4) + kwargs.get("phi_f", 0.4 if use_lspp_defaults() else None) ), Field( "psi_f", float, 60, 10, - kwargs.get("psi_f", 0.4) + kwargs.get("psi_f", 0.4 if use_lspp_defaults() else None) ), Field( "cr_f", @@ -645,21 +646,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("omg_p", 0.32) + kwargs.get("omg_p", 0.32 if use_lspp_defaults() else None) ), Field( "phi_p", float, 10, 10, - kwargs.get("phi_p", 0.4) + kwargs.get("phi_p", 0.4 if use_lspp_defaults() else None) ), Field( "psi_p", float, 20, 10, - kwargs.get("psi_p", 0.4) + kwargs.get("psi_p", 0.4 if use_lspp_defaults() else None) ), Field( "cr_p", @@ -673,21 +674,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("omg_b", 0.29) + kwargs.get("omg_b", 0.29 if use_lspp_defaults() else None) ), Field( "phi_b", float, 50, 10, - kwargs.get("phi_b", 0.4) + kwargs.get("phi_b", 0.4 if use_lspp_defaults() else None) ), Field( "psi_b", float, 60, 10, - kwargs.get("psi_b", 0.4) + kwargs.get("psi_b", 0.4 if use_lspp_defaults() else None) ), Field( "cr_b", @@ -754,7 +755,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tau1", 2.08E+8) + kwargs.get("tau1", 2.08E+8 if use_lspp_defaults() else None) ), ], ), @@ -765,28 +766,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gra", 3.11) + kwargs.get("gra", 3.11 if use_lspp_defaults() else None) ), Field( "grb", float, 10, 10, - kwargs.get("grb", 7520.) + kwargs.get("grb", 7520. if use_lspp_defaults() else None) ), Field( "expa", float, 20, 10, - kwargs.get("expa", 1.0) + kwargs.get("expa", 1.0 if use_lspp_defaults() else None) ), Field( "expb", float, 30, 10, - kwargs.get("expb", 1.0) + kwargs.get("expb", 1.0 if use_lspp_defaults() else None) ), Field( "grcc", @@ -807,14 +808,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("heatn", 1.0) + kwargs.get("heatn", 1.0 if use_lspp_defaults() else None) ), Field( "tau2", float, 70, 10, - kwargs.get("tau2", 4.806) + kwargs.get("tau2", 4.806 if use_lspp_defaults() else None) ), ], ), @@ -846,28 +847,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tcvup", 0.0) + kwargs.get("tcvup", 0.0 if use_lspp_defaults() else None) ), Field( "tcvlo", float, 40, 10, - kwargs.get("tcvlo", 0.0) + kwargs.get("tcvlo", 0.0 if use_lspp_defaults() else None) ), Field( "cvcrit", float, 50, 10, - kwargs.get("cvcrit", 0.0) + kwargs.get("cvcrit", 0.0 if use_lspp_defaults() else None) ), Field( "tcvsl", float, 60, 10, - kwargs.get("tcvsl", 0.0) + kwargs.get("tcvsl", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -878,14 +879,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsp", 0.0) + kwargs.get("epsp", 0.0 if use_lspp_defaults() else None) ), Field( "expon", float, 10, 10, - kwargs.get("expon", 0.0) + kwargs.get("expon", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249.py index 3d95601a6..b38c5085c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_crash.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_crash.py index 93265a9a3..781f1b941 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_crash.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_crash.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_udfiber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_udfiber.py index bd762c33e..86c4309df 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_udfiber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_249_udfiber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_251.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_251.py index ff498d4bd..c46cb3054 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_251.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_251.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,7 +120,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "hisvn", int, 50, 10, - kwargs.get("hisvn", 0) + kwargs.get("hisvn", 0 if use_lspp_defaults() else None) ), Field( "phase", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_252.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_252.py index 1db8cedda..2eb3043c6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_252.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_252.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("flg", 0) + kwargs.get("flg", 0 if use_lspp_defaults() else None) ), Field( "jcfl", int, 50, 10, - kwargs.get("jcfl", 0) + kwargs.get("jcfl", 0 if use_lspp_defaults() else None) ), Field( "dopt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_254.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_254.py index 257349f6a..fbdea3cea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_254.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_254.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_255.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_255.py index 261ca777f..eea79b7c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_255.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_255.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_256.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_256.py index 64fcb82fe..ddad05285 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_256.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_256.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("scv", 1.0) + kwargs.get("scv", 1.0 if use_lspp_defaults() else None) ), Field( "b", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_258.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_258.py index 44f6d54d3..ec044fce2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_258.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_258.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260a.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260a.py index 466772b7f..4050734ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260a.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260a.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("r00", 1.0) + kwargs.get("r00", 1.0 if use_lspp_defaults() else None) ), Field( "r45", float, 50, 10, - kwargs.get("r45", 1.0) + kwargs.get("r45", 1.0 if use_lspp_defaults() else None) ), Field( "r90", float, 60, 10, - kwargs.get("r90", 1.0) + kwargs.get("r90", 1.0 if use_lspp_defaults() else None) ), Field( "sig00", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260b.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260b.py index a4809a636..b227792fe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260b.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_260b.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("p12", -0.5) + kwargs.get("p12", -0.5 if use_lspp_defaults() else None) ), Field( "p22", float, 50, 10, - kwargs.get("p22", 1.0) + kwargs.get("p22", 1.0 if use_lspp_defaults() else None) ), Field( "p33", float, 60, 10, - kwargs.get("p33", 3.0) + kwargs.get("p33", 3.0 if use_lspp_defaults() else None) ), Field( "g12", float, 70, 10, - kwargs.get("g12", -0.5) + kwargs.get("g12", -0.5 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g22", 1.0) + kwargs.get("g22", 1.0 if use_lspp_defaults() else None) ), Field( "g33", float, 10, 10, - kwargs.get("g33", 3.0) + kwargs.get("g33", 3.0 if use_lspp_defaults() else None) ), Field( "lcids", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lfld", 0) + kwargs.get("lfld", 0 if use_lspp_defaults() else None) ), Field( "lfrac", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "size0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_261.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_261.py index 79bacb203..b5d9013a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_261.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_261.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("daf", 0.0) + kwargs.get("daf", 0.0 if use_lspp_defaults() else None) ), Field( "dkf", float, 50, 10, - kwargs.get("dkf", 0.0) + kwargs.get("dkf", 0.0 if use_lspp_defaults() else None) ), Field( "dmf", float, 60, 10, - kwargs.get("dmf", 0.0) + kwargs.get("dmf", 0.0 if use_lspp_defaults() else None) ), Field( "efs", @@ -342,7 +343,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fio", 53.0) + kwargs.get("fio", 53.0 if use_lspp_defaults() else None) ), Field( "sigy", @@ -377,14 +378,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("puck", 0.0) + kwargs.get("puck", 0.0 if use_lspp_defaults() else None) ), Field( "soft", float, 60, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_262.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_262.py index afae16372..40a7936e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_262.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_262.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("daf", 0.0) + kwargs.get("daf", 0.0 if use_lspp_defaults() else None) ), Field( "dkf", float, 50, 10, - kwargs.get("dkf", 0.0) + kwargs.get("dkf", 0.0 if use_lspp_defaults() else None) ), Field( "dmf", float, 60, 10, - kwargs.get("dmf", 0.0) + kwargs.get("dmf", 0.0 if use_lspp_defaults() else None) ), Field( "efs", @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dsf", 0.0) + kwargs.get("dsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -384,7 +385,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fio", 53.0) + kwargs.get("fio", 53.0 if use_lspp_defaults() else None) ), Field( "sigy", @@ -419,14 +420,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("puck", 0.0) + kwargs.get("puck", 0.0 if use_lspp_defaults() else None) ), Field( "soft", float, 60, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "dt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_263.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_263.py index d0c3e26f2..3b55b19d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_263.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_263.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nfunc", 1) + kwargs.get("nfunc", 1 if use_lspp_defaults() else None) ), Field( "aopt", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "p3", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_264.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_264.py index 0866ce3fa..9224bd7e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_264.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_264.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct00r", 0) + kwargs.get("lct00r", 0 if use_lspp_defaults() else None) ), Field( "lct00t", int, 10, 10, - kwargs.get("lct00t", 0) + kwargs.get("lct00t", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -179,21 +180,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "sfiepm", int, 50, 10, - kwargs.get("sfiepm", 1) + kwargs.get("sfiepm", 1 if use_lspp_defaults() else None) ), Field( "niter", int, 60, 10, - kwargs.get("niter", 100) + kwargs.get("niter", 100 if use_lspp_defaults() else None) ), Field( "aopt", @@ -211,42 +212,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct90r", 0) + kwargs.get("lct90r", 0 if use_lspp_defaults() else None) ), Field( "lct45r", int, 10, 10, - kwargs.get("lct45r", 0) + kwargs.get("lct45r", 0 if use_lspp_defaults() else None) ), Field( "lctthr", int, 20, 10, - kwargs.get("lctthr", 0) + kwargs.get("lctthr", 0 if use_lspp_defaults() else None) ), Field( "lcc90r", int, 30, 10, - kwargs.get("lcc90r", 0) + kwargs.get("lcc90r", 0 if use_lspp_defaults() else None) ), Field( "lcc45r", int, 40, 10, - kwargs.get("lcc45r", 0) + kwargs.get("lcc45r", 0 if use_lspp_defaults() else None) ), Field( "lccth", int, 50, 10, - kwargs.get("lccth", 0) + kwargs.get("lccth", 0 if use_lspp_defaults() else None) ), ], ), @@ -257,42 +258,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct90t", 0) + kwargs.get("lct90t", 0 if use_lspp_defaults() else None) ), Field( "lct45t", int, 10, 10, - kwargs.get("lct45t", 0) + kwargs.get("lct45t", 0 if use_lspp_defaults() else None) ), Field( "lcttht", int, 20, 10, - kwargs.get("lcttht", 0) + kwargs.get("lcttht", 0 if use_lspp_defaults() else None) ), Field( "lcc90t", int, 30, 10, - kwargs.get("lcc90t", 0) + kwargs.get("lcc90t", 0 if use_lspp_defaults() else None) ), Field( "lcc45t", int, 40, 10, - kwargs.get("lcc45t", 0) + kwargs.get("lcc45t", 0 if use_lspp_defaults() else None) ), Field( "lcctht", int, 50, 10, - kwargs.get("lcctht", 0) + kwargs.get("lcctht", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_265.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_265.py index 9c1ec7b30..646d510c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_265.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_265.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("model", 1) + kwargs.get("model", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_266.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_266.py index d25d7ea54..51b331aa1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_266.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_266.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_267.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_267.py index 446c6fe93..8accd838b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_267.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_267.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "mull", int, 50, 10, - kwargs.get("mull", 1) + kwargs.get("mull", 1 if use_lspp_defaults() else None) ), Field( "vispl", int, 60, 10, - kwargs.get("vispl", 0) + kwargs.get("vispl", 0 if use_lspp_defaults() else None) ), Field( "visel", int, 70, 10, - kwargs.get("visel", 0) + kwargs.get("visel", 0 if use_lspp_defaults() else None) ), ], ), @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vcon", 9.0) + kwargs.get("vcon", 9.0 if use_lspp_defaults() else None) ), ], ), @@ -324,14 +325,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_269.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_269.py index 0790a8650..b3cdc8c95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_269.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_269.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_270.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_270.py index 96729e787..8484979fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_270.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_270.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_271.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_271.py index 8ca947ef7..bc8482fe2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_271.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_271.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sint", 0.0) + kwargs.get("sint", 0.0 if use_lspp_defaults() else None) ), Field( "tzro", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_273.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_273.py index 655ba9195..ad8ccb3c8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_273.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_273.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0.2) + kwargs.get("pr", 0.2 if use_lspp_defaults() else None) ), Field( "ecc", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("qh0", 0.3) + kwargs.get("qh0", 0.3 if use_lspp_defaults() else None) ), Field( "ft", @@ -105,49 +106,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hp", 0.5) + kwargs.get("hp", 0.5 if use_lspp_defaults() else None) ), Field( "ah", float, 10, 10, - kwargs.get("ah", 0.08) + kwargs.get("ah", 0.08 if use_lspp_defaults() else None) ), Field( "bh", float, 20, 10, - kwargs.get("bh", 0.003) + kwargs.get("bh", 0.003 if use_lspp_defaults() else None) ), Field( "ch", float, 30, 10, - kwargs.get("ch", 2.0) + kwargs.get("ch", 2.0 if use_lspp_defaults() else None) ), Field( "dh", float, 40, 10, - kwargs.get("dh", 1.0E-6) + kwargs.get("dh", 1.0E-6 if use_lspp_defaults() else None) ), Field( "as", float, 50, 10, - kwargs.get("as", 15.0) + kwargs.get("as", 15.0 if use_lspp_defaults() else None) ), Field( "df", float, 60, 10, - kwargs.get("df", 0.85) + kwargs.get("df", 0.85 if use_lspp_defaults() else None) ), Field( "fc0", @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("type", 0.0) + kwargs.get("type", 0.0 if use_lspp_defaults() else None) ), Field( "bs", float, 10, 10, - kwargs.get("bs", 1.0) + kwargs.get("bs", 1.0 if use_lspp_defaults() else None) ), Field( "wf", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("strflg", 0.0) + kwargs.get("strflg", 0.0 if use_lspp_defaults() else None) ), Field( "failflg", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("efc", 1.0E-4) + kwargs.get("efc", 1.0E-4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_274.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_274.py index cb63a6598..0955b961b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_274.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_274.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -299,28 +300,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("prp1", 0.5) + kwargs.get("prp1", 0.5 if use_lspp_defaults() else None) ), Field( "prp2", float, 50, 10, - kwargs.get("prp2", 0.133) + kwargs.get("prp2", 0.133 if use_lspp_defaults() else None) ), Field( "prp4", float, 60, 10, - kwargs.get("prp4", 0.5) + kwargs.get("prp4", 0.5 if use_lspp_defaults() else None) ), Field( "prp5", float, 70, 10, - kwargs.get("prp5", 0.133) + kwargs.get("prp5", 0.133 if use_lspp_defaults() else None) ), ], ), @@ -384,7 +385,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_275.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_275.py index 362349582..73ca9a3dc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_275.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_275.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_276.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_276.py index cfaed4662..105ee326e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_276.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_276.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_277.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_277.py index 5fb3d8777..816f8855e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_277.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_277.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -207,7 +208,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("incr", 0) + kwargs.get("incr", 0 if use_lspp_defaults() else None) ), Field( "qcure", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_278.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_278.py index 30bf61d3c..b1410259f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_278.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_278.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -462,7 +463,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("incr", 0) + kwargs.get("incr", 0 if use_lspp_defaults() else None) ), Field( "qcure", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_279.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_279.py index 078c4da41..8af50d5e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_279.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_279.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_280.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_280.py index 4f77c6daa..ce1e91925 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_280.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_280.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("imod", 0.0) + kwargs.get("imod", 0.0 if use_lspp_defaults() else None) ), Field( "ilaw", float, 70, 10, - kwargs.get("ilaw", 0.0) + kwargs.get("ilaw", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmod", 0.0) + kwargs.get("fmod", 0.0 if use_lspp_defaults() else None) ), Field( "ft", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ftscl", 1.0) + kwargs.get("ftscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -179,7 +180,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("crin", 0.0) + kwargs.get("crin", 0.0 if use_lspp_defaults() else None) ), Field( "ecrcl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_291.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_291.py index 04c415676..b479541db 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_291.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_291.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292.py index ae15c3f41..db0b9282f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("gt", 1.0E20) + kwargs.get("gt", 1.0E20 if use_lspp_defaults() else None) ), Field( "gs", float, 40, 10, - kwargs.get("gs", 1.0E20) + kwargs.get("gs", 1.0E20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292a.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292a.py index 35530218c..eb8087a94 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292a.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_292a.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_293.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_293.py index ea8b0096a..4bedc6072 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_293.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_293.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_295.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_295.py index 1a24c68ab..acce13c90 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_295.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_295.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card_group import DuplicateCardGroup from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -427,7 +428,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("acdir", 0) + kwargs.get("acdir", 0 if use_lspp_defaults() else None) ), Field( "acid", @@ -441,28 +442,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("acthr", 0.0) + kwargs.get("acthr", 0.0 if use_lspp_defaults() else None) ), Field( "sf", float, 50, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "ss", float, 60, 10, - kwargs.get("ss", 0.0) + kwargs.get("ss", 0.0 if use_lspp_defaults() else None) ), Field( "sn", float, 70, 10, - kwargs.get("sn", 0.0) + kwargs.get("sn", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.atype and abs(self.atype) == 1 and self.actype in [1,2,3,4,5], @@ -803,7 +804,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_296.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_296.py index 18ac92546..f5811f49b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_296.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_296.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_305.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_305.py index 85ac3c7b2..5f0ae3b93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_305.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_305.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "vp", float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "tol", float, 70, 10, - kwargs.get("tol", 1.0) + kwargs.get("tol", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_318.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_318.py index c925eb160..3cc241ad0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_318.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_318.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_319.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_319.py index d65e45146..4aa18e24f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_319.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_319.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_326.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_326.py index d7b4b15e8..0c2c0a28d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_326.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_326.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -127,7 +128,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ps", 0) + kwargs.get("ps", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat.py index 6e0f236f3..088c26810 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,7 +406,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), Field( "lcbi", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat_nlp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat_nlp.py index ebfdbb51c..e5648903e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat_nlp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3_parameter_barlat_nlp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -405,7 +406,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), Field( "lcbi", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3parameter_barlat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3parameter_barlat.py index 11aad030a..ad9fdecad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3parameter_barlat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_3parameter_barlat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_4a_micromec.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_4a_micromec.py index 2a5b0dc97..b182f3786 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_4a_micromec.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_4a_micromec.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("mmopt", 0.0) + kwargs.get("mmopt", 0.0 if use_lspp_defaults() else None) ), Field( "bupd", float, 20, 10, - kwargs.get("bupd", 0.01) + kwargs.get("bupd", 0.01 if use_lspp_defaults() else None) ), Field( "unused", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("failf", 0) + kwargs.get("failf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fd", 1.0) + kwargs.get("fd", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -253,7 +254,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("a11", 1.0) + kwargs.get("a11", 1.0 if use_lspp_defaults() else None) ), Field( "a22", @@ -366,7 +367,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncyred", 10.0) + kwargs.get("ncyred", 10.0 if use_lspp_defaults() else None) ), ], ), @@ -497,7 +498,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncyred2", 1.0) + kwargs.get("ncyred2", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic.py index 8271db508..188a45b98 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("cf", 0.0) + kwargs.get("cf", 0.0 if use_lspp_defaults() else None) ), Field( "atmos", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_complex.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_complex.py index 1bf553ef8..066c05054 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_complex.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_complex.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_damp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_damp.py index f1c9534f8..b92d26587 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_damp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_damp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -119,14 +120,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vdc", 0.0) + kwargs.get("vdc", 0.0 if use_lspp_defaults() else None) ), Field( "beta2", float, 70, 10, - kwargs.get("beta2", 0.0) + kwargs.get("beta2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_porous_db.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_porous_db.py index c8d8df080..91cb13a99 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_porous_db.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_acoustic_porous_db.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_airbag_porosity_leakage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_airbag_porosity_leakage.py index 4bba61f7e..1fc8a6f8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_airbag_porosity_leakage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_airbag_porosity_leakage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("x3/fac", 1.0) + kwargs.get("x3/fac", 1.0 if use_lspp_defaults() else None) ), Field( "ela", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_chem_shrinkage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_chem_shrinkage.py index 9f004a926..874ee6ed8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_chem_shrinkage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_chem_shrinkage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_cohesive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_cohesive.py index 4b779dee6..51786cc0c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_cohesive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_cohesive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_diem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_diem.py index 63eaf8fab..1439706bd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_diem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_diem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ndiemc", 0.0) + kwargs.get("ndiemc", 0.0 if use_lspp_defaults() else None) ), Field( "dinit", int, 20, 10, - kwargs.get("dinit", 0) + kwargs.get("dinit", 0 if use_lspp_defaults() else None) ), Field( "deps", float, 30, 10, - kwargs.get("deps", 0.0) + kwargs.get("deps", 0.0 if use_lspp_defaults() else None) ), Field( "numfip", float, 40, 10, - kwargs.get("numfip", 1.0) + kwargs.get("numfip", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dityp", 0.0) + kwargs.get("dityp", 0.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -130,14 +131,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("detyp", 0.0) + kwargs.get("detyp", 0.0 if use_lspp_defaults() else None) ), Field( "dctyp", float, 10, 10, - kwargs.get("dctyp", 0.0) + kwargs.get("dctyp", 0.0 if use_lspp_defaults() else None) ), Field( "q1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo.py index 0f8d95c44..37ce7b39e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dtyp", 0) + kwargs.get("dtyp", 0 if use_lspp_defaults() else None) ), Field( "refsz", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("numfip", 1.0) + kwargs.get("numfip", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcsdg", 0) + kwargs.get("lcsdg", 0 if use_lspp_defaults() else None) ), Field( "ecrit", @@ -98,7 +99,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dmgexp", 1.0) + kwargs.get("dmgexp", 1.0 if use_lspp_defaults() else None) ), Field( "dcrit", @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fadexp", 1.0) + kwargs.get("fadexp", 1.0 if use_lspp_defaults() else None) ), Field( "lcregd", int, 50, 10, - kwargs.get("lcregd", 0) + kwargs.get("lcregd", 0 if use_lspp_defaults() else None) ), Field( "instf", @@ -158,7 +159,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcdlim", 0) + kwargs.get("lcdlim", 0 if use_lspp_defaults() else None) ), Field( "midfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo_stochastic.py index 7334179c6..84a7b86cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_damage_gissmo_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dtyp", 0) + kwargs.get("dtyp", 0 if use_lspp_defaults() else None) ), Field( "refsz", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("numfip", 1.0) + kwargs.get("numfip", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcsdg", 0) + kwargs.get("lcsdg", 0 if use_lspp_defaults() else None) ), Field( "ecrit", @@ -98,7 +99,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dmgexp", 1.0) + kwargs.get("dmgexp", 1.0 if use_lspp_defaults() else None) ), Field( "dcrit", @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fadexp", 1.0) + kwargs.get("fadexp", 1.0 if use_lspp_defaults() else None) ), Field( "lcregd", int, 50, 10, - kwargs.get("lcregd", 0) + kwargs.get("lcregd", 0 if use_lspp_defaults() else None) ), Field( "instf", @@ -158,7 +159,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcdlim", 0) + kwargs.get("lcdlim", 0 if use_lspp_defaults() else None) ), Field( "midfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_erosion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_erosion.py index a9e65925d..9a0f45b9d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_erosion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_erosion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("numfip", 1.0) + kwargs.get("numfip", 1.0 if use_lspp_defaults() else None) ), Field( "ncs", float, 70, 10, - kwargs.get("ncs", 1.0) + kwargs.get("ncs", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -232,7 +233,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsff", 10) + kwargs.get("nsff", 10 if use_lspp_defaults() else None) ), Field( "epsthin", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue.py index cab9e07e4..e636283e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", -1) + kwargs.get("lcid", -1 if use_lspp_defaults() else None) ), Field( "ltype", int, 20, 10, - kwargs.get("ltype", 0) + kwargs.get("ltype", 0 if use_lspp_defaults() else None) ), Field( "a", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("snlimt", 0) + kwargs.get("snlimt", 0 if use_lspp_defaults() else None) ), Field( "sntype", int, 70, 10, - kwargs.get("sntype", 0) + kwargs.get("sntype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue_en.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue_en.py index 3c2caebd7..973e22f91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue_en.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_fatigue_en.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_generalized_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_generalized_damage.py index eb59063ae..c83915f78 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_generalized_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_generalized_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("idam", 0) + kwargs.get("idam", 0 if use_lspp_defaults() else None) ), Field( "dtyp", int, 20, 10, - kwargs.get("dtyp", 0) + kwargs.get("dtyp", 0 if use_lspp_defaults() else None) ), Field( "refsz", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("numfip", 1.0) + kwargs.get("numfip", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("pddt", 0) + kwargs.get("pddt", 0 if use_lspp_defaults() else None) ), Field( "nhis", int, 70, 10, - kwargs.get("nhis", 1) + kwargs.get("nhis", 1 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("his1", 0) + kwargs.get("his1", 0 if use_lspp_defaults() else None) ), Field( "his2", @@ -126,21 +127,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("iflg1", 0) + kwargs.get("iflg1", 0 if use_lspp_defaults() else None) ), Field( "iflg2", int, 40, 10, - kwargs.get("iflg2", 0) + kwargs.get("iflg2", 0 if use_lspp_defaults() else None) ), Field( "iflg3", int, 50, 10, - kwargs.get("iflg3", 0) + kwargs.get("iflg3", 0 if use_lspp_defaults() else None) ), ], ), @@ -243,7 +244,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcsdg", 0) + kwargs.get("lcsdg", 0 if use_lspp_defaults() else None) ), Field( "ecrit", @@ -257,7 +258,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dmgexp", 1.0) + kwargs.get("dmgexp", 1.0 if use_lspp_defaults() else None) ), Field( "dcrit", @@ -271,14 +272,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fadexp", 1.0) + kwargs.get("fadexp", 1.0 if use_lspp_defaults() else None) ), Field( "lcreg", int, 50, 10, - kwargs.get("lcreg", 0) + kwargs.get("lcreg", 0 if use_lspp_defaults() else None) ), ], ), @@ -289,7 +290,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcsrs", 0) + kwargs.get("lcsrs", 0 if use_lspp_defaults() else None) ), Field( "shrf", @@ -310,14 +311,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcdlim", 0) + kwargs.get("lcdlim", 0 if use_lspp_defaults() else None) ), Field( "midfail", float, 40, 10, - kwargs.get("midfail", 0.0) + kwargs.get("midfail", 0.0 if use_lspp_defaults() else None) ), Field( "nfloc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_inelasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_inelasticity.py index 0127b1791..bbeb9695f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_inelasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_inelasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nielinks", 1) + kwargs.get("nielinks", 1 if use_lspp_defaults() else None) ), Field( "unused", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "beta", @@ -197,7 +198,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nielaws", 1) + kwargs.get("nielaws", 1 if use_lspp_defaults() else None) ), Field( "weight", @@ -215,7 +216,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("law", 3) + kwargs.get("law", 3 if use_lspp_defaults() else None) ), Field( "model", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_permeability.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_permeability.py index 16fece306..53f0c1e7b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_permeability.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_permeability.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("pmtyp", 0) + kwargs.get("pmtyp", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pore_air.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pore_air.py index c1bf1dc37..7af0e9bdc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pore_air.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pore_air.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pore", 1.) + kwargs.get("pore", 1. if use_lspp_defaults() else None) ), Field( "dvimin", @@ -84,7 +85,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("perm1", 0.) + kwargs.get("perm1", 0. if use_lspp_defaults() else None) ), Field( "perm2", @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cdarcy", 1.) + kwargs.get("cdarcy", 1. if use_lspp_defaults() else None) ), Field( "cdf", float, 40, 10, - kwargs.get("cdf", 0.) + kwargs.get("cdf", 0. if use_lspp_defaults() else None) ), Field( "lcpgd1", int, 50, 10, - kwargs.get("lcpgd1", 0) + kwargs.get("lcpgd1", 0 if use_lspp_defaults() else None) ), Field( "lcpgd2", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence.py index 50e1964f1..35af8ccdc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_freq.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_freq.py index cf7fcb4cb..a0869181f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_freq.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_freq.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_time.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_time.py index 860b50524..6903880a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_time.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_property_dependence_time.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pzelectric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pzelectric.py index e317c89b1..0f1b59d4b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pzelectric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_pzelectric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("dtype", "S") + kwargs.get("dtype", "S" if use_lspp_defaults() else None) ), Field( "gpt", int, 20, 10, - kwargs.get("gpt", 8) + kwargs.get("gpt", 8 if use_lspp_defaults() else None) ), Field( "aopt", int, 30, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_soc_expansion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_soc_expansion.py index 03513b766..8e33082e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_soc_expansion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_soc_expansion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "mult", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_thermal_expansion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_thermal_expansion.py index 4cfae8784..9d696b126 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_thermal_expansion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_add_thermal_expansion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("mult", 1.0) + kwargs.get("mult", 1.0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("multy", 1.0) + kwargs.get("multy", 1.0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("multz", 1.0) + kwargs.get("multz", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_adhesive_curing_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_adhesive_curing_viscoelastic.py index 1fd0de080..711893cfd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_adhesive_curing_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_adhesive_curing_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -207,7 +208,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("incr", 0) + kwargs.get("incr", 0 if use_lspp_defaults() else None) ), Field( "qcure", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_01.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_01.py index 99c80977b..c09321884 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_01.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_01.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_02.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_02.py index b71b139c4..04cc71923 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_02.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_02.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_03.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_03.py index c0e6cf75a..e3130897e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_03.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_03.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iadiab", 0) + kwargs.get("iadiab", 0 if use_lspp_defaults() else None) ), Field( "runiv", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_gas_mixture.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_gas_mixture.py index 0a29dac64..42a70b2d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_gas_mixture.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_gas_mixture.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iadiab", 0) + kwargs.get("iadiab", 0 if use_lspp_defaults() else None) ), Field( "runiv", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_herschel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_herschel.py index d0b0170d7..a97714cb5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_herschel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_herschel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_incompressible.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_incompressible.py index 197584a34..2d76a369e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_incompressible.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_incompressible.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -77,28 +78,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tol", 1e-8) + kwargs.get("tol", 1e-8 if use_lspp_defaults() else None) ), Field( "dtout", float, 10, 10, - kwargs.get("dtout", 1e10) + kwargs.get("dtout", 1e10 if use_lspp_defaults() else None) ), Field( "ncg", int, 20, 10, - kwargs.get("ncg", 50) + kwargs.get("ncg", 50 if use_lspp_defaults() else None) ), Field( "meth", int, 30, 10, - kwargs.get("meth", -7) + kwargs.get("meth", -7 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_mixing_length.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_mixing_length.py index fdc01921a..7dd7dcb69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_mixing_length.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_mixing_length.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_vacuum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_vacuum.py index 2a631673e..dc6b2696c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_vacuum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_vacuum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_viscous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_viscous.py index 7e8c11ac0..4b02fab53 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_viscous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ale_viscous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_amorphous_solids_finite_strain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_amorphous_solids_finite_strain.py index c62c63331..af5e08d35 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_amorphous_solids_finite_strain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_amorphous_solids_finite_strain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("scv", 1.0) + kwargs.get("scv", 1.0 if use_lspp_defaults() else None) ), Field( "b", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anand_viscoplasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anand_viscoplasticity.py index 57e36b8e7..028c6dc25 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anand_viscoplasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anand_viscoplasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic.py index 91b55d287..b79ec05bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", int, 70, 10, - kwargs.get("ihis", 0) + kwargs.get("ihis", 0 if use_lspp_defaults() else None) ), ], ), @@ -334,7 +335,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_phase_change.py index de826de1b..0c09954ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", int, 70, 10, - kwargs.get("ihis", 0) + kwargs.get("ihis", 0 if use_lspp_defaults() else None) ), ], ), @@ -334,7 +335,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -666,7 +667,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_plastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_plastic.py index 57403efcd..f03b8fc84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_plastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_elastic_plastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -320,7 +321,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -334,7 +335,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ncfail", 10) + kwargs.get("ncfail", 10 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_plastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_plastic.py index c456cf0f5..704c5e980 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_plastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_plastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_thermoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_thermoelastic.py index 09ded4163..0eaf6a3f5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_thermoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_thermoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -327,7 +328,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_viscoplastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_viscoplastic.py index 5e607124e..f2112933d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_viscoplastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_anisotropic_viscoplastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), Field( "lcss", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arruda_boyce_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arruda_boyce_rubber.py index aae89afcc..5ec366141 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arruda_boyce_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arruda_boyce_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -84,7 +85,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tramp", @@ -98,7 +99,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arup_adhesive.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arup_adhesive.py index cf941b954..598e73f8c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arup_adhesive.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_arup_adhesive.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tenmax", 1.0E+20) + kwargs.get("tenmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcten", float, 50, 10, - kwargs.get("gcten", 1.0E+20) + kwargs.get("gcten", 1.0E+20 if use_lspp_defaults() else None) ), Field( "shrmax", float, 60, 10, - kwargs.get("shrmax", 1.0E+20) + kwargs.get("shrmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcshr", float, 70, 10, - kwargs.get("gcshr", 1.0E+20) + kwargs.get("gcshr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pwrt", 2.0) + kwargs.get("pwrt", 2.0 if use_lspp_defaults() else None) ), Field( "pwrs", float, 10, 10, - kwargs.get("pwrs", 2.0) + kwargs.get("pwrs", 2.0 if use_lspp_defaults() else None) ), Field( "shrp", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("edot0", 1.0) + kwargs.get("edot0", 1.0 if use_lspp_defaults() else None) ), Field( "edot2", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkdir", 0.0) + kwargs.get("thkdir", 0.0 if use_lspp_defaults() else None) ), Field( "extra", @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("tmaxe", 1.0E+20) + kwargs.get("tmaxe", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcte", float, 10, 10, - kwargs.get("gcte", 1.0E+20) + kwargs.get("gcte", 1.0E+20 if use_lspp_defaults() else None) ), Field( "smaxe", float, 20, 10, - kwargs.get("smaxe", 1.0E+20) + kwargs.get("smaxe", 1.0E+20 if use_lspp_defaults() else None) ), Field( "gcse", float, 30, 10, - kwargs.get("gcse", 1.0E+20) + kwargs.get("gcse", 1.0E+20 if use_lspp_defaults() else None) ), Field( "pwrte", float, 40, 10, - kwargs.get("pwrte", 2.0) + kwargs.get("pwrte", 2.0 if use_lspp_defaults() else None) ), Field( "pwrse", float, 50, 10, - kwargs.get("pwrse", 2.0) + kwargs.get("pwrse", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -211,42 +212,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("facet", 1.0) + kwargs.get("facet", 1.0 if use_lspp_defaults() else None) ), Field( "facct", float, 10, 10, - kwargs.get("facct", 1.0) + kwargs.get("facct", 1.0 if use_lspp_defaults() else None) ), Field( "faces", float, 20, 10, - kwargs.get("faces", 1.0) + kwargs.get("faces", 1.0 if use_lspp_defaults() else None) ), Field( "faccs", float, 30, 10, - kwargs.get("faccs", 1.0) + kwargs.get("faccs", 1.0 if use_lspp_defaults() else None) ), Field( "softt", float, 40, 10, - kwargs.get("softt", 1.0) + kwargs.get("softt", 1.0 if use_lspp_defaults() else None) ), Field( "softs", float, 50, 10, - kwargs.get("softs", 1.0) + kwargs.get("softs", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -257,28 +258,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sdfac", 1.0) + kwargs.get("sdfac", 1.0 if use_lspp_defaults() else None) ), Field( "sgfac", float, 10, 10, - kwargs.get("sgfac", 1.0) + kwargs.get("sgfac", 1.0 if use_lspp_defaults() else None) ), Field( "sdefac", float, 20, 10, - kwargs.get("sdefac", 1.0) + kwargs.get("sdefac", 1.0 if use_lspp_defaults() else None) ), Field( "sgefac", float, 30, 10, - kwargs.get("sgefac", 1.0) + kwargs.get("sgefac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -296,7 +297,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("outfail", 0.0) + kwargs.get("outfail", 0.0 if use_lspp_defaults() else None) ), Field( "fsip", @@ -317,7 +318,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ele2ns", 0.0) + kwargs.get("ele2ns", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_b01.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_b01.py index 42b8b82af..375f583b0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_b01.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_b01.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mid", 0) + kwargs.get("mid", 0 if use_lspp_defaults() else None) ), Field( "mpul", @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("llcid", 0) + kwargs.get("llcid", 0 if use_lspp_defaults() else None) ), Field( "ulcid", int, 30, 10, - kwargs.get("ulcid", 0) + kwargs.get("ulcid", 0 if use_lspp_defaults() else None) ), Field( "lmin", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("f", 1.0e20) + kwargs.get("f", 1.0e20 if use_lspp_defaults() else None) ), Field( "m", float, 50, 10, - kwargs.get("m", 1.0e20) + kwargs.get("m", 1.0e20 if use_lspp_defaults() else None) ), Field( "r", float, 60, 10, - kwargs.get("r", 0.05) + kwargs.get("r", 0.05 if use_lspp_defaults() else None) ), ], ), @@ -165,7 +166,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "ecoat", @@ -193,21 +194,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eb", -0.1) + kwargs.get("eb", -0.1 if use_lspp_defaults() else None) ), Field( "prba", float, 60, 10, - kwargs.get("prba", 0.3) + kwargs.get("prba", 0.3 if use_lspp_defaults() else None) ), Field( "prba", float, 70, 10, - kwargs.get("prba", 0.3) + kwargs.get("prba", 0.3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman.py index 441938ec1..fec29b69c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman_damage.py index 677f1cb08..08e7637b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bamman_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_anisotropic_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_anisotropic_plasticity.py index d5e4fdcac..d56d8ca77 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_anisotropic_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_anisotropic_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2000.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2000.py index c51dc23b1..5316de4c0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2000.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2000.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("fit", 0.0) + kwargs.get("fit", 0.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), Field( "iscale", float, 70, 10, - kwargs.get("iscale", 0.0) + kwargs.get("iscale", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hard", 1) + kwargs.get("hard", 1 if use_lspp_defaults() else None) ), Field( "a", @@ -391,7 +392,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("htflag", 0) + kwargs.get("htflag", 0 if use_lspp_defaults() else None) ), Field( "hta", @@ -518,7 +519,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2004.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2004.py index d735f3f08..4cab0da86 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2004.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld2004.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -282,7 +283,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld96.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld96.py index 804ed2ec2..f8ff33416 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld96.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_barlat_yld96.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("hard", 1) + kwargs.get("hard", 1 if use_lspp_defaults() else None) ), Field( "a", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bergstrom_boyce_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bergstrom_boyce_rubber.py index 67041bedf..b4b523b6a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bergstrom_boyce_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bergstrom_boyce_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bilkhu_dubois_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bilkhu_dubois_foam.py index aa3c874fd..534565e62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bilkhu_dubois_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bilkhu_dubois_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("isflg", 0) + kwargs.get("isflg", 0 if use_lspp_defaults() else None) ), Field( "ncycle", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_biot_hysteretic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_biot_hysteretic.py index 3f05bb009..7049fd025 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_biot_hysteretic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_biot_hysteretic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("fd", 3.25) + kwargs.get("fd", 3.25 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_foam.py index 7ab3c5026..d75cd9756 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_rubber.py index 464155100..70e9c1454 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_blatz_ko_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bolt_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bolt_beam.py index 29d8cbb51..20571e785 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bolt_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_bolt_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("dafail", 1.E20) + kwargs.get("dafail", 1.E20 if use_lspp_defaults() else None) ), Field( "drfail", float, 50, 10, - kwargs.get("drfail", 1.E20) + kwargs.get("drfail", 1.E20 if use_lspp_defaults() else None) ), Field( "damag", float, 60, 10, - kwargs.get("damag", 0.1) + kwargs.get("damag", 0.1 if use_lspp_defaults() else None) ), Field( "t0pre", @@ -165,21 +166,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dacfail", 1.E20) + kwargs.get("dacfail", 1.E20 if use_lspp_defaults() else None) ), Field( "axshel", int, 10, 10, - kwargs.get("axshel", 0) + kwargs.get("axshel", 0 if use_lspp_defaults() else None) ), Field( "holshr", int, 20, 10, - kwargs.get("holshr", 0) + kwargs.get("holshr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brain_linear_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brain_linear_viscoelastic.py index 6f32b1152..84c1dcad8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brain_linear_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brain_linear_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brittle_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brittle_damage.py index 9a1c1d99b..e049ce9ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brittle_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_brittle_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cable_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cable_discrete_beam.py index 40c6c60ac..fe34d1424 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cable_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cable_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "f0", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("iread", 0) + kwargs.get("iread", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,35 +106,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("output", 0) + kwargs.get("output", 0 if use_lspp_defaults() else None) ), Field( "tstart", float, 10, 10, - kwargs.get("tstart", 0) + kwargs.get("tstart", 0 if use_lspp_defaults() else None) ), Field( "fracl0", float, 20, 10, - kwargs.get("fracl0", 0) + kwargs.get("fracl0", 0 if use_lspp_defaults() else None) ), Field( "mxeps", float, 30, 10, - kwargs.get("mxeps", 1.0E+20) + kwargs.get("mxeps", 1.0E+20 if use_lspp_defaults() else None) ), Field( "mxfrc", float, 40, 10, - kwargs.get("mxfrc", 1.0E+20) + kwargs.get("mxfrc", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat.py index a466a07c6..8d1e000b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0) + kwargs.get("pr", 0 if use_lspp_defaults() else None) ), Field( "hr", float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("c33", 0) + kwargs.get("c33", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("a1", 0) + kwargs.get("a1", 0 if use_lspp_defaults() else None) ), Field( "a2", @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("fit", 0) + kwargs.get("fit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat_magnesium.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat_magnesium.py index 7372fbd61..6fe09243c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat_magnesium.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cazacu_barlat_magnesium.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0) + kwargs.get("pr", 0 if use_lspp_defaults() else None) ), Field( "hr", float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("c33", 0) + kwargs.get("c33", 0 if use_lspp_defaults() else None) ), Field( "lcid", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("a1", 0) + kwargs.get("a1", 0 if use_lspp_defaults() else None) ), Field( "a2", @@ -320,7 +321,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("fit", 0) + kwargs.get("fit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cdpm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cdpm.py index 9ee735936..257614afb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cdpm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cdpm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0.2) + kwargs.get("pr", 0.2 if use_lspp_defaults() else None) ), Field( "ecc", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("qh0", 0.3) + kwargs.get("qh0", 0.3 if use_lspp_defaults() else None) ), Field( "ft", @@ -105,49 +106,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hp", 0.5) + kwargs.get("hp", 0.5 if use_lspp_defaults() else None) ), Field( "ah", float, 10, 10, - kwargs.get("ah", 0.08) + kwargs.get("ah", 0.08 if use_lspp_defaults() else None) ), Field( "bh", float, 20, 10, - kwargs.get("bh", 0.003) + kwargs.get("bh", 0.003 if use_lspp_defaults() else None) ), Field( "ch", float, 30, 10, - kwargs.get("ch", 2.0) + kwargs.get("ch", 2.0 if use_lspp_defaults() else None) ), Field( "dh", float, 40, 10, - kwargs.get("dh", 1.0E-6) + kwargs.get("dh", 1.0E-6 if use_lspp_defaults() else None) ), Field( "as", float, 50, 10, - kwargs.get("as", 15.0) + kwargs.get("as", 15.0 if use_lspp_defaults() else None) ), Field( "df", float, 60, 10, - kwargs.get("df", 0.85) + kwargs.get("df", 0.85 if use_lspp_defaults() else None) ), Field( "fc0", @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("type", 0.0) + kwargs.get("type", 0.0 if use_lspp_defaults() else None) ), Field( "bs", float, 10, 10, - kwargs.get("bs", 1.0) + kwargs.get("bs", 1.0 if use_lspp_defaults() else None) ), Field( "wf", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("strflg", 0.0) + kwargs.get("strflg", 0.0 if use_lspp_defaults() else None) ), Field( "failflg", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("efc", 1.0E-4) + kwargs.get("efc", 1.0E-4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cellular_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cellular_rubber.py index b9bda9138..23fd89f9f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cellular_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cellular_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cf_micromechanics.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cf_micromechanics.py index c5219df92..452a9ee39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cf_micromechanics.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cf_micromechanics.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -462,7 +463,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("incr", 0) + kwargs.get("incr", 0 if use_lspp_defaults() else None) ), Field( "qcure", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_chronological_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_chronological_viscoelastic.py index 7dce8dfb0..d46dcc9ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_chronological_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_chronological_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_closed_cell_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_closed_cell_foam.py index 206ebca63..fde805dcc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_closed_cell_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_closed_cell_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_codam2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_codam2.py index df3ccaa8b..5a61fba95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_codam2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_codam2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("nlayer", 0) + kwargs.get("nlayer", 0 if use_lspp_defaults() else None) ), Field( "r1", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("nfreq", 0) + kwargs.get("nfreq", 0 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -451,7 +452,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "erpar1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_elastic.py index b58251073..b3c9bc38a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_gasket.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_gasket.py index 4012665fd..0f8e36a92 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_gasket.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_gasket.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -127,7 +128,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ps", 0) + kwargs.get("ps", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_general.py index 85d56aee8..32c8ee016 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate.py index 44b0cf927..444e42393 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_3modes.py index 80e2074a5..9d4c5e7e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions.py index 298bf3ac4..9164d5d5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions_3modes.py index 43426510a..faba5041a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_functions_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal.py index 0b961eb85..7e19199ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal_3modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal_3modes.py index 24eec9bd0..80658e645 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal_3modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_mixed_mode_elastoplastic_rate_thermal_3modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("inicrt", 0.0) + kwargs.get("inicrt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_paper.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_paper.py index d57d6cca8..c30be0e7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_paper.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_paper.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_th.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_th.py index a7c2e9549..ecf95f364 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_th.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cohesive_th.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("roflg", 0) + kwargs.get("roflg", 0 if use_lspp_defaults() else None) ), Field( "intfail", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("isw", -1) + kwargs.get("isw", -1 if use_lspp_defaults() else None) ), Field( "alpha1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_damage.py index 6613baa0d..e65c52aea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "atrack", int, 60, 10, - kwargs.get("atrack", 0) + kwargs.get("atrack", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_direct.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_direct.py index c9e8cea7f..2501969c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_direct.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_direct.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_shell_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_shell_model.py index 3707babe4..fa40fe813 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_shell_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_shell_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("sr", 0.447) + kwargs.get("sr", 0.447 if use_lspp_defaults() else None) ), Field( "sf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_solid_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_solid_model.py index 3739cb525..84b66a6ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_solid_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_solid_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sph_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sph_model.py index be05d3355..51afaf989 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sph_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sph_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sunil.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sunil.py index 086c6165e..b7171b6f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sunil.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_failure_sunil.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mfparm", 0) + kwargs.get("mfparm", 0 if use_lspp_defaults() else None) ), ], ), @@ -207,7 +208,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_layup.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_layup.py index dabba8452..92470f7ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_layup.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_layup.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_matrix.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_matrix.py index 34563170c..852bac11f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_matrix.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_matrix.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc.py index 7e368bbb7..48d4e7a18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("amodel", 1) + kwargs.get("amodel", 1 if use_lspp_defaults() else None) ), Field( "phic", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc_dmg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc_dmg.py index b7dd39fd4..8862b6b08 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc_dmg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_msc_dmg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -324,7 +325,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("amodel", 1) + kwargs.get("amodel", 1 if use_lspp_defaults() else None) ), Field( "phic", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_tabulated_plasticity_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_tabulated_plasticity_damage.py index c4615157e..32ade09fc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_tabulated_plasticity_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_composite_tabulated_plasticity_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,35 +127,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ptol", 10e-6) + kwargs.get("ptol", 10e-6 if use_lspp_defaults() else None) ), Field( "aopt", float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "filt", float, 60, 10, - kwargs.get("filt", 0.0) + kwargs.get("filt", 0.0 if use_lspp_defaults() else None) ), Field( "vevp", int, 70, 10, - kwargs.get("vevp", 0) + kwargs.get("vevp", 0 if use_lspp_defaults() else None) ), ], ), @@ -246,21 +247,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("d3", 0) + kwargs.get("d3", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 60, 10, - kwargs.get("beta", 0) + kwargs.get("beta", 0 if use_lspp_defaults() else None) ), Field( "tcsym", int, 70, 10, - kwargs.get("tcsym", 0) + kwargs.get("tcsym", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,14 +314,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("h44", 3.0) + kwargs.get("h44", 3.0 if use_lspp_defaults() else None) ), Field( "h55", float, 70, 10, - kwargs.get("h55", 3.0) + kwargs.get("h55", 3.0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("h66", 3.0) + kwargs.get("h66", 3.0 if use_lspp_defaults() else None) ), Field( "lt1", @@ -433,7 +434,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("dflag", 0) + kwargs.get("dflag", 0 if use_lspp_defaults() else None) ), Field( "dc", @@ -451,7 +452,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ftype", 0) + kwargs.get("ftype", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -571,42 +572,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("beta11", 0.001) + kwargs.get("beta11", 0.001 if use_lspp_defaults() else None) ), Field( "beta22", float, 10, 10, - kwargs.get("beta22", 0.001) + kwargs.get("beta22", 0.001 if use_lspp_defaults() else None) ), Field( "beta33", float, 20, 10, - kwargs.get("beta33", 0.001) + kwargs.get("beta33", 0.001 if use_lspp_defaults() else None) ), Field( "beta44", float, 30, 10, - kwargs.get("beta44", 0.001) + kwargs.get("beta44", 0.001 if use_lspp_defaults() else None) ), Field( "beta55", float, 40, 10, - kwargs.get("beta55", 0.001) + kwargs.get("beta55", 0.001 if use_lspp_defaults() else None) ), Field( "beta66", float, 50, 10, - kwargs.get("beta66", 0.001) + kwargs.get("beta66", 0.001 if use_lspp_defaults() else None) ), Field( "beta12", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_comprf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_comprf.py index 32db8121c..36239cf99 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_comprf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_comprf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_beam.py index 87e17fe20..a57f48e71 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", float, 70, 10, - kwargs.get("tdel", 10.0E+20) + kwargs.get("tdel", 10.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -119,14 +120,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -137,14 +138,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("noten", 0) + kwargs.get("noten", 0 if use_lspp_defaults() else None) ), Field( "tencut", float, 10, 10, - kwargs.get("tencut", 1.0E+15) + kwargs.get("tencut", 1.0E+15 if use_lspp_defaults() else None) ), Field( "sdr", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage.py index 2bd7b38ed..c555d8605 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_plastic_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_plastic_model.py index e89f93348..e33fe5a20 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_plastic_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_plastic_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("pr", 0.2) + kwargs.get("pr", 0.2 if use_lspp_defaults() else None) ), Field( "ecc", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("qh0", 0.3) + kwargs.get("qh0", 0.3 if use_lspp_defaults() else None) ), Field( "ft", @@ -105,49 +106,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("hp", 0.5) + kwargs.get("hp", 0.5 if use_lspp_defaults() else None) ), Field( "ah", float, 10, 10, - kwargs.get("ah", 0.08) + kwargs.get("ah", 0.08 if use_lspp_defaults() else None) ), Field( "bh", float, 20, 10, - kwargs.get("bh", 0.003) + kwargs.get("bh", 0.003 if use_lspp_defaults() else None) ), Field( "ch", float, 30, 10, - kwargs.get("ch", 2.0) + kwargs.get("ch", 2.0 if use_lspp_defaults() else None) ), Field( "dh", float, 40, 10, - kwargs.get("dh", 1.0E-6) + kwargs.get("dh", 1.0E-6 if use_lspp_defaults() else None) ), Field( "as", float, 50, 10, - kwargs.get("as", 15.0) + kwargs.get("as", 15.0 if use_lspp_defaults() else None) ), Field( "df", float, 60, 10, - kwargs.get("df", 0.85) + kwargs.get("df", 0.85 if use_lspp_defaults() else None) ), Field( "fc0", @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("type", 0.0) + kwargs.get("type", 0.0 if use_lspp_defaults() else None) ), Field( "bs", float, 10, 10, - kwargs.get("bs", 1.0) + kwargs.get("bs", 1.0 if use_lspp_defaults() else None) ), Field( "wf", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("strflg", 0.0) + kwargs.get("strflg", 0.0 if use_lspp_defaults() else None) ), Field( "failflg", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("efc", 1.0E-4) + kwargs.get("efc", 1.0E-4 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_rel3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_rel3.py index 4bf425e58..28ba7182f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_rel3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_damage_rel3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_ec2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_ec2.py index 8b954390e..3be28eddd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_ec2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_concrete_ec2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("typec", 1.0) + kwargs.get("typec", 1.0 if use_lspp_defaults() else None) ), Field( "unitc", float, 50, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "ecuten", float, 60, 10, - kwargs.get("ecuten", 0.0025) + kwargs.get("ecuten", 0.0025 if use_lspp_defaults() else None) ), Field( "fcc", @@ -119,28 +120,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("mu", 0.4) + kwargs.get("mu", 0.4 if use_lspp_defaults() else None) ), Field( "taumxf", float, 30, 10, - kwargs.get("taumxf", 1.E20) + kwargs.get("taumxf", 1.E20 if use_lspp_defaults() else None) ), Field( "taumxc", float, 40, 10, - kwargs.get("taumxc", 1.161) + kwargs.get("taumxc", 1.161 if use_lspp_defaults() else None) ), Field( "ecragg", float, 50, 10, - kwargs.get("ecragg", 0.001) + kwargs.get("ecragg", 0.001 if use_lspp_defaults() else None) ), Field( "aggsz", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("unitl", 1.0) + kwargs.get("unitl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("typer", 1.0) + kwargs.get("typer", 1.0 if use_lspp_defaults() else None) ), Field( "fracrx", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("prt36 ", 0.25) + kwargs.get("prt36 ", 0.25 if use_lspp_defaults() else None) ), Field( "ecut36", @@ -267,14 +268,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("ishchk", 0) + kwargs.get("ishchk", 0 if use_lspp_defaults() else None) ), Field( "unlfac", float, 70, 10, - kwargs.get("unlfac", 0.5) + kwargs.get("unlfac", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -306,7 +307,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("a1", 1.E20) + kwargs.get("a1", 1.E20 if use_lspp_defaults() else None) ), Field( "a2", @@ -384,7 +385,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("typesc", 1) + kwargs.get("typesc", 1 if use_lspp_defaults() else None) ), Field( "p_or_f", @@ -412,21 +413,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("erodet", 2.0) + kwargs.get("erodet", 2.0 if use_lspp_defaults() else None) ), Field( "erodec", float, 50, 10, - kwargs.get("erodec", 0.01) + kwargs.get("erodec", 0.01 if use_lspp_defaults() else None) ), Field( "eroder", float, 60, 10, - kwargs.get("eroder", 0.05) + kwargs.get("eroder", 0.05 if use_lspp_defaults() else None) ), Field( "tmpoff", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr2.py index 0d6b7f1d8..3f6d4a63c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,14 +127,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("expn", 8.0) + kwargs.get("expn", 8.0 if use_lspp_defaults() else None) ), Field( "expt", float, 40, 10, - kwargs.get("expt", 8.0) + kwargs.get("expt", 8.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr3.py index cc89c44ef..aea3bb049 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_constrained_spr3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("model", 1) + kwargs.get("model", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_corus_vegter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_corus_vegter.py index 35dbb31ff..508b9a477 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_corus_vegter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_corus_vegter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_crushable_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_crushable_foam.py index 5e2e1751b..fb4f3de31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_crushable_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_crushable_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("model", 0) + kwargs.get("model", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm.py index 9bddf2740..16fdf28ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "incre", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "erode", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("recov", 0) + kwargs.get("recov", 0 if use_lspp_defaults() else None) ), Field( "itretrc", int, 70, 10, - kwargs.get("itretrc", 0) + kwargs.get("itretrc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm_concrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm_concrete.py index 4ec9d231f..5de29785e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm_concrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cscm_concrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "incre", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "erode", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("recov", 0) + kwargs.get("recov", 0 if use_lspp_defaults() else None) ), Field( "itretrc", int, 70, 10, - kwargs.get("itretrc", 0) + kwargs.get("itretrc", 0 if use_lspp_defaults() else None) ), ], ), @@ -130,7 +131,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cwm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cwm.py index 358b5da41..5d8d07b3e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cwm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_cwm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_1.py index d39ac8271..a65b234ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), Field( "flag", int, 70, 10, - kwargs.get("flag", 0) + kwargs.get("flag", 0 if use_lspp_defaults() else None) ), ], ), @@ -193,21 +194,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("l", 1.5) + kwargs.get("l", 1.5 if use_lspp_defaults() else None) ), Field( "m", float, 60, 10, - kwargs.get("m", 1.5) + kwargs.get("m", 1.5 if use_lspp_defaults() else None) ), Field( "n", float, 70, 10, - kwargs.get("n", 1.5) + kwargs.get("n", 1.5 if use_lspp_defaults() else None) ), ], ), @@ -239,7 +240,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_2.py index a5f6e47c2..7ca8f8d34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -105,28 +106,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("c", 0) + kwargs.get("c", 0 if use_lspp_defaults() else None) ), Field( "p", float, 10, 10, - kwargs.get("p", 0) + kwargs.get("p", 0 if use_lspp_defaults() else None) ), Field( "lcss", int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,7 +152,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_3.py index bd836057f..3cbf321d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damage_3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idamage", 0) + kwargs.get("idamage", 0 if use_lspp_defaults() else None) ), Field( "ids", int, 10, 10, - kwargs.get("ids", 0) + kwargs.get("ids", 0 if use_lspp_defaults() else None) ), Field( "idep", int, 20, 10, - kwargs.get("idep", 0) + kwargs.get("idep", 0 if use_lspp_defaults() else None) ), Field( "epsd", @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("t", 1) + kwargs.get("t", 1 if use_lspp_defaults() else None) ), Field( "dc", float, 60, 10, - kwargs.get("dc", 0.5) + kwargs.get("dc", 0.5 if use_lspp_defaults() else None) ), Field( "khflg", int, 70, 10, - kwargs.get("khflg", 0) + kwargs.get("khflg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_nonlinear_viscous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_nonlinear_viscous.py index 3dda43a22..993a18016 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_nonlinear_viscous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_nonlinear_viscous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_viscous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_viscous.py index 918091f4c..060094dfd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_viscous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_damper_viscous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_deshpande_fleck_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_deshpande_fleck_foam.py index c52537893..39ca195d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_deshpande_fleck_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_deshpande_fleck_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("derfi", 0) + kwargs.get("derfi", 0 if use_lspp_defaults() else None) ), Field( "cfail", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("num", 1000) + kwargs.get("num", 1000 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_discrete_beam_point_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_discrete_beam_point_contact.py index d8da692e9..dc04ef7d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_discrete_beam_point_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_discrete_beam_point_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("dmxpz", 1.e20) + kwargs.get("dmxpz", 1.e20 if use_lspp_defaults() else None) ), Field( "limpz", @@ -98,28 +99,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dmxpx", 1.e20) + kwargs.get("dmxpx", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxnx", float, 10, 10, - kwargs.get("dmxnx", 1.e20) + kwargs.get("dmxnx", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxpy", float, 20, 10, - kwargs.get("dmxpy", 1.e20) + kwargs.get("dmxpy", 1.e20 if use_lspp_defaults() else None) ), Field( "dmxny", float, 30, 10, - kwargs.get("dmxny", 1.e20) + kwargs.get("dmxny", 1.e20 if use_lspp_defaults() else None) ), Field( "limpx", @@ -200,14 +201,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dbondh", 1.e20) + kwargs.get("dbondh", 1.e20 if use_lspp_defaults() else None) ), Field( "dbondt", float, 70, 10, - kwargs.get("dbondt", 1.e20) + kwargs.get("dbondt", 1.e20 if use_lspp_defaults() else None) ), ], ), @@ -218,7 +219,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcz", 0) + kwargs.get("lcz", 0 if use_lspp_defaults() else None) ), Field( "dampz", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("afac", 1.0) + kwargs.get("afac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_drucker_prager.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_drucker_prager.py index ef06f8663..4a7389efe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_drucker_prager.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_drucker_prager.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rkf", 1.0) + kwargs.get("rkf", 1.0 if use_lspp_defaults() else None) ), Field( "phi", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("str_lim", 5.0E-03) + kwargs.get("str_lim", 5.0E-03 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_dry_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_dry_fabric.py index ec310457e..cf0cfd8d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_dry_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_dry_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_eight_chain_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_eight_chain_rubber.py index 32d807cde..145b614b3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_eight_chain_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_eight_chain_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "mull", int, 50, 10, - kwargs.get("mull", 1) + kwargs.get("mull", 1 if use_lspp_defaults() else None) ), Field( "vispl", int, 60, 10, - kwargs.get("vispl", 0) + kwargs.get("vispl", 0 if use_lspp_defaults() else None) ), Field( "visel", int, 70, 10, - kwargs.get("visel", 0) + kwargs.get("visel", 0 if use_lspp_defaults() else None) ), ], ), @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vcon", 9.0) + kwargs.get("vcon", 9.0 if use_lspp_defaults() else None) ), ], ), @@ -324,14 +325,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic.py index 2c93263a0..d24eadef4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_6dof_spring_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_6dof_spring_discrete_beam.py index 8bfa79779..630870d93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_6dof_spring_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_6dof_spring_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_fluid.py index 037c91203..dcf8b3551 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("k", 0) + kwargs.get("k", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cp", 1.0E+20) + kwargs.get("cp", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri.py index 2dde64a4c..7404b65dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("gt", 1.0E20) + kwargs.get("gt", 1.0E20 if use_lspp_defaults() else None) ), Field( "gs", float, 40, 10, - kwargs.get("gs", 1.0E20) + kwargs.get("gs", 1.0E20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri_laminate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri_laminate.py index 6e26b9fff..c1b52d900 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri_laminate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_peri_laminate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_phase_change.py index fb6b36131..842df3ad0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,7 +152,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro.py index 8099e35a7..72b27ea85 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_spall.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_spall.py index 60fc1a1c4..f81132d3a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_spall.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_spall.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("spall", 1.0) + kwargs.get("spall", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_stochastic.py index 23db892b2..2ef309e26 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_hydro_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_thermal.py index 3fe15f281..1fdcea076 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_plastic_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_spring_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_spring_discrete_beam.py index 79c2788a0..dfd6adce8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_spring_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_spring_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("dle", 1.0) + kwargs.get("dle", 1.0 if use_lspp_defaults() else None) ), Field( "glcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_viscoplastic_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_viscoplastic_thermal.py index a5c00aae7..d67fa3d49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_viscoplastic_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_viscoplastic_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity.py index b579adc29..0ac26bbb8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity_curve.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity_curve.py index f441cb1bb..cbb3e2d62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity_curve.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_elastic_with_viscosity_curve.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("v_log", 0.0) + kwargs.get("v_log", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_emmi.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_emmi.py index c4a82b873..ae080f534 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_emmi.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_emmi.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage.py index 694048dc3..d6d210dbb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "fbrt", @@ -299,7 +300,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ycfac", 2.0) + kwargs.get("ycfac", 2.0 if use_lspp_defaults() else None) ), Field( "dfailt", @@ -366,7 +367,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("crit", 54.0) + kwargs.get("crit", 54.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -412,7 +413,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("soft2", 1.0) + kwargs.get("soft2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -465,7 +466,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("softg", 1.0) + kwargs.get("softg", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage_model.py index 34544756e..d6bef0b4e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_enhanced_composite_damage_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "fbrt", @@ -299,7 +300,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ycfac", 2.0) + kwargs.get("ycfac", 2.0 if use_lspp_defaults() else None) ), Field( "dfailt", @@ -366,7 +367,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("crit", 54.0) + kwargs.get("crit", 54.0 if use_lspp_defaults() else None) ), Field( "beta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_extended_3_parameter_barlat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_extended_3_parameter_barlat.py index 6abd9832e..dd752dbe7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_extended_3_parameter_barlat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_extended_3_parameter_barlat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric.py index 88e141c1a..74241d922 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "el", @@ -193,28 +194,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("lnrc", 0.0) + kwargs.get("lnrc", 0.0 if use_lspp_defaults() else None) ), Field( "form", int, 50, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "fvopt", int, 60, 10, - kwargs.get("fvopt", 0) + kwargs.get("fvopt", 0 if use_lspp_defaults() else None) ), Field( "tsrfac", float, 70, 10, - kwargs.get("tsrfac", 0) + kwargs.get("tsrfac", 0 if use_lspp_defaults() else None) ), ], ), @@ -239,7 +240,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("a0ref", 0) + kwargs.get("a0ref", 0 if use_lspp_defaults() else None) ), Field( "a1", @@ -334,7 +335,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("isrefg", 0) + kwargs.get("isrefg", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lca", 0) + kwargs.get("lca", 0 if use_lspp_defaults() else None) ), Field( "lcb", int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 20, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcua", int, 30, 10, - kwargs.get("lcua", 0) + kwargs.get("lcua", 0 if use_lspp_defaults() else None) ), Field( "lcub", int, 40, 10, - kwargs.get("lcub", 0) + kwargs.get("lcub", 0 if use_lspp_defaults() else None) ), Field( "lcuab", int, 50, 10, - kwargs.get("lcuab", 0) + kwargs.get("lcuab", 0 if use_lspp_defaults() else None) ), Field( "rl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric_map.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric_map.py index 01e03dbb7..883860cf4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric_map.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fabric_map.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -137,14 +138,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("isrefg", 0.0) + kwargs.get("isrefg", 0.0 if use_lspp_defaults() else None) ), Field( "cse", float, 10, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "srfac", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil.py index cf78da9e6..3b05f74c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "spgrav", @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rhowat", 1.0) + kwargs.get("rhowat", 1.0 if use_lspp_defaults() else None) ), Field( "vn", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("intrmx", 1) + kwargs.get("intrmx", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil_nebraska.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil_nebraska.py index 1ed97a694..c29e6b492 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil_nebraska.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fhwa_soil_nebraska.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_finite_elastic_strain_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_finite_elastic_strain_plasticity.py index 43587d21e..1602326e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_finite_elastic_strain_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_finite_elastic_strain_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_3_parameter_barlat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_3_parameter_barlat.py index 9bed2b7fb..883c64379 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_3_parameter_barlat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_3_parameter_barlat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_transversely_anisotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_transversely_anisotropic.py index 9fccae1d9..a836e6ae4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_transversely_anisotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fld_transversely_anisotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcfld", 0) + kwargs.get("lcfld", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_force_limited.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_force_limited.py index 12e3de7b1..fd6043263 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_force_limited.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_force_limited.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iaflc", 0) + kwargs.get("iaflc", 0 if use_lspp_defaults() else None) ), Field( "ytflag", float, 60, 10, - kwargs.get("ytflag", 0.0) + kwargs.get("ytflag", 0.0 if use_lspp_defaults() else None) ), Field( "asoft", @@ -172,49 +173,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 20, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 30, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "lc5", int, 40, 10, - kwargs.get("lc5", 0) + kwargs.get("lc5", 0 if use_lspp_defaults() else None) ), Field( "lc6", int, 50, 10, - kwargs.get("lc6", 0) + kwargs.get("lc6", 0 if use_lspp_defaults() else None) ), Field( "lc7", int, 60, 10, - kwargs.get("lc7", 0) + kwargs.get("lc7", 0 if use_lspp_defaults() else None) ), Field( "lc8", int, 70, 10, - kwargs.get("lc8", 0) + kwargs.get("lc8", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,35 +226,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lps1", 0) + kwargs.get("lps1", 0 if use_lspp_defaults() else None) ), Field( "sfs1", float, 10, 10, - kwargs.get("sfs1", 1.0) + kwargs.get("sfs1", 1.0 if use_lspp_defaults() else None) ), Field( "lps2", int, 20, 10, - kwargs.get("lps2", 0) + kwargs.get("lps2", 0 if use_lspp_defaults() else None) ), Field( "sfs2", float, 30, 10, - kwargs.get("sfs2", 1.0) + kwargs.get("sfs2", 1.0 if use_lspp_defaults() else None) ), Field( "yms1", float, 40, 10, - kwargs.get("yms1", 1.0E+20) + kwargs.get("yms1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "yms2", @@ -271,35 +272,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpt1", 0) + kwargs.get("lpt1", 0 if use_lspp_defaults() else None) ), Field( "sft1", float, 10, 10, - kwargs.get("sft1", 1.0) + kwargs.get("sft1", 1.0 if use_lspp_defaults() else None) ), Field( "lpt2", int, 20, 10, - kwargs.get("lpt2", 0) + kwargs.get("lpt2", 0 if use_lspp_defaults() else None) ), Field( "sft2", float, 30, 10, - kwargs.get("sft2", 1.0) + kwargs.get("sft2", 1.0 if use_lspp_defaults() else None) ), Field( "ymt1", float, 40, 10, - kwargs.get("ymt1", 1.0E+20) + kwargs.get("ymt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ymt2", @@ -317,21 +318,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpr", 0) + kwargs.get("lpr", 0 if use_lspp_defaults() else None) ), Field( "sfr", float, 10, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "ymr", float, 20, 10, - kwargs.get("ymr", 1.0E+20) + kwargs.get("ymr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber.py index c25ded199..aaa764a25 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,7 +180,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber_model.py index a81155ef9..39ecbfa0c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_frazer_nash_rubber_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,7 +180,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam.py index 2d3f57c14..fa9990ddd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_damage_decay.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_damage_decay.py index 30a54c77d..35ca505e9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_damage_decay.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_damage_decay.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -204,14 +205,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_log_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_log_log_interpolation.py index a25594f8e..ecc9a8d1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_log_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_fu_chang_foam_log_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "fail", float, 50, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "sflag", float, 10, 10, - kwargs.get("sflag", 0.0) + kwargs.get("sflag", 0.0 if use_lspp_defaults() else None) ), Field( "rflag", float, 20, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "tflag", float, 30, 10, - kwargs.get("tflag", 0.0) + kwargs.get("tflag", 0.0 if use_lspp_defaults() else None) ), Field( "pvid", int, 40, 10, - kwargs.get("pvid", 0) + kwargs.get("pvid", 0 if use_lspp_defaults() else None) ), Field( "sraf", float, 50, 10, - kwargs.get("sraf", 0.0) + kwargs.get("sraf", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "hu", float, 70, 10, - kwargs.get("hu", 0.0) + kwargs.get("hu", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -285,14 +286,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("expon", 1.0) + kwargs.get("expon", 1.0 if use_lspp_defaults() else None) ), Field( "riuld", float, 10, 10, - kwargs.get("riuld", 0.0) + kwargs.get("riuld", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gas_mixture.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gas_mixture.py index f8dd63cd4..887b0c5eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gas_mixture.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gas_mixture.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iadiab", 0) + kwargs.get("iadiab", 0 if use_lspp_defaults() else None) ), Field( "runiv", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_joint_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_joint_discrete_beam.py index 2817c4482..93907be3b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_joint_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_joint_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_1dof_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_1dof_discrete_beam.py index 906a347b5..df143c6d8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_1dof_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_1dof_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_6dof_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_6dof_discrete_beam.py index 228858bf5..3e64a64ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_6dof_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_nonlinear_6dof_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_spring_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_spring_discrete_beam.py index d38f48aa9..8ba309595 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_spring_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_spring_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("dospot", 0) + kwargs.get("dospot", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic.py index 7369f73d4..bbaf7079c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ef", 0) + kwargs.get("ef", 0 if use_lspp_defaults() else None) ), Field( "tref", @@ -112,14 +113,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), Field( "bstart", float, 20, 10, - kwargs.get("bstart", 0.01) + kwargs.get("bstart", 0.01 if use_lspp_defaults() else None) ), Field( "tramp", @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ntk", 6) + kwargs.get("ntk", 6 if use_lspp_defaults() else None) ), Field( "bstartk", float, 60, 10, - kwargs.get("bstartk", 0.01) + kwargs.get("bstartk", 0.01 if use_lspp_defaults() else None) ), Field( "trampk", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic_moisture.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic_moisture.py index c5694e0af..6eb024b51 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic_moisture.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_general_viscoelastic_moisture.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ef", 0) + kwargs.get("ef", 0 if use_lspp_defaults() else None) ), Field( "tref", @@ -112,14 +113,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), Field( "bstart", float, 20, 10, - kwargs.get("bstart", 0.01) + kwargs.get("bstart", 0.01 if use_lspp_defaults() else None) ), Field( "tramp", @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ntk", 6) + kwargs.get("ntk", 6 if use_lspp_defaults() else None) ), Field( "bstartk", float, 60, 10, - kwargs.get("bstartk", 0.01) + kwargs.get("bstartk", 0.01 if use_lspp_defaults() else None) ), Field( "trampk", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_generalized_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_generalized_phase_change.py index aaa0e6012..e14c4bd42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_generalized_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_generalized_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geologic_cap_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geologic_cap_model.py index 0f896a01f..00b86c9b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geologic_cap_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geologic_cap_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,21 +152,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("plot", 1.0) + kwargs.get("plot", 1.0 if use_lspp_defaults() else None) ), Field( "ftype", float, 10, 10, - kwargs.get("ftype", 1.0) + kwargs.get("ftype", 1.0 if use_lspp_defaults() else None) ), Field( "vec", float, 20, 10, - kwargs.get("vec", 0.0) + kwargs.get("vec", 0.0 if use_lspp_defaults() else None) ), Field( "toff", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geplastic_srate_2000a.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geplastic_srate_2000a.py index 9222f7d9c..b49a0ff32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geplastic_srate_2000a.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_geplastic_srate_2000a.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_glass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_glass.py index 0c505d5a8..2950390eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_glass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_glass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("imod", 0.0) + kwargs.get("imod", 0.0 if use_lspp_defaults() else None) ), Field( "ilaw", float, 70, 10, - kwargs.get("ilaw", 0.0) + kwargs.get("ilaw", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmod", 0.0) + kwargs.get("fmod", 0.0 if use_lspp_defaults() else None) ), Field( "ft", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ftscl", 1.0) + kwargs.get("ftscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -179,7 +180,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("crin", 0.0) + kwargs.get("crin", 0.0 if use_lspp_defaults() else None) ), Field( "ecrcl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson.py index 58cfbe35d..3c95dc1ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), Field( "lcf0", int, 30, 10, - kwargs.get("lcf0", 0) + kwargs.get("lcf0", 0 if use_lspp_defaults() else None) ), Field( "lcfc", int, 40, 10, - kwargs.get("lcfc", 0) + kwargs.get("lcfc", 0 if use_lspp_defaults() else None) ), Field( "lcfn", int, 50, 10, - kwargs.get("lcfn", 0) + kwargs.get("lcfn", 0 if use_lspp_defaults() else None) ), Field( "vgtyp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_jc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_jc.py index 453a0f11d..2f591c1b7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_jc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_jc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,42 +346,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), Field( "lcf0", int, 30, 10, - kwargs.get("lcf0", 0) + kwargs.get("lcf0", 0 if use_lspp_defaults() else None) ), Field( "lcfc", int, 40, 10, - kwargs.get("lcfc", 0) + kwargs.get("lcfc", 0 if use_lspp_defaults() else None) ), Field( "lcfn", int, 50, 10, - kwargs.get("lcfn", 0) + kwargs.get("lcfn", 0 if use_lspp_defaults() else None) ), Field( "vgtyp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_rcdc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_rcdc.py index fc8c6850f..7c09e1e58 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_rcdc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_gurson_rcdc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("atyp", 1) + kwargs.get("atyp", 1 if use_lspp_defaults() else None) ), Field( "ff0", @@ -345,21 +346,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lclf", int, 10, 10, - kwargs.get("lclf", 0) + kwargs.get("lclf", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 20, 10, - kwargs.get("numint", 1) + kwargs.get("numint", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_heart_tissue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_heart_tissue.py index c824bb81f..806abdc70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_heart_tissue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_heart_tissue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_high_explosive_burn.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_high_explosive_burn.py index 573aeffde..42c66dae4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_high_explosive_burn.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_high_explosive_burn.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "k", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r.py index 56a5c5c0f..001a31be8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_3d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_3d.py index ad8bdc997..5739fc653 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_3d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_3d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("hr", 1) + kwargs.get("hr", 1 if use_lspp_defaults() else None) ), Field( "p1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_tabulated.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_tabulated.py index 8d57c5c0b..5e1386b97 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_tabulated.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_3r_tabulated.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_90.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_90.py index 8b0e8eebb..13e14c5e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_90.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_90.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", float, 50, 10, - kwargs.get("p1", 1.0) + kwargs.get("p1", 1.0 if use_lspp_defaults() else None) ), Field( "p2", float, 60, 10, - kwargs.get("p2", 1.0) + kwargs.get("p2", 1.0 if use_lspp_defaults() else None) ), Field( "iter", float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -370,7 +371,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("usrfail", 0) + kwargs.get("usrfail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_foam.py index 5adc59ca8..c68752f9a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hill_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,35 +67,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nu", float, 40, 10, - kwargs.get("nu", 0) + kwargs.get("nu", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "fittype", int, 60, 10, - kwargs.get("fittype", 1) + kwargs.get("fittype", 1 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_honeycomb.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_honeycomb.py index 31c875ee6..58c06b573 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_honeycomb.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_honeycomb.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mu", 5.0E-02) + kwargs.get("mu", 5.0E-02 if use_lspp_defaults() else None) ), Field( "bulk", float, 70, 10, - kwargs.get("bulk", 0.0) + kwargs.get("bulk", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,49 +113,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcc", int, 20, 10, - kwargs.get("lcc", 0) + kwargs.get("lcc", 0 if use_lspp_defaults() else None) ), Field( "lcs", int, 30, 10, - kwargs.get("lcs", 0) + kwargs.get("lcs", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 40, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcbc", int, 50, 10, - kwargs.get("lcbc", 0) + kwargs.get("lcbc", 0 if use_lspp_defaults() else None) ), Field( "lcca", int, 60, 10, - kwargs.get("lcca", 0) + kwargs.get("lcca", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hot_plate_rolling.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hot_plate_rolling.py index 7b63e8854..3133d6c80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hot_plate_rolling.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hot_plate_rolling.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "vp", float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "tol", float, 70, 10, - kwargs.get("tol", 1.0) + kwargs.get("tol", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hydraulic_gas_damper_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hydraulic_gas_damper_discrete_beam.py index 3fa60cdc7..bef8ae054 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hydraulic_gas_damper_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hydraulic_gas_damper_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sclf", 1.0) + kwargs.get("sclf", 1.0 if use_lspp_defaults() else None) ), Field( "clear", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_beam.py index 95f5290c1..f73f45110 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iax", 1) + kwargs.get("iax", 1 if use_lspp_defaults() else None) ), Field( "isurf", int, 50, 10, - kwargs.get("isurf", 1) + kwargs.get("isurf", 1 if use_lspp_defaults() else None) ), Field( "ihard", int, 60, 10, - kwargs.get("ihard", 2) + kwargs.get("ihard", 2 if use_lspp_defaults() else None) ), Field( "ifema", int, 70, 10, - kwargs.get("ifema", 0) + kwargs.get("ifema", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), Field( "lcpmt", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "lcat", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfat", 1.0) + kwargs.get("sfat", 1.0 if use_lspp_defaults() else None) ), Field( "lcac", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfac", 1.0) + kwargs.get("sfac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha", 2.0) + kwargs.get("alpha", 2.0 if use_lspp_defaults() else None) ), Field( "beta", float, 10, 10, - kwargs.get("beta", 2.0) + kwargs.get("beta", 2.0 if use_lspp_defaults() else None) ), Field( "gamma", float, 20, 10, - kwargs.get("gamma", 2.0) + kwargs.get("gamma", 2.0 if use_lspp_defaults() else None) ), Field( "f0", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("pinm", 1.0) + kwargs.get("pinm", 1.0 if use_lspp_defaults() else None) ), Field( "pins", float, 50, 10, - kwargs.get("pins", 1.0) + kwargs.get("pins", 1.0 if use_lspp_defaults() else None) ), Field( "hloc1", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfshs", 1.0) + kwargs.get("sfshs", 1.0 if use_lspp_defaults() else None) ), Field( "lcsht", @@ -274,7 +275,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfsht", 1.0) + kwargs.get("sfsht", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -359,14 +360,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("omgmt1", 1.0) + kwargs.get("omgmt1", 1.0 if use_lspp_defaults() else None) ), Field( "omgmt2", float, 30, 10, - kwargs.get("omgmt2", 2.0) + kwargs.get("omgmt2", 2.0 if use_lspp_defaults() else None) ), Field( "omgat1", @@ -387,14 +388,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("omgac1", 1.0) + kwargs.get("omgac1", 1.0 if use_lspp_defaults() else None) ), Field( "omgac2", float, 70, 10, - kwargs.get("omgac2", 2.0) + kwargs.get("omgac2", 2.0 if use_lspp_defaults() else None) ), ], ), @@ -405,28 +406,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rums", 1.0E+20) + kwargs.get("rums", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rumt", float, 10, 10, - kwargs.get("rumt", 1.0E+20) + kwargs.get("rumt", 1.0E+20 if use_lspp_defaults() else None) ), Field( "duat", float, 20, 10, - kwargs.get("duat", 1.0E+20) + kwargs.get("duat", 1.0E+20 if use_lspp_defaults() else None) ), Field( "duac", float, 30, 10, - kwargs.get("duac", 1.0E+20) + kwargs.get("duac", 1.0E+20 if use_lspp_defaults() else None) ), Field( "lam1", @@ -447,14 +448,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("soft1", 3.0) + kwargs.get("soft1", 3.0 if use_lspp_defaults() else None) ), Field( "soft2", float, 70, 10, - kwargs.get("soft2", 4.0) + kwargs.get("soft2", 4.0 if use_lspp_defaults() else None) ), ], ), @@ -465,56 +466,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("prs1", 1.0E+20) + kwargs.get("prs1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "prs2", float, 10, 10, - kwargs.get("prs2", 2.0E+20) + kwargs.get("prs2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "prs3", float, 20, 10, - kwargs.get("prs3", 3.0E+20) + kwargs.get("prs3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "prs4", float, 30, 10, - kwargs.get("prs4", 4.0E+20) + kwargs.get("prs4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "prt1", float, 40, 10, - kwargs.get("prt1", 1.0E+20) + kwargs.get("prt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "prt2", float, 50, 10, - kwargs.get("prt2", 2.0E+20) + kwargs.get("prt2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "prt3", float, 60, 10, - kwargs.get("prt3", 3.0E+20) + kwargs.get("prt3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "prt4", float, 70, 10, - kwargs.get("prt4", 4.0E+20) + kwargs.get("prt4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -525,56 +526,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ts1", 1.0E+20) + kwargs.get("ts1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ts2", float, 10, 10, - kwargs.get("ts2", 2.0E+20) + kwargs.get("ts2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "ts3", float, 20, 10, - kwargs.get("ts3", 3.0E+20) + kwargs.get("ts3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "ts4", float, 30, 10, - kwargs.get("ts4", 4.0E+20) + kwargs.get("ts4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "cs1", float, 40, 10, - kwargs.get("cs1", 1.0E+20) + kwargs.get("cs1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "cs2", float, 50, 10, - kwargs.get("cs2", 2.0E+20) + kwargs.get("cs2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "cs3", float, 60, 10, - kwargs.get("cs3", 3.0E+20) + kwargs.get("cs3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "cs4", float, 70, 10, - kwargs.get("cs4", 4.0E+20) + kwargs.get("cs4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -585,56 +586,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ss1", 1.0E+20) + kwargs.get("ss1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ss2", float, 10, 10, - kwargs.get("ss2", 2.0E+20) + kwargs.get("ss2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "ss3", float, 20, 10, - kwargs.get("ss3", 3.0E+20) + kwargs.get("ss3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "ss4", float, 30, 10, - kwargs.get("ss4", 4.0E+20) + kwargs.get("ss4", 4.0E+20 if use_lspp_defaults() else None) ), Field( "st1", float, 40, 10, - kwargs.get("st1", 1.0E+20) + kwargs.get("st1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "st2", float, 50, 10, - kwargs.get("st2", 2.0E+20) + kwargs.get("st2", 2.0E+20 if use_lspp_defaults() else None) ), Field( "st3", float, 60, 10, - kwargs.get("st3", 3.0E+20) + kwargs.get("st3", 3.0E+20 if use_lspp_defaults() else None) ), Field( "st4", float, 70, 10, - kwargs.get("st4", 4.0E+20) + kwargs.get("st4", 4.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_reinforcement.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_reinforcement.py index 5ff1db94b..c9adc0bb0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_reinforcement.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_reinforcement.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("power", 0.5) + kwargs.get("power", 0.5 if use_lspp_defaults() else None) ), ], ), @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("downsl", 0.1) + kwargs.get("downsl", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -179,14 +180,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "unitl", float, 40, 10, - kwargs.get("unitl", 1.0) + kwargs.get("unitl", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_soil.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_soil.py index 0ec294d1a..289ee94a7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_soil.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_hysteretic_soil.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("a0", 1.0) + kwargs.get("a0", 1.0 if use_lspp_defaults() else None) ), Field( "a1", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sflc", 1.0) + kwargs.get("sflc", 1.0 if use_lspp_defaults() else None) ), Field( "dil_a", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("pinit", 0) + kwargs.get("pinit", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ifpd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ifpd.py index 56df53f95..74a048398 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ifpd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ifpd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_6dof_spring_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_6dof_spring_discrete_beam.py index f639dbce2..207c04589 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_6dof_spring_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_6dof_spring_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_spring_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_spring_discrete_beam.py index c1b3a24d6..e147fb264 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_spring_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inelastic_spring_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin.py index d2e7c7cec..295a5ef09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin_thermal.py index 9f4e42c50..4cf3ec8d6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_inv_hyperbolic_sin_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_failure.py index b3a5513e0..ce89fd996 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_plastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_plastic.py index e616cd401..031c5aa31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_plastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_elastic_plastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_smeared_crack.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_smeared_crack.py index c82a42dcd..4f891fc4c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_smeared_crack.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_isotropic_smeared_crack.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook.py index b3393e6dd..527e66621 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "rateop", float, 70, 10, - kwargs.get("rateop", 0.0) + kwargs.get("rateop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,14 +180,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("spall", 2.0) + kwargs.get("spall", 2.0 if use_lspp_defaults() else None) ), Field( "it", float, 30, 10, - kwargs.get("it", 0.0) + kwargs.get("it", 0.0 if use_lspp_defaults() else None) ), Field( "d1", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("efmin", 0.000001) + kwargs.get("efmin", 0.000001 if use_lspp_defaults() else None) ), Field( "numint", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook_stochastic.py index bcc5b7992..cee07a5cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_cook_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "rateop", float, 70, 10, - kwargs.get("rateop", 0.0) + kwargs.get("rateop", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -179,14 +180,14 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("spall", 2.0) + kwargs.get("spall", 2.0 if use_lspp_defaults() else None) ), Field( "it", float, 30, 10, - kwargs.get("it", 0.0) + kwargs.get("it", 0.0 if use_lspp_defaults() else None) ), Field( "d1", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("efmin", 0.000001) + kwargs.get("efmin", 0.000001 if use_lspp_defaults() else None) ), Field( "numint", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_ceramics.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_ceramics.py index 346aa9c41..9348d5294 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_ceramics.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_ceramics.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_concrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_concrete.py index f455ba77e..5c02690c5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_concrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_concrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_jh1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_jh1.py index 2766c031d..c2a892d24 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_jh1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_johnson_holmquist_jh1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_jointed_rock.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_jointed_rock.py index a20d75407..1d3371be2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_jointed_rock.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_jointed_rock.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rkf", 1.0) + kwargs.get("rkf", 1.0 if use_lspp_defaults() else None) ), Field( "phi", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("str_lim", 0.005) + kwargs.get("str_lim", 0.005 if use_lspp_defaults() else None) ), Field( "nplanes", int, 10, 10, - kwargs.get("nplanes", 0) + kwargs.get("nplanes", 0 if use_lspp_defaults() else None) ), Field( "elastic", int, 20, 10, - kwargs.get("elastic", 0) + kwargs.get("elastic", 0 if use_lspp_defaults() else None) ), Field( "lccpdr", int, 30, 10, - kwargs.get("lccpdr", 0) + kwargs.get("lccpdr", 0 if use_lspp_defaults() else None) ), Field( "lccpt", int, 40, 10, - kwargs.get("lccpt", 0) + kwargs.get("lccpt", 0 if use_lspp_defaults() else None) ), Field( "lccjdr", int, 50, 10, - kwargs.get("lccjdr", 0) + kwargs.get("lccjdr", 0 if use_lspp_defaults() else None) ), Field( "lccjt", int, 60, 10, - kwargs.get("lccjt", 0) + kwargs.get("lccjt", 0 if use_lspp_defaults() else None) ), Field( "lcsfac", int, 70, 10, - kwargs.get("lcsfac", 0) + kwargs.get("lcsfac", 0 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("shrmax", 1.e20) + kwargs.get("shrmax", 1.e20 if use_lspp_defaults() else None) ), Field( "local", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kelvin_maxwell_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kelvin_maxwell_viscoelastic.py index dfa73b660..61645fb09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kelvin_maxwell_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kelvin_maxwell_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fo", 0.0) + kwargs.get("fo", 0.0 if use_lspp_defaults() else None) ), Field( "so", float, 70, 10, - kwargs.get("so", 0.0) + kwargs.get("so", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat2000.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat2000.py index d43ea125d..3533cf096 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat2000.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat2000.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -233,7 +234,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89.py index 8235e8c00..45374f07a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89_nlp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89_nlp.py index c47053264..820f7989e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89_nlp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_barlat89_nlp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic.py index 6c464945d..fc63c8da2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic_nlp.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic_nlp.py index 1f1b3f7d6..5b15b09b4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic_nlp.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_kinematic_hardening_transversely_anisotropic_nlp.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("iopt", 0) + kwargs.get("iopt", 0 if use_lspp_defaults() else None) ), Field( "c1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_camanho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_camanho.py index c5b4eac1d..bd61bd70a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_camanho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_camanho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("daf", 0.0) + kwargs.get("daf", 0.0 if use_lspp_defaults() else None) ), Field( "dkf", float, 50, 10, - kwargs.get("dkf", 0.0) + kwargs.get("dkf", 0.0 if use_lspp_defaults() else None) ), Field( "dmf", float, 60, 10, - kwargs.get("dmf", 0.0) + kwargs.get("dmf", 0.0 if use_lspp_defaults() else None) ), Field( "efs", @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("dsf", 0.0) + kwargs.get("dsf", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -384,7 +385,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fio", 53.0) + kwargs.get("fio", 53.0 if use_lspp_defaults() else None) ), Field( "sigy", @@ -419,14 +420,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("puck", 0.0) + kwargs.get("puck", 0.0 if use_lspp_defaults() else None) ), Field( "soft", float, 60, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "dt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_pinho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_pinho.py index e12042db0..fada3cd03 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_pinho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_fracture_daimler_pinho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("daf", 0.0) + kwargs.get("daf", 0.0 if use_lspp_defaults() else None) ), Field( "dkf", float, 50, 10, - kwargs.get("dkf", 0.0) + kwargs.get("dkf", 0.0 if use_lspp_defaults() else None) ), Field( "dmf", float, 60, 10, - kwargs.get("dmf", 0.0) + kwargs.get("dmf", 0.0 if use_lspp_defaults() else None) ), Field( "efs", @@ -342,7 +343,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fio", 53.0) + kwargs.get("fio", 53.0 if use_lspp_defaults() else None) ), Field( "sigy", @@ -377,14 +378,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("puck", 0.0) + kwargs.get("puck", 0.0 if use_lspp_defaults() else None) ), Field( "soft", float, 60, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_glass.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_glass.py index 7e8fc654f..6f79d6a60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_glass.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_laminated_glass.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -130,56 +131,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("f1", 0.0) + kwargs.get("f1", 0.0 if use_lspp_defaults() else None) ), Field( "f2", float, 10, 10, - kwargs.get("f2", 0.0) + kwargs.get("f2", 0.0 if use_lspp_defaults() else None) ), Field( "f3", float, 20, 10, - kwargs.get("f3", 0.0) + kwargs.get("f3", 0.0 if use_lspp_defaults() else None) ), Field( "f4", float, 30, 10, - kwargs.get("f4", 0.0) + kwargs.get("f4", 0.0 if use_lspp_defaults() else None) ), Field( "f5", float, 40, 10, - kwargs.get("f5", 0.0) + kwargs.get("f5", 0.0 if use_lspp_defaults() else None) ), Field( "f6", float, 50, 10, - kwargs.get("f6", 0.0) + kwargs.get("f6", 0.0 if use_lspp_defaults() else None) ), Field( "f7", float, 60, 10, - kwargs.get("f7", 0.0) + kwargs.get("f7", 0.0 if use_lspp_defaults() else None) ), Field( "f8", float, 70, 10, - kwargs.get("f8", 0.0) + kwargs.get("f8", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_layered_linear_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_layered_linear_plasticity.py index a54905623..c1bafa8b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_layered_linear_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_layered_linear_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_linear_elastic_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_linear_elastic_discrete_beam.py index 091078a5a..5d41dfe9e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_linear_elastic_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_linear_elastic_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lou_yoon_anisotropic_plastictiy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lou_yoon_anisotropic_plastictiy.py index f61176969..b5e05ba02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lou_yoon_anisotropic_plastictiy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lou_yoon_anisotropic_plastictiy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("hr", 1.0) + kwargs.get("hr", 1.0 if use_lspp_defaults() else None) ), Field( "p1", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("iter", 0.0) + kwargs.get("iter", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nfunc", 1) + kwargs.get("nfunc", 1 if use_lspp_defaults() else None) ), Field( "aopt", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "p3", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_foam.py index 645aeb1d2..1e60451e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,21 +67,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tc", float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "hu", float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("shape", 1.0) + kwargs.get("shape", 1.0 if use_lspp_defaults() else None) ), Field( "fail", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam.py index bfb48dc53..055674343 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("damp", .05) + kwargs.get("damp", .05 if use_lspp_defaults() else None) ), ], ), @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "bvflag", float, 20, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "ed", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "tc", @@ -165,7 +166,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("rflag", 0.0) + kwargs.get("rflag", 0.0 if use_lspp_defaults() else None) ), Field( "dtrt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam_ortho.py index f15b49495..482715553 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_synthetic_foam_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("damp", .05) + kwargs.get("damp", .05 if use_lspp_defaults() else None) ), ], ), @@ -112,14 +113,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("fail", 0.0) + kwargs.get("fail", 0.0 if use_lspp_defaults() else None) ), Field( "bvflag", float, 20, 10, - kwargs.get("bvflag", 0.0) + kwargs.get("bvflag", 0.0 if use_lspp_defaults() else None) ), Field( "ed", @@ -147,7 +148,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "tc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_viscous_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_viscous_foam.py index 1fcd3995f..403099742 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_viscous_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_low_density_viscous_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 1.0E+20) + kwargs.get("tc", 1.0E+20 if use_lspp_defaults() else None) ), Field( "hu", float, 50, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "beta", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("shape", 1.0) + kwargs.get("shape", 1.0 if use_lspp_defaults() else None) ), Field( "fail", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcid2", 0) + kwargs.get("lcid2", 0 if use_lspp_defaults() else None) ), Field( "bstart", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("nv", 6) + kwargs.get("nv", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lung_tissue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lung_tissue.py index efb2f02ff..c3214cbc3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lung_tissue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_lung_tissue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "tramp", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mccormick.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mccormick.py index 14add1305..796e043ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mccormick.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mccormick.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_micromechanics_dry_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_micromechanics_dry_fabric.py index 358973885..3ac20debc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_micromechanics_dry_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_micromechanics_dry_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_crushable_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_crushable_foam.py index fd5346c46..09c1604e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_crushable_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_crushable_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_force_limited.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_force_limited.py index 6e2695324..e9769cfd0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_force_limited.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_force_limited.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iaflc", 0) + kwargs.get("iaflc", 0 if use_lspp_defaults() else None) ), Field( "ytflag", float, 60, 10, - kwargs.get("ytflag", 0.0) + kwargs.get("ytflag", 0.0 if use_lspp_defaults() else None) ), Field( "asoft", @@ -172,49 +173,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 20, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 30, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "lc5", int, 40, 10, - kwargs.get("lc5", 0) + kwargs.get("lc5", 0 if use_lspp_defaults() else None) ), Field( "lc6", int, 50, 10, - kwargs.get("lc6", 0) + kwargs.get("lc6", 0 if use_lspp_defaults() else None) ), Field( "lc7", int, 60, 10, - kwargs.get("lc7", 0) + kwargs.get("lc7", 0 if use_lspp_defaults() else None) ), Field( "lc8", int, 70, 10, - kwargs.get("lc8", 0) + kwargs.get("lc8", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,42 +226,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lps1", 0) + kwargs.get("lps1", 0 if use_lspp_defaults() else None) ), Field( "sfs1", float, 10, 10, - kwargs.get("sfs1", 1.0) + kwargs.get("sfs1", 1.0 if use_lspp_defaults() else None) ), Field( "lps2", int, 20, 10, - kwargs.get("lps2", 0) + kwargs.get("lps2", 0 if use_lspp_defaults() else None) ), Field( "sfs2", float, 30, 10, - kwargs.get("sfs2", 1.0) + kwargs.get("sfs2", 1.0 if use_lspp_defaults() else None) ), Field( "yms1", float, 40, 10, - kwargs.get("yms1", 1.0E+20) + kwargs.get("yms1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "yms2", float, 50, 10, - kwargs.get("yms2", 1.0E+20) + kwargs.get("yms2", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -271,42 +272,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpt1", 0) + kwargs.get("lpt1", 0 if use_lspp_defaults() else None) ), Field( "sft1", float, 10, 10, - kwargs.get("sft1", 1.0) + kwargs.get("sft1", 1.0 if use_lspp_defaults() else None) ), Field( "lpt2", int, 20, 10, - kwargs.get("lpt2", 0) + kwargs.get("lpt2", 0 if use_lspp_defaults() else None) ), Field( "sft2", float, 30, 10, - kwargs.get("sft2", 1.0) + kwargs.get("sft2", 1.0 if use_lspp_defaults() else None) ), Field( "ymt1", float, 40, 10, - kwargs.get("ymt1", 1.0E+20) + kwargs.get("ymt1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "ymt2", float, 50, 10, - kwargs.get("ymt2", 1.0E+20) + kwargs.get("ymt2", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -317,21 +318,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpr", 0) + kwargs.get("lpr", 0 if use_lspp_defaults() else None) ), Field( "sfr", float, 10, 10, - kwargs.get("sfr", 1.0) + kwargs.get("sfr", 1.0 if use_lspp_defaults() else None) ), Field( "ymr", float, 20, 10, - kwargs.get("ymr", 1.0E+20) + kwargs.get("ymr", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -342,56 +343,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lys1", 0) + kwargs.get("lys1", 0 if use_lspp_defaults() else None) ), Field( "sys1", float, 10, 10, - kwargs.get("sys1", 1.0) + kwargs.get("sys1", 1.0 if use_lspp_defaults() else None) ), Field( "lys2", int, 20, 10, - kwargs.get("lys2", 0) + kwargs.get("lys2", 0 if use_lspp_defaults() else None) ), Field( "sys2", float, 30, 10, - kwargs.get("sys2", 1.0) + kwargs.get("sys2", 1.0 if use_lspp_defaults() else None) ), Field( "lyt1", int, 40, 10, - kwargs.get("lyt1", 0) + kwargs.get("lyt1", 0 if use_lspp_defaults() else None) ), Field( "syt1", float, 50, 10, - kwargs.get("syt1", 1.0) + kwargs.get("syt1", 1.0 if use_lspp_defaults() else None) ), Field( "lyt2", int, 60, 10, - kwargs.get("lyt2", 0) + kwargs.get("lyt2", 0 if use_lspp_defaults() else None) ), Field( "syt2", float, 70, 10, - kwargs.get("syt2", 1.0) + kwargs.get("syt2", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -402,14 +403,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lyr", 0) + kwargs.get("lyr", 0 if use_lspp_defaults() else None) ), Field( "syr", float, 10, 10, - kwargs.get("syr", 1.0) + kwargs.get("syr", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -960,56 +961,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lpmr_1", 0) + kwargs.get("lpmr_1", 0 if use_lspp_defaults() else None) ), Field( "lpmr_2", int, 10, 10, - kwargs.get("lpmr_2", 0) + kwargs.get("lpmr_2", 0 if use_lspp_defaults() else None) ), Field( "lpmr_3", int, 20, 10, - kwargs.get("lpmr_3", 0) + kwargs.get("lpmr_3", 0 if use_lspp_defaults() else None) ), Field( "lpmr_4", int, 30, 10, - kwargs.get("lpmr_4", 0) + kwargs.get("lpmr_4", 0 if use_lspp_defaults() else None) ), Field( "lpmr_5", int, 40, 10, - kwargs.get("lpmr_5", 0) + kwargs.get("lpmr_5", 0 if use_lspp_defaults() else None) ), Field( "lpmr_6", int, 50, 10, - kwargs.get("lpmr_6", 0) + kwargs.get("lpmr_6", 0 if use_lspp_defaults() else None) ), Field( "lpmr_7", int, 60, 10, - kwargs.get("lpmr_7", 0) + kwargs.get("lpmr_7", 0 if use_lspp_defaults() else None) ), Field( "lpmr_8", int, 70, 10, - kwargs.get("lpmr_8", 0) + kwargs.get("lpmr_8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_honeycomb.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_honeycomb.py index d257a6bb8..d200c0393 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_honeycomb.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_honeycomb.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("mu", 5.0E-02) + kwargs.get("mu", 5.0E-02 if use_lspp_defaults() else None) ), Field( "bulk", float, 70, 10, - kwargs.get("bulk", 0.0) + kwargs.get("bulk", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,49 +113,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcb", 0) + kwargs.get("lcb", 0 if use_lspp_defaults() else None) ), Field( "lcc", int, 20, 10, - kwargs.get("lcc", 0) + kwargs.get("lcc", 0 if use_lspp_defaults() else None) ), Field( "lcs", int, 30, 10, - kwargs.get("lcs", 0) + kwargs.get("lcs", 0 if use_lspp_defaults() else None) ), Field( "lcab", int, 40, 10, - kwargs.get("lcab", 0) + kwargs.get("lcab", 0 if use_lspp_defaults() else None) ), Field( "lcbc", int, 50, 10, - kwargs.get("lcbc", 0) + kwargs.get("lcbc", 0 if use_lspp_defaults() else None) ), Field( "lcca", int, 60, 10, - kwargs.get("lcca", 0) + kwargs.get("lcca", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -214,7 +215,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -320,7 +321,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("shdflg", 0.0) + kwargs.get("shdflg", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_johnson_cook.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_johnson_cook.py index e07e687a0..71b02b9bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_johnson_cook.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_johnson_cook.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MatModifiedJohnsonCook(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity.py index 589f5dbbf..36066fd80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_log_interpolation.py index 34c7e58d7..2f1d8cc1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_prestrain.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_prestrain.py index 6e4a1d8a4..a44912856 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_prestrain.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_prestrain.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MatModifiedPiecewiseLinearPlasticityPrestrain(KeywordBase): @@ -82,7 +83,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -114,21 +115,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -149,7 +150,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), @@ -280,49 +281,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lctsrf", 0) + kwargs.get("lctsrf", 0 if use_lspp_defaults() else None) ), Field( "eps0", float, 10, 10, - kwargs.get("eps0", 0) + kwargs.get("eps0", 0 if use_lspp_defaults() else None) ), Field( "triax", float, 20, 10, - kwargs.get("triax", 0) + kwargs.get("triax", 0 if use_lspp_defaults() else None) ), Field( "ips", int, 30, 10, - kwargs.get("ips", 0) + kwargs.get("ips", 0 if use_lspp_defaults() else None) ), Field( "lcemod", int, 40, 10, - kwargs.get("lcemod", 0) + kwargs.get("lcemod", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 50, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 60, 10, - kwargs.get("rfiltf", 0.0) + kwargs.get("rfiltf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rate.py index 2cee37f07..ce7f78bd1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), @@ -285,49 +286,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lctsrf", 0) + kwargs.get("lctsrf", 0 if use_lspp_defaults() else None) ), Field( "eps0", float, 10, 10, - kwargs.get("eps0", 0) + kwargs.get("eps0", 0 if use_lspp_defaults() else None) ), Field( "triax", float, 20, 10, - kwargs.get("triax", 0) + kwargs.get("triax", 0 if use_lspp_defaults() else None) ), Field( "ips", int, 30, 10, - kwargs.get("ips", 0) + kwargs.get("ips", 0 if use_lspp_defaults() else None) ), Field( "lcemod", int, 40, 10, - kwargs.get("lcemod", 0) + kwargs.get("lcemod", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 50, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 60, 10, - kwargs.get("rfiltf", 0.0) + kwargs.get("rfiltf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rtcl.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rtcl.py index ba7600d83..5c984e4c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rtcl.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_rtcl.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), @@ -285,49 +286,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lctsrf", 0) + kwargs.get("lctsrf", 0 if use_lspp_defaults() else None) ), Field( "eps0", float, 10, 10, - kwargs.get("eps0", 0) + kwargs.get("eps0", 0 if use_lspp_defaults() else None) ), Field( "triax", float, 20, 10, - kwargs.get("triax", 0) + kwargs.get("triax", 0 if use_lspp_defaults() else None) ), Field( "ips", int, 30, 10, - kwargs.get("ips", 0) + kwargs.get("ips", 0 if use_lspp_defaults() else None) ), Field( "lcemod", int, 40, 10, - kwargs.get("lcemod", 0) + kwargs.get("lcemod", 0 if use_lspp_defaults() else None) ), Field( "beta", float, 50, 10, - kwargs.get("beta", 0.0) + kwargs.get("beta", 0.0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 60, 10, - kwargs.get("rfiltf", 0.0) + kwargs.get("rfiltf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_stochastic.py index 672ecae5d..8f3176056 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_piecewise_linear_plasticity_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsthin", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_zerilli_armstrong.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_zerilli_armstrong.py index fa82c8bc6..8f9c8c052 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_zerilli_armstrong.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_modified_zerilli_armstrong.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("spall", 1.0) + kwargs.get("spall", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("m", 0.5) + kwargs.get("m", 0.5 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_coulomb.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_coulomb.py index 97644b489..a04ce7436 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_coulomb.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_coulomb.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("aniso", 1.0) + kwargs.get("aniso", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("epdam1", 1.0E+20) + kwargs.get("epdam1", 1.0E+20 if use_lspp_defaults() else None) ), Field( "epdam2", @@ -299,7 +300,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("shrmax", 1.0E+20) + kwargs.get("shrmax", 1.0E+20 if use_lspp_defaults() else None) ), Field( "local", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow.py index aae3293bb..b1659f764 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("p12", -0.5) + kwargs.get("p12", -0.5 if use_lspp_defaults() else None) ), Field( "p22", float, 50, 10, - kwargs.get("p22", 1.0) + kwargs.get("p22", 1.0 if use_lspp_defaults() else None) ), Field( "p33", float, 60, 10, - kwargs.get("p33", 3.0) + kwargs.get("p33", 3.0 if use_lspp_defaults() else None) ), Field( "g12", float, 70, 10, - kwargs.get("g12", -0.5) + kwargs.get("g12", -0.5 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g22", 1.0) + kwargs.get("g22", 1.0 if use_lspp_defaults() else None) ), Field( "g33", float, 10, 10, - kwargs.get("g33", 3.0) + kwargs.get("g33", 3.0 if use_lspp_defaults() else None) ), Field( "lcids", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lfld", 0) + kwargs.get("lfld", 0 if use_lspp_defaults() else None) ), Field( "lfrac", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "size0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow_xue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow_xue.py index b5d6cc81c..fa343f728 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow_xue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mohr_non_associated_flow_xue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("p12", -0.5) + kwargs.get("p12", -0.5 if use_lspp_defaults() else None) ), Field( "p22", float, 50, 10, - kwargs.get("p22", 1.0) + kwargs.get("p22", 1.0 if use_lspp_defaults() else None) ), Field( "p33", float, 60, 10, - kwargs.get("p33", 3.0) + kwargs.get("p33", 3.0 if use_lspp_defaults() else None) ), Field( "g12", float, 70, 10, - kwargs.get("g12", -0.5) + kwargs.get("g12", -0.5 if use_lspp_defaults() else None) ), ], ), @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("g22", 1.0) + kwargs.get("g22", 1.0 if use_lspp_defaults() else None) ), Field( "g33", float, 10, 10, - kwargs.get("g33", 3.0) + kwargs.get("g33", 3.0 if use_lspp_defaults() else None) ), Field( "lcids", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lfld", 0) + kwargs.get("lfld", 0 if use_lspp_defaults() else None) ), Field( "lfrac", @@ -200,7 +201,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), Field( "size0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_moment_curvature_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_moment_curvature_beam.py index af3c043a5..8e450abb7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_moment_curvature_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_moment_curvature_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("epflg", 0) + kwargs.get("epflg", 0 if use_lspp_defaults() else None) ), Field( "cta", @@ -345,21 +346,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cfa", 1.0) + kwargs.get("cfa", 1.0 if use_lspp_defaults() else None) ), Field( "cfb", float, 10, 10, - kwargs.get("cfb", 1.0) + kwargs.get("cfb", 1.0 if use_lspp_defaults() else None) ), Field( "cft", float, 20, 10, - kwargs.get("cft", 1.0) + kwargs.get("cft", 1.0 if use_lspp_defaults() else None) ), Field( "hrule", @@ -373,28 +374,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("reps", 1.0E+20) + kwargs.get("reps", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rbeta", float, 50, 10, - kwargs.get("rbeta", 1.0E+20) + kwargs.get("rbeta", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rcapay", float, 60, 10, - kwargs.get("rcapay", 1.0E+20) + kwargs.get("rcapay", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rcapaz", float, 70, 10, - kwargs.get("rcapaz", 1.0E+20) + kwargs.get("rcapaz", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_phase_change.py index 9d6661fd5..1b1a730af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -236,7 +237,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber.py index 3d7dbc055..212d4f997 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber_phase_change.py index 579dae1b5..124985ffe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mooney_rivlin_rubber_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -236,7 +237,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mts.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mts.py index ae6d387e5..b747ddc84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mts.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_mts.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_muscle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_muscle.py index c764490d5..98ce47195 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_muscle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_muscle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_non_quadratic_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_non_quadratic_failure.py index eec73bb26..d0d859617 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_non_quadratic_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_non_quadratic_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_elastic_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_elastic_discrete_beam.py index 29032df92..73fef976d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_elastic_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_elastic_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_orthotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_orthotropic.py index 8c84973af..eb9764835 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_orthotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_orthotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,14 +152,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("lcida", 0) + kwargs.get("lcida", 0 if use_lspp_defaults() else None) ), Field( "lcidb", float, 10, 10, - kwargs.get("lcidb", 0) + kwargs.get("lcidb", 0 if use_lspp_defaults() else None) ), Field( "efail", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "atrack", int, 70, 10, - kwargs.get("atrack", 0) + kwargs.get("atrack", 0 if use_lspp_defaults() else None) ), ], ), @@ -310,28 +311,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidc", 0) + kwargs.get("lcidc", 0 if use_lspp_defaults() else None) ), Field( "lcidab", int, 10, 10, - kwargs.get("lcidab", 0) + kwargs.get("lcidab", 0 if use_lspp_defaults() else None) ), Field( "lcidbc", int, 20, 10, - kwargs.get("lcidbc", 0) + kwargs.get("lcidbc", 0 if use_lspp_defaults() else None) ), Field( "lcidca", int, 30, 10, - kwargs.get("lcidca", 0) + kwargs.get("lcidca", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_plastic_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_plastic_discrete_beam.py index 41d4edc1e..d6915b551 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_plastic_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlinear_plastic_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -151,42 +152,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcpdr", 0) + kwargs.get("lcpdr", 0 if use_lspp_defaults() else None) ), Field( "lcpds", int, 10, 10, - kwargs.get("lcpds", 0) + kwargs.get("lcpds", 0 if use_lspp_defaults() else None) ), Field( "lcpdt", int, 20, 10, - kwargs.get("lcpdt", 0) + kwargs.get("lcpdt", 0 if use_lspp_defaults() else None) ), Field( "lcpmr", int, 30, 10, - kwargs.get("lcpmr", 0) + kwargs.get("lcpmr", 0 if use_lspp_defaults() else None) ), Field( "lcpms", int, 40, 10, - kwargs.get("lcpms", 0) + kwargs.get("lcpms", 0 if use_lspp_defaults() else None) ), Field( "lcpmt", int, 50, 10, - kwargs.get("lcpmt", 0) + kwargs.get("lcpmt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlocal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlocal.py index 6a1ad2f4f..648bf0bde 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlocal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_nonlocal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_null.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_null.py index 0c3e8e31c..0fd750fce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_null.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_null.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MatNull(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_oriented_crack.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_oriented_crack.py index 8a09b6a7e..5d3ee70c1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_oriented_crack.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_oriented_crack.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("soft", 1.0) + kwargs.get("soft", 1.0 if use_lspp_defaults() else None) ), Field( "cvelo", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ortho_elastic_plastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ortho_elastic_plastic.py index a44487850..be82d4b26 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ortho_elastic_plastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ortho_elastic_plastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic.py index d93b383ac..af09434e5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -193,7 +194,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "ihis", @@ -260,7 +261,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic_phase_change.py index d467ad277..164a09668 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_elastic_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -462,7 +463,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("thkfac", 1.0) + kwargs.get("thkfac", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_simplified_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_simplified_damage.py index cf0c44482..f71d9aee7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_simplified_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_simplified_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,7 +141,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -250,56 +251,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nerode", 0) + kwargs.get("nerode", 0 if use_lspp_defaults() else None) ), Field( "ndam", int, 10, 10, - kwargs.get("ndam", 0) + kwargs.get("ndam", 0 if use_lspp_defaults() else None) ), Field( "eps1tf", float, 20, 10, - kwargs.get("eps1tf", 1.E20) + kwargs.get("eps1tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps2tf", float, 30, 10, - kwargs.get("eps2tf", 1.E20) + kwargs.get("eps2tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps3tf", float, 40, 10, - kwargs.get("eps3tf", 1.E20) + kwargs.get("eps3tf", 1.E20 if use_lspp_defaults() else None) ), Field( "eps1cf", float, 50, 10, - kwargs.get("eps1cf", -1.E20) + kwargs.get("eps1cf", -1.E20 if use_lspp_defaults() else None) ), Field( "eps2cf", float, 60, 10, - kwargs.get("eps2cf", -1.E20) + kwargs.get("eps2cf", -1.E20 if use_lspp_defaults() else None) ), Field( "eps3cf", float, 70, 10, - kwargs.get("eps3cf", -1.E20) + kwargs.get("eps3cf", -1.E20 if use_lspp_defaults() else None) ), ], ), @@ -310,21 +311,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("eps12f", 1.E20) + kwargs.get("eps12f", 1.E20 if use_lspp_defaults() else None) ), Field( "eps23f", float, 10, 10, - kwargs.get("eps23f", 1.E20) + kwargs.get("eps23f", 1.E20 if use_lspp_defaults() else None) ), Field( "eps13f", float, 20, 10, - kwargs.get("eps13f", 1.E20) + kwargs.get("eps13f", 1.E20 if use_lspp_defaults() else None) ), Field( "epsd1t", @@ -370,14 +371,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cdam2t", 0) + kwargs.get("cdam2t", 0 if use_lspp_defaults() else None) ), Field( "epsd3t", float, 10, 10, - kwargs.get("epsd3t", 0) + kwargs.get("epsd3t", 0 if use_lspp_defaults() else None) ), Field( "epsc3t", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_smeared_crack.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_smeared_crack.py index 724251c63..9f7f65f9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_smeared_crack.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_smeared_crack.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("ind", 1.0) + kwargs.get("ind", 1.0 if use_lspp_defaults() else None) ), Field( "isd", float, 50, 10, - kwargs.get("isd", 4.0) + kwargs.get("isd", 4.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal.py index cd134a84d..207b7d56f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_curing.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_curing.py index e970b7169..c831bdc13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_curing.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_curing.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_failure.py index a84f3d789..d83ddcd66 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_thermal_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), @@ -260,7 +261,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("ref", 0) + kwargs.get("ref", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_viscoelastic.py index 10daa4e4c..1daa23a65 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_orthotropic_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_paper.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_paper.py index f2607c09a..7769934de 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_paper.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_paper.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -299,28 +300,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("prp1", 0.5) + kwargs.get("prp1", 0.5 if use_lspp_defaults() else None) ), Field( "prp2", float, 50, 10, - kwargs.get("prp2", 0.133) + kwargs.get("prp2", 0.133 if use_lspp_defaults() else None) ), Field( "prp4", float, 60, 10, - kwargs.get("prp4", 0.5) + kwargs.get("prp4", 0.5 if use_lspp_defaults() else None) ), Field( "prp5", float, 70, 10, - kwargs.get("prp5", 0.133) + kwargs.get("prp5", 0.133 if use_lspp_defaults() else None) ), ], ), @@ -384,7 +385,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pert_piecewise_linear_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pert_piecewise_linear_plasticity.py index 2102d764c..0b839e53d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pert_piecewise_linear_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pert_piecewise_linear_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_phs_bmw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_phs_bmw.py index 0002722e6..edaa04336 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_phs_bmw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_phs_bmw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tunit", 3600) + kwargs.get("tunit", 3600 if use_lspp_defaults() else None) ), Field( "trip", int, 50, 10, - kwargs.get("trip", 0) + kwargs.get("trip", 0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "heat", int, 70, 10, - kwargs.get("heat", 0) + kwargs.get("heat", 0 if use_lspp_defaults() else None) ), ], ), @@ -553,14 +554,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("islc", 0) + kwargs.get("islc", 0 if use_lspp_defaults() else None) ), Field( "iextra", int, 50, 10, - kwargs.get("iextra", 0) + kwargs.get("iextra", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -585,49 +586,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alph_m", 0.0428) + kwargs.get("alph_m", 0.0428 if use_lspp_defaults() else None) ), Field( "n_m", float, 10, 10, - kwargs.get("n_m", 0.191) + kwargs.get("n_m", 0.191 if use_lspp_defaults() else None) ), Field( "phi_m", float, 20, 10, - kwargs.get("phi_m", 0.382) + kwargs.get("phi_m", 0.382 if use_lspp_defaults() else None) ), Field( "psi_m", float, 30, 10, - kwargs.get("psi_m", 2.421) + kwargs.get("psi_m", 2.421 if use_lspp_defaults() else None) ), Field( "omg_f", float, 40, 10, - kwargs.get("omg_f", 0.41) + kwargs.get("omg_f", 0.41 if use_lspp_defaults() else None) ), Field( "phi_f", float, 50, 10, - kwargs.get("phi_f", 0.4) + kwargs.get("phi_f", 0.4 if use_lspp_defaults() else None) ), Field( "psi_f", float, 60, 10, - kwargs.get("psi_f", 0.4) + kwargs.get("psi_f", 0.4 if use_lspp_defaults() else None) ), Field( "cr_f", @@ -645,21 +646,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("omg_p", 0.32) + kwargs.get("omg_p", 0.32 if use_lspp_defaults() else None) ), Field( "phi_p", float, 10, 10, - kwargs.get("phi_p", 0.4) + kwargs.get("phi_p", 0.4 if use_lspp_defaults() else None) ), Field( "psi_p", float, 20, 10, - kwargs.get("psi_p", 0.4) + kwargs.get("psi_p", 0.4 if use_lspp_defaults() else None) ), Field( "cr_p", @@ -673,21 +674,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("omg_b", 0.29) + kwargs.get("omg_b", 0.29 if use_lspp_defaults() else None) ), Field( "phi_b", float, 50, 10, - kwargs.get("phi_b", 0.4) + kwargs.get("phi_b", 0.4 if use_lspp_defaults() else None) ), Field( "psi_b", float, 60, 10, - kwargs.get("psi_b", 0.4) + kwargs.get("psi_b", 0.4 if use_lspp_defaults() else None) ), Field( "cr_b", @@ -754,7 +755,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tau1", 2.08E+8) + kwargs.get("tau1", 2.08E+8 if use_lspp_defaults() else None) ), ], ), @@ -765,28 +766,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gra", 3.11) + kwargs.get("gra", 3.11 if use_lspp_defaults() else None) ), Field( "grb", float, 10, 10, - kwargs.get("grb", 7520.) + kwargs.get("grb", 7520. if use_lspp_defaults() else None) ), Field( "expa", float, 20, 10, - kwargs.get("expa", 1.0) + kwargs.get("expa", 1.0 if use_lspp_defaults() else None) ), Field( "expb", float, 30, 10, - kwargs.get("expb", 1.0) + kwargs.get("expb", 1.0 if use_lspp_defaults() else None) ), Field( "grcc", @@ -807,14 +808,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("heatn", 1.0) + kwargs.get("heatn", 1.0 if use_lspp_defaults() else None) ), Field( "tau2", float, 70, 10, - kwargs.get("tau2", 4.806) + kwargs.get("tau2", 4.806 if use_lspp_defaults() else None) ), ], ), @@ -846,28 +847,28 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tcvup", 0.0) + kwargs.get("tcvup", 0.0 if use_lspp_defaults() else None) ), Field( "tcvlo", float, 40, 10, - kwargs.get("tcvlo", 0.0) + kwargs.get("tcvlo", 0.0 if use_lspp_defaults() else None) ), Field( "cvcrit", float, 50, 10, - kwargs.get("cvcrit", 0.0) + kwargs.get("cvcrit", 0.0 if use_lspp_defaults() else None) ), Field( "tcvsl", float, 60, 10, - kwargs.get("tcvsl", 0.0) + kwargs.get("tcvsl", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -878,14 +879,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("epsp", 0.0) + kwargs.get("epsp", 0.0 if use_lspp_defaults() else None) ), Field( "expon", float, 10, 10, - kwargs.get("expon", 0.0) + kwargs.get("expon", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plastic_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plastic_thermal.py index 4238a00bf..ec4f99fff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plastic_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plastic_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity.py index 080aa662a..b0c5224aa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_2d.py index 13a4cf6f0..3fdef0bf0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_haz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_haz.py index b1653622a..0a877b139 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_haz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_haz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_log_interpolation.py index 3e3d868b3..6f2d0107a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_midfail.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_midfail.py index 289c44f12..14ba333d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_midfail.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_midfail.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_stochastic.py index 48f9ce1a3..218ad5efe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_piecewise_linear_plasticity_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "vp", float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pitzer_crushable_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pitzer_crushable_foam.py index 76359fc91..d2d1ec86f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pitzer_crushable_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pitzer_crushable_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_green_naghdi_rate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_green_naghdi_rate.py index 7297a79a7..b16e3f6e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_green_naghdi_rate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_green_naghdi_rate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_kinematic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_kinematic.py index 450bcbbd4..7f9a2142a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_kinematic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_kinematic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic.py index f71d9ec5f..d69f579cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fs", 1.E+16) + kwargs.get("fs", 1.E+16 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic_b.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic_b.py index e90f105a9..84f3f9ad9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic_b.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plastic_nonlinear_kinematic_b.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_compression_tension_eos.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_compression_tension_eos.py index ac83c3d2d..43a23d6e1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_compression_tension_eos.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_compression_tension_eos.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -105,14 +106,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcidc", 0) + kwargs.get("lcidc", 0 if use_lspp_defaults() else None) ), Field( "lcidt", int, 10, 10, - kwargs.get("lcidt", 0) + kwargs.get("lcidt", 0 if use_lspp_defaults() else None) ), Field( "lcsrc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_polymer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_polymer.py index e5c2cb7ac..a35b34561 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_polymer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_polymer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -91,14 +92,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -109,7 +110,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("eftx", 0.0) + kwargs.get("eftx", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -130,14 +131,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lcfail", 0) + kwargs.get("lcfail", 0 if use_lspp_defaults() else None) ), Field( "numint", float, 40, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage.py index ca1683cc6..0903b5c61 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho.py index e9c832e80..06e06d351 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho_rcdc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho_rcdc.py index a07831b18..c60bf882f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho_rcdc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_ortho_rcdc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_stochastic.py index caeaf7cca..79c7dca1e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_plasticity_with_damage_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("eppf", 10.E+11) + kwargs.get("eppf", 10.E+11 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "lcsr", int, 30, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), Field( "eppfr", float, 40, 10, - kwargs.get("eppfr", 10.E+13) + kwargs.get("eppfr", 10.E+13 if use_lspp_defaults() else None) ), Field( "vp", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcdm", 0) + kwargs.get("lcdm", 0 if use_lspp_defaults() else None) ), Field( "numint", int, 70, 10, - kwargs.get("numint", 0) + kwargs.get("numint", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_acoustic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_acoustic.py index c366811a6..44bfaf305 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_acoustic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_acoustic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_anisotropic_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_anisotropic_elastic.py index 972716e83..7ba6810d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_anisotropic_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_anisotropic_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic.py index 4ca71a0c0..529fbbfd4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic_fluid.py index cde40dac8..9a825770e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_elastic_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_hysteretic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_hysteretic.py index a26987156..ae2b2a07c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_hysteretic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_hysteretic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("fd", 3.25) + kwargs.get("fd", 3.25 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_null.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_null.py index ebd6e7bc0..df0e987ba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_null.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_null.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_orthotropic_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_orthotropic_elastic.py index 16671ca71..ff86e631c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_orthotropic_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pml_orthotropic_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_polymer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_polymer.py index 542e5ad52..d5560ecf0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_polymer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_polymer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_powder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_powder.py index 932469734..f2cd45a7e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_powder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_powder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("sint", 0.0) + kwargs.get("sint", 0.0 if use_lspp_defaults() else None) ), Field( "tzro", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_power_law_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_power_law_plasticity.py index 1d1d0487e..8c74dd7a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_power_law_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_power_law_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "epsf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pseudo_tensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pseudo_tensor.py index 0f5e384c8..3773be96c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pseudo_tensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_pseudo_tensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("lcp", 0) + kwargs.get("lcp", 0 if use_lspp_defaults() else None) ), Field( "lcr", int, 50, 10, - kwargs.get("lcr", 0) + kwargs.get("lcr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_quasilinear_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_quasilinear_viscoelastic.py index 05949b955..3f9d8779d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_quasilinear_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_quasilinear_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,21 +67,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "lc2", int, 40, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "n", float, 50, 10, - kwargs.get("n", 6) + kwargs.get("n", 6 if use_lspp_defaults() else None) ), Field( "gstart", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("m", 6) + kwargs.get("m", 6 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("so", 0.0) + kwargs.get("so", 0.0 if use_lspp_defaults() else None) ), Field( "e_min", float, 10, 10, - kwargs.get("e_min", -0.9) + kwargs.get("e_min", -0.9 if use_lspp_defaults() else None) ), Field( "e_max", float, 20, 10, - kwargs.get("e_max", 5.1) + kwargs.get("e_max", 5.1 if use_lspp_defaults() else None) ), Field( "gama1", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ramberg_osgood.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ramberg_osgood.py index 764411cc1..9a305502e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ramberg_osgood.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_ramberg_osgood.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_composite_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_composite_fabric.py index 4a5421fb5..b56657eda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_composite_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_composite_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_polymer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_polymer.py index c9c99094e..92a246c89 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_polymer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_polymer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_powerlaw_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_powerlaw_plasticity.py index 2eb78a698..240336369 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_powerlaw_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rate_sensitive_powerlaw_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("m", 1.0E-04) + kwargs.get("m", 1.0E-04 if use_lspp_defaults() else None) ), Field( "n", float, 60, 10, - kwargs.get("n", 0.0 ) + kwargs.get("n", 0.0 if use_lspp_defaults() else None) ), Field( "e0", float, 70, 10, - kwargs.get("e0", 2.0E-04) + kwargs.get("e0", 2.0E-04 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "eps0", float, 10, 10, - kwargs.get("eps0", 1.0) + kwargs.get("eps0", 1.0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 20, 10, - kwargs.get("rfiltf", 0.0) + kwargs.get("rfiltf", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_beam.py index 82fc3724b..2605e1a0c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("ec1", 2.2E-03) + kwargs.get("ec1", 2.2E-03 if use_lspp_defaults() else None) ), Field( "ec50", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("resid", 0.2) + kwargs.get("resid", 0.2 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("unitc", 1.0) + kwargs.get("unitc", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("output", 0.0) + kwargs.get("output", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eshr", 0.03) + kwargs.get("eshr", 0.03 if use_lspp_defaults() else None) ), Field( "eur", float, 60, 10, - kwargs.get("eur", 0.2 ) + kwargs.get("eur", 0.2 if use_lspp_defaults() else None) ), Field( "rreinf", float, 70, 10, - kwargs.get("rreinf", 4.0) + kwargs.get("rreinf", 4.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_shear_wall.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_shear_wall.py index 206ffbab4..3b4d33cf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_shear_wall.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rc_shear_wall.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -144,42 +145,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("a", 0.05) + kwargs.get("a", 0.05 if use_lspp_defaults() else None) ), Field( "b", float, 10, 10, - kwargs.get("b", 0.55) + kwargs.get("b", 0.55 if use_lspp_defaults() else None) ), Field( "c", float, 20, 10, - kwargs.get("c", 0.125) + kwargs.get("c", 0.125 if use_lspp_defaults() else None) ), Field( "d", float, 30, 10, - kwargs.get("d", 0.66) + kwargs.get("d", 0.66 if use_lspp_defaults() else None) ), Field( "e", float, 40, 10, - kwargs.get("e", 0.25) + kwargs.get("e", 0.25 if use_lspp_defaults() else None) ), Field( "f", float, 50, 10, - kwargs.get("f", 1.0) + kwargs.get("f", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic.py index d4e0b67eb..7ef2ec407 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_crash.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_crash.py index d5eb14757..50e81a42e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_crash.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_crash.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_udfiber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_udfiber.py index 46f86283d..4f4e37e37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_udfiber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_reinforced_thermoplastic_udfiber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_anisotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_anisotropic.py index c636d5b23..76d9a1ffa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_anisotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_anisotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_plasticity.py index b8b92ae4d..debd81385 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_resultant_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rht.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rht.py index 2b843c87b..411a233d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rht.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rht.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("onempa", 0) + kwargs.get("onempa", 0 if use_lspp_defaults() else None) ), Field( "epsf", float, 40, 10, - kwargs.get("epsf", 2.0) + kwargs.get("epsf", 2.0 if use_lspp_defaults() else None) ), Field( "b0", @@ -207,7 +208,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ptf", 0.001) + kwargs.get("ptf", 0.001 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid.py index 5a592acd3..b22f5ef70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "couple", float, 50, 10, - kwargs.get("couple", 0) + kwargs.get("couple", 0 if use_lspp_defaults() else None) ), Field( "m", float, 60, 10, - kwargs.get("m", 0) + kwargs.get("m", 0 if use_lspp_defaults() else None) ), Field( "alias", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("cmo", 0.0) + kwargs.get("cmo", 0.0 if use_lspp_defaults() else None) ), Field( "con1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid_discrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid_discrete.py index 3330c84d0..c345a35b5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid_discrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_rigid_discrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s01.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s01.py index c5b7e6344..edfb30dbd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s01.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s01.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s02.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s02.py index f38d7af69..9d5061b60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s02.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s02.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s03.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s03.py index 12007f7ed..f2457f3d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s03.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s03.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s04.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s04.py index e6634fa44..9edd71ccb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s04.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s04.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcr", 0) + kwargs.get("lcr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s05.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s05.py index c4ef38d3d..488294632 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s05.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s05.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s06.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s06.py index 28e64fb16..e0a082ad7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s06.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s06.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s07.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s07.py index c15da18a8..8ce9b0e79 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s07.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s07.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 10^20) + kwargs.get("tc", 10^20 if use_lspp_defaults() else None) ), Field( "fc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s08.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s08.py index 522601b9f..b607bfe5e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s08.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s08.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ctf", 1.0) + kwargs.get("ctf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s13.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s13.py index 8b20cb531..3567c1d0b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s13.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s13.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s14.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s14.py index 65514af4b..b48f0e87e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s14.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s14.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s15.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s15.py index 4f43a6c44..d2416f3ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s15.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_s15.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mid", 0) + kwargs.get("mid", 0 if use_lspp_defaults() else None) ), Field( "lo", @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sv", 1.0) + kwargs.get("sv", 1.0 if use_lspp_defaults() else None) ), Field( "a", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("tl", 1.0) + kwargs.get("tl", 1.0 if use_lspp_defaults() else None) ), Field( "tv", float, 70, 10, - kwargs.get("tv", 1.0) + kwargs.get("tv", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_1.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_1.py index eb7b70ba0..874ddbad1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_1.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_1.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("incdam", 0) + kwargs.get("incdam", 0 if use_lspp_defaults() else None) ), ], ), @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("epfail", 1.0E+5) + kwargs.get("epfail", 1.0E+5 if use_lspp_defaults() else None) ), Field( "deprpt", @@ -225,14 +226,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("incfail", 0) + kwargs.get("incfail", 0 if use_lspp_defaults() else None) ), Field( "iconv", int, 40, 10, - kwargs.get("iconv", 0) + kwargs.get("iconv", 0 if use_lspp_defaults() else None) ), Field( "asaf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_light.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_light.py index 064dd2690..1f79f593f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_light.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_samp_light.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,21 +113,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lcid_c", 0) + kwargs.get("lcid_c", 0 if use_lspp_defaults() else None) ), Field( "ctflg", int, 20, 10, - kwargs.get("ctflg", 0) + kwargs.get("ctflg", 0 if use_lspp_defaults() else None) ), Field( "rateop", int, 30, 10, - kwargs.get("rateop", 0) + kwargs.get("rateop", 0 if use_lspp_defaults() else None) ), Field( "nuep", @@ -140,14 +141,14 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("lcid-p", 0) + kwargs.get("lcid-p", 0 if use_lspp_defaults() else None) ), Field( "rfiltf", float, 60, 10, - kwargs.get("rfiltf", 0.95) + kwargs.get("rfiltf", 0.95 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_scc_on_rcc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_scc_on_rcc.py index f0da9c4c9..2534c77f1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_scc_on_rcc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_scc_on_rcc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("g_scl", 1.0) + kwargs.get("g_scl", 1.0 if use_lspp_defaults() else None) ), Field( "tsl", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap.py index c5a83a735..4cea49ac5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("pore", 1.0) + kwargs.get("pore", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("irock", 0) + kwargs.get("irock", 0 if use_lspp_defaults() else None) ), Field( "secp", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("epsmax", 0) + kwargs.get("epsmax", 0 if use_lspp_defaults() else None) ), Field( "cfit", @@ -271,7 +272,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("failfg", 1) + kwargs.get("failfg", 1 if use_lspp_defaults() else None) ), Field( "dbeta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap_model.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap_model.py index 23fe1aa71..ea921dcb7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap_model.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_schwer_murray_cap_model.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("pore", 1.0) + kwargs.get("pore", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("irock", 0) + kwargs.get("irock", 0 if use_lspp_defaults() else None) ), Field( "secp", @@ -239,7 +240,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("epsmax", 0) + kwargs.get("epsmax", 0 if use_lspp_defaults() else None) ), Field( "cfit", @@ -271,7 +272,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("failfg", 1) + kwargs.get("failfg", 1 if use_lspp_defaults() else None) ), Field( "dbeta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt.py index 194bd7fe1..2cb29d626 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mid", 0) + kwargs.get("mid", 0 if use_lspp_defaults() else None) ), Field( "mpul", @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("llcid", 0) + kwargs.get("llcid", 0 if use_lspp_defaults() else None) ), Field( "ulcid", int, 30, 10, - kwargs.get("ulcid", 0) + kwargs.get("ulcid", 0 if use_lspp_defaults() else None) ), Field( "lmin", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("f", 1.0e20) + kwargs.get("f", 1.0e20 if use_lspp_defaults() else None) ), Field( "m", float, 50, 10, - kwargs.get("m", 1.0e20) + kwargs.get("m", 1.0e20 if use_lspp_defaults() else None) ), Field( "r", float, 60, 10, - kwargs.get("r", 0.05) + kwargs.get("r", 0.05 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt_2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt_2d.py index 0ed18ba49..c7be7d7df 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt_2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seatbelt_2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mid", 0) + kwargs.get("mid", 0 if use_lspp_defaults() else None) ), Field( "mpul", @@ -59,14 +60,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("llcid", 0) + kwargs.get("llcid", 0 if use_lspp_defaults() else None) ), Field( "ulcid", int, 30, 10, - kwargs.get("ulcid", 0) + kwargs.get("ulcid", 0 if use_lspp_defaults() else None) ), Field( "lmin", @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), Field( "damp", @@ -133,21 +134,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("f", 1.0e20) + kwargs.get("f", 1.0e20 if use_lspp_defaults() else None) ), Field( "m", float, 50, 10, - kwargs.get("m", 1.0e20) + kwargs.get("m", 1.0e20 if use_lspp_defaults() else None) ), Field( "r", float, 60, 10, - kwargs.get("r", 0.05) + kwargs.get("r", 0.05 if use_lspp_defaults() else None) ), ], ), @@ -165,7 +166,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "ecoat", @@ -193,21 +194,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eb", -0.1) + kwargs.get("eb", -0.1 if use_lspp_defaults() else None) ), Field( "prba", float, 60, 10, - kwargs.get("prba", 0.3) + kwargs.get("prba", 0.3 if use_lspp_defaults() else None) ), Field( "prba", float, 70, 10, - kwargs.get("prba", 0.3) + kwargs.get("prba", 0.3 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_beam.py index 5e53d77c5..9b7733bb5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,28 +74,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("asflag", 0.0) + kwargs.get("asflag", 0.0 if use_lspp_defaults() else None) ), Field( "ftype", int, 50, 10, - kwargs.get("ftype", 1) + kwargs.get("ftype", 1 if use_lspp_defaults() else None) ), Field( "degrad", int, 60, 10, - kwargs.get("degrad", 0) + kwargs.get("degrad", 0 if use_lspp_defaults() else None) ), Field( "ifema", int, 70, 10, - kwargs.get("ifema", 0) + kwargs.get("ifema", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("sfs", 1.0) + kwargs.get("sfs", 1.0 if use_lspp_defaults() else None) ), Field( "lcpmt", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sft", 1.0) + kwargs.get("sft", 1.0 if use_lspp_defaults() else None) ), Field( "lcat", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("sfat", 1.0) + kwargs.get("sfat", 1.0 if use_lspp_defaults() else None) ), Field( "lcac", @@ -154,7 +155,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("sfac", 1.0) + kwargs.get("sfac", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("alpha", 2.0) + kwargs.get("alpha", 2.0 if use_lspp_defaults() else None) ), Field( "beta", float, 10, 10, - kwargs.get("beta", 2.0) + kwargs.get("beta", 2.0 if use_lspp_defaults() else None) ), Field( "gamma", float, 20, 10, - kwargs.get("gamma", 2.0) + kwargs.get("gamma", 2.0 if use_lspp_defaults() else None) ), Field( "delta", float, 30, 10, - kwargs.get("delta", 4.0) + kwargs.get("delta", 4.0 if use_lspp_defaults() else None) ), Field( "a", float, 40, 10, - kwargs.get("a", 2.0) + kwargs.get("a", 2.0 if use_lspp_defaults() else None) ), Field( "b", float, 50, 10, - kwargs.get("b", -1.0) + kwargs.get("b", -1.0 if use_lspp_defaults() else None) ), Field( "foffs", @@ -285,21 +286,21 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("phi_t", 0.8) + kwargs.get("phi_t", 0.8 if use_lspp_defaults() else None) ), Field( "phi_c", float, 10, 10, - kwargs.get("phi_c", 0.85) + kwargs.get("phi_c", 0.85 if use_lspp_defaults() else None) ), Field( "phi_b", float, 20, 10, - kwargs.get("phi_b", 0.9) + kwargs.get("phi_b", 0.9 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_isolator.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_isolator.py index 2a859038f..b6419f219 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_isolator.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_seismic_isolator.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,21 +60,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("a", 1.0) + kwargs.get("a", 1.0 if use_lspp_defaults() else None) ), Field( "beta", float, 30, 10, - kwargs.get("beta", 0.5) + kwargs.get("beta", 0.5 if use_lspp_defaults() else None) ), Field( "gamma", float, 40, 10, - kwargs.get("gamma", 0.5) + kwargs.get("gamma", 0.5 if use_lspp_defaults() else None) ), Field( "dispy", @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("itype", 0) + kwargs.get("itype", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("preload", 0) + kwargs.get("preload", 0 if use_lspp_defaults() else None) ), Field( "damp", float, 10, 10, - kwargs.get("damp", 1.0) + kwargs.get("damp", 1.0 if use_lspp_defaults() else None) ), Field( "mx1", float, 20, 10, - kwargs.get("mx1", 0) + kwargs.get("mx1", 0 if use_lspp_defaults() else None) ), Field( "mx2", float, 30, 10, - kwargs.get("mx2", 0) + kwargs.get("mx2", 0 if use_lspp_defaults() else None) ), Field( "my1", float, 40, 10, - kwargs.get("my1", 0) + kwargs.get("my1", 0 if use_lspp_defaults() else None) ), Field( "my2", float, 50, 10, - kwargs.get("my2", 0) + kwargs.get("my2", 0 if use_lspp_defaults() else None) ), Field( "cde", float, 60, 10, - kwargs.get("cde", 0) + kwargs.get("cde", 0 if use_lspp_defaults() else None) ), Field( "iextra", int, 70, 10, - kwargs.get("iextra", 0) + kwargs.get("iextra", 0 if use_lspp_defaults() else None) ), ], ), @@ -165,42 +166,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fmax", 0) + kwargs.get("fmax", 0 if use_lspp_defaults() else None) ), Field( "delf", float, 10, 10, - kwargs.get("delf", 0) + kwargs.get("delf", 0 if use_lspp_defaults() else None) ), Field( "afric", float, 20, 10, - kwargs.get("afric", 0) + kwargs.get("afric", 0 if use_lspp_defaults() else None) ), Field( "radx", float, 30, 10, - kwargs.get("radx", 1.0e20) + kwargs.get("radx", 1.0e20 if use_lspp_defaults() else None) ), Field( "rady", float, 40, 10, - kwargs.get("rady", 1.0e20) + kwargs.get("rady", 1.0e20 if use_lspp_defaults() else None) ), Field( "radb", float, 50, 10, - kwargs.get("radb", 1.0e20) + kwargs.get("radb", 1.0e20 if use_lspp_defaults() else None) ), Field( "stiffl", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("stiffts", 0) + kwargs.get("stiffts", 0 if use_lspp_defaults() else None) ), ], ), @@ -225,14 +226,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("forcey", 0) + kwargs.get("forcey", 0 if use_lspp_defaults() else None) ), Field( "alpha", float, 10, 10, - kwargs.get("alpha", 0) + kwargs.get("alpha", 0 if use_lspp_defaults() else None) ), Field( "stifft", @@ -246,7 +247,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dfail", 1.0e20) + kwargs.get("dfail", 1.0e20 if use_lspp_defaults() else None) ), Field( "fmaxyc", @@ -391,7 +392,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("beta", 0) + kwargs.get("beta", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory.py index 14ee9a331..839891ef6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy.py index 48faed580..b5c883294 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy_medtronic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy_medtronic.py index 8e8c82fb0..fb0efe125 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy_medtronic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_shape_memory_alloy_medtronic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("stype", 0) + kwargs.get("stype", 0 if use_lspp_defaults() else None) ), ], ), @@ -331,7 +332,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sid_damper_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sid_damper_discrete_beam.py index cb74adf44..5b7be7ad8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sid_damper_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sid_damper_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -140,14 +141,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("lcidf", 0) + kwargs.get("lcidf", 0 if use_lspp_defaults() else None) ), Field( "lcidd", float, 60, 10, - kwargs.get("lcidd", 0) + kwargs.get("lcidd", 0 if use_lspp_defaults() else None) ), Field( "s0", @@ -179,7 +180,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("sf", 1.0) + kwargs.get("sf", 1.0 if use_lspp_defaults() else None) ), Field( "dc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook.py index f156047b5..82b09d835 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,28 +113,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("psfail", 1.0E+17) + kwargs.get("psfail", 1.0E+17 if use_lspp_defaults() else None) ), Field( "sigmax", float, 50, 10, - kwargs.get("sigmax", 1.0E+28) + kwargs.get("sigmax", 1.0E+28 if use_lspp_defaults() else None) ), Field( "sigsat", float, 60, 10, - kwargs.get("sigsat", 1.0E+28) + kwargs.get("sigsat", 1.0E+28 if use_lspp_defaults() else None) ), Field( "epso", float, 70, 10, - kwargs.get("epso", 1.0) + kwargs.get("epso", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_orthotropic_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_orthotropic_damage.py index 97dfaba96..98b5f3d63 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_orthotropic_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_orthotropic_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("eppfr", 1.E+16) + kwargs.get("eppfr", 1.E+16 if use_lspp_defaults() else None) ), Field( "lcdm", @@ -133,28 +134,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("psfail", 1.0E+17) + kwargs.get("psfail", 1.0E+17 if use_lspp_defaults() else None) ), Field( "sigmax", float, 50, 10, - kwargs.get("sigmax", 1.0E+28) + kwargs.get("sigmax", 1.0E+28 if use_lspp_defaults() else None) ), Field( "sigsat", float, 60, 10, - kwargs.get("sigsat", 1.0E+28) + kwargs.get("sigsat", 1.0E+28 if use_lspp_defaults() else None) ), Field( "epso", float, 70, 10, - kwargs.get("epso", 1.0) + kwargs.get("epso", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_stochastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_stochastic.py index e280d76f3..69d8be518 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_stochastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_johnson_cook_stochastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -112,28 +113,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("psfail", 1.0E+17) + kwargs.get("psfail", 1.0E+17 if use_lspp_defaults() else None) ), Field( "sigmax", float, 50, 10, - kwargs.get("sigmax", 1.0E+28) + kwargs.get("sigmax", 1.0E+28 if use_lspp_defaults() else None) ), Field( "sigsat", float, 60, 10, - kwargs.get("sigsat", 1.0E+28) + kwargs.get("sigsat", 1.0E+28 if use_lspp_defaults() else None) ), Field( "epso", float, 70, 10, - kwargs.get("epso", 1.0) + kwargs.get("epso", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber.py index b8031c3ce..b050f2b25 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("vflag", 0) + kwargs.get("vflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation.py index 28d015ad3..3e8eeb102 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -134,14 +135,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -173,7 +174,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -194,14 +195,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation_with_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation_with_failure.py index 7344fc026..c44acb590 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation_with_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_log_log_interpolation_with_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -134,14 +135,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -205,7 +206,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -226,14 +227,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure.py index 91b8d7c19..1f17f2d07 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -134,14 +135,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -205,7 +206,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -226,14 +227,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure_log_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure_log_log_interpolation.py index 23c986df0..842c44ff1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure_log_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_foam_with_failure_log_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -67,7 +68,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -88,7 +89,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -134,14 +135,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -205,7 +206,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -226,14 +227,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage.py index 94da1b1a2..f2c7622bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,21 +120,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", float, 60, 10, - kwargs.get("avgopt", 0.0) + kwargs.get("avgopt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage_log_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage_log_log_interpolation.py index 42eedf8c6..aadb3fba3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage_log_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubber_with_damage_log_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -119,21 +120,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", float, 60, 10, - kwargs.get("avgopt", 0.0) + kwargs.get("avgopt", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubberfoam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubberfoam.py index e78355424..3cce2206e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubberfoam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_simplified_rubberfoam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("mu", 0.10) + kwargs.get("mu", 0.10 if use_lspp_defaults() else None) ), Field( "g", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "prten", @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tension", -1.0) + kwargs.get("tension", -1.0 if use_lspp_defaults() else None) ), Field( "rtype", float, 50, 10, - kwargs.get("rtype", 0.0) + kwargs.get("rtype", 0.0 if use_lspp_defaults() else None) ), Field( "avgopt", @@ -172,7 +173,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("hu", 1.0) + kwargs.get("hu", 1.0 if use_lspp_defaults() else None) ), Field( "shape", @@ -193,14 +194,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("visco", 0.0) + kwargs.get("visco", 0.0 if use_lspp_defaults() else None) ), Field( "hisout", float, 50, 10, - kwargs.get("hisout", 0.0) + kwargs.get("hisout", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("vflag", 0) + kwargs.get("vflag", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_smooth_viscoelastic_viscoplastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_smooth_viscoelastic_viscoplastic.py index b31249138..6f0e60b6b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_smooth_viscoelastic_viscoplastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_smooth_viscoelastic_viscoplastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue.py index cf1f9f0d4..ad488862d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue_visco.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue_visco.py index bb6e01eaf..5e22641ec 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue_visco.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soft_tissue_visco.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -225,7 +226,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam.py index db3fb55cc..68192a45d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vcr", 0.0) + kwargs.get("vcr", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 10, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "lcid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam_failure.py index 633d7d2a2..542bcc095 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_and_foam_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,14 +106,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vcr", 0.0) + kwargs.get("vcr", 0.0 if use_lspp_defaults() else None) ), Field( "ref", float, 10, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_brick.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_brick.py index 71424cf30..cffca05b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_brick.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_brick.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("rmu", 1.0) + kwargs.get("rmu", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -119,7 +120,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("tol", 0.0005) + kwargs.get("tol", 0.0005 if use_lspp_defaults() else None) ), Field( "pgcl", @@ -147,14 +148,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("grav", 9.807) + kwargs.get("grav", 9.807 if use_lspp_defaults() else None) ), Field( "theory", int, 70, 10, - kwargs.get("theory", 0) + kwargs.get("theory", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_concrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_concrete.py index 8b9cfeff8..d4e4ecd14 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_concrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_soil_concrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("lcfp", 0) + kwargs.get("lcfp", 0 if use_lspp_defaults() else None) ), Field( "lcrp", int, 70, 10, - kwargs.get("lcrp", 0) + kwargs.get("lcrp", 0 if use_lspp_defaults() else None) ), ], ), @@ -112,7 +113,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("out", 0) + kwargs.get("out", 0 if use_lspp_defaults() else None) ), Field( "b", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("fail", 0) + kwargs.get("fail", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_special_orthotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_special_orthotropic.py index ca379734a..3c7ebe526 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_special_orthotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_special_orthotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_01.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_01.py index 7008071b4..07adc6fe9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_01.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_01.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_02.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_02.py index bab6ded6b..3e4cd2859 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_02.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_02.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_03.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_03.py index 817eb386b..1acf8507d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_03.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_03.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_fluid.py index 31919d963..2318c81e1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_structure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_structure.py index e97f5b7fe..27afd7f46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_structure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_implicit_structure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_fluid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_fluid.py index c2460fe87..3bf3fb2d5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_fluid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_fluid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_structure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_structure.py index a076bf517..99642b102 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_structure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_incompressible_structure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_viscous.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_viscous.py index 9e625d48d..995e49630 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_viscous.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_sph_viscous.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld.py index 0930f021a..5918f3182 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler.py index dff1e5e66..280bc6ff0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler_uniaxial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler_uniaxial.py index be5eb6a27..e1944d6cc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler_uniaxial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_daimlerchrysler_uniaxial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure.py index d3a0a2c2f..36ac1ea27 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure_uniaxial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure_uniaxial.py index 0c8c80e68..d6c396491 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure_uniaxial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_damage_failure_uniaxial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_uniaxial.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_uniaxial.py index d8d786a62..37a9ec216 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_uniaxial.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spotweld_uniaxial.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spr_jlr.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spr_jlr.py index 305b1f240..dbf6a98e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spr_jlr.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spr_jlr.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("helas", 0.0) + kwargs.get("helas", 0.0 if use_lspp_defaults() else None) ), Field( "telas", float, 50, 10, - kwargs.get("telas", 0.0) + kwargs.get("telas", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -112,21 +113,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sfaxh", 1.0) + kwargs.get("sfaxh", 1.0 if use_lspp_defaults() else None) ), Field( "sfshh", float, 40, 10, - kwargs.get("sfshh", 1.0) + kwargs.get("sfshh", 1.0 if use_lspp_defaults() else None) ), Field( "sfbmh", float, 50, 10, - kwargs.get("sfbmh", 1.0) + kwargs.get("sfbmh", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -158,21 +159,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dmfaxh", 0.1) + kwargs.get("dmfaxh", 0.1 if use_lspp_defaults() else None) ), Field( "dmfshh", float, 40, 10, - kwargs.get("dmfshh", 0.1) + kwargs.get("dmfshh", 0.1 if use_lspp_defaults() else None) ), Field( "dmfbmh", float, 50, 10, - kwargs.get("dmfbmh", 0.1) + kwargs.get("dmfbmh", 0.1 if use_lspp_defaults() else None) ), ], ), @@ -204,21 +205,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sfaxt", 1.0) + kwargs.get("sfaxt", 1.0 if use_lspp_defaults() else None) ), Field( "sfsht", float, 40, 10, - kwargs.get("sfsht", 1.0) + kwargs.get("sfsht", 1.0 if use_lspp_defaults() else None) ), Field( "sbfmt", float, 50, 10, - kwargs.get("sbfmt", 1.0) + kwargs.get("sbfmt", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -250,21 +251,21 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("dfmaxt", 0.1) + kwargs.get("dfmaxt", 0.1 if use_lspp_defaults() else None) ), Field( "dmfsht", float, 40, 10, - kwargs.get("dmfsht", 0.1) + kwargs.get("dmfsht", 0.1 if use_lspp_defaults() else None) ), Field( "dmfbmt", float, 50, 10, - kwargs.get("dmfbmt", 0.1) + kwargs.get("dmfbmt", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastic.py index b0af76de5..3956f6496 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastoplastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastoplastic.py index 429793669..64a6580a3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastoplastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_elastoplastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_general_nonlinear.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_general_nonlinear.py index f8592a989..203e463a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_general_nonlinear.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_general_nonlinear.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_inelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_inelastic.py index 24a402237..aaef8d5bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_inelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_inelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ctf", 1.0) + kwargs.get("ctf", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_maxwell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_maxwell.py index 0909004c3..70d2fd49b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_maxwell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_maxwell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tc", 10^20) + kwargs.get("tc", 10^20 if use_lspp_defaults() else None) ), Field( "fc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_muscle.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_muscle.py index 1b3826275..44eb6795c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_muscle.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_muscle.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("mid", 0) + kwargs.get("mid", 0 if use_lspp_defaults() else None) ), Field( "lo", @@ -66,7 +67,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("sv", 1.0) + kwargs.get("sv", 1.0 if use_lspp_defaults() else None) ), Field( "a", @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("tl", 1.0) + kwargs.get("tl", 1.0 if use_lspp_defaults() else None) ), Field( "tv", float, 70, 10, - kwargs.get("tv", 1.0) + kwargs.get("tv", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_nonlinear_elastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_nonlinear_elastic.py index 2553973c2..15e8211fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_nonlinear_elastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_nonlinear_elastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcr", 0) + kwargs.get("lcr", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_squat_shearwall.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_squat_shearwall.py index 96b65a7db..beb3f10f2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_squat_shearwall.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_squat_shearwall.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_trilinear_degrading.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_trilinear_degrading.py index 5ad3c1d27..a2ed457e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_trilinear_degrading.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_spring_trilinear_degrading.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_concentric_brace.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_concentric_brace.py index d183bcb74..44ce5a9ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_concentric_brace.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_concentric_brace.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -123,56 +124,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ts1", 0) + kwargs.get("ts1", 0 if use_lspp_defaults() else None) ), Field( "ts2", float, 10, 10, - kwargs.get("ts2", 0) + kwargs.get("ts2", 0 if use_lspp_defaults() else None) ), Field( "ts3", float, 20, 10, - kwargs.get("ts3", 0) + kwargs.get("ts3", 0 if use_lspp_defaults() else None) ), Field( "ts4", float, 30, 10, - kwargs.get("ts4", 0) + kwargs.get("ts4", 0 if use_lspp_defaults() else None) ), Field( "cs1", float, 40, 10, - kwargs.get("cs1", 0) + kwargs.get("cs1", 0 if use_lspp_defaults() else None) ), Field( "cs2", float, 50, 10, - kwargs.get("cs2", 0) + kwargs.get("cs2", 0 if use_lspp_defaults() else None) ), Field( "cs3", float, 60, 10, - kwargs.get("cs3", 0) + kwargs.get("cs3", 0 if use_lspp_defaults() else None) ), Field( "cs4", float, 70, 10, - kwargs.get("cs4", 0) + kwargs.get("cs4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_ec3.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_ec3.py index 49291e467..4284f8dc3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_ec3.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steel_ec3.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg.py index 9162c4341..5dc3fcd05 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pc", -1.0E+30) + kwargs.get("pc", -1.0E+30 if use_lspp_defaults() else None) ), Field( "spall", float, 10, 10, - kwargs.get("spall", 0.0) + kwargs.get("spall", 0.0 if use_lspp_defaults() else None) ), Field( "rp", @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("flag", 0.0) + kwargs.get("flag", 0.0 if use_lspp_defaults() else None) ), Field( "mmn", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg_lund.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg_lund.py index bb32337e4..0e159e7e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg_lund.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_steinberg_lund.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -165,14 +166,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pc", -1.0E+30) + kwargs.get("pc", -1.0E+30 if use_lspp_defaults() else None) ), Field( "spall", float, 10, 10, - kwargs.get("spall", 0.0) + kwargs.get("spall", 0.0 if use_lspp_defaults() else None) ), Field( "rp", @@ -186,7 +187,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("flag", 0.0) + kwargs.get("flag", 0.0 if use_lspp_defaults() else None) ), Field( "mmn", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow.py index 5de8a7620..59fec9a88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("r00", 1.0) + kwargs.get("r00", 1.0 if use_lspp_defaults() else None) ), Field( "r45", float, 50, 10, - kwargs.get("r45", 1.0) + kwargs.get("r45", 1.0 if use_lspp_defaults() else None) ), Field( "r90", float, 60, 10, - kwargs.get("r90", 1.0) + kwargs.get("r90", 1.0 if use_lspp_defaults() else None) ), Field( "sig00", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow_xue.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow_xue.py index 91d30d988..0db78d494 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow_xue.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_stoughton_non_associated_flow_xue.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,21 +74,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("r00", 1.0) + kwargs.get("r00", 1.0 if use_lspp_defaults() else None) ), Field( "r45", float, 50, 10, - kwargs.get("r45", 1.0) + kwargs.get("r45", 1.0 if use_lspp_defaults() else None) ), Field( "r90", float, 60, 10, - kwargs.get("r90", 1.0) + kwargs.get("r90", 1.0 if use_lspp_defaults() else None) ), Field( "sig00", @@ -140,7 +141,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("scale", 1.0) + kwargs.get("scale", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_strain_rate_dependent_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_strain_rate_dependent_plasticity.py index 903c4f8e9..1ac4dd26a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_strain_rate_dependent_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_strain_rate_dependent_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lc1", 0) + kwargs.get("lc1", 0 if use_lspp_defaults() else None) ), Field( "etan", @@ -98,21 +99,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lc2", 0) + kwargs.get("lc2", 0 if use_lspp_defaults() else None) ), Field( "lc3", int, 30, 10, - kwargs.get("lc3", 0) + kwargs.get("lc3", 0 if use_lspp_defaults() else None) ), Field( "lc4", int, 40, 10, - kwargs.get("lc4", 0) + kwargs.get("lc4", 0 if use_lspp_defaults() else None) ), Field( "tdel", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("rdef", 1.0) + kwargs.get("rdef", 1.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t01.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t01.py index 0fde65d36..61dce5e06 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t01.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t01.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t02.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t02.py index 654934afd..8eaf97f02 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t02.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t02.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t03.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t03.py index dd3dca6c1..8004b7d27 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t03.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t03.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t04.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t04.py index 66873ca66..461ab20a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t04.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t04.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t05.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t05.py index 0055977de..530143c33 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t05.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t05.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t06.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t06.py index 75e6e9f7b..2878af5e1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t06.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t06.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mf", 0) + kwargs.get("mf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t07.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t07.py index 185adb236..ac4eb643e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t07.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t07.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t08.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t08.py index e49f27928..6770a1739 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t08.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t08.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t09.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t09.py index afb024949..0e89a69e7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t09.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t09.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t10.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t10.py index f4c8ae640..679575db4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t10.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t10.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t11.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t11.py index 1469bbf04..4c1853a2e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t11.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t11.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("mt", 11) + kwargs.get("mt", 11 if use_lspp_defaults() else None) ), Field( "lmc", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("iortho", 0) + kwargs.get("iortho", 0 if use_lspp_defaults() else None) ), Field( "ihve", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t17.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t17.py index 7003ec8cd..5272dcd1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t17.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_t17.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mf", 0) + kwargs.get("mf", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook.py index f69238edf..406ad110b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tabk1", 0) + kwargs.get("tabk1", 0 if use_lspp_defaults() else None) ), Field( "tabkt", int, 10, 10, - kwargs.get("tabkt", 0) + kwargs.get("tabkt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,28 +152,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("failopt", 0) + kwargs.get("failopt", 0 if use_lspp_defaults() else None) ), Field( "numavg", int, 10, 10, - kwargs.get("numavg", 1) + kwargs.get("numavg", 1 if use_lspp_defaults() else None) ), Field( "ncyfail", int, 20, 10, - kwargs.get("ncyfail", 1) + kwargs.get("ncyfail", 1 if use_lspp_defaults() else None) ), Field( "erode", int, 30, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "lcps", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys.py index 6defe6906..732a89ffe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tr", 0.0) + kwargs.get("tr", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lck1", 0) + kwargs.get("lck1", 0 if use_lspp_defaults() else None) ), Field( "lckt", int, 10, 10, - kwargs.get("lckt", 0) + kwargs.get("lckt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -179,21 +180,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "sfiepm", float, 50, 10, - kwargs.get("sfiepm", 1.0) + kwargs.get("sfiepm", 1.0 if use_lspp_defaults() else None) ), Field( "niter", int, 60, 10, - kwargs.get("niter", 100) + kwargs.get("niter", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys_log_interpolation.py index 4c5bd556f..aaf46065f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_gys_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("tr", 0.0) + kwargs.get("tr", 0.0 if use_lspp_defaults() else None) ), Field( "beta", float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lck1", 0) + kwargs.get("lck1", 0 if use_lspp_defaults() else None) ), Field( "lckt", int, 10, 10, - kwargs.get("lckt", 0) + kwargs.get("lckt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -179,21 +180,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "sfiepm", float, 50, 10, - kwargs.get("sfiepm", 1.0) + kwargs.get("sfiepm", 1.0 if use_lspp_defaults() else None) ), Field( "niter", int, 60, 10, - kwargs.get("niter", 100) + kwargs.get("niter", 100 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_log_interpolation.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_log_interpolation.py index 37a086f49..67c4a568e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_log_interpolation.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_log_interpolation.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tabk1", 0) + kwargs.get("tabk1", 0 if use_lspp_defaults() else None) ), Field( "tabkt", int, 10, 10, - kwargs.get("tabkt", 0) + kwargs.get("tabkt", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -151,28 +152,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("failopt", 0) + kwargs.get("failopt", 0 if use_lspp_defaults() else None) ), Field( "numavg", int, 10, 10, - kwargs.get("numavg", 1) + kwargs.get("numavg", 1 if use_lspp_defaults() else None) ), Field( "ncyfail", int, 20, 10, - kwargs.get("ncyfail", 1) + kwargs.get("ncyfail", 1 if use_lspp_defaults() else None) ), Field( "erode", int, 30, 10, - kwargs.get("erode", 0) + kwargs.get("erode", 0 if use_lspp_defaults() else None) ), Field( "lcps", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_ortho_plasticity.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_ortho_plasticity.py index 5b3f4564e..1c4de4119 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_ortho_plasticity.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tabulated_johnson_cook_ortho_plasticity.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,14 +88,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("beta", 1.0) + kwargs.get("beta", 1.0 if use_lspp_defaults() else None) ), Field( "numint", float, 70, 10, - kwargs.get("numint", 1.0) + kwargs.get("numint", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct00r", 0) + kwargs.get("lct00r", 0 if use_lspp_defaults() else None) ), Field( "lct00t", int, 10, 10, - kwargs.get("lct00t", 0) + kwargs.get("lct00t", 0 if use_lspp_defaults() else None) ), Field( "lcf", int, 20, 10, - kwargs.get("lcf", 0) + kwargs.get("lcf", 0 if use_lspp_defaults() else None) ), Field( "lcg", int, 30, 10, - kwargs.get("lcg", 0) + kwargs.get("lcg", 0 if use_lspp_defaults() else None) ), Field( "lch", int, 40, 10, - kwargs.get("lch", 0) + kwargs.get("lch", 0 if use_lspp_defaults() else None) ), Field( "lci", int, 50, 10, - kwargs.get("lci", 0) + kwargs.get("lci", 0 if use_lspp_defaults() else None) ), ], ), @@ -179,21 +180,21 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("iflag", 0) + kwargs.get("iflag", 0 if use_lspp_defaults() else None) ), Field( "sfiepm", int, 50, 10, - kwargs.get("sfiepm", 1) + kwargs.get("sfiepm", 1 if use_lspp_defaults() else None) ), Field( "niter", int, 60, 10, - kwargs.get("niter", 100) + kwargs.get("niter", 100 if use_lspp_defaults() else None) ), Field( "aopt", @@ -211,42 +212,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct90r", 0) + kwargs.get("lct90r", 0 if use_lspp_defaults() else None) ), Field( "lct45r", int, 10, 10, - kwargs.get("lct45r", 0) + kwargs.get("lct45r", 0 if use_lspp_defaults() else None) ), Field( "lctthr", int, 20, 10, - kwargs.get("lctthr", 0) + kwargs.get("lctthr", 0 if use_lspp_defaults() else None) ), Field( "lcc90r", int, 30, 10, - kwargs.get("lcc90r", 0) + kwargs.get("lcc90r", 0 if use_lspp_defaults() else None) ), Field( "lcc45r", int, 40, 10, - kwargs.get("lcc45r", 0) + kwargs.get("lcc45r", 0 if use_lspp_defaults() else None) ), Field( "lccth", int, 50, 10, - kwargs.get("lccth", 0) + kwargs.get("lccth", 0 if use_lspp_defaults() else None) ), ], ), @@ -257,42 +258,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lct90t", 0) + kwargs.get("lct90t", 0 if use_lspp_defaults() else None) ), Field( "lct45t", int, 10, 10, - kwargs.get("lct45t", 0) + kwargs.get("lct45t", 0 if use_lspp_defaults() else None) ), Field( "lcttht", int, 20, 10, - kwargs.get("lcttht", 0) + kwargs.get("lcttht", 0 if use_lspp_defaults() else None) ), Field( "lcc90t", int, 30, 10, - kwargs.get("lcc90t", 0) + kwargs.get("lcc90t", 0 if use_lspp_defaults() else None) ), Field( "lcc45t", int, 40, 10, - kwargs.get("lcc45t", 0) + kwargs.get("lcc45t", 0 if use_lspp_defaults() else None) ), Field( "lcctht", int, 50, 10, - kwargs.get("lcctht", 0) + kwargs.get("lcctht", 0 if use_lspp_defaults() else None) ), ], ), @@ -345,7 +346,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tailored_properties.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tailored_properties.py index 13823a203..4f7643b71 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tailored_properties.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tailored_properties.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("fail", 10.E+20) + kwargs.get("fail", 10.E+20 if use_lspp_defaults() else None) ), Field( "tdel", @@ -119,7 +120,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("lcss", 0) + kwargs.get("lcss", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -133,14 +134,14 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("vp", 0.0) + kwargs.get("vp", 0.0 if use_lspp_defaults() else None) ), Field( "hisvn", int, 50, 10, - kwargs.get("hisvn", 0) + kwargs.get("hisvn", 0 if use_lspp_defaults() else None) ), Field( "phase", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_temperature_dependent_orthotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_temperature_dependent_orthotropic.py index a63f19077..7476991ac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_temperature_dependent_orthotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_temperature_dependent_orthotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,14 +67,14 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("ref", 0.0) + kwargs.get("ref", 0.0 if use_lspp_defaults() else None) ), Field( "macf", int, 40, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction.py index 6b97ad828..e9623c37a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mf", 0) + kwargs.get("mf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction_orthotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction_orthotropic.py index 30dec1c99..c6e9e78ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction_orthotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_chemical_reaction_orthotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("mf", 0) + kwargs.get("mf", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("aopt", 0) + kwargs.get("aopt", 0 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_cwm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_cwm.py index f3586b445..3e283e969 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_cwm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_cwm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_discrete_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_discrete_beam.py index fb1506d17..f5f331cc4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_discrete_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_discrete_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic.py index ca2f546ac..b07d5c640 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_phase_change.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_phase_change.py index faae57776..94d24a1ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_phase_change.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_phase_change.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td.py index 0bf0b914b..c130f60e8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td_lc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td_lc.py index 663c5522d..46ab1e115 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td_lc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_isotropic_td_lc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic.py index d25ba31e5..893f25ce2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td.py index f269ef44c..d3f9d3a1b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td_lc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td_lc.py index 84285cc9a..e0bebb3ea 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td_lc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_orthotropic_td_lc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,7 +74,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("aopt", 0.0) + kwargs.get("aopt", 0.0 if use_lspp_defaults() else None) ), Field( "tlat", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_user_defined.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_user_defined.py index cac26de5f..ab0ff0a1b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_user_defined.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermal_user_defined.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,7 +60,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("mt", 11) + kwargs.get("mt", 11 if use_lspp_defaults() else None) ), Field( "lmc", @@ -87,7 +88,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("iortho", 0) + kwargs.get("iortho", 0 if use_lspp_defaults() else None) ), Field( "ihve", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermo_elasto_viscoplastic_creep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermo_elasto_viscoplastic_creep.py index abf21b03c..85d94e989 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermo_elasto_viscoplastic_creep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_thermo_elasto_viscoplastic_creep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -285,7 +286,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("crplaw", 0.0) + kwargs.get("crplaw", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tissue_dispersed.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tissue_dispersed.py index c0c924cdb..e827f74ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tissue_dispersed.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tissue_dispersed.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tnm_polymer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tnm_polymer.py index dab3bfdf2..7435284b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tnm_polymer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_tnm_polymer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_toughened_adhesive_polymer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_toughened_adhesive_polymer.py index d4e88781a..426f1fcf9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_toughened_adhesive_polymer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_toughened_adhesive_polymer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -73,14 +74,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("flg", 0) + kwargs.get("flg", 0 if use_lspp_defaults() else None) ), Field( "jcfl", int, 50, 10, - kwargs.get("jcfl", 0) + kwargs.get("jcfl", 0 if use_lspp_defaults() else None) ), Field( "dopt", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_crushable_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_crushable_foam.py index b670bf25a..2db001a9e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_crushable_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_crushable_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -186,7 +187,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic.py index 4202c813d..f8c7fc12b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_echange.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_echange.py index 26b2b0858..47241e7e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_echange.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_echange.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp2.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp2.py index 08d2494a7..18afc2f32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp2.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp2.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp_failure.py index 29b054c13..89d89b5c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_anisotropic_elastic_plastic_nlp_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -94,7 +95,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("hlcid", 0) + kwargs.get("hlcid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_isotropic_crushable_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_isotropic_crushable_foam.py index dae63baff..49080c7eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_isotropic_crushable_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_transversely_isotropic_crushable_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -186,7 +187,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_trip.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_trip.py index 44ee31066..904d8ae60 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_trip.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_trip.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_uhs_steel.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_uhs_steel.py index 4738bc4af..7abdecfe8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_uhs_steel.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_uhs_steel.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,21 +81,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("crsh", 0) + kwargs.get("crsh", 0 if use_lspp_defaults() else None) ), Field( "phase", int, 60, 10, - kwargs.get("phase", 0) + kwargs.get("phase", 0 if use_lspp_defaults() else None) ), Field( "heat", int, 70, 10, - kwargs.get("heat", 0) + kwargs.get("heat", 0 if use_lspp_defaults() else None) ), ], ), @@ -267,7 +268,7 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("cwm", 0) + kwargs.get("cwm", 0 if use_lspp_defaults() else None) ), Field( "lctre", @@ -313,7 +314,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("tref", 273.15) + kwargs.get("tref", 273.15 if use_lspp_defaults() else None) ), Field( "lat1", @@ -447,14 +448,14 @@ def __init__(self, **kwargs): int, 60, 10, - kwargs.get("react", 0) + kwargs.get("react", 0 if use_lspp_defaults() else None) ), Field( "temper", int, 70, 10, - kwargs.get("temper", 0) + kwargs.get("temper", 0 if use_lspp_defaults() else None) ), ], ), @@ -514,7 +515,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("tau1", 2.08E+8) + kwargs.get("tau1", 2.08E+8 if use_lspp_defaults() else None) ), ], ), @@ -525,28 +526,28 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("gra", 3.11) + kwargs.get("gra", 3.11 if use_lspp_defaults() else None) ), Field( "grb", float, 10, 10, - kwargs.get("grb", 7520.) + kwargs.get("grb", 7520. if use_lspp_defaults() else None) ), Field( "expa", float, 20, 10, - kwargs.get("expa", 1.0) + kwargs.get("expa", 1.0 if use_lspp_defaults() else None) ), Field( "expb", float, 30, 10, - kwargs.get("expb", 1.0) + kwargs.get("expb", 1.0 if use_lspp_defaults() else None) ), Field( "grcc", @@ -567,14 +568,14 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("heatn", 1.0) + kwargs.get("heatn", 1.0 if use_lspp_defaults() else None) ), Field( "tau2", float, 70, 10, - kwargs.get("tau2", 4.806) + kwargs.get("tau2", 4.806 if use_lspp_defaults() else None) ), ], ), @@ -645,14 +646,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lch4", 0) + kwargs.get("lch4", 0 if use_lspp_defaults() else None) ), Field( "lch5", int, 10, 10, - kwargs.get("lch5", 0) + kwargs.get("lch5", 0 if use_lspp_defaults() else None) ), Field( "dtcrit", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep.py index fb745f7a3..b3b2c1c52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep_ortho.py index 073b4e661..362143841 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_unified_creep_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -158,7 +159,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_user_defined_material_models.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_user_defined_material_models.py index 4c5e4d118..d150f612b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_user_defined_material_models.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_user_defined_material_models.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("iortho", 0) + kwargs.get("iortho", 0 if use_lspp_defaults() else None) ), Field( "ibulk", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ivect", 0) + kwargs.get("ivect", 0 if use_lspp_defaults() else None) ), Field( "ifail", @@ -119,21 +120,21 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("itherm", 0) + kwargs.get("itherm", 0 if use_lspp_defaults() else None) ), Field( "ihyper", int, 30, 10, - kwargs.get("ihyper", 0) + kwargs.get("ihyper", 0 if use_lspp_defaults() else None) ), Field( "ieos", int, 40, 10, - kwargs.get("ieos", 0) + kwargs.get("ieos", 0 if use_lspp_defaults() else None) ), Field( "lmca", @@ -172,7 +173,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "xp", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vacuum.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vacuum.py index b08960efb..d1c235862 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vacuum.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vacuum.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter.py index 029c5a172..2bb834903 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_2017.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_2017.py index efe5fc89c..9e897e39b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_2017.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_2017.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_standard.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_standard.py index 406c49682..c21fb93f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_standard.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_vegter_standard.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic.py index dd4eb0bad..38432bce6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_fabric.py index c75ead040..ec349d2be 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -87,7 +88,7 @@ def __init__(self, **kwargs): float, 60, 10, - kwargs.get("cse", 0.0) + kwargs.get("cse", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_hill_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_hill_foam.py index 5832d342b..4d2139db6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_hill_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_hill_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -66,35 +67,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("n", 0) + kwargs.get("n", 0 if use_lspp_defaults() else None) ), Field( "nu", float, 40, 10, - kwargs.get("nu", 0) + kwargs.get("nu", 0 if use_lspp_defaults() else None) ), Field( "lcid", int, 50, 10, - kwargs.get("lcid", 0) + kwargs.get("lcid", 0 if use_lspp_defaults() else None) ), Field( "fittype", int, 60, 10, - kwargs.get("fittype", 1) + kwargs.get("fittype", 1 if use_lspp_defaults() else None) ), Field( "lcsr", int, 70, 10, - kwargs.get("lcsr", 0) + kwargs.get("lcsr", 0 if use_lspp_defaults() else None) ), ], ), @@ -105,21 +106,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcve", 0) + kwargs.get("lcve", 0 if use_lspp_defaults() else None) ), Field( "nt", float, 10, 10, - kwargs.get("nt", 6) + kwargs.get("nt", 6 if use_lspp_defaults() else None) ), Field( "gstart", float, 20, 10, - kwargs.get("gstart", 1) + kwargs.get("gstart", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_loose_fabric.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_loose_fabric.py index 3c58c72cb..e95fcbcbd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_loose_fabric.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_loose_fabric.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_thermal.py index 82e692392..8e245cd2c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoelastic_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoplastic_mixed_hardening.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoplastic_mixed_hardening.py index b4d63640c..4ee3f0440 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoplastic_mixed_hardening.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscoplastic_mixed_hardening.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -91,7 +92,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fail", 1.0E+20) + kwargs.get("fail", 1.0E+20 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscous_foam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscous_foam.py index dcc794cf5..1bbedd516 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscous_foam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_viscous_foam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete.py index 6270c670a..876b18075 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -133,7 +134,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("rate", 0) + kwargs.get("rate", 0 if use_lspp_defaults() else None) ), Field( "conm", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete_reinforcement.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete_reinforcement.py index 894696ca6..f3183f624 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete_reinforcement.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_winfrith_concrete_reinforcement.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood.py index 1555a992c..8a2033339 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -335,7 +336,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("macf", 1) + kwargs.get("macf", 1 if use_lspp_defaults() else None) ), Field( "beta", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_fir.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_fir.py index d91ef237d..cefb4af09 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_fir.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_fir.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -133,14 +134,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), Field( "iqual", int, 50, 10, - kwargs.get("iqual", 0) + kwargs.get("iqual", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_pine.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_pine.py index 6816e3ac9..a6791bad6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_pine.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wood_pine.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -59,42 +60,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("nplot", 1) + kwargs.get("nplot", 1 if use_lspp_defaults() else None) ), Field( "iters", int, 30, 10, - kwargs.get("iters", 1) + kwargs.get("iters", 1 if use_lspp_defaults() else None) ), Field( "irate", int, 40, 10, - kwargs.get("irate", 0) + kwargs.get("irate", 0 if use_lspp_defaults() else None) ), Field( "ghard", float, 50, 10, - kwargs.get("ghard", 0) + kwargs.get("ghard", 0 if use_lspp_defaults() else None) ), Field( "ifail", int, 60, 10, - kwargs.get("ifail", 0) + kwargs.get("ifail", 0 if use_lspp_defaults() else None) ), Field( "ivol", int, 70, 10, - kwargs.get("ivol", 0) + kwargs.get("ivol", 0 if use_lspp_defaults() else None) ), ], ), @@ -133,14 +134,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("units", 0) + kwargs.get("units", 0 if use_lspp_defaults() else None) ), Field( "iqual", int, 50, 10, - kwargs.get("iqual", 0) + kwargs.get("iqual", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm.py index a612b76bb..2a7f7577d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -154,7 +155,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("flg", 0) + kwargs.get("flg", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm_plc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm_plc.py index 3738f6d77..4e7aedccf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm_plc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mat_wtm_stm_plc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl.py index b174a8d8a..bc4d195a9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshBl(KeywordBase): @@ -54,21 +55,21 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("blth", 0.0) + kwargs.get("blth", 0.0 if use_lspp_defaults() else None) ), Field( "blfe", float, 30, 10, - kwargs.get("blfe", 0.0) + kwargs.get("blfe", 0.0 if use_lspp_defaults() else None) ), Field( "blst", int, 40, 10, - kwargs.get("blst", 0) + kwargs.get("blst", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl_sym.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl_sym.py index c08ed86ea..cfcb50ce1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl_sym.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_bl_sym.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshBlSym(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_embedshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_embedshell.py index 0961163f3..ce6928aed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_embedshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_embedshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_interf.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_interf.py index 72eb73d9f..0ab84a926 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_interf.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_interf.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshInterf(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_node.py index 24e5b84b2..0c7b2d927 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size.py index e79e84715..9ba34ccac 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshSize(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size_shape.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size_shape.py index a52cdc4f3..f3715389e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size_shape.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_size_shape.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshSizeShape(KeywordBase): @@ -40,35 +41,35 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("sname", "BOX") + kwargs.get("sname", "BOX" if use_lspp_defaults() else None) ), Field( "force", int, 10, 10, - kwargs.get("force", 0) + kwargs.get("force", 0 if use_lspp_defaults() else None) ), Field( "method", int, 20, 10, - kwargs.get("method", 0) + kwargs.get("method", 0 if use_lspp_defaults() else None) ), Field( "bt", float, 30, 10, - kwargs.get("bt", 0.0) + kwargs.get("bt", 0.0 if use_lspp_defaults() else None) ), Field( "dt", float, 40, 10, - kwargs.get("dt", 1.E12) + kwargs.get("dt", 1.E12 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_element.py index 0151d7033..0c186aeb6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_node.py index f2a211142..28ad5ec19 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_surface_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume.py index ef0e5f5d3..f9c3bbbbf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_element.py index 354679c83..d1328fa1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshVolumeElement(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_node.py index 5f048da8c..79054a802 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshVolumeNode(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0) + kwargs.get("x", 0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0) + kwargs.get("y", 0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0) + kwargs.get("z", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_part.py index 3be243ea6..9e158148e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/mesh_volume_part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class MeshVolumePart(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_load.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_load.py index bad709cff..e12f9bb4a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_load.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_load.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ModuleLoad(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path.py index 4d7daff99..c61cda7b8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ModulePath(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path_relative.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path_relative.py index 33c29216a..2dd61949d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path_relative.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_path_relative.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ModulePathRelative(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_use.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_use.py index 8187c2e17..a13fae34e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/module_use.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/module_use.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ModuleUse(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node.py index 53944e908..f4db05b65 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge.py index 1b13da7d3..773100805 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeMerge(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_set.py index 952647215..b4df41462 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeMergeSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_tolerance.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_tolerance.py index 1a955217a..f0025e46d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_tolerance.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_merge_tolerance.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeMergeTolerance(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_nodes.py index 69c1cf785..457d345d9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeNodes(KeywordBase): @@ -47,35 +48,35 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), Field( "tc", int, 56, 8, - kwargs.get("tc", 0) + kwargs.get("tc", 0 if use_lspp_defaults() else None) ), Field( "rc", int, 64, 8, - kwargs.get("rc", 0) + kwargs.get("rc", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_rigid_surface.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_rigid_surface.py index 27435aaa0..fa9a9e9d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_rigid_surface.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_rigid_surface.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeRigidSurface(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("x", 0.0) + kwargs.get("x", 0.0 if use_lspp_defaults() else None) ), Field( "y", float, 24, 16, - kwargs.get("y", 0.0) + kwargs.get("y", 0.0 if use_lspp_defaults() else None) ), Field( "z", float, 40, 16, - kwargs.get("z", 0.0) + kwargs.get("z", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar.py index a8c75b1a0..05bb72a2a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeScalar(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 8, 8, - kwargs.get("ndof", 0) + kwargs.get("ndof", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar_value.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar_value.py index b96119acf..78f79238d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar_value.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_scalar_value.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeScalarValue(KeywordBase): @@ -47,28 +48,28 @@ def __init__(self, **kwargs): float, 8, 10, - kwargs.get("x1", 0.0) + kwargs.get("x1", 0.0 if use_lspp_defaults() else None) ), Field( "x2", float, 18, 10, - kwargs.get("x2", 0.0) + kwargs.get("x2", 0.0 if use_lspp_defaults() else None) ), Field( "x3", float, 28, 10, - kwargs.get("x3", 0.0) + kwargs.get("x3", 0.0 if use_lspp_defaults() else None) ), Field( "ndof", int, 38, 8, - kwargs.get("ndof", 0) + kwargs.get("ndof", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness.py index 8d11e7c1e..cf2af4062 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeThickness(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_generate.py index 301941cb3..48d3abfe7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeThicknessGenerate(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set.py index 3a0b2aea1..afe4b64a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeThicknessSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set_generate.py index edee145fd..45bc4efb9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_thickness_set_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeThicknessSetGenerate(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_to_target_vector.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_to_target_vector.py index 96f57ad31..999e83048 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_to_target_vector.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_to_target_vector.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeToTargetVector(KeywordBase): @@ -47,21 +48,21 @@ def __init__(self, **kwargs): float, 8, 16, - kwargs.get("xdelta", 0.0) + kwargs.get("xdelta", 0.0 if use_lspp_defaults() else None) ), Field( "ydelta", float, 24, 16, - kwargs.get("ydelta", 0.0) + kwargs.get("ydelta", 0.0 if use_lspp_defaults() else None) ), Field( "zdelta", float, 40, 16, - kwargs.get("zdelta", 0.0) + kwargs.get("zdelta", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_transform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_transform.py index fbc83a67a..2d0dc8ebb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/node_transform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/node_transform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class NodeTransform(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("immed", 0) + kwargs.get("immed", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter.py index 6e10f7729..f457bd30d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_duplication.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_duplication.py index b455e0cd9..a621c5d26 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_duplication.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_duplication.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ParameterDuplication(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("dflag", 1) + kwargs.get("dflag", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression.py index 93523ab32..b69386407 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_local.py index f31b51e05..cc680c64b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_noecho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_noecho.py index f05142c30..e8401cdad 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_noecho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_expression_noecho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ParameterExpressionNoecho(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_local.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_local.py index 8ee3362f0..bfa0d11c7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_local.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_local.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_noecho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_noecho.py index 3c696b08c..4cc32b608 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_noecho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_noecho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ParameterNoecho(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_type.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_type.py index 976c036fc..af5f6271e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_type.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/parameter_type.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ParameterType(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): str, 20, 10, - kwargs.get("prtyp", " ") + kwargs.get("prtyp", " " if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part.py index 8d4d3ef25..a5cee7029 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card_group import DuplicateCardGroup from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_adaptive_failure.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_adaptive_failure.py index 9eb34438b..f9386a993 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_adaptive_failure.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_adaptive_failure.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartAdaptiveFailure(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("term", 0) + kwargs.get("term", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal.py index 5ebad7c38..adc407f52 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartAnneal(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal_set.py index b9c52ba74..b204fb3d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_anneal_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartAnnealSet(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_attachment_nodes.py index ea7ccea8c..7722fd356 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_averaged.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_averaged.py index 739c0dbbd..a9ab3c3d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_averaged.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_averaged.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartAveraged(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite.py index 0b2f6fc22..4a7284ac1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartComposite(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 40, 10, - kwargs.get("marea", 0) + kwargs.get("marea", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "adpopt", int, 60, 10, - kwargs.get("adpopt", 0) + kwargs.get("adpopt", 0 if use_lspp_defaults() else None) ), Field( "thshel", int, 70, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_contact.py index 5c763646d..04fabf009 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeContact(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 40, 10, - kwargs.get("marea", 0) + kwargs.get("marea", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "adpopt", int, 60, 10, - kwargs.get("adpopt", 0) + kwargs.get("adpopt", 0 if use_lspp_defaults() else None) ), Field( "thshel", int, 70, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_iga_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_iga_shell.py index c616b7649..3e3b32454 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_iga_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_iga_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeIgaShell(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "shrf", @@ -72,7 +73,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("irl", 0) + kwargs.get("irl", 0 if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long.py index 414383931..ea9896ad9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeLong(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 40, 10, - kwargs.get("marea", 0) + kwargs.get("marea", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "adpopt", int, 60, 10, - kwargs.get("adpopt", 0) + kwargs.get("adpopt", 0 if use_lspp_defaults() else None) ), Field( "thshel", int, 70, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long_contact.py index 7ea46c3c6..58196fa31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_long_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeLongContact(KeywordBase): @@ -58,7 +59,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", @@ -72,35 +73,35 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 40, 10, - kwargs.get("marea", 0) + kwargs.get("marea", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "adpopt", int, 60, 10, - kwargs.get("adpopt", 0) + kwargs.get("adpopt", 0 if use_lspp_defaults() else None) ), Field( "thshel", int, 70, 10, - kwargs.get("thshel", 0) + kwargs.get("thshel", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell.py index 4694ae525..e22d0313a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeTshell(KeywordBase): @@ -58,14 +59,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tshear", 0) + kwargs.get("tshear", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell_long.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell_long.py index 8404c2e5d..ad742562a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell_long.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_composite_tshell_long.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartCompositeTshellLong(KeywordBase): @@ -58,14 +59,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -86,7 +87,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tshear", 0) + kwargs.get("tshear", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact.py index e99c09e53..58902d1f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartContact(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_attachment_nodes.py index b42971018..1775246fb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartContactAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -171,7 +172,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print.py index 460bcc240..e6a516fcb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartContactPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -171,7 +172,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print_attachment_nodes.py index 1a4fb3a48..f99d0657e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_contact_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartContactPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -171,7 +172,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -182,7 +183,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate.py index fae4fe3c9..53455c3ed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartDuplicate(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("ptype", "PART") + kwargs.get("ptype", "PART" if use_lspp_defaults() else None) ), Field( "typeid", @@ -54,42 +55,42 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idpoff", 0) + kwargs.get("idpoff", 0 if use_lspp_defaults() else None) ), Field( "ideoff", int, 30, 10, - kwargs.get("ideoff", 0) + kwargs.get("ideoff", 0 if use_lspp_defaults() else None) ), Field( "idnoff", int, 40, 10, - kwargs.get("idnoff", 0) + kwargs.get("idnoff", 0 if use_lspp_defaults() else None) ), Field( "tranid", int, 50, 10, - kwargs.get("tranid", 0) + kwargs.get("tranid", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 60, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "zmin", float, 70, 10, - kwargs.get("zmin", 0.0) + kwargs.get("zmin", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate_null_overlay.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate_null_overlay.py index b90e8710b..1a018ee2f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate_null_overlay.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_duplicate_null_overlay.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartDuplicateNullOverlay(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("ptype", "PART") + kwargs.get("ptype", "PART" if use_lspp_defaults() else None) ), Field( "typeid", @@ -54,35 +55,35 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("idpoff", 0) + kwargs.get("idpoff", 0 if use_lspp_defaults() else None) ), Field( "ideoff", int, 30, 10, - kwargs.get("ideoff", 0) + kwargs.get("ideoff", 0 if use_lspp_defaults() else None) ), Field( "density", float, 40, 10, - kwargs.get("density", 0.0) + kwargs.get("density", 0.0 if use_lspp_defaults() else None) ), Field( "e", float, 50, 10, - kwargs.get("e", 0.0) + kwargs.get("e", 0.0 if use_lspp_defaults() else None) ), Field( "pr", float, 60, 10, - kwargs.get("pr", 0.0) + kwargs.get("pr", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia.py index 75dd609e2..b378a7b18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertia(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_attachment_nodes.py index e2c73f3a2..036ac6cf1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact.py index 89c7da0fe..ef322c9d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaContact(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_attachment_nodes.py index 7c25fbc2c..c117732fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaContactAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -362,7 +363,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print.py index 7a92c0cb9..cf239e0a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaContactPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -362,7 +363,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print_attachment_nodes.py index 0b799028c..9eca2e599 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_contact_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaContactPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -362,7 +363,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -373,7 +374,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print.py index a83bb90cc..a96046d64 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print_attachment_nodes.py index ef7c3db0d..4ae034d31 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_inertia_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartInertiaPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("ircs", 0) + kwargs.get("ircs", 0 if use_lspp_defaults() else None) ), Field( "nodeid", @@ -302,7 +303,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -313,7 +314,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_modes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_modes.py index d79eb2e8c..3a072962d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_modes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_modes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartModes(KeywordBase): @@ -54,7 +55,7 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("form", 0) + kwargs.get("form", 0 if use_lspp_defaults() else None) ), Field( "ansid", @@ -68,28 +69,28 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("format", 0) + kwargs.get("format", 0 if use_lspp_defaults() else None) ), Field( "kmflag", int, 50, 10, - kwargs.get("kmflag", 0) + kwargs.get("kmflag", 0 if use_lspp_defaults() else None) ), Field( "nupdf", int, 60, 10, - kwargs.get("nupdf", 0) + kwargs.get("nupdf", 0 if use_lspp_defaults() else None) ), Field( "sigrec", int, 70, 10, - kwargs.get("sigrec", 0) + kwargs.get("sigrec", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_move.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_move.py index 4bc38cfd3..0786e530b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_move.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_move.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartMove(KeywordBase): @@ -68,14 +69,14 @@ def __init__(self, **kwargs): int, 56, 8, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), Field( "ifset", int, 64, 8, - kwargs.get("ifset", 0) + kwargs.get("ifset", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print.py index d888ea3e3..fdfa421c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print_attachment_nodes.py index e55c33709..766281ea8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -111,7 +112,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -122,7 +123,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition.py index 6d7e8873e..f2c6e0a93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartReposition(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_attachment_nodes.py index f26336563..9087edda8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,7 +137,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact.py index 7f0de597c..91151c737 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionContact(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_attachment_nodes.py index b9c3d494e..3b4e1fa16 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionContactAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print.py index c8ce05a2d..7e262f934 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionContactPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print_attachment_nodes.py index 1370588fa..c2cf4766c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_contact_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionContactPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -207,7 +208,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print.py index 1d33426c9..6481ee714 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionPrint(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,7 +137,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print_attachment_nodes.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print_attachment_nodes.py index 6d65e2a94..18d8e1002 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print_attachment_nodes.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_reposition_print_attachment_nodes.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartRepositionPrintAttachmentNodes(KeywordBase): @@ -72,21 +73,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("eosid", 0) + kwargs.get("eosid", 0 if use_lspp_defaults() else None) ), Field( "hgid", int, 40, 10, - kwargs.get("hgid", 0) + kwargs.get("hgid", 0 if use_lspp_defaults() else None) ), Field( "grav", int, 50, 10, - kwargs.get("grav", 0) + kwargs.get("grav", 0 if use_lspp_defaults() else None) ), Field( "adpopt", @@ -100,7 +101,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("tmid", 0) + kwargs.get("tmid", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,14 +119,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("mdep", 0) + kwargs.get("mdep", 0 if use_lspp_defaults() else None) ), Field( "movopt", int, 20, 10, - kwargs.get("movopt", 0) + kwargs.get("movopt", 0 if use_lspp_defaults() else None) ), ], ), @@ -136,7 +137,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("prbf", 0) + kwargs.get("prbf", 0 if use_lspp_defaults() else None) ), ], ), @@ -147,7 +148,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ansid", 0) + kwargs.get("ansid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_sensor.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_sensor.py index 10b7bef9e..7dd959334 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_sensor.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_sensor.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartSensor(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "sida", int, 10, 10, - kwargs.get("sida", 0) + kwargs.get("sida", 0 if use_lspp_defaults() else None) ), Field( "active", int, 20, 10, - kwargs.get("active", 0) + kwargs.get("active", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_stacked_elements.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_stacked_elements.py index 78297c5ae..19be808e6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/part_stacked_elements.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/part_stacked_elements.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PartStackedElements(KeywordBase): @@ -51,28 +52,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("pidref", 0) + kwargs.get("pidref", 0 if use_lspp_defaults() else None) ), Field( "numlay", int, 10, 10, - kwargs.get("numlay", 0) + kwargs.get("numlay", 0 if use_lspp_defaults() else None) ), Field( "adpopt", int, 20, 10, - kwargs.get("adpopt", 0) + kwargs.get("adpopt", 0 if use_lspp_defaults() else None) ), Field( "inplcmp", int, 30, 10, - kwargs.get("inplcmp", 0) + kwargs.get("inplcmp", 0 if use_lspp_defaults() else None) ), ], ), @@ -104,14 +105,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("hgidi", 0) + kwargs.get("hgidi", 0 if use_lspp_defaults() else None) ), Field( "tmidi", int, 40, 10, - kwargs.get("tmidi", 0) + kwargs.get("tmidi", 0 if use_lspp_defaults() else None) ), Field( "thki", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/particle_blast.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/particle_blast.py index d14731078..c1b328b46 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/particle_blast.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/particle_blast.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class ParticleBlast(KeywordBase): @@ -40,49 +41,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lagsid", 0) + kwargs.get("lagsid", 0 if use_lspp_defaults() else None) ), Field( "lagstype", int, 10, 10, - kwargs.get("lagstype", 0) + kwargs.get("lagstype", 0 if use_lspp_defaults() else None) ), Field( "dodid", int, 20, 10, - kwargs.get("dodid", 0) + kwargs.get("dodid", 0 if use_lspp_defaults() else None) ), Field( "dodtype", int, 30, 10, - kwargs.get("dodtype", 0) + kwargs.get("dodtype", 0 if use_lspp_defaults() else None) ), Field( "hecid", int, 40, 10, - kwargs.get("hecid", 0) + kwargs.get("hecid", 0 if use_lspp_defaults() else None) ), Field( "hectype", int, 50, 10, - kwargs.get("hectype", 0) + kwargs.get("hectype", 0 if use_lspp_defaults() else None) ), Field( "aircid", int, 60, 10, - kwargs.get("aircid", 0) + kwargs.get("aircid", 0 if use_lspp_defaults() else None) ), ], ), @@ -93,21 +94,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nphe", 0) + kwargs.get("nphe", 0 if use_lspp_defaults() else None) ), Field( "npair", int, 10, 10, - kwargs.get("npair", 0) + kwargs.get("npair", 0 if use_lspp_defaults() else None) ), Field( "iunit", int, 20, 10, - kwargs.get("iunit", 0) + kwargs.get("iunit", 0 if use_lspp_defaults() else None) ), ], ), @@ -118,42 +119,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ihetype", 0) + kwargs.get("ihetype", 0 if use_lspp_defaults() else None) ), Field( "densit", float, 10, 10, - kwargs.get("densit", 0.0) + kwargs.get("densit", 0.0 if use_lspp_defaults() else None) ), Field( "energy", float, 20, 10, - kwargs.get("energy", 0.0) + kwargs.get("energy", 0.0 if use_lspp_defaults() else None) ), Field( "gamma", float, 30, 10, - kwargs.get("gamma", 0.0) + kwargs.get("gamma", 0.0 if use_lspp_defaults() else None) ), Field( "covol", float, 40, 10, - kwargs.get("covol", 0.0) + kwargs.get("covol", 0.0 if use_lspp_defaults() else None) ), Field( "deto_v", float, 50, 10, - kwargs.get("deto_v", 0.0) + kwargs.get("deto_v", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -164,42 +165,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("detx", 0.0) + kwargs.get("detx", 0.0 if use_lspp_defaults() else None) ), Field( "dety", float, 10, 10, - kwargs.get("dety", 0.0) + kwargs.get("dety", 0.0 if use_lspp_defaults() else None) ), Field( "detz", float, 20, 10, - kwargs.get("detz", 0.0) + kwargs.get("detz", 0.0 if use_lspp_defaults() else None) ), Field( "tdet", float, 30, 10, - kwargs.get("tdet", 0.0) + kwargs.get("tdet", 0.0 if use_lspp_defaults() else None) ), Field( "btend", float, 40, 10, - kwargs.get("btend", 0.0) + kwargs.get("btend", 0.0 if use_lspp_defaults() else None) ), Field( "nid", int, 50, 10, - kwargs.get("nid", 0) + kwargs.get("nid", 0 if use_lspp_defaults() else None) ), ], ), @@ -210,42 +211,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("bcxo", 0.0) + kwargs.get("bcxo", 0.0 if use_lspp_defaults() else None) ), Field( "bcx1", float, 10, 10, - kwargs.get("bcx1", 0.0) + kwargs.get("bcx1", 0.0 if use_lspp_defaults() else None) ), Field( "bcy0", float, 20, 10, - kwargs.get("bcy0", 0.0) + kwargs.get("bcy0", 0.0 if use_lspp_defaults() else None) ), Field( "bcy1", float, 30, 10, - kwargs.get("bcy1", 0.0) + kwargs.get("bcy1", 0.0 if use_lspp_defaults() else None) ), Field( "bcz0", float, 40, 10, - kwargs.get("bcz0", 0.0) + kwargs.get("bcz0", 0.0 if use_lspp_defaults() else None) ), Field( "bcz1", float, 50, 10, - kwargs.get("bcz1", 0.0) + kwargs.get("bcz1", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -256,49 +257,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ibcx0", 0) + kwargs.get("ibcx0", 0 if use_lspp_defaults() else None) ), Field( "ibcx1", int, 10, 10, - kwargs.get("ibcx1", 0) + kwargs.get("ibcx1", 0 if use_lspp_defaults() else None) ), Field( "ibcy0", int, 20, 10, - kwargs.get("ibcy0", 0) + kwargs.get("ibcy0", 0 if use_lspp_defaults() else None) ), Field( "ibcy1", int, 30, 10, - kwargs.get("ibcy1", 0) + kwargs.get("ibcy1", 0 if use_lspp_defaults() else None) ), Field( "ibcz0", int, 40, 10, - kwargs.get("ibcz0", 0) + kwargs.get("ibcz0", 0 if use_lspp_defaults() else None) ), Field( "ibcz1", int, 50, 10, - kwargs.get("ibcz1", 0) + kwargs.get("ibcz1", 0 if use_lspp_defaults() else None) ), Field( "bc_p", int, 60, 10, - kwargs.get("bc_p", 0) + kwargs.get("bc_p", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_mat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_mat.py index 4bbcd2e18..fda33dc15 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_mat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_mat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PerturbationMat(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "pid", int, 10, 10, - kwargs.get("pid", 0) + kwargs.get("pid", 0 if use_lspp_defaults() else None) ), Field( "scl", float, 20, 10, - kwargs.get("scl", 1.0) + kwargs.get("scl", 1.0 if use_lspp_defaults() else None) ), Field( "cmp", @@ -68,14 +69,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ampl", 1.0) + kwargs.get("ampl", 1.0 if use_lspp_defaults() else None) ), Field( "xwl", float, 10, 10, - kwargs.get("xwl", 0.0) + kwargs.get("xwl", 0.0 if use_lspp_defaults() else None) ), Field( "xoff", float, 20, 10, - kwargs.get("xoff", 0.0) + kwargs.get("xoff", 0.0 if use_lspp_defaults() else None) ), Field( "ywl", float, 30, 10, - kwargs.get("ywl", 0.0) + kwargs.get("ywl", 0.0 if use_lspp_defaults() else None) ), Field( "yoff", float, 40, 10, - kwargs.get("yoff", 0.0) + kwargs.get("yoff", 0.0 if use_lspp_defaults() else None) ), Field( "zwl", float, 50, 10, - kwargs.get("zwl", 0.0) + kwargs.get("zwl", 0.0 if use_lspp_defaults() else None) ), Field( "zoff", float, 60, 10, - kwargs.get("zoff", 0.0) + kwargs.get("zoff", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fade", 1.0) + kwargs.get("fade", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -161,28 +162,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cstype", 1) + kwargs.get("cstype", 1 if use_lspp_defaults() else None) ), Field( "ellip1", float, 10, 10, - kwargs.get("ellip1", 0.0) + kwargs.get("ellip1", 0.0 if use_lspp_defaults() else None) ), Field( "ellip2", float, 20, 10, - kwargs.get("ellip2", 0.0) + kwargs.get("ellip2", 0.0 if use_lspp_defaults() else None) ), Field( "rnd", int, 30, 10, - kwargs.get("rnd", 0) + kwargs.get("rnd", 0 if use_lspp_defaults() else None) ), ], ), @@ -193,28 +194,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cftype", 1) + kwargs.get("cftype", 1 if use_lspp_defaults() else None) ), Field( "cfc1", float, 10, 10, - kwargs.get("cfc1", 1.0) + kwargs.get("cfc1", 1.0 if use_lspp_defaults() else None) ), Field( "cfc2", float, 20, 10, - kwargs.get("cfc2", 1.0) + kwargs.get("cfc2", 1.0 if use_lspp_defaults() else None) ), Field( "cfc3", float, 30, 10, - kwargs.get("cfc3", 1.0) + kwargs.get("cfc3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -225,14 +226,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ampl", 1) + kwargs.get("ampl", 1 if use_lspp_defaults() else None) ), Field( "dtype", float, 10, 10, - kwargs.get("dtype", 0.0) + kwargs.get("dtype", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_node.py index a9ad8e35f..c1a4ddf10 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PerturbationNode(KeywordBase): @@ -40,42 +41,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "nsid", int, 10, 10, - kwargs.get("nsid", 0) + kwargs.get("nsid", 0 if use_lspp_defaults() else None) ), Field( "scl", float, 20, 10, - kwargs.get("scl", 1.0) + kwargs.get("scl", 1.0 if use_lspp_defaults() else None) ), Field( "cmp", int, 30, 10, - kwargs.get("cmp", 7) + kwargs.get("cmp", 7 if use_lspp_defaults() else None) ), Field( "icoord", int, 40, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ampl", 1.0) + kwargs.get("ampl", 1.0 if use_lspp_defaults() else None) ), Field( "xwl", float, 10, 10, - kwargs.get("xwl", 0.0) + kwargs.get("xwl", 0.0 if use_lspp_defaults() else None) ), Field( "xoff", float, 20, 10, - kwargs.get("xoff", 0.0) + kwargs.get("xoff", 0.0 if use_lspp_defaults() else None) ), Field( "ywl", float, 30, 10, - kwargs.get("ywl", 0.0) + kwargs.get("ywl", 0.0 if use_lspp_defaults() else None) ), Field( "yoff", float, 40, 10, - kwargs.get("yoff", 0.0) + kwargs.get("yoff", 0.0 if use_lspp_defaults() else None) ), Field( "zwl", float, 50, 10, - kwargs.get("zwl", 0.0) + kwargs.get("zwl", 0.0 if use_lspp_defaults() else None) ), Field( "zoff", float, 60, 10, - kwargs.get("zoff", 0.0) + kwargs.get("zoff", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fade", 1.0) + kwargs.get("fade", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -161,28 +162,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cstype", 1) + kwargs.get("cstype", 1 if use_lspp_defaults() else None) ), Field( "ellip1", float, 10, 10, - kwargs.get("ellip1", 0.0) + kwargs.get("ellip1", 0.0 if use_lspp_defaults() else None) ), Field( "ellip2", float, 20, 10, - kwargs.get("ellip2", 0.0) + kwargs.get("ellip2", 0.0 if use_lspp_defaults() else None) ), Field( "rnd", int, 30, 10, - kwargs.get("rnd", 0) + kwargs.get("rnd", 0 if use_lspp_defaults() else None) ), ], ), @@ -193,28 +194,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cftype", 1) + kwargs.get("cftype", 1 if use_lspp_defaults() else None) ), Field( "cfc1", float, 10, 10, - kwargs.get("cfc1", 1.0) + kwargs.get("cfc1", 1.0 if use_lspp_defaults() else None) ), Field( "cfc2", float, 20, 10, - kwargs.get("cfc2", 1.0) + kwargs.get("cfc2", 1.0 if use_lspp_defaults() else None) ), Field( "cfc3", float, 30, 10, - kwargs.get("cfc3", 1.0) + kwargs.get("cfc3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -225,14 +226,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ampl", 1) + kwargs.get("ampl", 1 if use_lspp_defaults() else None) ), Field( "dtype", float, 10, 10, - kwargs.get("dtype", 0.0) + kwargs.get("dtype", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_shell_thickness.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_shell_thickness.py index 61a165f04..3f8659354 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_shell_thickness.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/perturbation_shell_thickness.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class PerturbationShellThickness(KeywordBase): @@ -40,7 +41,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("type", 1) + kwargs.get("type", 1 if use_lspp_defaults() else None) ), Field( "eid", @@ -54,28 +55,28 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("scl", 1.0) + kwargs.get("scl", 1.0 if use_lspp_defaults() else None) ), Field( "cmp", int, 30, 10, - kwargs.get("cmp", 7) + kwargs.get("cmp", 7 if use_lspp_defaults() else None) ), Field( "icoord", int, 40, 10, - kwargs.get("icoord", 0) + kwargs.get("icoord", 0 if use_lspp_defaults() else None) ), Field( "cid", int, 50, 10, - kwargs.get("cid", 0) + kwargs.get("cid", 0 if use_lspp_defaults() else None) ), ], ), @@ -86,49 +87,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ampl", 1.0) + kwargs.get("ampl", 1.0 if use_lspp_defaults() else None) ), Field( "xwl", float, 10, 10, - kwargs.get("xwl", 0.0) + kwargs.get("xwl", 0.0 if use_lspp_defaults() else None) ), Field( "xoff", float, 20, 10, - kwargs.get("xoff", 0.0) + kwargs.get("xoff", 0.0 if use_lspp_defaults() else None) ), Field( "ywl", float, 30, 10, - kwargs.get("ywl", 0.0) + kwargs.get("ywl", 0.0 if use_lspp_defaults() else None) ), Field( "yoff", float, 40, 10, - kwargs.get("yoff", 0.0) + kwargs.get("yoff", 0.0 if use_lspp_defaults() else None) ), Field( "zwl", float, 50, 10, - kwargs.get("zwl", 0.0) + kwargs.get("zwl", 0.0 if use_lspp_defaults() else None) ), Field( "zoff", float, 60, 10, - kwargs.get("zoff", 0.0) + kwargs.get("zoff", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -139,7 +140,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("fade", 1.0) + kwargs.get("fade", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -161,28 +162,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cstype", 1) + kwargs.get("cstype", 1 if use_lspp_defaults() else None) ), Field( "ellip1", float, 10, 10, - kwargs.get("ellip1", 0.0) + kwargs.get("ellip1", 0.0 if use_lspp_defaults() else None) ), Field( "ellip2", float, 20, 10, - kwargs.get("ellip2", 0.0) + kwargs.get("ellip2", 0.0 if use_lspp_defaults() else None) ), Field( "rnd", int, 30, 10, - kwargs.get("rnd", 0) + kwargs.get("rnd", 0 if use_lspp_defaults() else None) ), ], ), @@ -193,28 +194,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("cftype", 1) + kwargs.get("cftype", 1 if use_lspp_defaults() else None) ), Field( "cfc1", float, 10, 10, - kwargs.get("cfc1", 1.0) + kwargs.get("cfc1", 1.0 if use_lspp_defaults() else None) ), Field( "cfc2", float, 20, 10, - kwargs.get("cfc2", 1.0) + kwargs.get("cfc2", 1.0 if use_lspp_defaults() else None) ), Field( "cfc3", float, 30, 10, - kwargs.get("cfc3", 1.0) + kwargs.get("cfc3", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -225,14 +226,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ampl", 1) + kwargs.get("ampl", 1 if use_lspp_defaults() else None) ), Field( "dtype", float, 10, 10, - kwargs.get("dtype", 0.0) + kwargs.get("dtype", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_track.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_track.py index 54ef7c7e8..01c258c84 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_track.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_track.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RailTrack(KeywordBase): @@ -68,28 +69,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("oset1", 0.0) + kwargs.get("oset1", 0.0 if use_lspp_defaults() else None) ), Field( "sf1", float, 50, 10, - kwargs.get("sf1", 1.0) + kwargs.get("sf1", 1.0 if use_lspp_defaults() else None) ), Field( "ga1", float, 60, 10, - kwargs.get("ga1", 0.0) + kwargs.get("ga1", 0.0 if use_lspp_defaults() else None) ), Field( "idir", int, 70, 10, - kwargs.get("idir", 0) + kwargs.get("idir", 0 if use_lspp_defaults() else None) ), ], ), @@ -128,21 +129,21 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("oset2", 0.0) + kwargs.get("oset2", 0.0 if use_lspp_defaults() else None) ), Field( "sf2", float, 50, 10, - kwargs.get("sf2", 1.0) + kwargs.get("sf2", 1.0 if use_lspp_defaults() else None) ), Field( "ga2", float, 60, 10, - kwargs.get("ga2", 0.0) + kwargs.get("ga2", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_train.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_train.py index 46a7f75f6..2d7289ce4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_train.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rail_train.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RailTrain(KeywordBase): @@ -61,7 +62,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("finit", 0.0) + kwargs.get("finit", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -75,7 +76,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("trid", 0) + kwargs.get("trid", 0 if use_lspp_defaults() else None) ), Field( "lcur", @@ -89,7 +90,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("offs", 0.0) + kwargs.get("offs", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -100,56 +101,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("vertstf", 0.0) + kwargs.get("vertstf", 0.0 if use_lspp_defaults() else None) ), Field( "latstf", float, 10, 10, - kwargs.get("latstf", 0.0) + kwargs.get("latstf", 0.0 if use_lspp_defaults() else None) ), Field( "v2", float, 20, 10, - kwargs.get("v2", 0.0) + kwargs.get("v2", 0.0 if use_lspp_defaults() else None) ), Field( "v3", float, 30, 10, - kwargs.get("v3", 0.0) + kwargs.get("v3", 0.0 if use_lspp_defaults() else None) ), Field( "l2", float, 40, 10, - kwargs.get("l2", 0.0) + kwargs.get("l2", 0.0 if use_lspp_defaults() else None) ), Field( "l3", float, 50, 10, - kwargs.get("l3", 0.0) + kwargs.get("l3", 0.0 if use_lspp_defaults() else None) ), Field( "latdir", float, 60, 10, - kwargs.get("latdir", 0.0) + kwargs.get("latdir", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 70, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_control.py index c39b5bb11..698eed452 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidDeformableControl(KeywordBase): @@ -40,21 +41,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nrbf", 0) + kwargs.get("nrbf", 0 if use_lspp_defaults() else None) ), Field( "ncsf", int, 10, 10, - kwargs.get("ncsf", 0) + kwargs.get("ncsf", 0 if use_lspp_defaults() else None) ), Field( "rwf", int, 20, 10, - kwargs.get("rwf", 0) + kwargs.get("rwf", 0 if use_lspp_defaults() else None) ), Field( "dtmax", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_d2r.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_d2r.py index 0818433f9..cf929f29c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_d2r.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_d2r.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidDeformableD2R(KeywordBase): @@ -47,7 +48,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("lrb", 0) + kwargs.get("lrb", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_r2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_r2d.py index f80c95c36..6f6a688bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_r2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigid_deformable_r2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidDeformableR2D(KeywordBase): diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_force_transducer.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_force_transducer.py index 13a0429e6..52eed6050 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_force_transducer.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_force_transducer.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallForceTransducer(KeywordBase): @@ -40,14 +41,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("tid", 0) + kwargs.get("tid", 0 if use_lspp_defaults() else None) ), Field( "rwid", int, 10, 10, - kwargs.get("rwid", 0) + kwargs.get("rwid", 0 if use_lspp_defaults() else None) ), ], ), @@ -69,7 +70,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nsid", 0) + kwargs.get("nsid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder.py index 6a6259754..08c20e0f8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinder(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform.py index 56d4aff20..3f19a9ac7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeform(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display.py index a51a00ec1..c9f87eee2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,21 +279,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display_motion.py index 0f7ea2f9e..6318d3e95 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_display_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformDisplayMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -317,21 +318,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior.py index e993c62bf..88415762a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformInterior(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_display.py index 356488b94..aee1d2596 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformInteriorDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,21 +279,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion.py index d4059b204..cd7d967d3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformInteriorMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion_display.py index 69f434269..831a5c19f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_interior_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformInteriorMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -317,21 +318,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion.py index 92a1ee0f2..f7b301dfd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion_display.py index 5d5c3efc9..0e93e1ed9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_deform_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDeformMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,7 +279,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -317,21 +318,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_display.py index 3ed047b40..8d2a6b844 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior.py index c7b52f9be..b4819f13a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderInterior(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_deform_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_deform_display.py index 87ad44d76..99f3abfdb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_deform_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_deform_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderInteriorDeformDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -278,21 +279,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_display.py index c5d4d6646..fe672f792 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderInteriorDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,21 +201,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion.py index 1ce10f52a..45d18af1a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderInteriorMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,7 +201,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion_display.py index 6e70ee711..b2847221c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_interior_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderInteriorMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,7 +201,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -239,21 +240,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion.py index 45357ca69..2a150d0c9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,7 +201,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion_display.py index ea5ab093e..64f48f4f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_cylinder_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricCylinderMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -200,7 +201,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -239,21 +240,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat.py index eb88a0ffc..026984e54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricFlat(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,35 +151,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_display.py index cd1f9c0ca..91ca8ae97 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricFlatDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,35 +151,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -196,21 +197,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion.py index e8c18c41e..3197a9e72 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricFlatMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,35 +151,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion_display.py index 808a8dcbb..365f17dc7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_flat_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricFlatMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,35 +151,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -196,7 +197,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -235,21 +236,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism.py index 3d3fd1d57..faa20cd3e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricPrism(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,42 +151,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), Field( "lenp", float, 50, 10, - kwargs.get("lenp", 0.0) + kwargs.get("lenp", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_display.py index f9b08175e..c90740407 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricPrismDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,42 +151,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), Field( "lenp", float, 50, 10, - kwargs.get("lenp", 0.0) + kwargs.get("lenp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,21 +204,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion.py index cfc49f6c6..560207145 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricPrismMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -157,35 +158,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), Field( "lenp", float, 50, 10, - kwargs.get("lenp", 0.0) + kwargs.get("lenp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,7 +204,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion_display.py index 4c0f1b17e..494bb8379 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_prism_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricPrismMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -157,35 +158,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), Field( "lenp", float, 50, 10, - kwargs.get("lenp", 0.0) + kwargs.get("lenp", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -203,7 +204,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere.py index f74df304a..7deb21304 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricSphere(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,7 +151,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("radsph", 0.0) + kwargs.get("radsph", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_display.py index ea9fbc66b..3495f4f59 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricSphereDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,7 +151,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("radsph", 0.0) + kwargs.get("radsph", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -168,21 +169,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion.py index a0731bc21..b17d8270c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricSphereMotion(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,7 +151,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("radsph", 0.0) + kwargs.get("radsph", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -168,7 +169,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion_display.py index b373e9e19..d4cb8574f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_geometric_sphere_motion_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallGeometricSphereMotionDisplay(KeywordBase): @@ -65,28 +66,28 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "birth", float, 30, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 40, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), ], ), @@ -97,49 +98,49 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -150,7 +151,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("radsph", 0.0) + kwargs.get("radsph", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -168,7 +169,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("opt", 0) + kwargs.get("opt", 0 if use_lspp_defaults() else None) ), Field( "vx", @@ -207,21 +208,21 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ro", 1.0E-09) + kwargs.get("ro", 1.0E-09 if use_lspp_defaults() else None) ), Field( "e", float, 20, 10, - kwargs.get("e", 1.0E-04) + kwargs.get("e", 1.0E-04 if use_lspp_defaults() else None) ), Field( "pr", float, 30, 10, - kwargs.get("pr", 0.30) + kwargs.get("pr", 0.30 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar.py index 0548c2f70..5afa11199 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanar(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite.py index b7ba5d2a0..5c20e7bba 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFinite(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display.py index 423cf3a6b..b29590a17 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteDisplay(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display_id.py index 5ad83a41a..c85c65bee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_display_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteDisplayId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces.py index b1cd1d751..54e68e412 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -192,42 +193,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces_id.py index bb7acd275..d09ace9ae 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -210,42 +211,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_id.py index 20e1c7ac7..c7e769fcb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving.py index f5fed27d2..5204dfcbb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMoving(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display.py index a6347b554..e0a4ae748 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingDisplay(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display_id.py index fa8eeed97..96393da45 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_display_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingDisplayId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces.py index b97ad6d34..c9e0570f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -210,42 +211,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display.py index ee7890359..7d039465c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingForcesDisplay(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,35 +154,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,7 +200,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -210,42 +211,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display_id.py index a519439ae..18f1c2710 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_display_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingForcesDisplayId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -228,42 +229,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_id.py index 4c9a1ba2d..1027473a5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -228,42 +229,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_id.py index 75892c410..85693cb78 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_finite_moving_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarFiniteMovingId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,35 +172,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,7 +218,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces.py index ea0bfb32a..362d2eb7c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces_id.py index cc2ca59ac..ec08c507a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_id.py index e36d6e174..7ce40c2f7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving.py index a08c606a6..ae2ebba05 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMoving(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,7 +161,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display.py index e89cd0c61..8c540c8b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingDisplay(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,7 +161,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display_id.py index af3c151df..4191c3bfe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_display_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingDisplayId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces.py index 1306ba848..fd51cf5ef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,7 +161,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display.py index 557139fa5..54137b240 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingForcesDisplay(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -160,7 +161,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display_id.py index 291097519..0c1971b06 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_display_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingForcesDisplayId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -189,42 +190,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_id.py index 654c55ac3..eb0d71d1d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -189,42 +190,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_id.py index f4ec2af75..07ddac9a6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_moving_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarMovingId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -178,7 +179,7 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho.py index 695231bba..b50c8918b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrtho(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,35 +200,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite.py index 618ae2816..cefa68064 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoFinite(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,35 +200,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -238,35 +239,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces.py index 7a3fd7f39..def4be0cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoFiniteForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,35 +200,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -238,35 +239,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -277,42 +278,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces_id.py index 0e11ecff9..7afbf22e4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoFiniteForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,35 +218,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -256,35 +257,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -295,42 +296,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_id.py index 62d064fe3..5f1a7c0c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_finite_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoFiniteId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,35 +218,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -256,35 +257,35 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xhev", 0.0) + kwargs.get("xhev", 0.0 if use_lspp_defaults() else None) ), Field( "yhev", float, 10, 10, - kwargs.get("yhev", 0.0) + kwargs.get("yhev", 0.0 if use_lspp_defaults() else None) ), Field( "zhev", float, 20, 10, - kwargs.get("zhev", 0.0) + kwargs.get("zhev", 0.0 if use_lspp_defaults() else None) ), Field( "lenl", float, 30, 10, - kwargs.get("lenl", 0.0) + kwargs.get("lenl", 0.0 if use_lspp_defaults() else None) ), Field( "lenm", float, 40, 10, - kwargs.get("lenm", 0.0) + kwargs.get("lenm", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces.py index b9f33ae76..1205a20cd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoForces(KeywordBase): @@ -47,42 +48,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -93,56 +94,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -153,42 +154,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -199,35 +200,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -238,42 +239,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces_id.py index 5c4dda83e..00436058e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_forces_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoForcesId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,35 +218,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -256,42 +257,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("soft", 0) + kwargs.get("soft", 0 if use_lspp_defaults() else None) ), Field( "ssid", int, 10, 10, - kwargs.get("ssid", 0) + kwargs.get("ssid", 0 if use_lspp_defaults() else None) ), Field( "n1", int, 20, 10, - kwargs.get("n1", 0) + kwargs.get("n1", 0 if use_lspp_defaults() else None) ), Field( "n2", int, 30, 10, - kwargs.get("n2", 0) + kwargs.get("n2", 0 if use_lspp_defaults() else None) ), Field( "n3", int, 40, 10, - kwargs.get("n3", 0) + kwargs.get("n3", 0 if use_lspp_defaults() else None) ), Field( "n4", int, 50, 10, - kwargs.get("n4", 0) + kwargs.get("n4", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_id.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_id.py index 8194b10c2..9636c5724 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_id.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rigidwall_planar_ortho_id.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RigidwallPlanarOrthoId(KeywordBase): @@ -65,42 +66,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("nsidex", 0) + kwargs.get("nsidex", 0 if use_lspp_defaults() else None) ), Field( "boxid", int, 20, 10, - kwargs.get("boxid", 0) + kwargs.get("boxid", 0 if use_lspp_defaults() else None) ), Field( "offset", float, 30, 10, - kwargs.get("offset", 0.0) + kwargs.get("offset", 0.0 if use_lspp_defaults() else None) ), Field( "birth", float, 40, 10, - kwargs.get("birth", 0.0) + kwargs.get("birth", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "rwksf", float, 60, 10, - kwargs.get("rwksf", 1.0) + kwargs.get("rwksf", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -111,56 +112,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("xt", 0.0) + kwargs.get("xt", 0.0 if use_lspp_defaults() else None) ), Field( "yt", float, 10, 10, - kwargs.get("yt", 0.0) + kwargs.get("yt", 0.0 if use_lspp_defaults() else None) ), Field( "zt", float, 20, 10, - kwargs.get("zt", 0.0) + kwargs.get("zt", 0.0 if use_lspp_defaults() else None) ), Field( "xh", float, 30, 10, - kwargs.get("xh", 0.0) + kwargs.get("xh", 0.0 if use_lspp_defaults() else None) ), Field( "yh", float, 40, 10, - kwargs.get("yh", 0.0) + kwargs.get("yh", 0.0 if use_lspp_defaults() else None) ), Field( "zh", float, 50, 10, - kwargs.get("zh", 0.0) + kwargs.get("zh", 0.0 if use_lspp_defaults() else None) ), Field( "fric", float, 60, 10, - kwargs.get("fric", 0.0) + kwargs.get("fric", 0.0 if use_lspp_defaults() else None) ), Field( "wvel", float, 70, 10, - kwargs.get("wvel", 0.0) + kwargs.get("wvel", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -171,42 +172,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("sfrica", 0.0) + kwargs.get("sfrica", 0.0 if use_lspp_defaults() else None) ), Field( "sfricb", float, 10, 10, - kwargs.get("sfricb", 0.0) + kwargs.get("sfricb", 0.0 if use_lspp_defaults() else None) ), Field( "dfrica", float, 20, 10, - kwargs.get("dfrica", 0.0) + kwargs.get("dfrica", 0.0 if use_lspp_defaults() else None) ), Field( "dfricb", float, 30, 10, - kwargs.get("dfricb", 0.0) + kwargs.get("dfricb", 0.0 if use_lspp_defaults() else None) ), Field( "decaya", float, 40, 10, - kwargs.get("decaya", 0.0) + kwargs.get("decaya", 0.0 if use_lspp_defaults() else None) ), Field( "decayb", float, 50, 10, - kwargs.get("decayb", 0.0) + kwargs.get("decayb", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -217,35 +218,35 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("node1", 0) + kwargs.get("node1", 0 if use_lspp_defaults() else None) ), Field( "node2", int, 10, 10, - kwargs.get("node2", 0) + kwargs.get("node2", 0 if use_lspp_defaults() else None) ), Field( "d1", float, 20, 10, - kwargs.get("d1", 0.0) + kwargs.get("d1", 0.0 if use_lspp_defaults() else None) ), Field( "d2", float, 30, 10, - kwargs.get("d2", 0.0) + kwargs.get("d2", 0.0 if use_lspp_defaults() else None) ), Field( "d3", float, 40, 10, - kwargs.get("d3", 0.0) + kwargs.get("d3", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/rve_analysis_fem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/rve_analysis_fem.py index 58aeef20c..6b320892e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/rve_analysis_fem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/rve_analysis_fem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.keyword_base import KeywordBase class RveAnalysisFem(KeywordBase): @@ -51,14 +52,14 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("inpt", 0) + kwargs.get("inpt", 0 if use_lspp_defaults() else None) ), Field( "oupt", int, 10, 10, - kwargs.get("oupt", 1) + kwargs.get("oupt", 1 if use_lspp_defaults() else None) ), Field( "lcid", @@ -79,14 +80,14 @@ def __init__(self, **kwargs): int, 40, 10, - kwargs.get("bc", 0) + kwargs.get("bc", 0 if use_lspp_defaults() else None) ), Field( "imatch", int, 50, 10, - kwargs.get("imatch", 1) + kwargs.get("imatch", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale1d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale1d.py index 36ac15f4e..b12018d54 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale1d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale1d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,21 +53,21 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("aleform", 11) + kwargs.get("aleform", 11 if use_lspp_defaults() else None) ), Field( "aet", int, 20, 10, - kwargs.get("aet", 4) + kwargs.get("aet", 4 if use_lspp_defaults() else None) ), Field( "elform", int, 30, 10, - kwargs.get("elform", 7) + kwargs.get("elform", 7 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale2d.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale2d.py index d597fed65..557c148f0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale2d.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_ale2d.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("aleform", 6) + kwargs.get("aleform", 6 if use_lspp_defaults() else None) ), Field( "aet", @@ -66,7 +67,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("elform", 13) + kwargs.get("elform", 13 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam.py index f499859ec..eb4ce3a13 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 30, 10, - kwargs.get("qr/irid", 2) + kwargs.get("qr/irid", 2 if use_lspp_defaults() else None) ), Field( "cst", int, 40, 10, - kwargs.get("cst", 0) + kwargs.get("cst", 0 if use_lspp_defaults() else None) ), Field( "scoor", float, 50, 10, - kwargs.get("scoor", 0.0) + kwargs.get("scoor", 0.0 if use_lspp_defaults() else None) ), Field( "nsm", float, 60, 10, - kwargs.get("nsm", 0.0) + kwargs.get("nsm", 0.0 if use_lspp_defaults() else None) ), Field( "naupd", int, 70, 10, - kwargs.get("naupd", 0) + kwargs.get("naupd", 0 if use_lspp_defaults() else None) ), ], ), @@ -293,21 +294,21 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("rrcon", 0.0) + kwargs.get("rrcon", 0.0 if use_lspp_defaults() else None) ), Field( "srcon", float, 60, 10, - kwargs.get("srcon", 0.0) + kwargs.get("srcon", 0.0 if use_lspp_defaults() else None) ), Field( "trcon", float, 70, 10, - kwargs.get("trcon", 0.0) + kwargs.get("trcon", 0.0 if use_lspp_defaults() else None) ), ], lambda: self.elform == 6, diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam_aisc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam_aisc.py index 044db96ec..a43b3e57a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam_aisc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_beam_aisc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -63,49 +64,49 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 10, 10, - kwargs.get("shrf", 0.0) + kwargs.get("shrf", 0.0 if use_lspp_defaults() else None) ), Field( "nsm", float, 20, 10, - kwargs.get("nsm", 0.0) + kwargs.get("nsm", 0.0 if use_lspp_defaults() else None) ), Field( "lfac", float, 30, 10, - kwargs.get("lfac", 0.0) + kwargs.get("lfac", 0.0 if use_lspp_defaults() else None) ), Field( "nsloc", float, 40, 10, - kwargs.get("nsloc", 0.0) + kwargs.get("nsloc", 0.0 if use_lspp_defaults() else None) ), Field( "ntloc", float, 50, 10, - kwargs.get("ntloc", 0.0) + kwargs.get("ntloc", 0.0 if use_lspp_defaults() else None) ), Field( "k", int, 60, 10, - kwargs.get("k", 0) + kwargs.get("k", 0 if use_lspp_defaults() else None) ), ], ), @@ -116,28 +117,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 10, 10, - kwargs.get("shrf", 0.0) + kwargs.get("shrf", 0.0 if use_lspp_defaults() else None) ), Field( "nsm", float, 20, 10, - kwargs.get("nsm", 0.0) + kwargs.get("nsm", 0.0 if use_lspp_defaults() else None) ), Field( "lfac", float, 30, 10, - kwargs.get("lfac", 0.0) + kwargs.get("lfac", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -148,28 +149,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "lfac", float, 10, 10, - kwargs.get("lfac", 0.0) + kwargs.get("lfac", 0.0 if use_lspp_defaults() else None) ), Field( "rampt", float, 20, 10, - kwargs.get("rampt", 0.0) + kwargs.get("rampt", 0.0 if use_lspp_defaults() else None) ), Field( "stress", float, 30, 10, - kwargs.get("stress", 0.0) + kwargs.get("stress", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -180,28 +181,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 10, 10, - kwargs.get("shrf", 0.0) + kwargs.get("shrf", 0.0 if use_lspp_defaults() else None) ), Field( "nsm", float, 20, 10, - kwargs.get("nsm", 0.0) + kwargs.get("nsm", 0.0 if use_lspp_defaults() else None) ), Field( "lfac", float, 30, 10, - kwargs.get("lfac", 0.0) + kwargs.get("lfac", 0.0 if use_lspp_defaults() else None) ), Field( "k", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_discrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_discrete.py index ab6badf5c..dcbe32ef2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_discrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_discrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dro", 0) + kwargs.get("dro", 0 if use_lspp_defaults() else None) ), Field( "kd", float, 20, 10, - kwargs.get("kd", 0.0) + kwargs.get("kd", 0.0 if use_lspp_defaults() else None) ), Field( "v0", float, 30, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), Field( "cl", float, 40, 10, - kwargs.get("cl", 0.0) + kwargs.get("cl", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_fpd.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_fpd.py index bd08f6b71..096d01f5f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_fpd.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_fpd.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -123,7 +124,7 @@ def __init__(self, **kwargs): float, 30, 10, - kwargs.get("tstart", 0.0) + kwargs.get("tstart", 0.0 if use_lspp_defaults() else None) ), Field( "dt_imp", @@ -137,7 +138,7 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("dtscl", 0.1) + kwargs.get("dtscl", 0.1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_shell.py index e0ddb1daf..c5a10c604 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "irl", int, 40, 10, - kwargs.get("irl", 0) + kwargs.get("irl", 0 if use_lspp_defaults() else None) ), Field( "qr/irid", float, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), ], ), @@ -98,7 +99,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t", 0.0) + kwargs.get("t", 0.0 if use_lspp_defaults() else None) ), Field( "unused", @@ -126,7 +127,7 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_solid.py index 9e0ebbb36..2215f9f37 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_iga_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 0) + kwargs.get("elform", 0 if use_lspp_defaults() else None) ), Field( "ir", int, 20, 10, - kwargs.get("ir", 0) + kwargs.get("ir", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source.py index bd8efaa9b..dc1479ad2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source_mixture.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source_mixture.py index d1a011ccc..346c24f18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source_mixture.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_point_source_mixture.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -105,56 +106,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("lcmdot1", 0) + kwargs.get("lcmdot1", 0 if use_lspp_defaults() else None) ), Field( "lcmdot2", int, 10, 10, - kwargs.get("lcmdot2", 0) + kwargs.get("lcmdot2", 0 if use_lspp_defaults() else None) ), Field( "lcmdot3", int, 20, 10, - kwargs.get("lcmdot3", 0) + kwargs.get("lcmdot3", 0 if use_lspp_defaults() else None) ), Field( "lcmdot4", int, 30, 10, - kwargs.get("lcmdot4", 0) + kwargs.get("lcmdot4", 0 if use_lspp_defaults() else None) ), Field( "lcmdot5", int, 40, 10, - kwargs.get("lcmdot5", 0) + kwargs.get("lcmdot5", 0 if use_lspp_defaults() else None) ), Field( "lcmdot6", int, 50, 10, - kwargs.get("lcmdot6", 0) + kwargs.get("lcmdot6", 0 if use_lspp_defaults() else None) ), Field( "lcmdot7", int, 60, 10, - kwargs.get("lcmdot7", 0) + kwargs.get("lcmdot7", 0 if use_lspp_defaults() else None) ), Field( "lcmdot8", int, 70, 10, - kwargs.get("lcmdot8", 0) + kwargs.get("lcmdot8", 0 if use_lspp_defaults() else None) ), ], ), @@ -165,21 +166,21 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nodeid", 0) + kwargs.get("nodeid", 0 if use_lspp_defaults() else None) ), Field( "vecid", int, 10, 10, - kwargs.get("vecid", 0) + kwargs.get("vecid", 0 if use_lspp_defaults() else None) ), Field( "orifarea", float, 20, 10, - kwargs.get("orifarea", 0.0) + kwargs.get("orifarea", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_seatbelt.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_seatbelt.py index ccbf734b5..405d64b08 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_seatbelt.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_seatbelt.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell.py index 163619182..39f9e4f55 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec @@ -54,49 +55,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1) + kwargs.get("propt", 1 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 70, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), @@ -107,56 +108,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "nloc", float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 50, 10, - kwargs.get("marea", 0.0) + kwargs.get("marea", 0.0 if use_lspp_defaults() else None) ), Field( "idof", float, 60, 10, - kwargs.get("idof", 0.0) + kwargs.get("idof", 0.0 if use_lspp_defaults() else None) ), Field( "edgset", int, 70, 10, - kwargs.get("edgset", 0) + kwargs.get("edgset", 0 if use_lspp_defaults() else None) ), ], ), @@ -175,56 +176,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nipp", 0) + kwargs.get("nipp", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "iunf", int, 20, 10, - kwargs.get("iunf", 0) + kwargs.get("iunf", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 30, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 40, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 50, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 60, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), Field( "iloc", int, 70, 10, - kwargs.get("iloc", 0) + kwargs.get("iloc", 0 if use_lspp_defaults() else None) ), ], lambda: self.elform in [101, 102, 103, 104, 105], diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_efg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_efg.py index 0f31488df..9602b0063 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_efg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_efg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1) + kwargs.get("propt", 1 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 70, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "nloc", float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 50, 10, - kwargs.get("marea", 0.0) + kwargs.get("marea", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -151,42 +152,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dx", 1.1) + kwargs.get("dx", 1.1 if use_lspp_defaults() else None) ), Field( "dy", float, 10, 10, - kwargs.get("dy", 1.1) + kwargs.get("dy", 1.1 if use_lspp_defaults() else None) ), Field( "ispline", int, 20, 10, - kwargs.get("ispline", 0) + kwargs.get("ispline", 0 if use_lspp_defaults() else None) ), Field( "idila", int, 30, 10, - kwargs.get("idila", 0) + kwargs.get("idila", 0 if use_lspp_defaults() else None) ), Field( "iebt", int, 40, 10, - kwargs.get("iebt", 1) + kwargs.get("iebt", 1 if use_lspp_defaults() else None) ), Field( "idim", int, 50, 10, - kwargs.get("idim", 1) + kwargs.get("idim", 1 if use_lspp_defaults() else None) ), ], ), @@ -197,56 +198,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nipp", 0) + kwargs.get("nipp", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "iunf", int, 20, 10, - kwargs.get("iunf", 0) + kwargs.get("iunf", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 30, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 40, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 50, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 60, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), Field( "iloc", int, 70, 10, - kwargs.get("iloc", 0) + kwargs.get("iloc", 0 if use_lspp_defaults() else None) ), ], ), @@ -342,56 +343,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 10, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 20, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 30, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 40, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 50, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 60, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 70, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_misc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_misc.py index 54f789d91..ca5e54cb3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_misc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_misc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1) + kwargs.get("propt", 1 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 70, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "nloc", float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 50, 10, - kwargs.get("marea", 0.0) + kwargs.get("marea", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -151,7 +152,7 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("thkscl", 1.0) + kwargs.get("thkscl", 1.0 if use_lspp_defaults() else None) ), ], ), @@ -162,56 +163,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nipp", 0) + kwargs.get("nipp", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "iunf", int, 20, 10, - kwargs.get("iunf", 0) + kwargs.get("iunf", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 30, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 40, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 50, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 60, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), Field( "iloc", int, 70, 10, - kwargs.get("iloc", 0) + kwargs.get("iloc", 0 if use_lspp_defaults() else None) ), ], ), @@ -307,56 +308,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 10, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 20, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 30, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 40, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 50, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 60, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 70, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_thermal.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_thermal.py index db42a4930..cb8e27d39 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_thermal.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_thermal.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1) + kwargs.get("propt", 1 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 70, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "nloc", float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 50, 10, - kwargs.get("marea", 0.0) + kwargs.get("marea", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -151,7 +152,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ithelfm", 0) + kwargs.get("ithelfm", 0 if use_lspp_defaults() else None) ), ], ), @@ -162,56 +163,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nipp", 0) + kwargs.get("nipp", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "iunf", int, 20, 10, - kwargs.get("iunf", 0) + kwargs.get("iunf", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 30, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 40, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 50, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 60, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), Field( "iloc", int, 70, 10, - kwargs.get("iloc", 0) + kwargs.get("iloc", 0 if use_lspp_defaults() else None) ), ], ), @@ -307,56 +308,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 10, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 20, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 30, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 40, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 50, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 60, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 70, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_xfem.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_xfem.py index 0c31a47ba..028fb71f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_xfem.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_shell_xfem.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 2) + kwargs.get("elform", 2 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1) + kwargs.get("propt", 1 if use_lspp_defaults() else None) ), Field( "qr/irid", int, 50, 10, - kwargs.get("qr/irid", 0) + kwargs.get("qr/irid", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "setyp", int, 70, 10, - kwargs.get("setyp", 1) + kwargs.get("setyp", 1 if use_lspp_defaults() else None) ), ], ), @@ -105,42 +106,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("t1", 0.0) + kwargs.get("t1", 0.0 if use_lspp_defaults() else None) ), Field( "t2", float, 10, 10, - kwargs.get("t2", 0.0) + kwargs.get("t2", 0.0 if use_lspp_defaults() else None) ), Field( "t3", float, 20, 10, - kwargs.get("t3", 0.0) + kwargs.get("t3", 0.0 if use_lspp_defaults() else None) ), Field( "t4", float, 30, 10, - kwargs.get("t4", 0.0) + kwargs.get("t4", 0.0 if use_lspp_defaults() else None) ), Field( "nloc", float, 40, 10, - kwargs.get("nloc", 0.0) + kwargs.get("nloc", 0.0 if use_lspp_defaults() else None) ), Field( "marea", float, 50, 10, - kwargs.get("marea", 0.0) + kwargs.get("marea", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -165,14 +166,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("domint", 0) + kwargs.get("domint", 0 if use_lspp_defaults() else None) ), Field( "failcr", int, 30, 10, - kwargs.get("failcr", 1) + kwargs.get("failcr", 1 if use_lspp_defaults() else None) ), Field( "propcr", @@ -186,14 +187,14 @@ def __init__(self, **kwargs): float, 50, 10, - kwargs.get("fs", 0.0) + kwargs.get("fs", 0.0 if use_lspp_defaults() else None) ), Field( "ls/fs1", float, 60, 10, - kwargs.get("ls/fs1", 0.0) + kwargs.get("ls/fs1", 0.0 if use_lspp_defaults() else None) ), Field( "nc/cl", @@ -211,56 +212,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nipp", 0) + kwargs.get("nipp", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "iunf", int, 20, 10, - kwargs.get("iunf", 0) + kwargs.get("iunf", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 30, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 40, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 50, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 60, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), Field( "iloc", int, 70, 10, - kwargs.get("iloc", 0) + kwargs.get("iloc", 0 if use_lspp_defaults() else None) ), ], ), @@ -356,56 +357,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 10, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 20, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 30, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 40, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 50, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 60, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), Field( "pi", float, 70, 10, - kwargs.get("pi", 0) + kwargs.get("pi", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid.py index 8703fc900..fb0f4c82e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec @@ -54,14 +55,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "aet", int, 20, 10, - kwargs.get("aet", 0) + kwargs.get("aet", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -107,42 +108,42 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("nip", 0) + kwargs.get("nip", 0 if use_lspp_defaults() else None) ), Field( "nxdof", int, 10, 10, - kwargs.get("nxdof", 0) + kwargs.get("nxdof", 0 if use_lspp_defaults() else None) ), Field( "ihgf", int, 20, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 30, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", int, 40, 10, - kwargs.get("lmc", 0) + kwargs.get("lmc", 0 if use_lspp_defaults() else None) ), Field( "nhsv", int, 50, 10, - kwargs.get("nhsv", 0) + kwargs.get("nhsv", 0 if use_lspp_defaults() else None) ), ], lambda: self.elform in [101, 102, 103, 104, 105], diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_efg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_efg.py index 643c7360b..80ea87b75 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_efg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_efg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "aet", int, 20, 10, - kwargs.get("aet", 0) + kwargs.get("aet", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -105,56 +106,56 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dx", 1.01) + kwargs.get("dx", 1.01 if use_lspp_defaults() else None) ), Field( "dy", float, 10, 10, - kwargs.get("dy", 1.01) + kwargs.get("dy", 1.01 if use_lspp_defaults() else None) ), Field( "dz", float, 20, 10, - kwargs.get("dz", 1.01) + kwargs.get("dz", 1.01 if use_lspp_defaults() else None) ), Field( "ispline", int, 30, 10, - kwargs.get("ispline", 0) + kwargs.get("ispline", 0 if use_lspp_defaults() else None) ), Field( "idila", int, 40, 10, - kwargs.get("idila", 0) + kwargs.get("idila", 0 if use_lspp_defaults() else None) ), Field( "iebt", int, 50, 10, - kwargs.get("iebt", 3) + kwargs.get("iebt", 3 if use_lspp_defaults() else None) ), Field( "idim", int, 60, 10, - kwargs.get("idim", 2) + kwargs.get("idim", 2 if use_lspp_defaults() else None) ), Field( "toldef", float, 70, 10, - kwargs.get("toldef", 0.01) + kwargs.get("toldef", 0.01 if use_lspp_defaults() else None) ), ], ), @@ -165,28 +166,28 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ips", 0) + kwargs.get("ips", 0 if use_lspp_defaults() else None) ), Field( "stime", float, 10, 10, - kwargs.get("stime", 1e+20) + kwargs.get("stime", 1e+20 if use_lspp_defaults() else None) ), Field( "iken", int, 20, 10, - kwargs.get("iken", 0) + kwargs.get("iken", 0 if use_lspp_defaults() else None) ), Field( "sf", float, 30, 10, - kwargs.get("sf", 0.0) + kwargs.get("sf", 0.0 if use_lspp_defaults() else None) ), Field( "cmid", @@ -200,21 +201,21 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("ibr", 1) + kwargs.get("ibr", 1 if use_lspp_defaults() else None) ), Field( "ds", float, 60, 10, - kwargs.get("ds", 0.01) + kwargs.get("ds", 0.01 if use_lspp_defaults() else None) ), Field( "ecut", float, 70, 10, - kwargs.get("ecut", 0.01) + kwargs.get("ecut", 0.01 if use_lspp_defaults() else None) ), ], ), @@ -239,14 +240,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 30, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_misc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_misc.py index 52dac58c3..2cb2053e0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_misc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_misc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "aet", int, 20, 10, - kwargs.get("aet", 0) + kwargs.get("aet", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -179,14 +180,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 30, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_peri.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_peri.py index 43b5481ac..3e838876f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_peri.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_peri.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 48) + kwargs.get("elform", 48 if use_lspp_defaults() else None) ), ], ), @@ -63,14 +64,14 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("dr", 1.01) + kwargs.get("dr", 1.01 if use_lspp_defaults() else None) ), Field( "ptype", int, 10, 10, - kwargs.get("ptype", 0) + kwargs.get("ptype", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_spg.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_spg.py index 7e3b711e1..90cfdb52b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_spg.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_solid_spg.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "aet", int, 20, 10, - kwargs.get("aet", 0) + kwargs.get("aet", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -126,14 +127,14 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("ispline", 0) + kwargs.get("ispline", 0 if use_lspp_defaults() else None) ), Field( "kernel", int, 40, 10, - kwargs.get("kernel", 0) + kwargs.get("kernel", 0 if use_lspp_defaults() else None) ), Field( "unused", @@ -165,7 +166,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("idam", 1) + kwargs.get("idam", 1 if use_lspp_defaults() else None) ), Field( "fs", @@ -179,7 +180,7 @@ def __init__(self, **kwargs): float, 20, 10, - kwargs.get("stretch", 1.0E10) + kwargs.get("stretch", 1.0E10 if use_lspp_defaults() else None) ), Field( "itb", @@ -214,7 +215,7 @@ def __init__(self, **kwargs): float, 70, 10, - kwargs.get("pdamp", -0.001) + kwargs.get("pdamp", -0.001 if use_lspp_defaults() else None) ), ], ), @@ -239,14 +240,14 @@ def __init__(self, **kwargs): int, 20, 10, - kwargs.get("ihgf", 0) + kwargs.get("ihgf", 0 if use_lspp_defaults() else None) ), Field( "itaj", int, 30, 10, - kwargs.get("itaj", 0) + kwargs.get("itaj", 0 if use_lspp_defaults() else None) ), Field( "lmc", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph.py index 0f965b81b..726d1e6c2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cslh", 1.2) + kwargs.get("cslh", 1.2 if use_lspp_defaults() else None) ), Field( "hmin", float, 20, 10, - kwargs.get("hmin", 0.2) + kwargs.get("hmin", 0.2 if use_lspp_defaults() else None) ), Field( "hmax", float, 30, 10, - kwargs.get("hmax", 2.0) + kwargs.get("hmax", 2.0 if use_lspp_defaults() else None) ), Field( "sphini", float, 40, 10, - kwargs.get("sphini", 0.0) + kwargs.get("sphini", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "start", float, 60, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "sphkern", int, 70, 10, - kwargs.get("sphkern", 0) + kwargs.get("sphkern", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_ellipse.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_ellipse.py index 38a17f2cd..6e4bcbb5c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_ellipse.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_ellipse.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cslh", 1.2) + kwargs.get("cslh", 1.2 if use_lspp_defaults() else None) ), Field( "hmin", float, 20, 10, - kwargs.get("hmin", 0.2) + kwargs.get("hmin", 0.2 if use_lspp_defaults() else None) ), Field( "hmax", float, 30, 10, - kwargs.get("hmax", 2.0) + kwargs.get("hmax", 2.0 if use_lspp_defaults() else None) ), Field( "sphini", float, 40, 10, - kwargs.get("sphini", 0.0) + kwargs.get("sphini", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "start", float, 60, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "sphkern", int, 70, 10, - kwargs.get("sphkern", 0) + kwargs.get("sphkern", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_interaction.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_interaction.py index c373e2f36..4880efad0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_interaction.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_interaction.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cslh", 1.2) + kwargs.get("cslh", 1.2 if use_lspp_defaults() else None) ), Field( "hmin", float, 20, 10, - kwargs.get("hmin", 0.2) + kwargs.get("hmin", 0.2 if use_lspp_defaults() else None) ), Field( "hmax", float, 30, 10, - kwargs.get("hmax", 2.0) + kwargs.get("hmax", 2.0 if use_lspp_defaults() else None) ), Field( "sphini", float, 40, 10, - kwargs.get("sphini", 0.0) + kwargs.get("sphini", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "start", float, 60, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "sphkern", int, 70, 10, - kwargs.get("sphkern", 0) + kwargs.get("sphkern", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_user.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_user.py index 3a3bebe4b..5b76fe1cb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_user.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_sph_user.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,49 +53,49 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("cslh", 1.2) + kwargs.get("cslh", 1.2 if use_lspp_defaults() else None) ), Field( "hmin", float, 20, 10, - kwargs.get("hmin", 0.2) + kwargs.get("hmin", 0.2 if use_lspp_defaults() else None) ), Field( "hmax", float, 30, 10, - kwargs.get("hmax", 2.0) + kwargs.get("hmax", 2.0 if use_lspp_defaults() else None) ), Field( "sphini", float, 40, 10, - kwargs.get("sphini", 0.0) + kwargs.get("sphini", 0.0 if use_lspp_defaults() else None) ), Field( "death", float, 50, 10, - kwargs.get("death", 1.0E+20) + kwargs.get("death", 1.0E+20 if use_lspp_defaults() else None) ), Field( "start", float, 60, 10, - kwargs.get("start", 0.0) + kwargs.get("start", 0.0 if use_lspp_defaults() else None) ), Field( "sphkern", int, 70, 10, - kwargs.get("sphkern", 0) + kwargs.get("sphkern", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_spring_damper.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_spring_damper.py index 2dafdf071..47c4643fd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_spring_damper.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_spring_damper.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("dro", 0) + kwargs.get("dro", 0 if use_lspp_defaults() else None) ), Field( "kd", float, 20, 10, - kwargs.get("kd", 0.0) + kwargs.get("kd", 0.0 if use_lspp_defaults() else None) ), Field( "v0", float, 30, 10, - kwargs.get("v0", 0.0) + kwargs.get("v0", 0.0 if use_lspp_defaults() else None) ), Field( "cl", float, 40, 10, - kwargs.get("cl", 0.0) + kwargs.get("cl", 0.0 if use_lspp_defaults() else None) ), Field( "fd", float, 50, 10, - kwargs.get("fd", 0.0) + kwargs.get("fd", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_tshell.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_tshell.py index 8fe3e8939..8b6fa9f1c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/section_tshell.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/section_tshell.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,49 +54,49 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("elform", 1) + kwargs.get("elform", 1 if use_lspp_defaults() else None) ), Field( "shrf", float, 20, 10, - kwargs.get("shrf", 1.0) + kwargs.get("shrf", 1.0 if use_lspp_defaults() else None) ), Field( "nip", int, 30, 10, - kwargs.get("nip", 2) + kwargs.get("nip", 2 if use_lspp_defaults() else None) ), Field( "propt", float, 40, 10, - kwargs.get("propt", 1.0) + kwargs.get("propt", 1.0 if use_lspp_defaults() else None) ), Field( "qr", int, 50, 10, - kwargs.get("qr", 0) + kwargs.get("qr", 0 if use_lspp_defaults() else None) ), Field( "icomp", int, 60, 10, - kwargs.get("icomp", 0) + kwargs.get("icomp", 0 if use_lspp_defaults() else None) ), Field( "tshear", int, 70, 10, - kwargs.get("tshear", 0) + kwargs.get("tshear", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_control.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_control.py index 6e57201eb..4334ab605 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_control.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_control.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("type", "AIRBAG") + kwargs.get("type", "AIRBAG" if use_lspp_defaults() else None) ), Field( "typeid", @@ -66,21 +67,21 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("timeoff", 0) + kwargs.get("timeoff", 0 if use_lspp_defaults() else None) ), Field( "nrep", int, 40, 10, - kwargs.get("nrep", 0) + kwargs.get("nrep", 0 if use_lspp_defaults() else None) ), Field( "estyp", str, 50, 10, - kwargs.get("estyp", "BEAM") + kwargs.get("estyp", "BEAM" if use_lspp_defaults() else None) ), ], ), @@ -91,7 +92,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("initstt", "ON") + kwargs.get("initstt", "ON" if use_lspp_defaults() else None) ), Field( "swit1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_cpm_airbag.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_cpm_airbag.py index af24b884c..7eed89cbe 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_cpm_airbag.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_cpm_airbag.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math.py index 6b86f1d40..7ca739ee3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math_update.py index 475d529e4..61f2933cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_calc_math_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element.py index 9e0f2b05d..51eb109ee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("etype", "BEAM") + kwargs.get("etype", "BEAM" if use_lspp_defaults() else None) ), Field( "elemid", @@ -66,21 +67,21 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("comp", "XX") + kwargs.get("comp", "XX" if use_lspp_defaults() else None) ), Field( "ctype", str, 40, 10, - kwargs.get("ctype", "STRAIN") + kwargs.get("ctype", "STRAIN" if use_lspp_defaults() else None) ), Field( "layer", str, 50, 10, - kwargs.get("layer", "BOT") + kwargs.get("layer", "BOT" if use_lspp_defaults() else None) ), Field( "sf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set.py index 2e06896ca..19996db06 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("etype", "BEAM") + kwargs.get("etype", "BEAM" if use_lspp_defaults() else None) ), Field( "elemid", @@ -66,21 +67,21 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("comp", "XX") + kwargs.get("comp", "XX" if use_lspp_defaults() else None) ), Field( "ctype", str, 40, 10, - kwargs.get("ctype", "STRAIN") + kwargs.get("ctype", "STRAIN" if use_lspp_defaults() else None) ), Field( "layer", str, 50, 10, - kwargs.get("layer", "BOT") + kwargs.get("layer", "BOT" if use_lspp_defaults() else None) ), Field( "sf", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("setopt", "AVG") + kwargs.get("setopt", "AVG" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set_update.py index 063edc20c..de3f70334 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_set_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("etype", "BEAM") + kwargs.get("etype", "BEAM" if use_lspp_defaults() else None) ), Field( "elemid", @@ -66,21 +67,21 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("comp", "XX") + kwargs.get("comp", "XX" if use_lspp_defaults() else None) ), Field( "ctype", str, 40, 10, - kwargs.get("ctype", "STRAIN") + kwargs.get("ctype", "STRAIN" if use_lspp_defaults() else None) ), Field( "layer", str, 50, 10, - kwargs.get("layer", "BOT") + kwargs.get("layer", "BOT" if use_lspp_defaults() else None) ), Field( "sf", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("setopt", "AVG") + kwargs.get("setopt", "AVG" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_update.py index 97261286b..b9b4bfd75 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_element_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("etype", "BEAM") + kwargs.get("etype", "BEAM" if use_lspp_defaults() else None) ), Field( "elemid", @@ -66,21 +67,21 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("comp", "XX") + kwargs.get("comp", "XX" if use_lspp_defaults() else None) ), Field( "ctype", str, 40, 10, - kwargs.get("ctype", "STRAIN") + kwargs.get("ctype", "STRAIN" if use_lspp_defaults() else None) ), Field( "layer", str, 50, 10, - kwargs.get("layer", "BOT") + kwargs.get("layer", "BOT" if use_lspp_defaults() else None) ), Field( "sf", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force.py index 958d80480..b1ff079d7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("ftype", "AIRBAG") + kwargs.get("ftype", "AIRBAG" if use_lspp_defaults() else None) ), Field( "typeid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force_update.py index 9a3b1f100..00f829500 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_force_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("ftype", "AIRBAG") + kwargs.get("ftype", "AIRBAG" if use_lspp_defaults() else None) ), Field( "typeid", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function.py index 4017248a2..9e8255172 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function_update.py index f297eaef5..a1ee32d49 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_function_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc.py index 864bf350d..4195a30c4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("mtype", "ANGLE") + kwargs.get("mtype", "ANGLE" if use_lspp_defaults() else None) ), Field( "i0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc_update.py index 44b6c525b..52ef1df91 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_misc_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("mtype", "ANGLE") + kwargs.get("mtype", "ANGLE" if use_lspp_defaults() else None) ), Field( "i0", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node.py index 0f641c092..d3db6c073 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("ctype", "ACC") + kwargs.get("ctype", "ACC" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set.py index 3d4b5e0a8..d2613e1b2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("ctype", "ACC") + kwargs.get("ctype", "ACC" if use_lspp_defaults() else None) ), Field( "setopt", str, 60, 10, - kwargs.get("setopt", "AVG") + kwargs.get("setopt", "AVG" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set_update.py index 455c653a2..cfd6471af 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_set_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,14 +81,14 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("ctype", "ACC") + kwargs.get("ctype", "ACC" if use_lspp_defaults() else None) ), Field( "setopt", str, 60, 10, - kwargs.get("setopt", "AVG") + kwargs.get("setopt", "AVG" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_update.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_update.py index 9307bcc1a..922b12fed 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_update.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_define_node_update.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -80,7 +81,7 @@ def __init__(self, **kwargs): str, 50, 10, - kwargs.get("ctype", "ACC") + kwargs.get("ctype", "ACC" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch.py index 80831d683..5f92ecb38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("type", "SENSOR") + kwargs.get("type", "SENSOR" if use_lspp_defaults() else None) ), Field( "sensid", @@ -66,7 +67,7 @@ def __init__(self, **kwargs): str, 30, 10, - kwargs.get("logic", "LT") + kwargs.get("logic", "LT" if use_lspp_defaults() else None) ), Field( "value", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_calc_logic.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_calc_logic.py index 4dcd7fa33..aa7918887 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_calc_logic.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_calc_logic.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_shell_to_vent.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_shell_to_vent.py index 6bb29d519..cc0021949 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_shell_to_vent.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/sensor_switch_shell_to_vent.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,14 +53,14 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type", 0) + kwargs.get("type", 0 if use_lspp_defaults() else None) ), Field( "c23", float, 20, 10, - kwargs.get("c23", 0.7) + kwargs.get("c23", 0.7 if use_lspp_defaults() else None) ), Field( "amax", @@ -84,14 +85,14 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("ftime", 0.0) + kwargs.get("ftime", 0.0 if use_lspp_defaults() else None) ), Field( "c23v", float, 20, 10, - kwargs.get("c23v", 0.7) + kwargs.get("c23v", 0.7 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment.py index e001a3f01..ce36ff6a2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_collect.py index 9e150e76f..1cf5da013 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set.py index 6d38fda13..fce4d6d2f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set_collect.py index 0e494a05a..7cca3e73b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_2d_segment_set_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam.py index b6d4dff76..170b7d1d0 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_add.py index 1818f7759..b50660318 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_collect.py index 4db2b6485..849c91eaa 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general.py index f724abf86..6e3cb1622 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,7 +57,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general_collect.py index b33d7d215..4bf5e3a4a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,7 +57,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate.py index 421ee9192..f94112111 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_collect.py index 677650897..bcd8eae36 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment.py index bc9815359..ae8722d32 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment_collect.py index f68d471e5..298606bda 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_intersect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_intersect.py index 9c17c4bda..8a6671b8b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_intersect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_beam_intersect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_box.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_box.py index c8cf83d69..531d561b1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_box.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_box.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete.py index b1da2886b..859a46ceb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_add.py index e285e07f8..fb69dafb1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_collect.py index f39a9b8f5..b6290486f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general.py index a02f6e9b1..ef78445ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,7 +57,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general_collect.py index db47de9c4..002bbf61b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -56,7 +57,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate.py index 0fb454d08..d63d7cd1f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate_collect.py index 5a593a382..4e0dabe06 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_discrete_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw.py index a71409929..78a56021e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_collect.py index 18c29c84c..8bb90a6a1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list.py index 0b8b7d60a..b2dedd5ff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_collect.py index a20b9a52d..5909b969e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate.py index ad7c0f312..efec9a68c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_collect.py index 89b57d470..30e5a0ab5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment.py index f43a9d167..2811f79f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment_collect.py index 1d82860ea..f2e28fc0e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_uvw_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz.py index c62e2b9a4..335f69e62 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_collect.py index 56afea758..f6b2909d1 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list.py index 5407fa4c8..f80702330 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_collect.py index 89ccb6a66..eecab0a70 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate.py index 379ce7050..366f53273 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_collect.py index 190caa860..a16529f5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment.py index 1586a9221..5933fb02c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment_collect.py index 74d6ec6b3..8535f37b9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_edge_xyz_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw.py index b6bd836b1..f3e143bf6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_collect.py index f5191173f..aaf06bea7 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list.py index 31938f443..3e05e592f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_collect.py index fe4316cdc..b11a2a9a8 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate.py index c28991ccb..cf96c127d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_collect.py index d79ff934e..3cd62da38 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment.py index 84cfc5bb6..62082a250 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment_collect.py index f5b37d76b..3ec5d458c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_uvw_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz.py index ee48aa85b..7fff176dd 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_collect.py index 7901e325a..c8f3f073e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list.py index e3c49955c..907df0cf5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_collect.py index 3c2651a70..b4b763cf9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate.py index 5089e0c46..99fd9f71e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_collect.py index 5f65e8d9d..62c09fa6c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment.py index ff730eb8d..1e82c21b6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment_collect.py index 095a0d4d9..46a90eb93 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_face_xyz_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw.py index a7e59424c..4dcc9c0c3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_collect.py index f8abc15e7..8825cd41b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list.py index 386fadbdb..e55977f9b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_collect.py index 9f5bb0026..0e2c12ade 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate.py index 357f648f4..648a0148e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_collect.py index 22771e789..c67375dd9 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment.py index 3807f0a19..5300b44cf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment_collect.py index 98291eb38..1663e2188 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_iga_point_uvw_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode.py index 7862f4dc8..f7287d2bc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list.py index 1a8a4b73c..9ab687e16 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list_generate.py index 850b62133..d169d2408 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_mode_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list.py index c45c27d63..08ff48765 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ammsid", 0) + kwargs.get("ammsid", 0 if use_lspp_defaults() else None) ), ], ), @@ -56,56 +57,56 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ammgid1", 0) + kwargs.get("ammgid1", 0 if use_lspp_defaults() else None) ), Field( "ammgid2", int, 10, 10, - kwargs.get("ammgid2", 0) + kwargs.get("ammgid2", 0 if use_lspp_defaults() else None) ), Field( "ammgid3", int, 20, 10, - kwargs.get("ammgid3", 0) + kwargs.get("ammgid3", 0 if use_lspp_defaults() else None) ), Field( "ammgid4", int, 30, 10, - kwargs.get("ammgid4", 0) + kwargs.get("ammgid4", 0 if use_lspp_defaults() else None) ), Field( "ammgid5", int, 40, 10, - kwargs.get("ammgid5", 0) + kwargs.get("ammgid5", 0 if use_lspp_defaults() else None) ), Field( "ammgid6", int, 50, 10, - kwargs.get("ammgid6", 0) + kwargs.get("ammgid6", 0 if use_lspp_defaults() else None) ), Field( "ammgid7", int, 60, 10, - kwargs.get("ammgid7", 0) + kwargs.get("ammgid7", 0 if use_lspp_defaults() else None) ), Field( "ammgid8", int, 70, 10, - kwargs.get("ammgid8", 0) + kwargs.get("ammgid8", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list_gpname.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list_gpname.py index d1b0cf7ce..12319d0d4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list_gpname.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_multi_material_group_list_gpname.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -45,7 +46,7 @@ def __init__(self, **kwargs): int, 0, 10, - kwargs.get("ammsid", 0) + kwargs.get("ammsid", 0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add.py index 2778102c2..3bf72a871 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,35 +54,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add_advanced.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add_advanced.py index 6ca1b3179..61839bee3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add_advanced.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_add_advanced.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -91,7 +92,7 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("type1", 1) + kwargs.get("type1", 1 if use_lspp_defaults() else None) ), Field( "sid2", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): int, 30, 10, - kwargs.get("type2", 1) + kwargs.get("type2", 1 if use_lspp_defaults() else None) ), Field( "sid3", @@ -119,7 +120,7 @@ def __init__(self, **kwargs): int, 50, 10, - kwargs.get("type3", 1) + kwargs.get("type3", 1 if use_lspp_defaults() else None) ), Field( "sid4", @@ -133,7 +134,7 @@ def __init__(self, **kwargs): int, 70, 10, - kwargs.get("type4", 1) + kwargs.get("type4", 1 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column.py index f17c60688..414c521eb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", @@ -112,28 +113,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column_collect.py index 611268d26..a782fe60f 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_column_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", @@ -112,28 +113,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general.py index 3335f8e4d..c7225788d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general_collect.py index aa11afac9..2df542239 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_intersect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_intersect.py index 972d9b5c9..5a09f8be4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_intersect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_intersect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,28 +54,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list.py index 05c5a48e4..e8e40cb7a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,42 +54,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_collect.py index 974bca709..b4eb05e42 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate.py index 0ea95b654..b7c9559ee 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_collect.py index 0b4f10359..e7a36e367 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment.py index 3e00e5c38..e4d848750 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment_collect.py index 3bcfda2cc..9f53ded9c 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth.py index 73ef8ed7e..d8895d456 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth_collect.py index 8a1636b7d..9f4784fe4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_node_list_smooth_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,42 +53,42 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", str, 60, 10, - kwargs.get("its", "1") + kwargs.get("its", "1" if use_lspp_defaults() else None) ), Field( "unused", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_add.py index 674ec22c1..d0f6b4b80 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,35 +54,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_collect.py index f309c88f1..b3b21bc34 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column.py index f7c211e6c..3296180ce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column_collect.py index 10bb74947..0eb85b488 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_column_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list.py index 2ee6e921d..b0abef0f4 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,35 +54,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_collect.py index 1285d09c9..6145a277a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,35 +54,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate.py index 99096f37f..633b7e94a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_collect.py index d4c2651c9..bf701a380 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment.py index dbaed7505..fe52b5aff 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment_collect.py index bbc3904c2..7aa3dd90d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_tree.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_tree.py index 368f83816..8855fe464 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_tree.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_part_tree.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_peri_laminate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_peri_laminate.py index 1aef6cc53..c769dbfce 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_peri_laminate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_peri_laminate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_point_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_point_list.py index 70e0b2a56..4d05aefca 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_point_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_point_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_ale.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_ale.py index b12886c88..f730cc20a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_ale.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_ale.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("eidend", 0) + kwargs.get("eidend", 0 if use_lspp_defaults() else None) ), Field( "local", int, 20, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), Field( "veccid1", int, 30, 10, - kwargs.get("veccid1", 0) + kwargs.get("veccid1", 0 if use_lspp_defaults() else None) ), Field( "veccid2", int, 40, 10, - kwargs.get("veccid2", 0) + kwargs.get("veccid2", 0 if use_lspp_defaults() else None) ), Field( "userdef", int, 50, 10, - kwargs.get("userdef", 0) + kwargs.get("userdef", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,42 +92,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axx", 0.0) + kwargs.get("axx", 0.0 if use_lspp_defaults() else None) ), Field( "axy", float, 10, 10, - kwargs.get("axy", 0.0) + kwargs.get("axy", 0.0 if use_lspp_defaults() else None) ), Field( "axz", float, 20, 10, - kwargs.get("axz", 0.0) + kwargs.get("axz", 0.0 if use_lspp_defaults() else None) ), Field( "bxx", float, 30, 10, - kwargs.get("bxx", 0.0) + kwargs.get("bxx", 0.0 if use_lspp_defaults() else None) ), Field( "bxy", float, 40, 10, - kwargs.get("bxy", 0.0) + kwargs.get("bxy", 0.0 if use_lspp_defaults() else None) ), Field( "bxz", float, 50, 10, - kwargs.get("bxz", 0.0) + kwargs.get("bxz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -137,42 +138,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ayx", 0.0) + kwargs.get("ayx", 0.0 if use_lspp_defaults() else None) ), Field( "ayy", float, 10, 10, - kwargs.get("ayy", 0.0) + kwargs.get("ayy", 0.0 if use_lspp_defaults() else None) ), Field( "ayz", float, 20, 10, - kwargs.get("ayz", 0.0) + kwargs.get("ayz", 0.0 if use_lspp_defaults() else None) ), Field( "byx", float, 30, 10, - kwargs.get("byx", 0.0) + kwargs.get("byx", 0.0 if use_lspp_defaults() else None) ), Field( "byy", float, 40, 10, - kwargs.get("byy", 0.0) + kwargs.get("byy", 0.0 if use_lspp_defaults() else None) ), Field( "byz", float, 50, 10, - kwargs.get("byz", 0.0) + kwargs.get("byz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -183,42 +184,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("azx", 0.0) + kwargs.get("azx", 0.0 if use_lspp_defaults() else None) ), Field( "azy", float, 10, 10, - kwargs.get("azy", 0.0) + kwargs.get("azy", 0.0 if use_lspp_defaults() else None) ), Field( "azz", float, 20, 10, - kwargs.get("azz", 0.0) + kwargs.get("azz", 0.0 if use_lspp_defaults() else None) ), Field( "bzx", float, 30, 10, - kwargs.get("bzx", 0.0) + kwargs.get("bzx", 0.0 if use_lspp_defaults() else None) ), Field( "bzy", float, 40, 10, - kwargs.get("bzy", 0.0) + kwargs.get("bzy", 0.0 if use_lspp_defaults() else None) ), Field( "bzz", float, 50, 10, - kwargs.get("bzz", 0.0) + kwargs.get("bzz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_lagrangian.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_lagrangian.py index a812fc936..17140a2bb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_lagrangian.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_porous_lagrangian.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): int, 10, 10, - kwargs.get("eidend", 0) + kwargs.get("eidend", 0 if use_lspp_defaults() else None) ), Field( "local", int, 20, 10, - kwargs.get("local", 0) + kwargs.get("local", 0 if use_lspp_defaults() else None) ), Field( "veccid1", int, 30, 10, - kwargs.get("veccid1", 0) + kwargs.get("veccid1", 0 if use_lspp_defaults() else None) ), Field( "veccid2", int, 40, 10, - kwargs.get("veccid2", 0) + kwargs.get("veccid2", 0 if use_lspp_defaults() else None) ), Field( "userdef", int, 50, 10, - kwargs.get("userdef", 0) + kwargs.get("userdef", 0 if use_lspp_defaults() else None) ), ], ), @@ -91,42 +92,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("axx", 0.0) + kwargs.get("axx", 0.0 if use_lspp_defaults() else None) ), Field( "axy", float, 10, 10, - kwargs.get("axy", 0.0) + kwargs.get("axy", 0.0 if use_lspp_defaults() else None) ), Field( "axz", float, 20, 10, - kwargs.get("axz", 0.0) + kwargs.get("axz", 0.0 if use_lspp_defaults() else None) ), Field( "bxx", float, 30, 10, - kwargs.get("bxx", 0.0) + kwargs.get("bxx", 0.0 if use_lspp_defaults() else None) ), Field( "bxy", float, 40, 10, - kwargs.get("bxy", 0.0) + kwargs.get("bxy", 0.0 if use_lspp_defaults() else None) ), Field( "bxz", float, 50, 10, - kwargs.get("bxz", 0.0) + kwargs.get("bxz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -137,42 +138,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("ayx", 0.0) + kwargs.get("ayx", 0.0 if use_lspp_defaults() else None) ), Field( "ayy", float, 10, 10, - kwargs.get("ayy", 0.0) + kwargs.get("ayy", 0.0 if use_lspp_defaults() else None) ), Field( "ayz", float, 20, 10, - kwargs.get("ayz", 0.0) + kwargs.get("ayz", 0.0 if use_lspp_defaults() else None) ), Field( "byx", float, 30, 10, - kwargs.get("byx", 0.0) + kwargs.get("byx", 0.0 if use_lspp_defaults() else None) ), Field( "byy", float, 40, 10, - kwargs.get("byy", 0.0) + kwargs.get("byy", 0.0 if use_lspp_defaults() else None) ), Field( "byz", float, 50, 10, - kwargs.get("byz", 0.0) + kwargs.get("byz", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -183,42 +184,42 @@ def __init__(self, **kwargs): float, 0, 10, - kwargs.get("azx", 0.0) + kwargs.get("azx", 0.0 if use_lspp_defaults() else None) ), Field( "azy", float, 10, 10, - kwargs.get("azy", 0.0) + kwargs.get("azy", 0.0 if use_lspp_defaults() else None) ), Field( "azz", float, 20, 10, - kwargs.get("azz", 0.0) + kwargs.get("azz", 0.0 if use_lspp_defaults() else None) ), Field( "bzx", float, 30, 10, - kwargs.get("bzx", 0.0) + kwargs.get("bzx", 0.0 if use_lspp_defaults() else None) ), Field( "bzy", float, 40, 10, - kwargs.get("bzy", 0.0) + kwargs.get("bzy", 0.0 if use_lspp_defaults() else None) ), Field( "bzz", float, 50, 10, - kwargs.get("bzz", 0.0) + kwargs.get("bzz", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment.py index bf0bb9114..c8592a459 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.duplicate_card import DuplicateCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,35 +54,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_add.py index cc0c4f91a..2a8990d18 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_collect.py index a7876f843..ca8fdce61 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", @@ -133,28 +134,28 @@ def __init__(self, **kwargs): float, 40, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 50, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 60, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 70, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general.py index dda303af3..8f90636d2 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general_collect.py index e34cb3f40..e5470801e 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,35 +53,35 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), Field( "solver", str, 50, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), Field( "its", @@ -105,7 +106,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_intersect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_intersect.py index 5142976dd..2c02bb4bf 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_intersect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_segment_intersect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_add.py index d993b1c8b..e37b4e953 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column.py index 10d56ec4f..e8a4d7fa6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -91,28 +92,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column_collect.py index f0207eaa3..12f25eac6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_column_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -91,28 +92,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("a1", 0.0) + kwargs.get("a1", 0.0 if use_lspp_defaults() else None) ), Field( "a2", float, 20, 10, - kwargs.get("a2", 0.0) + kwargs.get("a2", 0.0 if use_lspp_defaults() else None) ), Field( "a3", float, 30, 10, - kwargs.get("a3", 0.0) + kwargs.get("a3", 0.0 if use_lspp_defaults() else None) ), Field( "a4", float, 40, 10, - kwargs.get("a4", 0.0) + kwargs.get("a4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general.py index 928ce3b82..559697e3d 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general_collect.py index 40da9125f..f26346f5a 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), @@ -84,7 +85,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_intersect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_intersect.py index 5c0afca6d..1beccad69 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_intersect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_intersect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list.py index 872be7530..677c21fe5 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.variable_card import VariableCard from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -53,28 +54,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_collect.py index 1caa64359..fa3873b04 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate.py index 5d38ea0dd..8e27f4dcc 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_collect.py index c63483839..23b45f4f6 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment.py index 2752cffe8..4d5cb5063 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment_collect.py index 4e05e17cc..424040aef 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_shell_list_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,28 +53,28 @@ def __init__(self, **kwargs): float, 10, 10, - kwargs.get("da1", 0.0) + kwargs.get("da1", 0.0 if use_lspp_defaults() else None) ), Field( "da2", float, 20, 10, - kwargs.get("da2", 0.0) + kwargs.get("da2", 0.0 if use_lspp_defaults() else None) ), Field( "da3", float, 30, 10, - kwargs.get("da3", 0.0) + kwargs.get("da3", 0.0 if use_lspp_defaults() else None) ), Field( "da4", float, 40, 10, - kwargs.get("da4", 0.0) + kwargs.get("da4", 0.0 if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid.py index 7c769420a..f55fb4115 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_add.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_add.py index 96df80427..58e8a32e3 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_add.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_add.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_collect.py index 92e44bc32..3c65e1e94 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general.py index 22c3863d4..1b0ff3f88 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), @@ -63,7 +64,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general_collect.py index aca7b2444..f6e238128 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_general_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), @@ -63,7 +64,7 @@ def __init__(self, **kwargs): str, 0, 10, - kwargs.get("option", "ALL") + kwargs.get("option", "ALL" if use_lspp_defaults() else None) ), Field( "e1", diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate.py index 638ca38f7..bbcc1b99b 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_collect.py index 3a89c63da..475a21f87 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment.py index 3f9ccc6fd..d21bc5314 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment_collect.py b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment_collect.py index 20f732d94..9d084ddfb 100644 --- a/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment_collect.py +++ b/src/ansys/dyna/core/keywords/keyword_classes/auto/set_solid_generate_increment_collect.py @@ -22,6 +22,7 @@ import typing from ansys.dyna.core.lib.card import Card, Field, Flag +from ansys.dyna.core.lib.config import use_lspp_defaults from ansys.dyna.core.lib.option_card import OptionCardSet, OptionSpec from ansys.dyna.core.lib.keyword_base import KeywordBase @@ -52,7 +53,7 @@ def __init__(self, **kwargs): str, 10, 10, - kwargs.get("solver", "MECH") + kwargs.get("solver", "MECH" if use_lspp_defaults() else None) ), ], ), diff --git a/src/ansys/dyna/core/lib/config.py b/src/ansys/dyna/core/lib/config.py new file mode 100644 index 000000000..c34726273 --- /dev/null +++ b/src/ansys/dyna/core/lib/config.py @@ -0,0 +1,39 @@ +# Copyright (C) 2021 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +from contextlib import contextmanager + +USE_LSPP_DEFAULTS = True + + +def use_lspp_defaults(): + return USE_LSPP_DEFAULTS + + +@contextmanager +def disable_lspp_defaults(): + global USE_LSPP_DEFAULTS + USE_LSPP_DEFAULTS = False + try: + yield + finally: + USE_LSPP_DEFAULTS = True diff --git a/tests/test_keywords.py b/tests/test_keywords.py index b7fb7e920..6485bc5eb 100644 --- a/tests/test_keywords.py +++ b/tests/test_keywords.py @@ -193,6 +193,18 @@ def test_read_nodes(ref_string): assert node.write() == node_text +@pytest.mark.keywords +def test_read_keyword_no_defaults(): + m = kwd.MatHyperelasticRubber() + assert m.n == 0 # LSPP default for `n` is 0. + assert m.pr is None # No LSPP default for `pr` + + from ansys.dyna.core.lib.config import disable_lspp_defaults + with disable_lspp_defaults(): + m = kwd.MatHyperelasticRubber() + assert m.n == None # LSPP default for `n` is 0. + + @pytest.mark.keywords def test_hourglass(ref_string): h = kwd.Hourglass()