Coder Social home page Coder Social logo

openfoam / openfoam-6 Goto Github PK

View Code? Open in Web Editor NEW
104.0 104.0 123.0 80.57 MB

OpenFOAM Foundation repository for OpenFOAM version 6

License: Other

Shell 1.48% C++ 51.55% C 46.74% Objective-C 0.19% Gnuplot 0.01% GLSL 0.01% CMake 0.01% Awk 0.02% sed 0.01% Makefile 0.01%

openfoam-6'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  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

openfoam-6's Issues

Documentation missing wget

hey Openfoam! I'm not sure where your bug tracker is, but this is a tiny issue with the documentation here that I hope helps someone in the future! We were working on building a Docker container details here using an Ubuntu 16.04 base and a lot of issues came down to missing wget (so the ThirdParty libraries weren't built) and then ld issued a bunch of missing library commands. So - if we just add it to the list, many future users will likely appreciate :)

basicMixture.C

I can't find the basicMixture.C file in OpenFOAM-6/src/thermophysicalModels/basic/mixtures/basicMixture/ path.

"Floating point exception" on ppc64le

Upgraded to OpenFOAM 6, compiling on ppc64le on Debian Buster with GCC 7. Every tool aborts with a "Floating point exception" regardless of whether MPI is used or not. OpenFOAM 5 did not have this problem.

The capability of component residualControl should be added to OpenFOAM

Hi All,
Iโ€˜m doing a 2D axis symmetry case which is need to use wedge mesh. The circumferential velocity(z direction) which I don't care about is calculated and it is hard to be convergent. Therefore, I wanna set different "residualControl" on velocity field "U", for example,

    residualControl
    {
        p               1e-3;
        //U               1e-5;
        Ux              1e-5;
        Uy              1e-5;
        Uz              1e-2;
        "(k|epsilon)"   1e-3;
    }

However, I found there was no the capability of component "residualControl", it seemed like that there is no "residualControl" set on "U" when I changed the "U" to the "Ux, Uy, Uz", though it didn't show any error or warning when I did this change.
Any reply will be great appreciated! Thanks!

foamCloneCase script

currently foamCloneCase script is not accepting target directory name on ubuntu terminal with double tab.
e.g. foamCloneCase cavity .
If it does foamCloneCase cavity {to automatically select "cavity" word }2.

Compiling Problems

I read this https://openfoam.org/download/source/ explanation on how to compile OpenFoam from source. I tried running this script:

#!/bin/bash
apt-get install build-essential flex bison git-core cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-dev
apt-get install qt4-dev-tools libqt4-dev libqt4-opengl-dev freeglut3-dev libqtwebkit-dev curl

rm -r OpenFOAM-6
rm -r ThirdParty-6
rm -r /opt/OpenFOAM-6
rm -r /opt/ThirdParty-6
git clone git://github.com/OpenFOAM/OpenFOAM-6.git
git clone git://github.com/OpenFOAM/ThirdParty-6.git
cp -r OpenFOAM-6 /opt/
cp -r ThirdParty-6 /opt/
source /opt/OpenFOAM-6/etc/bashrc
export WM_COMPILE_OPTION=Debug
/opt/ThirdParty-6/Allwmake -j
/opt/ThirdParty-6/makeParaView
wmRefresh
/opt/OpenFOAM-6/src/Allwmake -j

But this script failed with the following output:

... a lot of output without erros ...
-- Installing: /opt/ThirdParty-6/platforms/linux64Gcc/ParaView-5.4.0/share/doc/paraview-5.4/paraview.qch
    ---
    Installation complete for paraview-5.4.0
    Now update the environment by running:
        wmRefresh
    ---

Done
/opt/OpenFOAM-6/etc/config.sh/aliases: line 85: wmUnset: command not found
Compiling enabled on 4 cores
Allwmake src
version changed from previous build
removing .o files corresponding to OpenFOAM/global/global.o ...
Allwmake src/Pstream
wmake dummy
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude: linking include files to /opt/OpenFOAM-6/src/OpenFOAM/lnInclude
    wmakeLnInclude: linking include files to /opt/OpenFOAM-6/src/OSspecific/POSIX/lnInclude
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file UOPwrite.C
Making dependency list for source file UIPread.C
Making dependency list for source file UPstream.C
make: /opt/OpenFOAM-6/wmake/platforms/linux64Gcc/wmkdep: Command not found
make: /opt/OpenFOAM-6/wmake/platforms/linux64Gcc/wmkdep: Command not found
make: /opt/OpenFOAM-6/wmake/platforms/linux64Gcc/wmkdep: Command not found
make: *** No rule to make target '/opt/OpenFOAM-6/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.C.dep', needed by '/opt/OpenFOAM-6/platforms/linux64GccDPInt32Opt/src/Pstream/dummy/UPstream.o'.  Stop.

I would be thankful if anyone could explain to me why the compilation failes and how to fix it.

Additional Info:
OS: Linux (Ubuntu 18.04)

UPstream.C uses wrong getenv

I was having persistent errors with running OpenFoam-6 (just downloaded) and having MPI_BUFFER_SIZE undefined. This is on an openmpi-4.0.1 + ubuntu 18.04 system and I'm 100% sure that the same OpenMPI was used to compile and run.

This happened when launched with mpirun or srun.

This did not help:
export MPI_BUFFER_SIZE=2000000

Nor did telling mpirun to pass in the variable with -x.

I recommend on line 123 of UPstream.c you call getenv, not getEnv.

Also if it's undefined I'd either set a default, or just skip the call to MPI_Buffer_attach.

With the above mentioned change it seems to work well.

[Question] getting the latest version with bug fixes

Hello,
I am tired of searching the internet to get an answer to my question, so I decided to ask it here!
In Ubuntu:
Without installing OpenFOAM-dev. How can I get OpenFOAM with the latest bug fixes? do I have to wait till OpenFOAM 7 to be released?
or do you provide regularly pre-compiled versions via ubuntu repositories? if yes when?
Please answer me.

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.