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

chtMultiRegionFoam, conservation and interface T

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2022, 07:34
Question chtMultiRegionFoam, conservation and interface T
  #1
New Member
 
Gonglin Li
Join Date: Sep 2022
Posts: 1
Rep Power: 0
HiddenStars is on a distinguished road
Hello, everyone! I recently learned the chtMultiRegionFoam and tried to do some redevelopment of models in this solver. I notice that in most cases, the iteration was non-existent, and the fluid regions and solid regions are solved one by one.

In openfoam-2206
Code:
       
        for (int oCorr=0; oCorr<nOuterCorr; ++oCorr)
        {
            const bool finalIter = (oCorr == nOuterCorr-1);

            forAll(fluidRegions, i)
            {
                #include "setRegionFluidFields.H"
                #include "readFluidMultiRegionPIMPLEControls.H"
                #include "solveFluid.H"
            }

            forAll(solidRegions, i)
            {
                #include "setRegionSolidFields.H"
                #include "readSolidMultiRegionPIMPLEControls.H"
                #include "solveSolid.H"
            }
        ····
        }
notice that the nOuterCorr is 1 in most tutorial cases.
Besides, checking in boundary condition code showed different interface temperature:

A case with two regions, the initial temperatures were 300 K and 400 K, output interface temperature with code "Info <<····"
HTML Code:
deltaT = 0.1
Region: fluid Courant Number mean: 0 max: 0
Region: metal Diffusion Number mean: 0.00411523 max: 0.0164609
deltaT = 0.11999
Time = 0.11999

Solving for fluid region fluid
···
interface temp: 400
···
···
Solving for solid region metal
···
interface temp: 300
In face, the interface temperatures in a single step never equal to the other.
I understand how the interface temperature was solved, and the results showed good conservation on energy. But discussion above bring the final question:
*In theory or real world, a interface temperature should only have a single value at any time. How could the solver remains good conservation on energy with two temperature value on interface?
In other words, the chtMultiRegionFoam could have good conservation on energy without iteration of interface temperature, which makes me confuse.
Any opinion or suggestion would be helpful, any more details could be upload if needed.
HiddenStars is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, conservation


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
volume conservation and accurate interface shape Prosper OpenFOAM Running, Solving & CFD 9 May 14, 2015 10:47
Frozen Rotor 1:1 Mesh Connection pharley CFX 5 January 31, 2013 17:15
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 12:45.