CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   chtMultiRegionFoam example (http://www.cfd-online.com/Forums/openfoam-meshing/106494-chtmultiregionfoam-example.html)

fogl August 30, 2012 09:02

chtMultiRegionFoam example
 
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

fogl September 5, 2012 07:06

This was tested on bluCFD (openFoam for windows). There was no such error in linux installaion.

Ahmed Khattab December 26, 2012 04:32

Quote:

Originally Posted by fogl (Post 379496)
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;


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