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/)
-   -   Release of foam-extend-3.2 (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/159535-release-foam-extend-3-2-a.html)

fguibault September 17, 2015 15:50

Release of foam-extend-3.2
 
It is our pleasure to announce the release of the foam-extend-3.2 code.

The code is available here:
http://sourceforge.net/p/openfoam-ex.../ci/v3.2/tree/
Descriptions are available here:
http://sourceforge.net/p/openfoam-extend/wiki/Home/
A simpler URL brings also brings you directly to the foam-extend-project:
http://foam-extend.org/

The release notes are available here:
http://sourceforge.net/p/openfoam-ex...leaseNotes.txt
(In $WM_PROJECT_DIR/ReleaseNotes.txt)

The complete source code is available from the sourceforge git repository and can be obtained as follows:
git clone http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1 foam-extend-3.2
cd foam-extend-3.2
git checkout v3.2
or
git clone --branch v3.2 http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1 foam-extend-3.2
Installation instructions can be found here:
http://sourceforge.net/p/openfoam-ex...dInstructions/
(In $WM_PROJECT_DIR/doc/buildInstructions)
Report installation problems. See BUG REPORTS below.
Contribute with additional build instructions. See BUG REPORTS below.
Run the testHarness, following the instructions in $WM_PROJECT_DIR/testHarness/README.txt. Report fails, including URL to test
results. See BUG REPORTS below.

The foam-extend workflow:
The master branch is updated with bug fixes, but no new features – stable.
The nextRelease branch is updated both with bug fixes and new features – semi-stable.
The installation instructions are for the master branch.

You are encouraged to continuously contribute to the nextRelease branch according to the instructions at:
http://sourceforge.net/p/openfoam-ex...wToContribute/

