Comments (3)
Moving this to the backlog to not lose sight of it, but moving it out of this sprint.
FYI @indigocoral
from kratos.
Curiously the script applications\GeoMechanicsApplication\MainKratos_multiple_stages_template.py shows the fixed way.
The Kratos_stages.py script that is shared around and the one with stages in separate directories share the "wrong" way.
These are found in applications\GeoMechanicsApplication\python_scripts\ run_multiple_stages.py and run_multiple_separated_stages.py
These should be "fixed".
I think we can safely switch to the proposed way.
from kratos.
While implementing the fix, as found in the description, we encountered the following issue (and failing test):
It is not possible, after running a single stage (which initializes the elements and nodes etc in the model) to add new nodal solution step variables:
Therefore we have three options as far as I can see:
- We use the current way of constructing stages, which will not crash when an earlier stage defines less dofs than a later stage. However, this will result in the described bug: all stages will have all dofs.
- We change the current way of constructing stages to the proposed way in the description, which means the situation in point 1 will crash, but when stage 1 has more dofs than stage 2, these will not be removed, so the amount of dofs still won't always be consistent with the input files. However, in the 'bug' scenario at least the user would be aware that something is inconsistent.
- We discuss the possibility of adding functionality to the modelpart to add and remove dofs between stages. This would be changing 'core' functionality, so in my opinion this would be out of scope for a quick fix of this bug.
from kratos.
Related Issues (20)
- [Question] Using Boost HOT 4
- [GeoMechanicsApplication] Fix bug in calculation of shape-function-gradients in thermal element.
- [GeoMechanicsApplication] Add cross-sectional area to the thermal line element
- [GeoMechanicsApplication] Investigate differing results of settlement analyses HOT 1
- Fix consolidation 1D test
- [GeoMechanicsApplication] Fix bug in calculation of shape-function-gradients in Pw line element
- [GeoMechanicsApplication] Add cross-sectional area to the Pw line element
- [GeoMechanicsApplication] Extract a static utility function for the calculation of the Damping Matrix (D)
- [GeoMechanicsApplication] Extract a static utility function for the calculation of the Stiffness Matrix (K)
- [GeoMechanicsApplication][Thermal] Write the results of the initial stage to the output file HOT 1
- [Mapping] Map Vector/Matrix Variables HOT 6
- [Mapping] Map elemental/condition values HOT 1
- [CoSim] Incorrect residuals in `ConvergenceCriteria` HOT 4
- [GeoMechanicsApplication] Refactor Linear Elastic law to extract a policy for 2D behavior
- [GeoMechanicsApplication] Extract a static utility for VoigtVector
- [Core][IO] wrong output in vtk files when Point3D elements are present in model HOT 3
- [GeoMechanicsApplication] Investigate unstable 1D consolidation test
- [GeoMechanicsApplication] Cleaning of element variables structure
- Running Kratos HOT 5
- [GeoMechanicsApplication] Create backbone and unloading model with elastic unloading for trusses and interface elements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kratos.