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

Error in chtMultiRegionFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2010, 18:29
Default Error in chtMultiRegionFoam
  #1
New Member
 
Join Date: Jul 2010
Posts: 25
Rep Power: 7
kirankarki is on a distinguished road
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
kirankarki is offline   Reply With Quote

Old   August 3, 2010, 02:27
Default
  #2
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 12
maddalena is on a distinguished road
Hi! Tracing back the error is quite simple...
Quote:
Originally Posted by kirankarki View Post
--> 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: Cht tutorial in 15. 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
maddalena is offline   Reply With Quote

Old   August 4, 2010, 11:33
Default
  #3
Member
 
Matt
Join Date: Jun 2010
Location: Texas
Posts: 31
Rep Power: 7
m.nichols19 is on a distinguished road
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.
m.nichols19 is offline   Reply With Quote

Old   October 24, 2012, 07:42
Default
  #4
New Member
 
Daniel SebastiÓ Sßez
Join Date: Mar 2012
Posts: 15
Rep Power: 5
danielet82 is on a distinguished road
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
danielet82 is offline   Reply With Quote

Old   October 24, 2012, 08:07
Default
  #5
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 12
maddalena is on a distinguished road
Hi Daniel,
Quote:
Originally Posted by danielet82 View Post
, 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
maddalena is offline   Reply With Quote

Old   October 24, 2012, 17:20
Default
  #6
New Member
 
Daniel SebastiÓ Sßez
Join Date: Mar 2012
Posts: 15
Rep Power: 5
danielet82 is on a distinguished road
OK, It's done. Many Thanks.


Daniel
danielet82 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with running chtMultiRegionFoam after using setSet utility Victor OpenFOAM 10 September 10, 2012 09:30
Using a Different Thermodynamics Package with the chtMultiRegionFoam Solver m.nichols19 OpenFOAM 7 March 17, 2011 17:26
chtMultiRegionFoam......Help please.... devesh.baghel OpenFOAM 8 April 7, 2010 15:17
How to add 3rd region to chtMultiRegionFoam benk OpenFOAM 1 April 3, 2010 17:22
chtMultiregionFoam msarkar OpenFOAM 21 February 11, 2010 00:12


All times are GMT -4. The time now is 13:19.