CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionSimpleFoam Compilation Error

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2019, 11:27
Default chtMultiRegionSimpleFoam Compilation Error
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 5
Raza Javed is on a distinguished road

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.

Solving for solid region Hot_box

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


Raza Javed is offline   Reply With Quote

Old   April 9, 2019, 21:31
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 10
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, 02:50
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 5
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


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 09:00
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38

All times are GMT -4. The time now is 02:36.