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

[Other] chtMultiRegionFoam example

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2012, 09:02
Default chtMultiRegionFoam example
  #1
New Member
 
klemen
Join Date: Aug 2012
Location: Slovenia
Posts: 26
Rep Power: 13
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: 26
Rep Power: 13
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, 03:32
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 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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
heat transfer, multiple regions, chtMultiRegionFoam? Ohlzen-Wendy OpenFOAM Pre-Processing 13 February 8, 2022 07:17
OF 6 wallHeatFlux utility not working on chtMultiRegionFoam tutorial troparry OpenFOAM Post-Processing 1 January 10, 2022 06:12
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 06:34
chtMultiRegionFoam connection between solid and fluid region of heat exchanger ahab OpenFOAM 1 December 18, 2019 00:37
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 03:06


All times are GMT -4. The time now is 20:47.