Giter Site home page Giter Site logo

Comments (4)

Wayne901 avatar Wayne901 commented on July 1, 2024

May someone give some hint on this problem? I'm still confused about it. The different result is not observed when t_final <= 4. I set d2udt2 to 0 after T_solver with

T_solver.Mult(z, d2udt2);
for (int i = 0; i < ess_tdof_list.Size(); i++)
  d2udt2[ess_tdof_list[i]] = 0.0;

from mfem.

Wayne901 avatar Wayne901 commented on July 1, 2024

I wrote another wave equation code based on the coupled first-order equations, like ex10.
The result at t=5 is same as the ex23 with d2udt2 set to 0.

from mfem.

IdoAkkerman avatar IdoAkkerman commented on July 1, 2024

I have tried to address the issue in a small PR #4233. I added as step after solving for the acceleration where the acceleration is hardwired set to zero.

I think, this should technically not have been necessary, as the solve should have resulted in zero accelerations on those places. But apparently round-off and/or the approximate nature of the linear solves create for excessive slip of the solution.

from mfem.

IdoAkkerman avatar IdoAkkerman commented on July 1, 2024

I have checked the BC values and after zeroing the accelerations the solution values at the BC were of the order e-105 which is effectively zero.

from mfem.

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.