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

Error while running chtMultiRegionFoam parallely

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2015, 09:05
Question Error while running chtMultiRegionFoam parallely
  #1
New Member
 
Sanoja Jayarathna
Join Date: Jul 2015
Posts: 8
Rep Power: 10
Sanoja is on a distinguished road
I have made a mesh of a cylinder in Salome, and created 3 volume groups for the 3 regions I have and 3 face groups to define the boundaries. Then converted the mesh to OpenFoam, used splitMeshRegions. After that followed the ususal steps given in multiRegionHeater tutorial. The when I was trying to run the simulation using the command,

Code:
mpirun.openmpi -np 4 chtMultiRegionFoam -parallel > log
I got an error,

Code:
--> FOAM FATAL IO ERROR: 
[0] keyword regions is undefined in dictionary "/home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor0/constant/regionProperties"
[0] 
--> FOAM FATAL IO ERROR: 
[1] keyword regions is undefined in dictionary "/home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor1/constant/regionProperties"
[1] 
[1] file: /home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor1/constant/regionProperties from line 0 to line 0.
[1] 
[1]     From function dictionary::lookupEntry(const word&, bool, bool) const
[1]     in file db/dictionary/dictionary.C at line 442.
[1] 
FOAM parallel run exiting
There is no such file called regionProperties in $processor0/constant folder, it is there in the $Heater_Cylinder/constant folder thought.

I don't understand the issue, can some one please help me to solve this issue?

Thanks, Sanoja
Sanoja is offline   Reply With Quote

Old   July 8, 2015, 10:27
Default
  #2
Member
 
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11
vabishek is on a distinguished road
Quote:
Originally Posted by Sanoja View Post
I have made a mesh of a cylinder in Salome, and created 3 volume groups for the 3 regions I have and 3 face groups to define the boundaries. Then converted the mesh to OpenFoam, used splitMeshRegions. After that followed the ususal steps given in multiRegionHeater tutorial. The when I was trying to run the simulation using the command,

Code:
mpirun.openmpi -np 4 chtMultiRegionFoam -parallel > log
I got an error,

Code:
--> FOAM FATAL IO ERROR: 
[0] keyword regions is undefined in dictionary "/home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor0/constant/regionProperties"
[0] 
--> FOAM FATAL IO ERROR: 
[1] keyword regions is undefined in dictionary "/home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor1/constant/regionProperties"
[1] 
[1] file: /home/meeseeks/OpenFOAM/meeseeks-2.4.0/run/Cylinder/Heater_Cylinder/processor1/constant/regionProperties from line 0 to line 0.
[1] 
[1]     From function dictionary::lookupEntry(const word&, bool, bool) const
[1]     in file db/dictionary/dictionary.C at line 442.
[1] 
FOAM parallel run exiting
There is no such file called regionProperties in $processor0/constant folder, it is there in the $Heater_Cylinder/constant folder thought.

I don't understand the issue, can some one please help me to solve this issue?

Thanks, Sanoja
Hello Sanoja,

Check your constant/ directory for regionProperties file. You need to specify ALL of your regions in your geometry, either as solid or fluid, in the regionProperties file or else you are bound to run into errors.

Abishek

PS: If you specified the regions correctly in the regionProperties file, can you possibly upload a test case. Makes it a lot easier that way.
vabishek is offline   Reply With Quote

Old   July 10, 2015, 06:22
Default
  #3
New Member
 
Sanoja Jayarathna
Join Date: Jul 2015
Posts: 8
Rep Power: 10
Sanoja is on a distinguished road
Hello Abishek,

Thank you for the help. I have already included the regionProperties file in the constant directory, and have specified the solid and fluid regions there.

Also, when I was checking the mesh, with the checkMesh command, it was ok, still it showed as there is only one region.

I have made the three regions that I wanted as volume groups in Salome mesh, and expected that those will appear as three different regions. Of cause I used the splitMeshRegions command to split the mesh afterwords. So it should be ok. Is there any other way to do this?

In the mean time I'm going to try a simpler mesh, may be a rectangle with three regions, made with Salome. Just to check whether that is going to work.

This silumation was working before with a rectangular mesh that I have made using blockmesh in OpenFOAM.

Regards,
Sanoja
Sanoja is offline   Reply With Quote

Reply


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
Problem with running chtMultiRegionFoam after using setSet utility Victor OpenFOAM 12 March 24, 2023 00:01
Error in chtMultiRegionFoam michael157 OpenFOAM Running, Solving & CFD 17 May 22, 2017 03:32
ANSYS Licensing Problem, Processes Running but Showing as Not Running penguinman ANSYS 3 September 27, 2016 13:30
Error in running case in chtMultiRegionFoam baran_foam OpenFOAM Programming & Development 3 July 7, 2015 04:38
Fluent 14.0 file not running in parallel mode in cluster tejakalva FLUENT 0 February 4, 2015 07:02


All times are GMT -4. The time now is 07:30.