Skip to content

Support for element age#851

Merged
kmokstad merged 4 commits intoOPM:masterfrom
kmokstad:element-age
Apr 16, 2026
Merged

Support for element age#851
kmokstad merged 4 commits intoOPM:masterfrom
kmokstad:element-age

Conversation

@kmokstad
Copy link
Copy Markdown
Contributor

This adds support for age-dependent element properties.
An age attribute is added to the FiniteElement class, which is the time since the birth of the actual element.
By default the birth time is zero (i.e., the start of the simulation), but can be set to a value larger than zero when time dependent element activation is used.

For the SCENE-B project.

@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstreams ifem-elasticity=206 ifem-finitedeformation=53 please

@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstreams ifem-elasticity=206 ifem-finitedeformation=54 please ifem-poroelasticity=71 please

element was born, or negative if the element is not yet active
Changed: Use getAge() instead of isElementActive() to check for
inactive element such that we get the element age in the same go.
Changed: Skip secondary solution evaluation for inactive elements.
Changed: More use of emplace_back() instead of push_back().
@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstreams ifem-elasticity=206 ifem-finitedeformation=54 please ifem-poroelasticity=71 please

@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstreams ifem-elasticity=206 ifem-finitedeformation=54 please ifem-poroelasticity=71 ifem-beamex=48 ifem-beamgeometry=2 please

@kmokstad kmokstad merged commit 4b8d004 into OPM:master Apr 16, 2026
1 check passed
@kmokstad kmokstad deleted the element-age branch April 16, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant