Comments (4)
nice catch!
No wonder it never really worked for us, we basically always used the other criteria
from kratos.
After further analysis of the problem, I have concluded that this is not a CoSim issue. The bug is related to the strategy used. Let's consider the ResidualBasedNewtonRaphsonStrategy
as an example:
-
In ResidualBasedNewtonRaphsonStrategy::SolveSolutionStep, the method ConvergenceCriteria::InilitializeNonLinearIteration is called with the LHS and RHS even before invoking the
BuilderAndSolver
. This implies that the method is called with zero LHS and RHS vectors. -
The second issue is that inside ResidualCriteria, the
ConvergenceCriteria::InitializeNonLinearIteration
method is not overriden. The residual is calculated just once per time step inside ResidualCriteria::InitializeSolutionStep and not once per coupling iteration.
@KratosMultiphysics/technical-committee Why the ConvergenceCriteria::InilitializeNonLinearIteration is called before the BuilderAndSolver
?
from kratos.
Yes! This issue is causing slow convergence with the non-linear shell elements we are using in our coupled simulations.
from kratos.
The question is how to fix the bug. As far as I can tell, calling the solver's InitializeSolutionStep
and FinalizeSolutionStep
during coupling iterations is a no-go because it would flush the solution buffer and thus break time stepping.
A hackish solution I can think of is storing the initial residual in ProcessInfo
or ModelPart
's DataValueContainer
and manually overriding it during coupling iterations, but I don't particularly like this fix.
Any other ideas?
from kratos.
Related Issues (20)
- [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 2
- [Mapping] Map Vector/Matrix Variables HOT 6
- [Mapping] Map elemental/condition values HOT 1
- [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
- [GeoMechanicsApplication] Convert piping interface element, to 1D line element HOT 1
- [GeoMechanicsApplication] Make `UPwBaseElement` a non-template class
- [GeoMechanicsApplication] Calculate integration coefficients prior to integration point loop
- [GeoMechanicsApplication] Creation of a backbone model for interface elements
- [GeoMechanicsApplication] Change the base class of `SmallStrainUPwDiffOrderElement` to `UPwBaseElement` HOT 1
- [GeoMechanicsApplication] Investigate thermal simulation performance
- [General] Output no longer outputs the initial conditions (i.e. time = 0 ) HOT 1
- [GeoMechanicsApplication] Degrees of freedom should be freed in between stages HOT 5
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.