ENH: solidFoam: cleanup of sample case
This commit is contained in:
parent
4f4d333539
commit
eccc998ed2
@ -7,4 +7,7 @@ cleanCase0
|
||||
rm -rf constant/solid1/polyMesh
|
||||
rm -rf constant/solid2/polyMesh
|
||||
|
||||
# Restore default dictionaries
|
||||
cp system/fvSolution-energyCoupling system/fvSolution
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -7,6 +7,8 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
./Allrun.pre
|
||||
foamDictionary 0/solid1/T -entry boundaryField/bottom/useImplicit -add true
|
||||
foamDictionary 0/solid2/T -entry boundaryField/top/useImplicit -add true
|
||||
foamDictionary -entry PIMPLE/nOuterCorrectors system/fvSolution -remove
|
||||
foamDictionary -entry PIMPLE/energyCoupling system/fvSolution -remove
|
||||
runApplication -s coupled $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -0,0 +1,62 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2112 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
h
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0; //0.1;
|
||||
}
|
||||
|
||||
hFinal
|
||||
{
|
||||
$h;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
|
||||
// Use outer-correctors
|
||||
nOuterCorrectors 5;
|
||||
|
||||
// Use inter-region coupling in final outer-corrector
|
||||
energyCoupling
|
||||
{
|
||||
iterations 5;
|
||||
}
|
||||
}
|
||||
|
||||
//SIMPLE
|
||||
//{
|
||||
// nNonOrthogonalCorrectors 0;
|
||||
//}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
// equations
|
||||
// {
|
||||
// h 0.7;
|
||||
// }
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
Loading…
Reference in New Issue
Block a user