CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Announcements from Other Sources (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/)
-   -   foam-extend-5.0 release (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/245191-foam-extend-5-0-release.html)

hjasak September 20, 2022 12:17

foam-extend-5.0 release
 
Announcing foam-extend-5.0 Official Release


This is a major release of foam-extend-5.0 created from the nextRelease branch of foam-extend-4.1 which consolidates cumulative development since 14 October 2019. In total, the release consists of 5535 commits since the last release.
Pre-packaged binaries are produced for
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 18.04 LTS
Microsoft Windows compilation follows the Windows Power Shell Ubuntu sub-system.



Visit https://foam-extend.org for more information.



Major new features:

* Physics modelling

* Proper Orthogonal Decomposition (POD) model development across a number of applications with tutorials and validation cases. POD uses the Method of Snapshots to create energy-consistent reduced order models which run 1000s of times faster than full CFD. POD analysis is also used to examine stability characteristics of flow regimes or to assemble "digital twin"-type models. POD has been deployed across a number of applications, with new tutorials.

* Extension to porous zone models for thermal modelling and heat transfer, including implicit coupled conjugate heat transfer

* Physics modelling updates for coal combustion

* Handling of derived forms of enthalpy in thermophysical models with correct boundary condition setup (coupled interfaces)


* Numerics


* Immersed Boundary (Surface) method: major improvements. Consistency errors in parallel cutting and interaction with coupled boundaries have been resolved. Further type-consistent boundary conditions on IB surfaces have been adeed, with correct mapping and post-processing. Major robustness improvements in the method. Algorithmic improvements in immersed boundary handling; cutting, dead cells, extended sets of boundary conditions. Rewrite of cut cell handling, parallelism and consistency updates.

* Immersed boundary with interfering patches: multiple intersections

* Updated algorithms for buoyant flows: correct limit of incompressibility and consistent handling of stratified flows. Solvers represent incompressible results for canonical flows without instability

* Consistency updates for Multiple Rotating Frames (MRF) of reference, with accurate geometry handling. Consistent and convergent integration with block pressure-velocity solvers

* Algorithmic updates for steady compressible turbomachinery flows. New implementation of rothalpy handling with better consistency in rothalpy jump coupled boundary conditions

* Use of block-AMG solvers for block-coupled p-U solvers: see tutorials

* Updated handling of bounded flux boundary conditions

* New 01 bounded convection schemes

* Better reporting of flux check

* Updated algorithms for partial overlap GGI interface pairs

* Change in handling of adjustPhi for moving deforming meshes


* HPC and parallelism, performance improvements

* Major improvement in handling of processor boundaries and other cached coupled interface patch types. This resolves long-standing bugs in FOAM-OpenFOAM development lines and results in significant reduction in number of iterations of linear solvers. Further, numerous stability and consistency problems in parallel execution have been resolved

* Improvements for large memory usage in large-scale HPC cases

* Incremental consistency work on block-coupled solvers for incompressible flows

* Incremental improvement in performance for parallel Oveset Mesh capability. Update in low-level communication and consistency

* Clean-up of boundary condition updates in absence of database field access


* Dynamic Mesh


* Full deployment of dynamic load balancing with AMR or other dynamic mesh features at the level of topoChangerDynamicFvMesh

* Refactoring of dynamic mesh solvers with algoritmic efficiency improvements

* Changes in dynamic mesh handling: efficient and consistent geometry updates


Software engineering

* Port to gcc-9 and gcc-11
* c++-11 updates: default destructors, delete automatically generated
* update of the build system using native third party packages whenever possible
* Change in style to FatalErrorInFunction sytnax
* new VectorN types for extended coupling in block matrices


Happy FOAM-ing,


Hrvoje Jasak
Wikki Ltd.

wyldckat January 2, 2023 10:56

Quick heads up: The redirection page/link https://foam-extend.org/ is not working at the moment, but the http://foam-extend.org/ link/redirection (without the S in HTTPS) will work.

