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

Foam fatal error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By geth03

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2020, 00:57
Default Foam fatal error
  #1
New Member
 
Aezid-Ul-Hassan Najmi
Join Date: Jun 2020
Location: Tianjin University, China
Posts: 7
Rep Power: 5
aezid is on a distinguished road
Hello Foamers,
Good day!

I am a beginner to OpenFOAM, currently, I am using 'ofv40' and trying to run a custom solver regarding the modeling of water transport in PEMFC. After creating mesh by using 'blockMesh' I tried to run the custom solver and got this error:


--> FOAM FATAL ERROR:
Cannot find file "points" in directory "abp/polyMesh" in times 0 down to constant

From function Foam::word Foam::Time::findInstance(const Foam::fileName&, const Foam::word&, Foam::IOobject::readOption, const Foam::word&) const
in file db/Time/findInstance.C at line 182.

FOAM exiting


Any idea how to solve this issue?
Thanks in advance.
aezid is offline   Reply With Quote

Old   June 25, 2020, 03:13
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
where is your polyMesh-directory?
geth03 is offline   Reply With Quote

Old   June 25, 2020, 03:39
Default
  #3
New Member
 
Aezid-Ul-Hassan Najmi
Join Date: Jun 2020
Location: Tianjin University, China
Posts: 7
Rep Power: 5
aezid is on a distinguished road
Quote:
Originally Posted by geth03 View Post
where is your polyMesh-directory?
I couldn't find it ....
aezid is offline   Reply With Quote

Old   June 25, 2020, 03:45
Default
  #4
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
yeah thats the problem
normally, it should be in the constant-directory, once blockMesh is executed.

what is the terminal output when you execute blockMesh?
geth03 is offline   Reply With Quote

Old   June 25, 2020, 08:08
Default
  #5
New Member
 
Aezid-Ul-Hassan Najmi
Join Date: Jun 2020
Location: Tianjin University, China
Posts: 7
Rep Power: 5
aezid is on a distinguished road
Quote:
Originally Posted by geth03 View Post
yeah thats the problem
normally, it should be in the constant-directory, once blockMesh is executed.

what is the terminal output when you execute blockMesh?
I tried it again and got a polyMesh-directory in the 'constant'.
It has 5 files 'boundary' , 'faces' , 'neighbour' , 'owner' , 'points'

But still got the same error.
aezid is offline   Reply With Quote

Old   June 26, 2020, 02:05
Default
  #6
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
thats a strange behaviour.
we will need to do further investigation.

what is the solver you created?
did you modify an existing solver?
if yes, where did you do the mod?
if no, how did you create the new solver?
geth03 is offline   Reply With Quote

Old   June 26, 2020, 09:52
Default
  #7
New Member
 
Aezid-Ul-Hassan Najmi
Join Date: Jun 2020
Location: Tianjin University, China
Posts: 7
Rep Power: 5
aezid is on a distinguished road
Quote:
Originally Posted by geth03 View Post
thats a strange behaviour.
we will need to do further investigation.

what is the solver you created?
did you modify an existing solver?
if yes, where did you do the mod?
if no, how did you create the new solver?
Well, it's a custom "PEMFC Single-Phase Non-Iso thermal model" solver tool, I found it online which is well suited to my interests. However, I think there is something wrong with the already constructed geometry.
aezid is offline   Reply With Quote

Old   December 2, 2020, 12:20
Question
  #8
New Member
 
Maricarmen Duarte Ake
Join Date: Jul 2019
Posts: 6
Rep Power: 6
mariduake is on a distinguished road
Quote:
Originally Posted by aezid View Post
Well, it's a custom "PEMFC Single-Phase Non-Iso thermal model" solver tool, I found it online which is well suited to my interests. However, I think there is something wrong with the already constructed geometry.

I got the same error. Were you able to solve it?
mariduake is offline   Reply With Quote

Old   December 21, 2020, 11:54
Default
  #9
New Member
 
