The following examples in the tutorials ($FOAM_TUTORIALS) directory have been converted from using AMI to the new NCC system: + compressible/rhoPimpleFoam/RAS/annularThermalMixer + incompressible/pimpleFoam/RAS/propeller + lagrangian/particleFoam/mixerVessel2D (formerly mixerVesselAMI2D) + multiphase/interFoam/RAS/mixerVessel + multiphase/interFoam/RAS/propeller + multiphase/multiphaseEulerFoam/laminar/mixerVessel2D (formerly mixerVesselAMI2D) The following tutorial has been converted from using ACMI: + incompressible/pimpleFoam/RAS/oscillatingInlet The following tutorial has been converted from using Repeat AMI: + incompressible/pimpleFoam/RAS/impeller The following tutorial has been added to demonstrate NCC's ability to create a sufficiently conservative solution in a closed domain to maintain phase fraction boundedness: + multiphase/interFoam/laminar/mixerVessel2D The following tutorials have been added to demonstrate NCC's ability to simulate partially overlapping couples on curved surfaces: + incompressible/pimpleFoam/RAS/ballValve + multiphase/compressibleInterFoam/RAS/ballValve The following tutorial has been added to provide a simple comparison of the conservation behaviour of AMI and NCC: + incompressible/pimpleFoam/laminar/nonConformalChannel The following tutorial has been removed, as there were sufficiently many examples involving this geometry: + incompressible/pimpleFoam/laminar/mixerVesselAMI2D
84 lines
1.6 KiB
C++
84 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
smoother DICGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.01;
|
|
cacheAgglomeration no;
|
|
maxIter 50;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
"pcorr.*"
|
|
{
|
|
$p;
|
|
tolerance 1e-2;
|
|
relTol 0;
|
|
}
|
|
|
|
MeshPhi
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-2;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
correctPhi yes;
|
|
correctMeshPhi yes;
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
"(U|k|epsilon).*" 1;
|
|
}
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
}
|
|
|
|
// ************************************************************************* //
|