Giter Site home page Giter Site logo

MG - test3 - is it okay? about simplecfd HOT 3 CLOSED

jothurgood avatar jothurgood commented on September 5, 2024
MG - test3 - is it okay?

from simplecfd.

Comments (3)

JOThurgood avatar JOThurgood commented on September 5, 2024

its because you hacked them to be zero gradient at some earlier stage apparently

532 if (mg_state%eta_bc_xmin == fixed) then
533 ! this%eta(0,:) = -this%eta(1,:)
534 this%eta(0,:) = this%eta(1,:)
535 endif
536 if (mg_state%eta_bc_xmax == fixed) then
537 ! this%eta(this%nx+1,:) = -this%eta(this%nx,:)
538 this%eta(this%nx+1,:) = this%eta(this%nx,:)
539 endif
540 if (mg_state%eta_bc_ymin == fixed) then
541 ! this%eta(:,0) = -this%eta(:,1)
542 this%eta(:,0) = this%eta(:,1)
543 endif
544 if (mg_state%eta_bc_ymax == fixed) then
545 ! this%eta(:,this%ny+1) = -this%eta(:,this%ny)
546 this%eta(:,this%ny+1) = this%eta(:,this%ny)
547 endif
548

from simplecfd.

JOThurgood avatar JOThurgood commented on September 5, 2024

...so that is equivalent to eta=1 Dirichlet in this case

from simplecfd.

JOThurgood avatar JOThurgood commented on September 5, 2024

so should add inhomo dirichlet to eta_bcs and check same answer is given

from simplecfd.

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.