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

chtMultiRegionFoam example

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2012, 09:02
Default chtMultiRegionFoam example
  #1
New Member
 
klemen
Join Date: Aug 2012
Location: Slovenia
Posts: 21
Rep Power: 4
fogl is on a distinguished road
Hello everybody,

I would like to test the chtMultiRegionFoam example written by Bernhard Linseisen. I simplified the example to chtMiltiRegionalSimpleFoam with just one solid and one liquid region.

I successfuly did:
blockMesh
setSet -batch <file>.setSet

splitMeshRegions -cellZones -overwrite

Then (the tutorial says) i should remove the solid fields from the fluid regions and the fluid fields from the solid regions - I dont understand this, where are those field and regions? I did read the Allrun script ( rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh} ) but there are no "mut,alphat,epsilon,k,p,U,p_rgh" files in solid region and no "Ychar,Ypmma" files in liquid region of 0 folder.

Then i successfuly run the chtMultireginSimpleFoam solver. I got the results, but when i try to view them using paraView, I get an error:

---- paraView error messages -----------------

ERROR: In ..\..\..\..\src\VTK\IO\vtkOpenFOAMReader.cxx, line 4612
vtkOpenFOAMReaderPrivate (1063D138): Error reading line 186 of C:\Documents and Settings\Application Data\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\CHT1\constant/solid/polyMesh/points: Expected punctuation token ')', found EOF




ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (101FD178): Algorithm vtkPOpenFOAMReader(1042EE28) returned failure for request: vtkInformation (106B6480)
Debug: Off
Modified Time: 266500
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1




Any idea what is wrong? Any help will be appreciatid,
Regards, Klemen

Last edited by fogl; August 30, 2012 at 13:11.
fogl is offline   Reply With Quote

Old   September 5, 2012, 07:06
Default
  #2
New Member
 
klemen
Join Date: Aug 2012
Location: Slovenia
Posts: 21
Rep Power: 4
fogl is on a distinguished road
This was tested on bluCFD (openFoam for windows). There was no such error in linux installaion.
fogl is offline   Reply With Quote

Old   December 26, 2012, 04:32
Default
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 161
Blog Entries: 1
Rep Power: 7
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by fogl View Post
Hello everybody,

I would like to test the chtMultiRegionFoam example written by Bernhard Linseisen. I simplified the example to chtMiltiRegionalSimpleFoam with just one solid and one liquid region.

I successfuly did:
blockMesh
setSet -batch <file>.setSet

splitMeshRegions -cellZones -overwrite

Then (the tutorial says) i should remove the solid fields from the fluid regions and the fluid fields from the solid regions - I dont understand this, where are those field and regions? I did read the Allrun script ( rm -f 0*/$i/{mut,alphat,epsilon,k,p,U,p_rgh} ) but there are no "mut,alphat,epsilon,k,p,U,p_rgh" files in solid region and no "Ychar,Ypmma" files in liquid region of 0 folder.

Then i successfuly run the chtMultireginSimpleFoam solver. I got the results, but when i try to view them using paraView, I get an error:

---- paraView error messages -----------------

ERROR: In ..\..\..\..\src\VTK\IO\vtkOpenFOAMReader.cxx, line 4612
vtkOpenFOAMReaderPrivate (1063D138): Error reading line 186 of C:\Documents and Settings\Application Data\blueCFD-SingleCore-2.1\OpenFOAM-2.1\tutorials\CHT1\constant/solid/polyMesh/points: Expected punctuation token ')', found EOF




ERROR: In ..\..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 756
vtkPVCompositeDataPipeline (101FD178): Algorithm vtkPOpenFOAMReader(1042EE28) returned failure for request: vtkInformation (106B6480)
Debug: Off
Modified Time: 266500
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1




Any idea what is wrong? Any help will be appreciatid,
Regards, Klemen
Hi,

all parameters you mentioned are in o directory of your case, then they copied and modified for every region, so you must exclude parameters don't belong to region.

when viewing your case in paraView you must load every region.openfoam file created in the end of running by command paraFoam -touch $region
you can load them by clicking on open in tool bar.

good luck;
Ahmed Khattab 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
Error in chtMultiRegionFoam kirankarki OpenFOAM 5 October 24, 2012 17:20
FOAM FATAL IO ERROR for chtMultiRegionFoam xiaoyoyo OpenFOAM Running, Solving & CFD 0 May 8, 2012 16:49
Embed explicitSetValue in chtMultiRegionFoam samiam1000 OpenFOAM 2 April 18, 2012 05:14
Altering chtMultiRegionFoam jabecker OpenFOAM Running, Solving & CFD 0 June 30, 2011 09:58
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 04:06


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