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

Defining a Heat Source in OpenFOAM v2112 for chtMultiRegionTwoPhaseulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2022, 16:33
Default Defining a Heat Source in OpenFOAM v2112 for chtMultiRegionTwoPhaseulerFoam
  #1
New Member
 
Join Date: Feb 2022
Posts: 3
Rep Power: 4
Magnox is on a distinguished road
Hi Everyone,

I'm attempting to run some simulations of a heater submerged in water using OpenFOAM v2112 and chtMultiRegionTwoPhaseEulerFoam. My simulations runs without error but it appears my heat source region is not producing any heat flux.

Having compared the heat transfer tutorials which use a heater region in OpenFOAM9 to OpenFOAM v2112, they do not seem to use the same approach, which has caused my confusion.

Shown below is my unsuccessful attempt to produce a working heat source, would anyone please be able to advise me about how I can produce a heat source using OpenFOAM v2112 and chtMultiRegionTwoPhaseEulerFoam.

Thank you in advance for your time and help.

NOTE: The below code is from 0/heater/T

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 933;

boundaryField
{
    //#includeEtc "caseDicts/setConstraintTypes"

    walls
    {
        type            zeroGradient;
    }

    heater_to_fluid
    {
        type         compressible::turbulentTemperatureTwoPhaseRadCoupledMixed;
        active          true;
        mode            flux;
        q                uniform 209143.8;
        value           $internalField;//1123
        Tnbr            T.liquid;
        kappaMethod     solidThermo;
        region          solid;
        // Name of the other phase in the flid region mixing with 'liquid' phase
        otherPhase      gas;
        qrNbr           none;
        qr              none;
    }
}
Magnox 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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


All times are GMT -4. The time now is 01:06.