GithubHelp home page GithubHelp logo

Comments (7)

uekerman avatar uekerman commented on July 28, 2024

The failing case is a steady-state solution, right?
Then,

This means that the residuals in two consecutive iterations are identical.

can very well happen once you are converging.

Of course, usability could be better.

from tutorials.

BenjaminRodenberg avatar BenjaminRodenberg commented on July 28, 2024

@uekerman it's a time-dependent case: $u = 1 + x^2 + \alpha y^2 + \beta t$ (even without modifications as suggested further down in the issue)

from tutorials.

uekerman avatar uekerman commented on July 28, 2024

Could you attach the iterations and convergence file of the failing case?

from tutorials.

BenjaminRodenberg avatar BenjaminRodenberg commented on July 28, 2024

Here you are.
precice-Neumann-iterations.log
precice-Neumann-convergence.log
precice-Dirichlet-iterations.log
precice-Dirichlet-convergence.log

Case is identical to 3ad4542 except the time step size:

diff --git a/partitioned-heat-conduction/precice-config.xml b/partitioned-heat-conduction/precice-config.xml
index 3b20fad..2027e19 100644
--- a/partitioned-heat-conduction/precice-config.xml
+++ b/partitioned-heat-conduction/precice-config.xml
@@ -41,7 +41,7 @@
   <coupling-scheme:serial-implicit>
     <participants first="Dirichlet" second="Neumann" />
     <max-time value="1.0" />
-    <time-window-size value="0.1" />
+    <time-window-size value="0.05" />
     <max-iterations value="100" />
     <exchange data="Heat-Flux" mesh="Dirichlet-Mesh" from="Dirichlet" to="Neumann" />
     <exchange

from tutorials.

BenjaminRodenberg avatar BenjaminRodenberg commented on July 28, 2024

Update: I decided to comment out the PRECICE_CHECK that causes the crash. I do not observe clear problems w.r.t iteration count of the quasi-Newton acceleration or overall numerical error of the solution. For context: I'm currently performing convergence studies with this case.

Might be good to open a corresponding issue in precice/precice, since this looks to me like a problem with the quasi-Newton scheme that we should understand better.

from tutorials.

uekerman avatar uekerman commented on July 28, 2024

Without doing a close look, my best guess would be that the CHECK should be replaced by a "do not add the column and move on", maybe documented by a warning or info output.
I guess that this is anyway what happens in @BenjaminRodenberg commented-out version as then the filter removes the column again.

There are many connected issues in preCICE already:

from tutorials.

BenjaminRodenberg avatar BenjaminRodenberg commented on July 28, 2024

Without doing a close look, my best guess would be that the CHECK should be replaced by a "do not add the column and move on", maybe documented by a warning or info output.
I guess that this is anyway what happens in @BenjaminRodenberg commented-out version as then the filter removes the column again.

If the solution is that simple: Could we do this and even backport it to 2.5.1 for a bugfix release? Currently I have to patch 2.5.0 to perform some experiments and having a 2.5.1 release would simplify things.

from tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.