CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Foam fatal error (https://www.cfd-online.com/Forums/openfoam-pre-processing/228264-foam-fatal-error.html)

aezid June 25, 2020 00:57

Foam fatal error
 
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. :)

geth03 June 25, 2020 03:13

where is your polyMesh-directory?

aezid June 25, 2020 03:39

Quote:

Originally Posted by geth03 (Post 775932)
where is your polyMesh-directory?

I couldn't find it .... :confused:

geth03 June 25, 2020 03:45

yeah thats the problem :D
normally, it should be in the constant-directory, once blockMesh is executed.

what is the terminal output when you execute blockMesh?

aezid June 25, 2020 08:08

Quote:

Originally Posted by geth03 (Post 775947)
yeah thats the problem :D
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.

geth03 June 26, 2020 02:05

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?

aezid June 26, 2020 09:52

Quote:

Originally Posted by geth03 (Post 776068)
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. :confused:

mariduake December 2, 2020 12:20

Quote:

Originally Posted by aezid (Post 776158)
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. :confused:


I got the same error. Were you able to solve it?

jose.ceballos December 21, 2020 11:54

Quote:

Originally Posted by mariduake (Post 789590)
I got the same error. Were you able to solve it?

same error...any one could fix it?

abe23 November 6, 2022 15:26

I had the same error while using reconstrucPar. In my case, a multiregion mesh, I solved it by adding the option -allRegions

Konstantinos May 7, 2023 14:16

fatal error
 
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::polyMesh&, 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.

geth03 May 7, 2023 14:26

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 May 27, 2023 20:34

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."

https://www.cfd-online.com/Forums/da...oqKioqIC8vCg==

Yann May 29, 2023 03:14

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

KXcef December 9, 2023 03:17

Quote:

Originally Posted by abe23 (Post 838892)
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.


All times are GMT -4. The time now is 02:29.