tutorials/incompressibleVoF/damBreak: Simplification of variants

This commit is contained in:
Will Bainbridge
2023-09-26 10:59:41 +01:00
parent da442e8eab
commit 4b6eade88c
98 changed files with 242 additions and 1694 deletions

View File

@ -9,6 +9,7 @@ FoamFile
{
format ascii;
class volScalarField;
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -46,4 +47,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -38,7 +38,7 @@ boundaryField
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
value $internalField;
}
defaultFaces

View File

@ -9,6 +9,7 @@ FoamFile
{
format ascii;
class volScalarField;
location "0";
object alpha.water;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -37,8 +38,8 @@ boundaryField
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
defaultFaces
@ -47,4 +48,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -23,26 +23,26 @@ boundaryField
leftWall
{
type epsilonWallFunction;
value uniform 0.1;
value $internalField;
}
rightWall
{
type epsilonWallFunction;
value uniform 0.1;
value $internalField;
}
lowerWall
{
type epsilonWallFunction;
value uniform 0.1;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0.1;
value uniform 0.1;
inletValue $internalField;
value $internalField;
}
defaultFaces

View File

@ -23,26 +23,26 @@ boundaryField
leftWall
{
type kqRWallFunction;
value uniform 0.1;
value $internalField;
}
rightWall
{
type kqRWallFunction;
value uniform 0.1;
value $internalField;
}
lowerWall
{
type kqRWallFunction;
value uniform 0.1;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0.1;
value uniform 0.1;
inletValue $internalField;
value $internalField;
}
defaultFaces

View File

@ -9,6 +9,7 @@ FoamFile
{
format ascii;
class volScalarField;
location "0";
object nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -37,8 +38,8 @@ boundaryField
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
inletValue $internalField;
value $internalField;
}
defaultFaces
@ -47,4 +48,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -23,25 +23,25 @@ boundaryField
leftWall
{
type nutkWallFunction;
value uniform 0;
value $internalField;
}
rightWall
{
type nutkWallFunction;
value uniform 0;
value $internalField;
}
lowerWall
{
type nutkWallFunction;
value uniform 0;
value $internalField;
}
atmosphere
{
type calculated;
value uniform 0;
value $internalField;
}
defaultFaces

View File

@ -16,33 +16,33 @@ FoamFile
dimensions [0 0 -1 0 0 0 0];
internalField uniform 0.1;
internalField uniform 11.1;
boundaryField
{
leftWall
{
type omegaWallFunction;
value uniform 0.1;
value $internalField;
}
rightWall
{
type omegaWallFunction;
value uniform 0.1;
value $internalField;
}
lowerWall
{
type omegaWallFunction;
value uniform 0.1;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0.1;
value uniform 0.1;
inletValue $internalField;
value $internalField;
}
defaultFaces

View File

@ -9,6 +9,7 @@ FoamFile
{
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -49,4 +50,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -9,6 +9,7 @@ FoamFile
{
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -49,4 +50,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -1,42 +0,0 @@
/*--------------------------------*- 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;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4;
method simple;
simpleCoeffs
{
n (2 2 1);
}
hierarchicalCoeffs
{
n (1 1 1);
order xyz;
}
manualCoeffs
{
dataFile "";
}
distributed no;
roots ( );
// ************************************************************************* //

View File

@ -28,7 +28,7 @@ divSchemes
{
div(phi,alpha) Gauss interfaceCompression vanLeer 1;
div(rhoPhi,U) Gauss linearUpwind grad(U);Gauss upwind;
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(alphaRhoPhi,e) Gauss upwind;
div(alphaRhoPhi,T) Gauss upwind;
@ -38,7 +38,7 @@ divSchemes
div(rhoPhi,k) Gauss upwind;
div(rhoPhi,epsilon) Gauss upwind;
div(rhoPhi,omega) Gauss upwind;
div(rhoPhi,omega) Gauss upwind;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}