Jose
Join Date: Dec 2020
Posts: 18
Rep Power: 5
jose.ceballos is on a distinguished road
Quote:
Originally Posted by mariduake View Post
I got the same error. Were you able to solve it?
same error...any one could fix it?
jose.ceballos is offline   Reply With Quote

Old   November 6, 2022, 15:26
Default
  #10
New Member
 
Join Date: Jul 2022
Posts: 2
Rep Power: 0
abe23 is on a distinguished road
I had the same error while using reconstrucPar. In my case, a multiregion mesh, I solved it by adding the option -allRegions
abe23 is offline   Reply With Quote

Old   May 7, 2023, 14:16
Default fatal error
  #11
New Member
 
Join Date: Mar 2021
Posts: 4
Rep Power: 5
Konstantinos is on a distinguished road
Hi all, I want to study the flow in a tube, inside the tube is a propeller. When I run the case, it appears the following fatal error


--> FOAM FATAL ERROR:
Unable to find cellZone innerCylinderSmall. Valid cellZones are:1(rotor)

From function Foam::solidBodyMotionSolver::solidBodyMotionSolver (const Foam:olyMesh&, const Foam::IOdictionary&)
in file motionSolvers/displacement/solidBody/solidBodyMotionSolver.C at line 85.

FOAM exiting



Is there any idea, how to solve this problem.


Thank you in advance.
Konstantinos is offline   Reply With Quote

Old   May 7, 2023, 14:26
Default
  #12
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
It is pretty much what the error message tells:
In polymesh/cellzones you only have one zone defined (rotor) but in one dictionary you want to access a zone which is not defined (innercylindersmall)

So you need to correct the naming
Konstantinos likes this.
geth03 is offline   Reply With Quote

Old   May 27, 2023, 20:34
Default
  #13
New Member
 
Join Date: Mar 2021
Posts: 4
Rep Power: 5
Konstantinos is on a distinguished road
Dear geth03,
Thank you for your answer. Following your instructions I tried to define the zone in dictionary cellzones, but it has this form when I opened it.
Please inform me why the dictionary looks.






/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1812 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class regIOobject;
arch "LSB;label=32;scalar=64";
location "constant/polyMesh";
object cellZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

