-
Notifications
You must be signed in to change notification settings - Fork 56
Evaluate BTB penalty parameters by a function #1574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,12 @@ std::vector<Core::IO::InputSpec> BeamInteraction::Contact::BeamToBeam::valid_par | |
| parameter<double>("BEAMS_BTBLINEPENALTYPARAM", | ||
| {.description = "Penalty parameter per unit length for beam-to-beam line contact", | ||
| .default_value = -1.0}), | ||
| parameter<int>("BEAMS_BTBPENALTYPARAM_BY_FUNCT", | ||
| {.description = "Penalty parameter for beam-to-beam point contact by function id", | ||
| .default_value = -1}), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's not add a default of -1 anymore. You can also make it a noneable default.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also - would it make more sense to add a new "subsection" and then you chose if you either have a constant value or a function id? Like it's done with the input fields. Because the parameter is somehow duplicated as far as I understand? |
||
| parameter<int>("BEAMS_BTBLINEPENALTYPARAM_BY_FUNCT", | ||
| {.description = "Penalty parameter for beam-to-beam line contact by function id", | ||
| .default_value = -1}), | ||
| parameter<double>("BEAMS_PERPSHIFTANGLE1", | ||
| {.description = | ||
| "Lower shift angle (in degrees) for penalty scaling of large-angle-contact", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,140 @@ | ||
| TITLE: | ||
| - "Checks if two overlapping beams" | ||
| - "can be displaced due to beam-to-beam-line-contact by increasing the beam-penalty" | ||
| - "value with the function specified from BEAMS_BTBPENALTYPARAM_BY_FUNCT." | ||
| PROBLEM SIZE: | ||
| ELEMENTS: 2 | ||
| NODES: 4 | ||
| MATERIALS: 1 | ||
| NUMDF: 6 | ||
| IO/RUNTIME VTK OUTPUT: | ||
| INTERVAL_STEPS: 1 | ||
| IO/RUNTIME VTK OUTPUT/STRUCTURE: | ||
| OUTPUT_STRUCTURE: true | ||
| DISPLACEMENT: true | ||
| ELEMENT_OWNER: true | ||
| ELEMENT_GID: true | ||
| IO/RUNTIME VTK OUTPUT/BEAMS: | ||
| OUTPUT_BEAMS: true | ||
| DISPLACEMENT: true | ||
| STRAINS_GAUSSPOINT: true | ||
| ELEMENT_GID: true | ||
| PROBLEM TYPE: | ||
| PROBLEMTYPE: "Structure" | ||
| DISCRETISATION: | ||
| NUMFLUIDDIS: 0 | ||
| NUMALEDIS: 0 | ||
| NUMTHERMDIS: 0 | ||
| STRUCTURAL DYNAMIC: | ||
| INT_STRATEGY: "Standard" | ||
| DYNAMICTYPE: "GenAlphaLieGroup" | ||
| TIMESTEP: 0.1 | ||
| NUMSTEP: 10 | ||
| MAXTIME: 1 | ||
| M_DAMP: 0 | ||
| K_DAMP: 0 | ||
| TOLDISP: 1e-08 | ||
| MAXITER: 25 | ||
| MASSLIN: "rotations" | ||
| LINEAR_SOLVER: 1 | ||
| STRUCTURAL DYNAMIC/GENALPHA: | ||
| BETA: 0.5 | ||
| GAMMA: 1 | ||
| ALPHA_M: 0.5 | ||
| ALPHA_F: 0.5 | ||
| RHO_INF: -1 | ||
| BEAM INTERACTION: | ||
| REPARTITIONSTRATEGY: "Everydt" | ||
| SEARCH_STRATEGY: bounding_volume_hierarchy | ||
| BOUNDINGVOLUME STRATEGY: | ||
| WRITE_GEOMETRIC_SEARCH_VISUALIZATION: true | ||
| BEAM_RADIUS_EXTENSION_FACTOR: 11 | ||
| BEAM INTERACTION/BEAM TO BEAM CONTACT: | ||
| BEAMS_NEWGAP: false | ||
| BEAMS_BTBLINEPENALTYPARAM_BY_FUNCT: 2 | ||
| BEAMS_BTBPENALTYPARAM: 0.0001 | ||
| BEAMS_SEGCON: true | ||
| BEAMS_PERPSHIFTANGLE1: 70 | ||
| BEAMS_PERPSHIFTANGLE2: 80 | ||
| BEAMS_PARSHIFTANGLE1: 70 | ||
| BEAMS_PARSHIFTANGLE2: 80 | ||
| BEAMS_SEGANGLE: 10 | ||
| BINNING STRATEGY: | ||
| BIN_SIZE_LOWER_BOUND: 10 | ||
| DOMAINBOUNDINGBOX: "-2 -2 -2 2 2 2" | ||
| SOLVER 1: | ||
| SOLVER: "UMFPACK" | ||
| NAME: "Structure_Solver" | ||
| DESIGN POINT DIRICH CONDITIONS: | ||
| - E: 1 | ||
| NUMDOF: 6 | ||
| ONOFF: [1, 1, 1, 1, 1, 1] | ||
| VAL: [0, 0, 0, 0, 0, 0] | ||
| FUNCT: [0, 0, 0, 0, 0, 0] | ||
| - E: 2 | ||
| NUMDOF: 6 | ||
| ONOFF: [1, 1, 1, 1, 1, 1] | ||
| VAL: [0, 0, 0, 0, 0, 0] | ||
| FUNCT: [0, 0, 0, 0, 0, 0] | ||
| - E: 3 | ||
| NUMDOF: 6 | ||
| ONOFF: [1, 1, 1, 1, 1, 1] | ||
| VAL: [0, 0, 0, 0, 0, 0] | ||
| FUNCT: [0, 0, 0, 0, 0, 0] | ||
| BEAM INTERACTION/BEAM TO BEAM CONTACT CONDITIONS: | ||
| - E: 1 | ||
| COUPLING_ID: 1 | ||
| - E: 2 | ||
| COUPLING_ID: 1 | ||
| DNODE-NODE TOPOLOGY: | ||
| - "NODE 1 DNODE 1" | ||
| - "NODE 2 DNODE 2" | ||
| - "NODE 3 DNODE 3" | ||
| - "NODE 4 DNODE 4" | ||
| DLINE-NODE TOPOLOGY: | ||
| - "NODE 1 DLINE 1" | ||
| - "NODE 2 DLINE 1" | ||
| - "NODE 3 DLINE 2" | ||
| - "NODE 4 DLINE 2" | ||
| NODE COORDS: | ||
| - "NODE 1 COORD -1.00000000000000e+00 0.000000000000000e+00 0.000000000000000e+00" | ||
| - "NODE 2 COORD 1.00000000000000e+00 0.0000000000000000e+00 0.000000000000000e+00" | ||
| - "NODE 3 COORD -1.00000000000000e+00 0.000000000000000e+00 0.1000000000000e+00" | ||
| - "NODE 4 COORD 1.00000000000000e+00 0.0000000000000000e+00 0.01000000000000e+00" | ||
| STRUCTURE ELEMENTS: | ||
| - "1 BEAM3R LINE2 1 2 MAT 1 TRIADS 0 0 0 0 0 0" | ||
| - "2 BEAM3R LINE2 3 4 MAT 1 TRIADS 0 0 0 0 0 0" | ||
| MATERIALS: | ||
| - MAT: 1 | ||
| MAT_BeamReissnerElastHyper: | ||
| YOUNG: 100000 | ||
| SHEARMOD: 50000 | ||
| DENS: 0.001 | ||
| CROSSAREA: 0.00282743 | ||
| SHEARCORR: 1.1 | ||
| MOMINPOL: 1.27235e-06 | ||
| MOMIN2: 6.36173e-07 | ||
| MOMIN3: 6.36173e-07 | ||
| FUNCT1: | ||
| - SYMBOLIC_FUNCTION_OF_TIME: "t" | ||
| FUNCT2: | ||
| - SYMBOLIC_FUNCTION_OF_TIME: "10*t" | ||
| RESULT DESCRIPTION: | ||
| - STRUCTURE: | ||
| DIS: "structure" | ||
| NODE: 4 | ||
| QUANTITY: "dispx" | ||
| VALUE: 1.56653329972578407e-03 | ||
| TOLERANCE: 1e-12 | ||
| - STRUCTURE: | ||
| DIS: "structure" | ||
| NODE: 4 | ||
| QUANTITY: "dispy" | ||
| VALUE: 0 | ||
| TOLERANCE: 1e-12 | ||
| - STRUCTURE: | ||
| DIS: "structure" | ||
| NODE: 4 | ||
| QUANTITY: "dispz" | ||
| VALUE: 4.72233623507744282e-02 | ||
| TOLERANCE: 1e-12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I am not so sure, if we really want to pass the time into the pair, and especially the previous or next time.