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

can not run multiRegionHeater fluently

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2012, 22:16
Default can not run multiRegionHeater fluently
  #1
New Member
 
kob
Join Date: Nov 2011
Posts: 28
Rep Power: 15
bryant_k is on a distinguished road
Hi everyone
I am trying to run the case multiRegionHeater in OpenFOAM-1.6-ext.I run the case according the 'Allrun' file.But It seems that it's not easy as it write there.I meet many kind s of problems.For instance,when I run the commond:
Code:
changeDictionary -region heater
there come an error:
Code:
Replacing entries in dictionary K
Loading dictionary K


--> FOAM FATAL IO ERROR: 
cannot open file

file: /home/bryant/multiRegionHeater/0.001/heater/K at line 0.

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

FOAM exiting
and then I change the file 'k' to 'K'.The error above has disappeared,but occurred other errors.

Can anybody tell me how to run it fluently?

Thank you very much!

bryant
bryant_k is offline   Reply With Quote

Old   July 12, 2012, 12:56
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Hi Bryant,

Just based on your "age" on this forum, you are still getting used to the OpenFOAM way of doing things. Here is a little guidance: IO errors are simply when the solver/utility can't find a file or entry that it needs to proceed. These are usually the easiest to fix (like you just did by providing the missing file), so try and get as many of these sorted as you can (have a look at the tutorial case and make sure you have all the files and entries). That way we get to the more serious runtime errors that occur whe, theren your simulation doesn't behave properly.

For changeDictionary in particular, have a look in system/changeDictionary and you will see what files it makes changes to (and hence requires).

Long story short: don't be too afraid of IO errors.
mturcios777 is offline   Reply With Quote

Old   July 14, 2012, 18:44
Default
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by bryant_k View Post
Hi everyone
I am trying to run the case multiRegionHeater in OpenFOAM-1.6-ext.I run the case according the 'Allrun' file.But It seems that it's not easy as it write there.I meet many kind s of problems.For instance,when I run the commond:
Code:
changeDictionary -region heater
there come an error:
Code:
Replacing entries in dictionary K
Loading dictionary K


--> FOAM FATAL IO ERROR: 
cannot open file

file: /home/bryant/multiRegionHeater/0.001/heater/K at line 0.

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

FOAM exiting
and then I change the file 'k' to 'K'.The error above has disappeared,but occurred other errors.

Can anybody tell me how to run it fluently?

Thank you very much!

bryant
Hi bryant,

first switch directory for case directory
cd . /home/bryant/tutorials/multiRegionHeater/

then write this command
./Allrun

you don't have to write every command yourself if i understood your attempts right.

please try this steps and feed back. if these steps are what you did, please post the second error appeared to you.

Good Luck and happy foaming
Ahmed Khattab is offline   Reply With Quote

Old   August 2, 2012, 23:45
Default
  #4
New Member
 
kob
Join Date: Nov 2011
Posts: 28
Rep Power: 15
bryant_k is on a distinguished road
Thank you very much!
I have solve the problem。

regards!

bryant!

Quote:
Originally Posted by rebel ahmed View Post
Hi bryant,

first switch directory for case directory
cd . /home/bryant/tutorials/multiRegionHeater/

then write this command
./Allrun

you don't have to write every command yourself if i understood your attempts right.

please try this steps and feed back. if these steps are what you did, please post the second error appeared to you.

Good Luck and happy foaming
bryant_k is offline   Reply With Quote

Old   August 5, 2012, 10:35
Default
  #5
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
you are welcome.
Ahmed Khattab is offline   Reply With Quote

Reply

Tags
multiregionheater


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
Run Multiple Files in Batch nickninevah STAR-CCM+ 6 October 12, 2017 07:17
Batch Run with Initial values file krrishcfd CFX 1 July 28, 2011 03:35
First Parallel Run - need some help Gian Maria OpenFOAM 3 June 17, 2011 13:08
How to run and save tranisent case on Cray XD1 Leon FLUENT 0 October 3, 2006 22:59
Windows 64-bit, Distributed Parallel Run Issues... Erich CFX 3 March 28, 2006 17:36


All times are GMT -4. The time now is 15:45.