mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: Setting up tutorials for change on planeImplicit function
This commit is contained in:
@ -27,9 +27,7 @@ boundaryField
|
||||
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform 0;
|
||||
value uniform 0;
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -27,9 +27,7 @@ boundaryField
|
||||
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform 1;
|
||||
value uniform 0;
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -1,48 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 1e5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
sideWalls
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
|
||||
faceWall
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
//type fixedValue;
|
||||
type totalPressure;
|
||||
rho rho;
|
||||
p0 uniform 1e5;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -54,12 +54,13 @@ maxAlphaDdt 0.01;
|
||||
|
||||
functions
|
||||
{
|
||||
|
||||
interfaceHeight1
|
||||
{
|
||||
// Mandatory entries
|
||||
type interfaceHeight;
|
||||
libs (fieldFunctionObjects);
|
||||
locations ((0 0 0));
|
||||
locations ((0 0 1e-5));
|
||||
|
||||
// Optional entries
|
||||
alpha alpha.liquid;
|
||||
@ -82,6 +83,7 @@ functions
|
||||
writeControl timeStep;
|
||||
writeInterval 3;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -18,6 +18,6 @@ FoamFile
|
||||
field "alpha.gas";
|
||||
type plane;
|
||||
origin (0.503e-3 0 0);
|
||||
direction (1 0 0);
|
||||
normal (-1 0 0);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -18,6 +18,6 @@ FoamFile
|
||||
field "alpha.gas";
|
||||
type plane;
|
||||
origin (0.503e-3 0 0);
|
||||
direction (1 0 0);
|
||||
normal (-1 0 0);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -18,6 +18,6 @@ FoamFile
|
||||
field "alpha.liquid";
|
||||
type plane;
|
||||
origin (0.503e-3 0 0);
|
||||
direction (-1 0 0);
|
||||
normal (1 0 0);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -20,23 +20,10 @@ internalField uniform 1e5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
sideWalls
|
||||
".*"
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
|
||||
faceWall
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
//type fixedValue;
|
||||
type totalPressure;
|
||||
rho rho;
|
||||
p0 uniform 1e5;
|
||||
value uniform 1e5;
|
||||
type calculated;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -15,9 +15,9 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
field "alpha.liquid";
|
||||
type plane;
|
||||
origin (0.503e-3 0 0);
|
||||
direction (-1 0 0);
|
||||
field "alpha.liquid";
|
||||
type plane;
|
||||
origin (0.503e-3 0 0);
|
||||
normal (1 0 0);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user