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

Manipulating Relaxionsfactor for h in solid region in chtMultiRegion(Simple)Foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2016, 03:43
Default Manipulating Relaxionsfactor for h in solid region in chtMultiRegion(Simple)Foam
  #1
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello openFoam users,
For training reasons I made a simulation with 2 regions solid and fluid.
The solid region includes heat source. The fluid includes free convection in ideal gas...
All setups works and the simulation runs correctly.
The problem is, that the temperature increase in the solid region (and as a result also in fluid region) very slow.
How could I affect the simulation, that the calculation become faster?

Usually I manipulate (increase) the relaxtionsfactor to 1, if it is not the case (I am talking about fluent here).

Where is the relaxtionsfactor to be changed for solid region?

Or any idea how to make the h calculation faster?

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
h
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
}

hFinal
{
$h;
tolerance 1e-06;
relTol 0.1;
}
}

PIMPLE
{
nNonOrthogonalCorrectors 3;
}

// ************************************************** *********************** //

Regards

Peter
peterhess is offline   Reply With Quote

Old   April 20, 2016, 04:16
Default first question answered
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
adding:


relaxationFactors
{
equations
{
"h.*" 1;
}
}

to the file end of fvSolution of the solid, answered the first question.

The second question remains, how to accelerate the h calculation in solid region?

Regards

Peter
peterhess is offline   Reply With Quote

Old   April 20, 2016, 08:41
Default second problem solved!
  #3
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello,

The density of the solid region was too high, that why the calculation was to slow and h increased too slow.

The second reason was that the time step was very small to keep a low courant number...

I am talking here the whole time about chtMultiRegionFoam and not chtMultiRegionSimpleFoam! --> Transient calculation!

Thanks

Peter
peterhess 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
solid region empty or not? Trofrensis STAR-CCM+ 1 January 7, 2010 08:35
Extracting fluid flow region from a solid body 3D Pradeep Main CFD Forum 6 January 29, 2009 11:13


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