CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[openFuelCell] Fuel Cell Simulation in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2017, 08:19
Default
  #21
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
Quote:
Originally Posted by Krebsmann View Post
To download the specific branch you have to use the following command:

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

Then you follow the directions given here: http://openfuelcell.sourceforge.net/doc/quick-start

Thanks @wyldckat for the hint with the new version! OF 3.0.x builds fine on my system (Arch Linux, Kernel 4.10), and the Openfuelcell solver also seems to work (I don't see any fields besides temperature in Paraview in the moment, but I guess I'll sort this out quickly).
I will definitely try this on OpenFOAM 3

That will work on OpenFOAM 3 only?

Last edited by wyldckat; June 25, 2017 at 09:32. Reason: merged posts that were a few minutes apart
ramakant is offline   Reply With Quote

Old   June 11, 2017, 03:12
Default
  #22
New Member
 
Ram
Join Date: Sep 2016
Posts: 6
Rep Power: 10
cfdGeek is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Krebsmann,

Many thanks for posting your question, because I had thought the code was not available online any more. But after reading your post, I've followed the instructions at http://openfuelcell.sourceforge.net/doc/quick-start and was able to download the source code using git!

I've updated the wiki page https://openfoamwiki.net/index.php/Contrib/OpenFuelCell - after inspecting the git repository. It looks like the code has been upgraded to build with OpenFOAM 3.0.1 and that is available in the "V3" branch, which you can checkout with the following command:
Code:
git checkout V3
I've tested building it with OpenFOAM 3.0.x and it also built successfully. However, it did not build with OpenFOAM 4.1.

Right now I don't have time to try and update the source code to build with OpenFOAM 4.1. And since you didn't indicate which operating system you are using, I'm unable to suggest a specific way to build OpenFOAM 3.0.1 from source code.
However, you could create a container in Docker that uses Ubuntu 14.04 and then install OpenFOAM 3.0.1 as instructed here: https://openfoam.org/download/3-0-1-ubuntu/

Best regards,
Bruno
Hi,
I was wondering if you can suggest a way to install openFuelCell on OF v 4.1 and Ubuntu 16.04 ?
cfdGeek is offline   Reply With Quote

Old   June 25, 2017, 09:38
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by cfdGeek View Post
I was wondering if you can suggest a way to install openFuelCell on OF v 4.1 and Ubuntu 16.04 ?
At the moment, there is no quick way that I'm aware of to install openFuelCell with OpenFOAM 4.1. There are several changes that need to be done and then it's necessary to validate if the results are still the same or not.
A few weeks ago, I exchanged emails with one of the persons responsible for this project and I was informed that this project is only updated when the specific version of OpenFOAM is installed on their cluster... which means that at the time of those emails, they had not yet installed OpenFOAM 4.1.

You can try and install OpenFOAM 3.0.x on Ubuntu 16.04, by following the instructions provided here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04
wyldckat is offline   Reply With Quote

Old   July 13, 2017, 11:16
Default of-v3.0+
  #24
Member
 
Radu Mustata
Join Date: Mar 2009
Location: Zaragoza, Spain
Posts: 99
Rep Power: 17
r2d2 is on a distinguished road
Hi guys, just in case anyone needs to move up one version ( to openfoam-v3.0+) all I needed to do was to follow the V3 branch of git and afterwards adding to the "options" file of the library, i.e.

openfuelcell/src/libSrc/Make/files

a new line pointing at

-I$(LIB_SRC)/meshTools/AABBTree \

just before

-I$(LIB_SRC)/meshTools/AMIInterpolation/patc....etc...

Afterwards, compile as indicated.
wyldckat likes this.
r2d2 is offline   Reply With Quote

Old   August 27, 2017, 10:05
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all,

For anyone interested in attending a workshop about openFuelCell, please see this announcement: openFuelCell workshop on the 24th and 25th of October 2017


@r2d2: Many thanks for sharing your solution! I'll add to the wiki at openfoamwiki.net as soon as I can.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 27, 2017, 02:24
Default
  #26
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
Quote:
Originally Posted by Krebsmann View Post
To download the specific branch you have to use the following command:

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

Then you follow the directions given here: http://openfuelcell.sourceforge.net/doc/quick-start

Thanks @wyldckat for the hint with the new version! OF 3.0.x builds fine on my system (Arch Linux, Kernel 4.10), and the Openfuelcell solver also seems to work (I don't see any fields besides temperature in Paraview in the moment, but I guess I'll sort this out quickly).
Dear All

While i am trying to install the OpenFuelCell, i am getting error.

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell
Cloning into 'openfuelcell'...
fatal: unable to connect to git.code.sf.net:
git.code.sf.net[0: 216.34.181.155]: errno=Connection timed out
ramakant is offline   Reply With Quote

Old   March 25, 2018, 03:06
Default
  #27
New Member
 
huangzhipeng
Join Date: Mar 2018
Posts: 6
Rep Power: 8
huangzp is on a distinguished road
Quote:
Originally Posted by ramakant View Post
Dear All