BUG REPORTS:
Report bugs in the bug-tracker:
http://sourceforge.net/p/openfoam-ex...extendrelease/
Give an URL to testHarness fails, if applicable.
Paste a patch for small bug fixes or feature additions (see http://sourceforge.net/p/openfoam-ex...wToContribute/)

The foam-extend administrators.

peterk September 22, 2015 15:37

mismatch in links?
 
hello Guibault,
I think I a m doing something wrong,but:
If I try to dowload the software than only the first link with ../tree links me to a page of 3.1 beta release with a repo of 3.2
the links with software show no page at all
The link with software instructions lead me to a page where I can click on a button for Ubuntu 14.04, but this leads me to install instructions of release 3.1.
Best regards,
Peter

fguibault September 22, 2015 16:23

Hi Peter,

Release 3.2 is currently still in the repository of version 3.1. It will be moved to its own master branch shortly. In the mean time, did you try to get the code using git (using the following commands):
git clone http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1 foam-extend-3.2
cd foam-extend-3.2
git checkout v3.2

That should get you the whole source code tree.
I am not sure which link you are refering to when saying that "the links with software show no page at all".

As for the install on Ubuntu, the instructions are the same for 3.1 and 3.2.

peterk September 23, 2015 15:30

Hello Guibault,
I am using Firfox as browser and this shows as text http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1, in the mail I got that an answer was written, in brackets the whole path was mentioned:
(http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1).
When I run the git commands, I get a message that I am in detached HEAD state, see below. The software seems to be there.
Code:

bash: [: missing `]'
pk28831@sys7:~$ git clone http://git.code.sf.net/p/openfoam-ex...oam-extend-3.1 foam-extend-3.2
Cloning into 'foam-extend-3.2'...
remote: Counting objects: 104435, done.
remote: Compressing objects: 100% (39518/39518), done.
remote: Total 104435 (delta 69733), reused 96975 (delta 62653)
Receiving objects: 100% (104435/104435), 92.55 MiB | 7.34 MiB/s, done.
Resolving deltas: 100% (69733/69733), done.
Checking connectivity... done.
pk28831@sys7:~$ cd foam-extend-3.2
pk28831@sys7:~/foam-extend-3.2$ git checkout v3.2
Note: checking out 'v3.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 094e842... Hotfix: Turbulence generation fix in k-omega-SST.  Thijs Gillebaart
pk28831@sys7:~/foam-extend-3.2$ ls
Allclean              CTestConfig.cmake      ReleaseNotes.txt
Allwmake              doc                    src
Allwmake.firstInstall  etc                    testHarness
Allwmake.mingw        extend-bazaar          ThirdParty
applications          ExtendProjectPreamble  tutorials
bin                    ListOfContributors    vagrantSandbox
Changelog.current      Macros                wmake
CMakeLists.txt        ReleaseNotes
COPYING                ReleaseNotes.html

Thanks and best regards,
Peter

utkunun October 4, 2015 15:34

Moving immersed boundary tutorial in foam extend 3.2 announced
 
Hi,

Dr. Jasak announced a tutorial including a moving immersed boundary in the following:

https://twitter.com/hrvoje_jasak/sta...57532137705472

How can I access the tutorial? I was not able to find it on sourceforge v3.2 pages.

Thank you for your response in advance.

Regards,

Utku

wyldckat October 4, 2015 16:05

Quick answers:

@peterk:
Quote:

Originally Posted by peterk (Post 565339)
When I run the git commands, I get a message that I am in detached HEAD state, see below. The software seems to be there.

That's normal. The v3.2 is a tag and not a branch, which is why it gives the "detached HEAD" message. If you prefer to be working on a branch, you can now run this command:
Code:

git checkout -b fe32
And it will create the branch "fe32" in your local repository.

_______________

@utkunun:
Quote:

Originally Posted by utkunun (Post 566471)
https://twitter.com/hrvoje_jasak/sta...57532137705472

How can I access the tutorial? I was not able to find it on sourceforge v3.2 pages.

I'll quote a post of his from a few weeks ago:
Quote:

Originally Posted by hjasak (Post 558719)
If you wish to try building the source RIGHT NOW, please check out the source:

git clone --branch nextRelease git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1

and report on your experience.

But if you already have cloned the repository, then run the following command:
Code:

git checkout nextRelease

utkunun October 4, 2015 22:17

Dear wyldckat,

Thank you very much for your quick response. I have been looking for a particular case where the immersed boundary moves. I think the tweet is about that. There exist many immersed boundary tutorials in the next release 3.2 but they are for stationary immersed boundary problems, if I am not mistaken. So is there a way to access this new tutorial #244?

Regards,

Utku

wyldckat October 8, 2015 19:45

Quick answer: Sorry, I had assumed that he was referring to the nextRelease in the foam-extend 3.1 repository. Actually, he was referring to his own repository: http://sourceforge.net/u/hjasak/foam...tRelease/tree/

If you want to start with a new clean copy, you can get it with the following commands:
Code:

git clone git://git.code.sf.net/u/hjasak/foam-extend-3.2 foam-extend-3.2
cd foam-extend-3.2
git checkout nextRelease

If you want to use your already existing repository of foam-extend 3.2, then use these commands:
Code:

foam
git remote add hjasak git://git.code.sf.net/u/hjasak/foam-extend-3.2
git fetch hjasak
git merge hjasak/nextRelease

The tutorial folder is this one:
Code:

tutorials/immersedBoundary/movingCylinderInChannelIco
The new solver is this one:
Code:

applications/solvers/immersedBoundary/icoDyMIbFoam

edit: See post #12 below, which has the updated instructions.

utkunun October 8, 2015 21:46

Thank you so much.

Regards,

Utku

Nigò October 9, 2015 11:49

Hello,
I've found a problem in the compilation of icoDyIbFOAM, since the library loversetMesh is not present in the source repo....
Is it possible to find it somewhere ??

wyldckat October 10, 2015 06:48

Sorry, I didn't have time to test building it. I've tested it now. AFAIK, the "oversetMesh" library is not needed for this solver.

To fix and build the solver, run:
Code:

sed -i -e 's=^.*oversetMesh==' applications/solvers/immersedBoundary/icoDyMIbFoam/Make/options
wmake applications/solvers/immersedBoundary/icoDyMIbFoam

Then before you try to run the tutorial case, the "constant/dynamicMeshDict" file needs to be repaired:
  1. Create a copy of the tutorial case "immersedBoundary/movingCylinderInChannelIco".
  2. Edit the file "constant/dynamicMeshDict" with a text editor.
  3. You will see a plus sign "+" at the start of the file, a lot of empty lines and near at the end of the file is what matters. Therefore, you need to delete the first 856 lines that don't make sense.
If you're not understanding how to edit the file or if you're feeling lazy, you can use these commands:
Code:

cp constant/dynamicMeshDict constant/dynamicMeshDict.orig
tail -n43 constant/dynamicMeshDict.orig > constant/dynamicMeshDict


wyldckat October 11, 2015 07:57

Greetings to all!

A quick update, because yesterday Hrvoje Jasak merged the changes and fixes into the main repository, so this can now be gotten from the main repository :).

If you want to start with a new clean copy, you can get it with the following commands:
Code:

git clone git://git.code.sf.net/p/foam-extend/foam-extend-3.2 foam-extend-3.2
cd foam-extend-3.2
git checkout nextRelease

Then proceed with the standard installation instructions.


If you want to use your already existing repository of foam-extend 3.2, then use these commands:
Code:

foam
git remote add fe32repo git://git.code.sf.net/p/foam-extend/foam-extend-3.2
git fetch fe32repo
git merge fe32repo/nextRelease

Then run Allwmake again, for re-building the updated parts.


As a reminder, the tutorial folder is this one:
Code:

tutorials/immersedBoundary/movingCylinderInChannelIco
The new solver is this one:
Code:

applications/solvers/immersedBoundary/icoDyMIbFoam
Best regards,
Bruno

Mannaa October 14, 2015 14:50

I am new to Open-foam extend.I have Ubunto 12.04.Is it possible to use OpenFoam extend 3.2 and is it the same installation procedures for 3.1 release. .I noticed people say that it takes longer on Ubunto12.04 . Is that it? or is it going to face problems later on during the compilation process?

You help is appreciated in advance

Thanks

wyldckat October 17, 2015 14:12

Quick answer: Wiki page with installation instructions for foam-extend 3.2 is now up: https://openfoamwiki.net/index.php/I...oam-extend-3.2

For installing on Ubuntu 12.04, make sure to follow the instructions given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_12.04

edit: For questions and issues about the Dynamic Meshing with Immersed Boundary Method, please use the dedicated thread: http://www.cfd-online.com/Forums/ope...hannelico.html

t.oliveira November 2, 2016 10:41

Meaning of each branch/tag of foam-extend-3.2
 
Hi,

After reading this post and OpenFOAM wiki (https://openfoamwiki.net/index.php/I...oam-extend-3.2), I am still not sure which branch/tag is right for me.
Code:

git clone git://git.code.sf.net/p/foam-extend/foam-extend-3.2 foam-extend-3.2
cd foam-extend-3.2
git show-ref --head

gives, among other references:
Code:

5ab3390aef43ef3be5669097a4f14bf538fa8b43 refs/remotes/origin/master
54c9f83b540c8ff42c2846dd4a90b91c97d02d40 refs/remotes/origin/nextRelease
2fe93a933878a9a6bebbd3d7d358f1448bb14ac2 refs/tags/v3.2

Beside these, one can also find in git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1
Code:

094e842fc0b0285ca5e39aeb081fa9056dfefb94 refs/remotes/origin/nextRelease
45fafce6b8ba03cf883b20b11df07e6a948ec6ae refs/tags/v3.2

Could you please explain what are each of them?

P.S.: A similar question regarding foam-extend-3.1 can be found here

Kind regards,
Thomas

t.oliveira November 2, 2016 16:12

Hi,

Using git, I investigated the relationship between the following branches and tags of foam-extend-3.1 and foam-extend-3.2 as of today:
  • git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1
Code:

45fafce6b8ba03cf883b20b11df07e6a948ec6ae refs/tags/v3.2
094e842fc0b0285ca5e39aeb081fa9056dfefb94 refs/remotes/origin/nextRelease
1dd681f6e9430f3a49b7b69caf99649b5f23cf86 refs/remotes/origin/master
7d8e040bf53d952f86a4f1c2ff073ab3c6abc006 refs/tags/3.1.1
6c0c77dee21ac095fb7b430dcf93a8f16e3ac412 refs/tags/3.1

  • git://git.code.sf.net/p/foam-extend/foam-extend-3.2
Code:

54c9f83b540c8ff42c2846dd4a90b91c97d02d40 refs/remotes/origin/nextRelease
5ab3390aef43ef3be5669097a4f14bf538fa8b43 refs/remotes/origin/master
2fe93a933878a9a6bebbd3d7d358f1448bb14ac2 refs/tags/v3.2

I found out that a simplified commit history of all of these commits just showing the parent-children relationship would look like this:
Code:

* 54c9f83b540c8ff42c2846dd4a90b91c97d02d40  (foam-extend-3.2/nextRelease)
| * 5ab3390aef43ef3be5669097a4f14bf538fa8b43 (foam-extend-3.2/master)
|/
* 334ba0562a2cf50a1c700d240d85f9e07c8175b4
* 094e842fc0b0285ca5e39aeb081fa9056dfefb94  (foam-extend-3.2 tag: 3.2, foam-extend-3.1 tag: 3.2, foam-extend-3.1/nextRelease)
* 1dd681f6e9430f3a49b7b69caf99649b5f23cf86  (foam-extend-3.1/master)
* 7d8e040bf53d952f86a4f1c2ff073ab3c6abc006  (foam-extend-3.1 tag: 3.1.1)
* 6c0c77dee21ac095fb7b430dcf93a8f16e3ac412  (foam-extend-3.1 tag: 3.1)

As pointed out by Håkan Nilsson in another reply, "there is unfortunately no tag 4.0, but you can consider the nextRelease branch [of foam-extend-3.2] as the most recent 4.0 version".

In git, the tag's SHA (e.g. 45fafc) and the SHA of the commit it points to (094e84) are not the same.

One can see a description of what was changed from one commit to another by, e.g.,
Code:

git log --graph --full-history --oneline 6c0c77dee21ac095fb7b430dcf93a8f16e3ac412..7d8e040bf53d952f86a4f1c2ff073ab3c6abc006
Kind regards,
Thomas


All times are GMT -4. The time now is 10:25.