mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: chtMultiregionFoam tutorial update
This commit is contained in:
@ -1,11 +1,11 @@
|
|||||||
cellSet heater new boxToCell (-0.01 0 -100 )(0.01 0.01 100)
|
cellSet heater new boxToCell (-0.01001 0 -100 )(0.01001 0.00999 100)
|
||||||
cellSet heater add boxToCell (-0.01 -100 -0.01)(0.01 0.01 0.01)
|
cellSet heater add boxToCell (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001)
|
||||||
cellZoneSet heater new setToCellZone heater
|
cellZoneSet heater new setToCellZone heater
|
||||||
cellSet leftSolid new boxToCell (-100 0 -100 )(-0.01 0.01 100)
|
cellSet leftSolid new boxToCell (-100 0 -100 )(-0.01001 0.00999 100)
|
||||||
cellZoneSet leftSolid new setToCellZone leftSolid
|
cellZoneSet leftSolid new setToCellZone leftSolid
|
||||||
cellSet rightSolid new boxToCell (0.01 0 -100 )(100 0.01 100)
|
cellSet rightSolid new boxToCell (0.01001 0 -100 )(100 0.00999 100)
|
||||||
cellZoneSet rightSolid new setToCellZone rightSolid
|
cellZoneSet rightSolid new setToCellZone rightSolid
|
||||||
cellSet topAir new boxToCell (-100 0.01 -100 )(100 100 100)
|
cellSet topAir new boxToCell (-100 0.00999 -100 )(100 100 100)
|
||||||
cellZoneSet topAir new setToCellZone topAir
|
cellZoneSet topAir new setToCellZone topAir
|
||||||
cellSet bottomAir clear
|
cellSet bottomAir clear
|
||||||
cellSet bottomAir add cellToCell heater
|
cellSet bottomAir add cellToCell heater
|
||||||
|
|||||||
@ -18,9 +18,16 @@ solvers
|
|||||||
{
|
{
|
||||||
rho
|
rho
|
||||||
{
|
{
|
||||||
solver PCG
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
tolerance 1e-8;
|
tolerance 1e-8;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
rhoFinal
|
||||||
|
{
|
||||||
|
$rho;
|
||||||
|
tolerance 1e-8;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,16 @@ solvers
|
|||||||
{
|
{
|
||||||
rho
|
rho
|
||||||
{
|
{
|
||||||
solver PCG
|
solver PCG;
|
||||||
preconditioner DIC;
|
preconditioner DIC;
|
||||||
tolerance 1e-7;
|
tolerance 1e-7;
|
||||||
|
relTol 0.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
rhoFinal
|
||||||
|
{
|
||||||
|
$rho;
|
||||||
|
tolerance 1e-7;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user