CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   chtmultiregionSimplefoam error !! (http://www.cfd-online.com/Forums/openfoam-programming-development/116423-chtmultiregionsimplefoam-error.html)

SamerAli April 18, 2013 12:26

chtmultiregionSimplefoam error !!
 
hi all
i am trying the tutorial case of multiRegionHeater and whenever i execute splitMeshRegions -cellZones -overwrite
i get the Following Error:

Create time

Create mesh for time = 0

Trying to match regions to existing cell zones.


Number of regions:5

Writing region per cell file (for manual decomposition) to "/home/samer/OpenFOAM/samer-1.6-ext/run/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/constant/cellToRegion"

Writing region per cell as volScalarField to "/home/samer/OpenFOAM/samer-1.6-ext/run/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/cellToRegion"

Region Cells
------ -----
0 1460
1 130
2 80
3 130
4 1200

Region Zone Name
------ ---- ----
0 4 bottomAir
1 0 leftSolid
2 3 heater
3 2 rightSolid
4 1 topAir

Sizes inbetween regions:

Region Region Faces
------ ------ -----
0 3 130
3 4 130
0 1 130
2 4 40
2 3 10
1 2 10
0 2 92
1 4 130

Reading volScalarField K
Reading volScalarField rho
Reading volScalarField cellToRegion
Reading volScalarField p
Reading volScalarField T
Reading volScalarField k
Reading volScalarField cp
Reading volScalarField epsilon
Reading volVectorField U


Adding patches


Adding patches

Inserting patch bottomAir_to_rightSolid to slot 6 out of 6
--> FOAM Warning :
From function gAverage(const UList<Type>&)
in file /home/samer/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/FieldFunctions.C at line 524
empty field, returning zero.


--> FOAM FATAL ERROR:

request for polyMesh rightSolid from objectRegistry multiRegionHeater failed
available objects of type polyMesh are

1
(
region0
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/samer/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 140.

FOAM aborting

Aborted (core dumped)

Can you help me with this? I am new to OpenFoam and my objective after is to implement the temperature coupling to an FSI solver.....

DanAndrea87 September 6, 2013 15:34

Hi Samer.
Just today I've encountered the same error during a simulation for my thesis work...
Have you finally found a solution?
Thank you

SamerAli September 7, 2013 09:36

well i worked on another strategy, but i think the solution to this problem is to change the neighbour region type in the dictionary file from fluid to region0, it will work, try it and see...

DanAndrea87 September 8, 2013 07:15

Ok, I'll try it...
Thank you


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