While i am trying to install the OpenFuelCell, i am getting error.

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell
Cloning into 'openfuelcell'...
fatal: unable to connect to git.code.sf.net:
git.code.sf.net[0: 216.34.181.155]: errno=Connection timed out
Dear friend,
I encountered this problems before, and that's internet problem. You should try again.
huangzp is offline   Reply With Quote

Old   March 25, 2018, 03:22
Default problem when apply openfuelcell in openfoam-v1706 and openfoam-5.0x
  #28
New Member
 
huangzhipeng
Join Date: Mar 2018
Posts: 6
Rep Power: 8
huangzp is on a distinguished road
Dear All,
I got openfuelcell by typing :git clone git://git.code.sf.net/p/openfuelcell/git openfuelcell. My openfoam version is openfoam-v1706 in ubuntu 16.04. The class:CFD with OpenSource Software of Chalmers University of Technology show a way to apply openfuelcell in openfoam-v1706 and openfoam-5.0x. The solution is by typing
git checkout -b V5
git apply OF1706+_Grimler.patch
But when I failed to get this patch as the picture shows
ramakant likes this.
huangzp is offline   Reply With Quote

Old   March 25, 2018, 03:52
Default
  #29
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
[QUOTE=huangzp;686449]Dear All,
I got openfuelcell by typing :git clone git://git.code.sf.net/p/openfuelcell/git openfuelcell. My openfoam version is openfoam-v1706 in ubuntu 16.04. The class:CFD with OpenSource Software of Chalmers University of Technology show a way to apply openfuelcell in openfoam-v1706 and openfoam-5.0x. The solution is by typing
git checkout -b V5
git apply OF1706+_Grimler.patch
But when I failed to get this patch as the picture shows[/Q

Will it install on OpenFOAM (V1712) for windows also?
ramakant is offline   Reply With Quote

Old   March 25, 2018, 04:01
Default
  #30
New Member
 
huangzhipeng
Join Date: Mar 2018
Posts: 6
Rep Power: 8
huangzp is on a distinguished road
[QUOTE=ramakant;686451]
Quote:
Originally Posted by huangzp View Post
Dear All,
I got openfuelcell by typing :git clone git://git.code.sf.net/p/openfuelcell/git openfuelcell. My openfoam version is openfoam-v1706 in ubuntu 16.04. The class:CFD with OpenSource Software of Chalmers University of Technology show a way to apply openfuelcell in openfoam-v1706 and openfoam-5.0x. The solution is by typing
git checkout -b V5
git apply OF1706+_Grimler.patch
But when I failed to get this patch as the picture shows[/Q

Will it install on OpenFOAM (V1712) for windows also?
may be it's ok. It's easy to install openfoamv1712 on ubuntu just follow the website
https://www.openfoam.com/download/install-source.php
you can try to type
git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

best wishes
ramakant likes this.
huangzp is offline   Reply With Quote

Old   March 25, 2018, 23:33
Default
  #31
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
[QUOTE=huangzp;686453]
Quote:
Originally Posted by ramakant View Post

may be it's ok. It's easy to install openfoamv1712 on ubuntu just follow the website
https://www.openfoam.com/download/install-source.php
you can try to type
git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

best wishes
Will it install in OpenFOAM 5.0
ramakant is offline   Reply With Quote

Old   April 9, 2018, 05:49
Default
  #32
New Member
 
huangzhipeng
Join Date: Mar 2018
Posts: 6
Rep Power: 8
huangzp is on a distinguished road
[QUOTE=ramakant;686494]
Quote:
Originally Posted by huangzp View Post

Will it install in OpenFOAM 5.0
yes, it can run in openfoam 5.0, openfoam_dev and openfoam v1706 as long as you get the patch(OF1706+_Grimler.patch) which can be found in the following website:
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/

there is a case:An openFuelCell tutorial, Henrik Grimler, Slides, Report, Files. the Files is the patch(OF1706+_Grimler.patch). If you have any question, read the report and slides or fuel cell-gettingStarted_Cell268_OF21x.
ramakant likes this.
huangzp is offline   Reply With Quote

Old   April 9, 2018, 22:05
Default
  #33
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
[QUOTE=huangzp;688095]
Quote:
Originally Posted by ramakant View Post

yes, it can run in openfoam 5.0, openfoam_dev and openfoam v1706 as long as you get the patch(OF1706+_Grimler.patch) which can be found in the following website:
http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/

there is a case:An openFuelCell tutorial, Henrik Grimler, Slides, Report, Files. the Files is the patch(OF1706+_Grimler.patch). If you have any question, read the report and slides or fuel cell-gettingStarted_Cell268_OF21x.
How to run in OpenFOAM 5.0.Is the patch for OpenFOAMv1706?
ramakant is offline   Reply With Quote

Old   April 10, 2018, 03:22
Default
  #34
New Member
 
huangzhipeng
Join Date: Mar 2018
Posts: 6
Rep Power: 8
huangzp is on a distinguished road
[QUOTE=ramakant;688187]
Quote:
Originally Posted by huangzp View Post

How to run in OpenFOAM 5.0.Is the patch for OpenFOAMv1706?
the patch is for openfoam v1706 and openfoam 5.0
if you still have probem, emaill 923209042@qq.com. I don't how to send picture here
huangzp is offline   Reply With Quote

Old   April 19, 2018, 21:17
Default
  #35
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
Quote:
Originally Posted by Krebsmann View Post
To download the specific branch you have to use the following command:

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

Then you follow the directions given here: http://openfuelcell.sourceforge.net/doc/quick-start

Thanks @wyldckat for the hint with the new version! OF 3.0.x builds fine on my system (Arch Linux, Kernel 4.10), and the Openfuelcell solver also seems to work (I don't see any fields besides temperature in Paraview in the moment, but I guess I'll sort this out quickly).
Dear All
i am getting error while running the openfuelcell code ?
Found 0 processor directories

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 ? at ??:?
#4 ? at ??:?
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6 ? at ??:?
Segmentation fault (core dumped)
make: *** [reconstruct] Error 139
ramakant is offline   Reply With Quote

Old   July 16, 2018, 08:00
Default how to plot polarization curve in openfuelcell(paraview
  #36
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
Quote:
Originally Posted by Krebsmann View Post
To download the specific branch you have to use the following command:

git clone -b V3 git://git.code.sf.net/p/openfuelcell/git openfuelcell

Then you follow the directions given here: http://openfuelcell.sourceforge.net/doc/quick-start

Thanks @wyldckat for the hint with the new version! OF 3.0.x builds fine on my system (Arch Linux, Kernel 4.10), and the Openfuelcell solver also seems to work (I don't see any fields besides temperature in Paraview in the moment, but I guess I'll sort this out quickly).
Dear All

After simulation of the coFlow model(tutorial) from openfuelcell code. What is the procedure to plot the polarization curve(x-y).


Thank you
ramakant is offline   Reply With Quote

Old   September 20, 2018, 11:31
Default Openfuelcell under OFv3.0x
  #37
New Member
 
Amadeus Wolf
Join Date: Dec 2017
Location: Germany
Posts: 11
Rep Power: 9
AmBeWo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Krebsmann,

Many thanks for posting your question, because I had thought the code was not available online any more. But after reading your post, I've followed the instructions at http://openfuelcell.sourceforge.net/doc/quick-start and was able to download the source code using git!

I've updated the wiki page https://openfoamwiki.net/index.php/Contrib/OpenFuelCell - after inspecting the git repository. It looks like the code has been upgraded to build with OpenFOAM 3.0.1 and that is available in the "V3" branch, which you can checkout with the following command:
Code:
git checkout V3
I've tested building it with OpenFOAM 3.0.x and it also built successfully. However, it did not build with OpenFOAM 4.1.

Right now I don't have time to try and update the source code to build with OpenFOAM 4.1. And since you didn't indicate which operating system you are using, I'm unable to suggest a specific way to build OpenFOAM 3.0.1 from source code.
However, you could create a container in Docker that uses Ubuntu 14.04 and then install OpenFOAM 3.0.1 as instructed here: https://openfoam.org/download/3-0-1-ubuntu/

Best regards,
Bruno

Hello together,

I want to install openfuelcell under OFv3.0.x but when I try to the following command:

Code:
git checkout V3
I got the error:

Code:
error: pathspec 'V3' did not match any file(s) known to git
Can someone help?

Thanks in advance

Amadeus
AmBeWo is offline   Reply With Quote

Old   September 23, 2018, 14:44
Default
  #38
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: The branch V3 has been deleted. And from what I can figure out just by looking at the git commit messages, OpenFOAM 5 and 6 are the currently supported versions, as provided in the "master" branch.
ramakant, Tobi and AmBeWo like this.
__________________
wyldckat is offline   Reply With Quote

Old   September 23, 2018, 23:45
Default
  #39
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 131
Rep Power: 16
ramakant is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: The branch V3 has been deleted. And from what I can figure out just by looking at the git commit messages, OpenFOAM 5 and 6 are the currently supported versions, as provided in the "master" branch.
Where is the master branch?
ramakant is offline   Reply With Quote

Old   September 26, 2018, 17:53
Default
  #40
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by ramakant View Post
Where is the master branch?
Quick answer: The "master" branch is the default branch that is checked out when you run the git command that is stated in the official instructions for OpenFuelCell.

edit: I'm referring to these instructions: http://openfuelcell.sourceforge.net/doc/quick-start

Last edited by wyldckat; September 26, 2018 at 18:27. Reason: see
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 05:20
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
simulation of Proton exchange membrane fuel cell by CFD Asifa Awan Main CFD Forum 0 August 26, 2017 16:54
Membraneless Fuel cell simulation PRASHANTCFD Main CFD Forum 3 April 9, 2014 03:39


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