1
(
rotor
{
type cellZone;
cellLabels List<label>
2619
(;!\00\00<!\00\00=!\00\00>!\00\00?!\00\00@!\00\00A !\00\00B!\00\00C!\00\00D!\00\00E!\00\00F!\00\00G!\ 00\00H!\00\00I!\00\00J!\00\00K!\00\00L!\00\00M!\00 \00N!\00\00O!\00\00P!\00\00Q!\00\00R!\00\00S!\00\0 0T!\00\00U!\00\00V!\00\00W!\00\00X!\00\00Y!\00\00Z !\00\00[!\00\00\!\00\00]!\00\00^!\00\00_!\00\00`!\00\00a!\00\00b!\00\00c!\ 00\00d!\00\00e!\00\00f!\00\00g!\00\00h!\00\00i!\00 \00j!\00\00k!\00\00l!\00\00m!\00\00n!\00\00o!\00\0 0p!\00\00q!\00\00r!\00\00s!\00\00t!\00\00u!\00\00v !\00\00w!\00\00x!\00\00y!\00\00z!\00\00{!\00\00|!\ 00\00}!\00\00~!\00\00!\00\00\80!\00\00\81!\00\00\ 82!\00\00\83!\00\00\84!\00\00\85!\00\00\86!\00\00\ 87!\00\00\88!\00\00\89!\00\00\8A!\00\00\8B!\00\00\ 8C!\00\00\8D!\00\00\8E!\00\00\8F!\00\00\90!\00\00\ 91!\00\00\92!\00\00\93!\00\00\94!\00\00\95!\00\00\ 96!\00\00\97!\00\00\98!\00\00\99!\00\00\9A!\00\00\ 9B!\00\00\9C!\00\00\9D!\00\00\9E!\00\00\9F!\00\00\ A0!\00\00\A1!\00\00\A2!\00\00\A3!\00\00\A4!\00\00\ A5!\00\00\A6!\00\00\A7!\00\00\A8!\00\00\A9!\00\00\ AA!\00\00\AB!\00\00\AC!\00\00\AD!\00\00\AE!\00\00\ AF!\00\00\B0!\00\00\B1!\00\00\B2!\00\00\B3!\00\00\ B4!\00\00\B5!\00\00\B6!\00\00\B7!\00\00\B8!\00\00\ B9!\00\00\BA!\00\00\BB!\00\00\BC!\00\00\BD!\00\00\ BE!\00\00\BF!\00\00\C0!\00\00\C1!\00\00\C2!\00\00\ C3!\00\00\C4!\00\00\C5!\00\00\C6!\00\00\C7!\00\00\ C8!\00\00\C9!\00\00\CA!\00\00\CB!\00\00\CC!\00\00\ CD!\00\00\CE!\00\00\CF!\00\00\D0!\00\00\D1!\00\00\ D2!\00\00\D3!\00\00\D4!\00\00\D5!\00\00\D6!\00\00\ D7!\00\00\D8!\00\00\D9!\00\00\DA!\00\00\DB!\00\00\ DC!\00\00\DD!\00\00\DE!\00\00\DF!\00\00\E0!\00\00\ E1!\00\00\E2!\00\00\E3!\00\00\E4!\00\00\E5!\00\00\ E6!\00\00\E7!\00\00\E8!\00\00\E9!\00\00\EA!\00\00\ EB!\00\00\EC!\00\00\ED!\00\00\EE!\00\00\EF!\00\00\ F0!\00\00\F1!\00\00\F2!\00\00\F3!\00\00\F4!\00\00\ F5!\00\00\F6!\00\00\F7!\00\00\F8!\00\00\F9!\00\00\ FA!\00\00\FB!\00\00\FC!\00\00\FD!\00\00\FE!\00\00\ FF!\00\00\00"\00\00"\00\00"\00\00"\00\00"\00\0 0"\00\00"\00\00"\00\00"\00\00 "\00\00
"\00\00 "\00\00 "\00\00
"\00\00"\00\00"\00\00"\00\00"\00\00"\00\00"\ 00\00"\00\00"\00\00"\00\00"\00\00"\00\00"\00 \00"\00\00"\00\00"\00\00"\00\00"\00\00"\00\0 0 "\00\00!"\00\00""\00\00#"\00\00$"\00\00%"\00\00&"\ 00\00'"\00\00("\00\00)"\00\00*"\00\00+"\00\00,"\00 \00-"\00\00."

Konstantinos is offline   Reply With Quote

Old   May 29, 2023, 03:14
Default
  #14
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,062
Rep Power: 26
Yann will become famous soon enough
Hello Konstantinos,

You cannot directly edit the cellZones file, you have to create it when creating your mesh (for instance in snappyHexMeshDict) or use topoSet to create it afterward.

Regards,
Yann
Yann is offline   Reply With Quote

Old   December 9, 2023, 03:17
Default
  #15
New Member
 
KaiXu
Join Date: Dec 2023
Posts: 1
Rep Power: 0
KXcef is on a distinguished road
Quote:
Originally Posted by abe23 View Post
I had the same error while using reconstrucPar. In my case, a multiregion mesh, I solved it by adding the option -allRegions
Thank you, that just worked for me.
Details:
->reconstructPar giving Fatal error for cannot find "Point" file in directory "Polymesh"
->try select "decomposed case in paraview" and failed with errors showing " ...faces.gz cannot open..."
->check processor directories and found "constant" folders in proccessor* folders disppear after parallel running.
->run reconstructPar -allRegions and fixed

Also some other threads had suggested to copy the case and do decomposePar again, then copy constant files back to the processor* directories of the original complete case. However this would too much trouble for my 40 cores case.
KXcef is offline   Reply With Quote

Reply

Tags
abp/polymesh, openfoam 4.0, points


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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 09:40
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 05:34
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


All times are GMT -4. The time now is 04:24.