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

[openFuelCell] pemfcSinglePhaseModel-4.0 on OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2019, 03:10
Default
  #21
New Member
 
Muhammad
Join Date: Jan 2019
Location: Malaysia
Posts: 3
Rep Power: 3
muhammadlr95 is on a distinguished road
Thanks Hans, it worked!
muhammadlr95 is offline   Reply With Quote

Old   May 19, 2020, 08:31
Default
  #22
New Member
 
Join Date: May 2020
Posts: 1
Rep Power: 0
swsyoon is on a distinguished road
Hello

It seems the last post about this model is almost a year ago. I recently tried to use this pemfc model in openfoam4 and was able to compile it according to the earlier post. However when I tried to run the main script by typing ' make run' in run directory, I got this error.
I ran blockMesh command to generate mesh file but I cannot see the 'cellRegionAddressing' file that the error message is referring to.

Can you help to fix this issue ?
Thanks,


( pemfcSinglephaseNonIsothermalSolver | tee log.run );
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : pemfcSinglephaseNonIsothermalSolver
Date : May 19 2020
Time : 08:22:14
Host : "ws-Satellite-L655"
PID : 6511
Case : /home/ws/OpenFOAM/ws-4.0/run/pemfcSinglePhaseModel-4.0/run
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading cell properties

galvanostatic run
V = V [1 2 -3 0 0 -1 0] 0.6
Ibar0 = Ibar0 [0 -2 0 0 0 1 0] 7000
Rhat = Rhat [1 4 -3 0 0 -2 0] 1e-05
Rhat0 = Rhat0 [1 4 -3 0 0 -2 0] 1e-05
CL electronic conductivity(kappaCl) = kappaCl [-1 -2 3 0 0 2 0] 1000
GDL electronic conductivity(kappaGdl) = kappaGdl [-1 -2 3 0 0 2 0] 5000
GDL - BP Contact resistance (rContact)= rContact [1 4 -3 0 0 -2 0] 2e-06
BP electronic conductivity(kappaBp) = kappaBp [-1 -2 3 0 0 2 0] 83000
CL thickness (tCl) = tCl [0 1 0 0 0 0 0] 3.7e-06
GDL thickness (tGdl) = tGdl [0 1 0 0 0 0 0] 0.00041
BP thickness (tBp) = tBp [0 1 0 0 0 0 0] 0.003
concentration overpotential constant = etaConCaConstant [0 0 0 0 0 0 0] 0.25

Tinit = Tinit [0 0 0 1 0 0 0] 353

anodeName = fuel_to_electrolyte
fuelInletName = fuelInlet
fuelOutletName = fuelOutlet
fuelAbpName = fuel_to_abp
cathodeName = air_to_electrolyte
airInletName = airInlet
airOutletName = airOutlet
airCbpName = air_to_cbp
electrolyteAnodeName = electrolyte_to_fuel
electrolyteCathodeName = electrolyte_to_air
abpFuelName = abp_to_fuel
cbpAirName = cbp_to_air

Reading cell field T

Reading cell field k



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/ws/OpenFOAM/ws-4.0/run/pemfcSinglePhaseModel-4.0/run/constant/abp/polyMesh/cellRegionAddressing at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 72.

FOAM exiting
ramakant likes this.
swsyoon is offline   Reply With Quote

Old   May 20, 2020, 01:58
Default
  #23
Senior Member
 
Ramakant Gadhewal
Join Date: Apr 2010
Location: Chemical Engineering,National Institute of Technology,Warangal (T.S.),India
Posts: 109
Rep Power: 12
ramakant is on a distinguished road
Quote:
Originally Posted by swsyoon View Post
Hello

It seems the last post about this model is almost a year ago. I recently tried to use this pemfc model in openfoam4 and was able to compile it according to the earlier post. However when I tried to run the main script by typing ' make run' in run directory, I got this error.
I ran blockMesh command to generate mesh file but I cannot see the 'cellRegionAddressing' file that the error message is referring to.

Can you help to fix this issue ?
Thanks,


( pemfcSinglephaseNonIsothermalSolver | tee log.run );
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : pemfcSinglephaseNonIsothermalSolver
Date : May 19 2020
Time : 08:22:14
Host : "ws-Satellite-L655"
PID : 6511
Case : /home/ws/OpenFOAM/ws-4.0/run/pemfcSinglePhaseModel-4.0/run
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading cell properties

galvanostatic run
V = V [1 2 -3 0 0 -1 0] 0.6
Ibar0 = Ibar0 [0 -2 0 0 0 1 0] 7000
Rhat = Rhat [1 4 -3 0 0 -2 0] 1e-05
Rhat0 = Rhat0 [1 4 -3 0 0 -2 0] 1e-05
CL electronic conductivity(kappaCl) = kappaCl [-1 -2 3 0 0 2 0] 1000
GDL electronic conductivity(kappaGdl) = kappaGdl [-1 -2 3 0 0 2 0] 5000
GDL - BP Contact resistance (rContact)= rContact [1 4 -3 0 0 -2 0] 2e-06
BP electronic conductivity(kappaBp) = kappaBp [-1 -2 3 0 0 2 0] 83000
CL thickness (tCl) = tCl [0 1 0 0 0 0 0] 3.7e-06
GDL thickness (tGdl) = tGdl [0 1 0 0 0 0 0] 0.00041
BP thickness (tBp) = tBp [0 1 0 0 0 0 0] 0.003
concentration overpotential constant = etaConCaConstant [0 0 0 0 0 0 0] 0.25

Tinit = Tinit [0 0 0 1 0 0 0] 353

anodeName = fuel_to_electrolyte
fuelInletName = fuelInlet
fuelOutletName = fuelOutlet
fuelAbpName = fuel_to_abp
cathodeName = air_to_electrolyte
airInletName = airInlet
airOutletName = airOutlet
airCbpName = air_to_cbp
electrolyteAnodeName = electrolyte_to_fuel
electrolyteCathodeName = electrolyte_to_air
abpFuelName = abp_to_fuel
cbpAirName = cbp_to_air

Reading cell field T

Reading cell field k



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/ws/OpenFOAM/ws-4.0/run/pemfcSinglePhaseModel-4.0/run/constant/abp/polyMesh/cellRegionAddressing at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 72.

FOAM exiting
Yes...I can help you
please follow the steps to run the program and it is working fine for me.
My email id:ramakantgadhewal@gmail.com
ramakant is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
[OpenFOAM.org] OpenFOAM 4.0, bad option -t in zsh rdbisme OpenFOAM Installation 3 December 30, 2016 12:10
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 19:20
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 14, 2016 10:19
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04


All times are GMT -4. The time now is 11:14.