Giter VIP home page Giter VIP logo

openfoam-5.x's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openfoam-5.x's Issues

Exit with error code

Greetings FOAMers,

I am attempting to exit FOAM with a specific exit code (integer) e.g.:

Foam::error e("My error");
e.exit(100);

But the error code that results is 1.

Looking at line 203 of error.C this is obvious because the error code is hard-coded to be 1.
However, from my superficial vantage point I do not see an obvious reason why you are using 1 instead of errNo when considering that the default value of errNo is 1 (from the header file).

Am I ab/mis-using your error handling system by doing this?

Regards,

Sigve

Bug about surfaceTension implement in reactingmultiphaseEulerFoam ๏ผŸ

Hello.I am studying the reactingmultiphaseEulerFoam,
the code for surfaceTension implement is:

forAll(phases, phasei)
{
phaseModel& phase = phases[phasei];

    phigs.set
    (
        phasei,
        (
            alpharAUfs[phasei]
           *(
               ghSnGradRho
             - (fvc::interpolate(phase.rho() - rho))*(g & mesh.Sf())
             - fluid.surfaceTension(phase)*mesh.magSf()
            )
        ).ptr()
    );
}

finnaly,the velocity is updated by:

           phase.U() =
                HbyAs[phasei]
              + fvc::reconstruct
                (
                    alpharAUfs[phasei]*mSfGradp
                  - phiFs[phasei]
                  - phigs[phasei]
                );

It seems that the code updated velocity as:
image
My derivation mathematical formula is:
image
please check the code

unzip file problem

I download the zip file from github, but when I trying to unzip this file ,showing I can't operate this file . I also trying use jar command line to deal with this issue,but there still tell me "java.io.EOFException: Unexpected end of ZLIB input stream"

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.