Linxiangfeng March 22, 2023 22:13

interIbFoam
 
Hi, I wonder if the immersed boundary method works in the solver interFoam?. There is a solver called InterIbFoam in the old version. However, it is gone now.

cfdforum4hyc March 23, 2023 13:45

Hi, Dr. Jasak,

Thank you for your great work!

Could you please help us by sharing any installation instructions for foam-extend 5.0? I tried a bit to install it on Ubuntu 22.04 yet failed.

Thank you so much!

Cheers!

Farqy April 14, 2023 06:49

Installation Instructions
 
The .deb file still fails to install properly. Also is, the newest version of openfoam contains files installed in /usr/lib/openfoam. Is it possible to use this directory instead of /opt? Thanks

leoYang1011 May 17, 2023 21:48

Some problems of parallel computation fo finite area method in foam-extend-5.0
 
Hi, Dr. Jasak,
I found that the finite area method does not work properly in the parallel calculation of foam-extend-5.0. The following error is returned when reading the field after constructing famesh:

[0] --> FOAM FATAL ERROR:
[0] Processor patchNeighbourField not ready
[0]
[0] From function Foam::tmp<Foam::Field<Type> > Foam::processorFaPatchField<Type>::patchNeighbourF ield() const [with Type = Foam::Vector<double>]
[0] in file fields/faPatchFields/constraint/processor/processorFaPatchField.C at line 150.
[0]
FOAM parallel run aborting

I tested the examples in the tutorial and this error also exists in the parallel calculation. Can you tell me how the construction or application of the finite area method differs in the new version from the old one?

Thank you so much!

heru June 5, 2023 14:05

Does anyone install foam-extend 5?

I have tried in different ways without success. Even from source code
https://sourceforge.net/p/foam-exten...i/master/tree/

