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

Problem with Conjugate Heat Transfer case in OpenFOAM 9

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2022, 14:47
Default Problem with Conjugate Heat Transfer case in OpenFOAM 9
  #1
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 284
Rep Power: 6
boffin5 is on a distinguished road
Hi,


This problem concerns a vehicle body with a heated radiator in a duct. I got it working in OF8 with the generous help of the members of this forum.


Now, I am trying to get it to run in OpenFOAM 9. Apparently, many of the changes in OF9 concern heat transfer, so I am putting myself through the wringer.


Of course it fails; the error output is in the attached file 'run-error.txt'.
The place where it actually suffers death throes is here:
Code:
Creating fvModels from "constant/fvModels"

Selecting finite volume model type fixedTemperatureConstraint
[0] [1] 
[1] 
[1] --> FOAM FATAL IO ERROR: 
[1] Unknown fvModel fixedTemperatureConstraint

Valid fvModels are:

23
(
accelerationSource
actuationDiskSource
buoyancyEnergy
buoyancyForce
coded
effectivenessHeatExchangerSource
explicitPorositySource
heatSource
heatTransfer
interRegionExplicitPorositySource
interRegionHeatTransfer
isotropicDamping
massSource
phaseLimitStabilisation
radialActuationDiskSource
radiation
rotorDisk
semiImplicitSource
sixDoFAccelerationSource
solidEquilibriumEnergySource
solidificationMeltingSource
verticalDamping
volumeFractionSource
)
Now, in OF9, fvOptions is no longer used, but seems to have been replaced by fvModels. However, the format is quite different, and what is especially confounding is that, in the OF9 tutorials is a case called coolingSphere, and in the templates/constant/solid folder is the fvModels file, with this text:
Code:
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvModels;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

/*
fixedTemperature
{
    type            fixedTemperatureConstraint;
    selectionMode   all;

    mode            uniform;

    temperature     constant 300; // Set temperature (K)
}
*/

/*
fixedPower
{
    type            heatSource;
    selectionMode   all;

    Q               100;          // Set power (W)
}
*/
I just kept the part with 'fixedTemperature' as that should set the temperature of my radiator. And as you can see, it has the term 'fixedTemperatureConstraint', which the error output says is an unknown term!


I am hoping for insights as to this problem, and maybe even an explanation of the structural differences for this type of case, between OF8 and OF9.


Thanks again, community!
Attached Files
File Type: txt run-error.txt (4.2 KB, 6 views)
boffin5 is offline   Reply With Quote

Old   June 6, 2022, 06:42
Default
  #2
New Member
 
ajithnair's Avatar
 
Ajith U K Nair
Join Date: Sep 2021
Location: Kerala
Posts: 18
Rep Power: 5
ajithnair is on a distinguished road
share the case setup or the fvModel file. will check what might be the problem
ajithnair is offline   Reply With Quote

Old   June 15, 2022, 06:20
Default
  #3
New Member
 
Almanzo Arjuna
Join Date: Feb 2022
Location: East Java, Indonesia
Posts: 8
Rep Power: 4
Almanzo2000 is on a distinguished road
In OpenFOAM v9 all fixed constraints are defined in fvConstraint.

It's one of the changes from OF8 to OF9, the fvOptions are separated into two parts which are fvModels and fvConstraint.

If I'm not wrong fvConstraint is located in the system directory and the fvModels is located in the constant directory.
Almanzo2000 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
Convergence in a conjugate heat transfer problem Mohamed Abdulazim FLUENT 5 March 28, 2020 16:41
Conjugate Heat Transfer Case for Curved Geometry lramutti OpenFOAM 0 March 13, 2014 18:21
Heat Flux at wall in a conjugate heat transfer problem Chander CFX 2 July 9, 2011 23:22
Conjugate heat transfer problem with porous media piko Siemens 1 April 17, 2009 16:41
conjugate heat transfer problem Andreas CFX 1 February 5, 2002 19:22


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