CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Error in chtMultiRegionFoam (http://www.cfd-online.com/Forums/openfoam/78797-error-chtmultiregionfoam.html)

kirankarki August 2, 2010 18:29

Error in chtMultiRegionFoam
 
hi,
i am trying to use chtMultiRegionFoam solver to treat heat transfer in walls.But i couldnot get the results as there is error msg in terminal.

The error msg is like this,


kiran@kiran-desktop:~$ cd $FOAM_RUN/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater
kiran@kiran-desktop:~/OpenFOAM/kiran-1.7.0/run/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater$ chtMultiRegionFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-279cc8e8233b
Exec : chtMultiRegionFoam
Date : Aug 02 2010
Time : 17:11:51
Host : kiran-desktop
PID : 2067
Case : /home/kiran/OpenFOAM/kiran-1.7.0/run/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create fluid mesh for region bottomAir for time = 0



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

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

FOAM exiting


Pls somebody help me how to run this solver and also i want to know what will be the output of this solver.
Thanks

maddalena August 3, 2010 02:27

Hi! Tracing back the error is quite simple...
Quote:

Originally Posted by kirankarki (Post 269881)
--> FOAM FATAL ERROR:
Cannot find file "points" in directory "bottomAir/polyMesh" in times 0 down to constant

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

FOAM exiting

Do you have any 0/constant/bottomAir/polyMesh folder? I guess you have not ;).
If you have no idea of what you are doing, use the ./Allrun script and copy paste every line to your terminal, so you can understand what does what.
Also, cross check the following thread: http://www.cfd-online.com/Forums/ope...rial-15-a.html. Even if it is written for OF 1.5, most of it is valid for OF 1.7 as well.
Lastly, please note that there is a bug on chtMultiRegionFoam in OF 1.7 that has been fixed in 1.7.x (see here).
enjoy

mad

m.nichols19 August 4, 2010 11:33

You can't just run chtMultiRegionFoam. You have to run the Allrun file. The Allrun file contains necessary utilities for the solver to work.

The output of the solver is heated air slowly moving above two warm plates.

danielet82 October 24, 2012 07:42

Hello Maddalena, do you mean that we have to create a polyMesh file? or it'll work only by using the Allrun file???

Thank you

Daniel

maddalena October 24, 2012 08:07

Hi Daniel,
Quote:

Originally Posted by danielet82 (Post 388274)
, do you mean that we have to create a polyMesh file? or it'll work only by using the Allrun file???

I mean that you can follow one of the two:
  1. use the ./Allrun file and everything is managed for you -> All actions made in a single command, would you understand what are you doing?
  2. open the -/Allrun file and copy paste every line to your terminal -> more time-consuming, but you will learn how to manage files.
at the end of this, you will (magically ;) ) have every missing file!

enjoy

mad

danielet82 October 24, 2012 17:20

OK, It's done. Many Thanks.


Daniel


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