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

chtMultiRegionSimpleFoam Compilation Error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2019, 12:27
Default chtMultiRegionSimpleFoam Compilation Error
  #1
Senior Member
 
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 180
Rep Power: 2
Raza Javed is on a distinguished road
Hello,


I am trying to run chtMultiRegionSimpleFoam for my problem. I have created it's geometry and mesh in Salome. After that, I imported the UNV file in OpenFoam4 and Meshed it using IdeasUnvToFoam utility. It was successfully completed without errors.


My geometry consists of three solid regions. Hot_box, cold_box, and Rod.


both these boxes are connected using the Rod between them. And I am trying to simulate the heat transfer from the Hot_box to cold_box. The figure of the mesh and geometry is attached.


After modifying the case directories according to my problem, When I run the Allrun command it gives the following error.


Code:
Solving for solid region Hot_box

--> FOAM FATAL ERROR: 
cannot be called for a calculatedFvPatchField
    on patch room of field h in file "/home/openfoam/run/heatTest/0/Hot_box/h"
    You are probably trying to solve for a field with a default boundary condition.

    From function Foam::tmp<Foam::Field<Type> > Foam::calculatedFvPatchField<Type>::gradientInternalCoeffs() const [with Type = double]
    in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 187.

FOAM aborting

I am unable to understand the error. Can someone help me out in this?


Thank you


heat_transfer.jpg

heat_transfer_geom.jpg
Raza Javed is offline   Reply With Quote

Old   April 9, 2019, 22:31
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 118
Rep Power: 7
pete20r2 is on a distinguished road
Post the rest of your case, 0, system and constant. Mesh should be small enough to post.
pete20r2 is offline   Reply With Quote

Old   April 10, 2019, 03:50
Default
  #3
Senior Member
 
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 180
Rep Power: 2
Raza Javed is on a distinguished road
Thank you so much for your reply.



I had some mistake in writing the dictionary file for one of my regions in system folder. After rectifying it, the simulation is now running.



Now i am doing post-processing in paraview.


Thank you
Raza Javed is offline   Reply With Quote

Reply

Tags
boundaries condition, chtmultiregionsimplefoam, solver compilation error

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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 07:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38


All times are GMT -4. The time now is 11:29.