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

chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2024, 08:22
Default chtMultiRegionSimpleFoam
  #1
New Member
 
Ragav
Join Date: Dec 2023
Posts: 4
Rep Power: 2
Butcher is on a distinguished road
Hi, I am trying the natural convection problem, hot water is in a steel cup kept on a surface. I have modeled the water, steel cup, surround air, and the surface(Marbel). The simulation keeps on hitting negative temperature for water.

I am adding the water boundary condition here. Please help.
Code:
 T
dimensions      [0 0 0 1 0 0 0];

internalField   uniform 356.75;

boundaryField 
{
    


    water_to_Glass
     {

        type            compressible::turbulentTemperatureRadCoupledMixed;
        value           $internalField;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }

   water_to_Air
     {

        type            compressible::turbulentTemperatureRadCoupledMixed;
        value           $internalField;
        Tnbr            T;
        kappaMethod     fluidThermo;
    }
}
Code:
v
dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    
    water_to_Glass
    {
        type            noSlip;
    }

    water_to_Air
    {
        type            noSlip;
    }

   
}
Code:
pgh
dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 1e5;

boundaryField
{
    water_to_Glass
    {
        type            fixedFluxPressure;
        value           uniform 1e5;
    }

    water_to_Air
    {
        type            fixedFluxPressure;
        value           uniform 1e5;
    }

    
}
Butcher is offline   Reply With Quote

Reply

Tags
chtmultiregionsimplefoam, hot water, natural convectin


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



All times are GMT -4. The time now is 09:42.