I have done the same with previous vertions and I am able to install them (https://openfoamwiki.net/index.php/I...oam-extend-4.1 )

So I do not understand how to install vertion 5

Desimuser1 June 15, 2023 00:41

I am not able to install foamExtend 5.0 in ubuntu v22.04
 
i tried these steps but i am getting an error

sudo apt-get update

step 2:
sudo apt-get install git-core build-essential binutils-dev cmake flex \
zlib1g-dev libncurses5-dev curl bison \
libxt-dev rpm mercurial graphviz python python-dev gcc-7 g++-7

cd ~

mkdir foam

cd foam

git clone git://git.code.sf.net/p/foam-extend/foam-extend-5.0 foam-extend-5.0

cd ~/foam/foam-extend-5.0

source etc/bashrc

echo "alias fe41='source \$HOME/foam/foam-extend-4.1/etc/bashrc'" >> $HOME/.bashrc

cd ~/foam/foam-extend-4.1

echo "export WM_CC='gcc-7'" >> etc/prefs.sh

echo "export WM_CXX='g++-7'" >> etc/prefs.sh

source etc/bashrc

sed -i -e 's=rpmbuild --define=rpmbuild --define "_build_id_links none" --define=' ThirdParty/tools/makeThirdPartyFunctionsForRPM

sed -i -e 's/gcc/\$(WM_CC)/' wmake/rules/linux64Gcc/c

sed -i -e 's/g++/\$(WM_CXX)/' wmake/rules/linux64Gcc/c++

./Allwmake.firstInstall




ERRORS THAT I GOT

during step 2 :

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-dev:i386 python2:i386 python2-dev python2 python-dev-is-python3

Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-minimal:i386 python2:i386 python2-minimal python2 dh-python 2to3 python-is-python3

Package g++-7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package gcc-7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python' has no installation candidate
E: Package 'python-dev' has no installation candidate
E: Package 'gcc-7' has no installation candidate
E: Package 'g++-7' has no installation candidate

and metis, parmetis etc is not getting installed

please inform me the mistakes that i have made
i am not able to connect foam extend to openfoam
:confused:

STK July 17, 2023 22:43

Quote:

Originally Posted by Desimuser1 (Post 851876)
i tried these steps but i am getting an error

sudo apt-get update

step 2:
sudo apt-get install git-core build-essential binutils-dev cmake flex \
zlib1g-dev libncurses5-dev curl bison \
libxt-dev rpm mercurial graphviz python python-dev gcc-7 g++-7

cd ~

mkdir foam

cd foam

git clone git://git.code.sf.net/p/foam-extend/foam-extend-5.0 foam-extend-5.0

cd ~/foam/foam-extend-5.0

source etc/bashrc

echo "alias fe41='source \$HOME/foam/foam-extend-4.1/etc/bashrc'" >> $HOME/.bashrc

cd ~/foam/foam-extend-4.1

echo "export WM_CC='gcc-7'" >> etc/prefs.sh

echo "export WM_CXX='g++-7'" >> etc/prefs.sh

source etc/bashrc

sed -i -e 's=rpmbuild --define=rpmbuild --define "_build_id_links none" --define=' ThirdParty/tools/makeThirdPartyFunctionsForRPM

sed -i -e 's/gcc/\$(WM_CC)/' wmake/rules/linux64Gcc/c

sed -i -e 's/g++/\$(WM_CXX)/' wmake/rules/linux64Gcc/c++

./Allwmake.firstInstall




ERRORS THAT I GOT

during step 2 :

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-dev:i386 python2:i386 python2-dev python2 python-dev-is-python3

Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-minimal:i386 python2:i386 python2-minimal python2 dh-python 2to3 python-is-python3

Package g++-7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package gcc-7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python' has no installation candidate
E: Package 'python-dev' has no installation candidate
E: Package 'gcc-7' has no installation candidate
E: Package 'g++-7' has no installation candidate

and metis, parmetis etc is not getting installed

please inform me the mistakes that i have made
i am not able to connect foam extend to openfoam
:confused:

I assume you are using Ubuntu since those commands can be found in: https://openfoamwiki.net/index.php/I...end-4.1/Ubuntu
Edit: My bad, you already mentioned you are using Ubuntu22.04
Howabout trying this method: https://sourceforge.net/p/foam-exten...u/Ubuntu_22.04

or if you are using Ubuntu20.04: https://sourceforge.net/p/foam-exten...u/Ubuntu_20.04

So far I do not meet any error during the complie

Desimuser1 July 18, 2023 00:06

thanks, i will look into it

STK July 18, 2023 00:18

Quote:

Originally Posted by STK (Post 853531)
So far I do not meet any error during the complie

After finishing it, I got several error at the end.
All of them are missing header files

Missed files are:
1) twoDPointCorrector.H refered in foam-extend-5.0/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H
2) mgridgen.h in MGridGenGAMGAgglomerate.C, multigrid/mgMeshLevel/mgMeshLevel.C
3) cusp/coo_matrix.h in most of cudaSolver

Now I try to find the solution of missing files, especially for cudaSolver https://www.cfd-online.com/Forums/op...tml#post685738

tav September 5, 2023 09:28

MRF using pUCoupledFoam
 
Hello,

Does pUCoupledFoam in foam-extend 5.0 support MRF?

hjasak September 5, 2023 09:45

Use MRFPorousFoam for that

tav September 6, 2023 01:12

Quote:

Originally Posted by hjasak (Post 856380)
Use MRFPorousFoam for that

Thank you. I will try that out.

peyman.havaej September 22, 2023 04:58

Compressible Solver with BlockCoupled Algorithm
 
Hello,

It seems that this version does not feature a solver with the blockCoupled algorithm for compressible flow. This is a capability I am keenly interested in.

Are there any unofficial versions or developmental codes that might include this feature?

Thank you very much.

Kind regards,
Peyman


All times are GMT -4. The time now is 23:06.