openfoam / openfoam-6 Goto Github PK
View Code? Open in Web Editor NEWOpenFOAM Foundation repository for OpenFOAM version 6
License: Other
OpenFOAM Foundation repository for OpenFOAM version 6
License: Other
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 :)
I can't find the basicMixture.C file in OpenFOAM-6/src/thermophysicalModels/basic/mixtures/basicMixture/ path.
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.
To remove the 1 cell thickness of 2D openfoam meshes to get a true 2D surface mesh for Fluent .msh format
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!
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.
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)
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.
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.
Why does the makeThermoParcelForces
macro create only SphereDragForce
and NonSphereDragForce
, while makeParcelForces
creates also WenYuDragForce
, ErgunWenYuDragForce
, and PlessisMasliyahDragForce
?
https://github.com/OpenFOAM/OpenFOAM-6/blob/master/src/lagrangian/intermediate/parcels/include/makeThermoParcelForces.H
https://github.com/OpenFOAM/OpenFOAM-6/blob/master/src/lagrangian/intermediate/parcels/include/makeParcelForces.H
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.