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

problem with chtMultiRegion v.2.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2015, 18:56
Default problem with chtMultiRegion v.2.1
  #1
New Member
 
Join Date: Feb 2015
Posts: 5
Rep Power: 11
Schmetterling is on a distinguished road
Dear all,

I am completely new to OpenFoam. I am working with a simple case of heat transfer (chtMultiRegionSimpleFoam) between 2 solids on OpenFOAM v.2.1.

As far as I understand, I am having trouble applying boundary condition.
This is the following message that appears to me:

Time = 1


Solving for solid region leftSolid


--> FOAM FATAL ERROR:
Attempt to cast type calculated to type compressible::turbulentTemperatureCoupledBaffleMix ed

From function refCast<To>(From&)
in file /home/paula/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/typeInfo.H at line 114.




I would be very grateful if anyone could guide and tell me what I am doing wrong.

Best Regards

Paula
Schmetterling is offline   Reply With Quote

Old   March 6, 2015, 09:29
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Hi Paula,

What this error message is saying :

  1. In your ~/constant/polymesh/boundary file (boundary condition's type), you have defined a boundary as a a coupled wall (compressible::turbulentTemperatureCoupledBaffleMi xed)
  2. In one of your ~/0/* files (definition of the boundary condition's values), you have defined the same wall as "calculated".
  3. OpenFOAM is telling you that those 2 are not compatible.
You should upload your case folder, it would be easier to help your further.

Aurelien
Aurelien Thinat is offline   Reply With Quote

Old   March 6, 2015, 17:36
Default
  #3
New Member
 
Join Date: Feb 2015
Posts: 5
Rep Power: 11
Schmetterling is on a distinguished road
Dear Aurelien

Thanks for your prompt answer and I really appreciate your help and time! Please find attached my case.

Have a nice weekend!

Schmetterling
Attached Files
File Type: gz MultiRegionHeater_2_solids.tar.gz (9.0 KB, 15 views)
Schmetterling is offline   Reply With Quote

Old   March 7, 2015, 13:15
Default
  #4
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
Hi,

this should be easy to fix. The 'T'-file in the 0 directory for the leftSolid is set up properly (with turbulentTemperatureCoupledBaffleMixed), whereas the T file of your rightSolid contains the keyword 'calculated' for the coupled wall patch. Change this entry to compressible::turbulentTemperatureCoupledBaffleMix ed (according to your other T-file) and everything should work.
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Old   March 7, 2015, 15:07
Default
  #5
New Member
 
Join Date: Feb 2015
Posts: 5
Rep Power: 11
Schmetterling is on a distinguished road
Dear Pascal,

Thanks for your help and time You were right! I´ve changed and it runs!
Regards,
Schmetterling
Schmetterling 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
[Other] engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 08:45
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 18:13.